1 |
dirtyepic 10/05/27 05:12:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wxGTK-2.8.11.0.ebuild |
5 |
Removed: wxGTK-2.8.10.1-r1.ebuild wxGTK-2.6.4.0-r5.ebuild |
6 |
Log: |
7 |
Version bump, remove old. |
8 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.253 x11-libs/wxGTK/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.253&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.253&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/ChangeLog?r1=1.252&r2=1.253 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v |
20 |
retrieving revision 1.252 |
21 |
retrieving revision 1.253 |
22 |
diff -u -r1.252 -r1.253 |
23 |
--- ChangeLog 9 Apr 2010 03:52:13 -0000 1.252 |
24 |
+++ ChangeLog 27 May 2010 05:12:16 -0000 1.253 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for x11-libs/wxGTK |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.252 2010/04/09 03:52:13 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.253 2010/05/27 05:12:16 dirtyepic Exp $ |
30 |
+ |
31 |
+*wxGTK-2.8.11.0 (27 May 2010) |
32 |
+ |
33 |
+ 27 May 2010; Ryan Hill <dirtyepic@g.o> -wxGTK-2.6.4.0-r5.ebuild, |
34 |
+ -wxGTK-2.8.10.1-r1.ebuild, +wxGTK-2.8.11.0.ebuild, |
35 |
+ +files/wxGTK-2.8.11-collision.patch, |
36 |
+ +files/wxGTK-2.8.11-unicode-odbc.patch: |
37 |
+ Version bump, remove old. |
38 |
|
39 |
09 Apr 2010; Jeroen Roovers <jer@g.o> wxGTK-2.6.4.0-r6.ebuild, |
40 |
wxGTK-2.8.10.1-r5.ebuild: |
41 |
|
42 |
|
43 |
|
44 |
1.1 x11-libs/wxGTK/wxGTK-2.8.11.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.11.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.11.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: wxGTK-2.8.11.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2010 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.11.0.ebuild,v 1.1 2010/05/27 05:12:16 dirtyepic Exp $ |
54 |
|
55 |
EAPI="2" |
56 |
|
57 |
inherit eutils versionator flag-o-matic |
58 |
|
59 |
DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit." |
60 |
HOMEPAGE="http://wxwidgets.org/" |
61 |
|
62 |
BASE_PV="$(get_version_component_range 1-3)" |
63 |
BASE_P="${PN}-${BASE_PV}" |
64 |
|
65 |
# we use the wxPython tarballs because they include the full wxGTK sources and |
66 |
# docs, and are released more frequently than wxGTK. |
67 |
SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2" |
68 |
|
69 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
70 |
IUSE="X doc debug gnome gstreamer odbc opengl pch sdl tiff" |
71 |
|
72 |
RDEPEND=" |
73 |
dev-libs/expat |
74 |
odbc? ( dev-db/unixODBC ) |
75 |
sdl? ( media-libs/libsdl ) |
76 |
X? ( |
77 |
>=x11-libs/gtk+-2.4 |
78 |
>=dev-libs/glib-2.4 |
79 |
media-libs/jpeg |
80 |
media-libs/tiff |
81 |
x11-libs/libSM |
82 |
x11-libs/libXinerama |
83 |
x11-libs/libXxf86vm |
84 |
gnome? ( gnome-base/libgnomeprintui ) |
85 |
gstreamer? ( |
86 |
>=gnome-base/gconf-2.0 |
87 |
>=media-libs/gstreamer-0.10 ) |
88 |
opengl? ( virtual/opengl ) |
89 |
tiff? ( media-libs/tiff ) |
90 |
)" |
91 |
|
92 |
DEPEND="${RDEPEND} |
93 |
dev-util/pkgconfig |
94 |
X? ( |
95 |
x11-proto/xproto |
96 |
x11-proto/xineramaproto |
97 |
x11-proto/xf86vidmodeproto |
98 |
)" |
99 |
|
100 |
PDEPEND=">=app-admin/eselect-wxwidgets-0.7" |
101 |
|
102 |
SLOT="2.8" |
103 |
LICENSE="wxWinLL-3 |
104 |
GPL-2 |
105 |
odbc? ( LGPL-2 ) |
106 |
doc? ( wxWinFDL-3 )" |
107 |
|
108 |
S="${WORKDIR}/wxPython-src-${PV}" |
109 |
|
110 |
src_prepare() { |
111 |
epatch "${FILESDIR}"/${PN}-2.8.11-unicode-odbc.patch |
112 |
epatch "${FILESDIR}"/${PN}-2.8.11-collision.patch |
113 |
epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874 |
114 |
epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch # Bug #310923 |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
local myconf |
119 |
|
120 |
append-flags -fno-strict-aliasing |
121 |
|
122 |
# X independent options |
123 |
myconf="--enable-compat26 |
124 |
--enable-shared |
125 |
--enable-unicode |
126 |
--with-regex=builtin |
127 |
--with-zlib=sys |
128 |
--with-expat=sys |
129 |
$(use_enable debug) |
130 |
$(use_enable pch precomp-headers) |
131 |
$(use_with odbc odbc sys) |
132 |
$(use_with sdl) |
133 |
$(use_with tiff libtiff sys)" |
134 |
|
135 |
# wxGTK options |
136 |
# --enable-graphics_ctx - needed for webkit, editra |
137 |
# --without-gnomevfs - bug #203389 |
138 |
|
139 |
use X && \ |
140 |
myconf="${myconf} |
141 |
--enable-graphics_ctx |
142 |
--enable-gui |
143 |
--with-libpng=sys |
144 |
--with-libxpm=sys |
145 |
--with-libjpeg=sys |
146 |
$(use_enable gstreamer mediactrl) |
147 |
$(use_enable opengl) |
148 |
$(use_with opengl) |
149 |
$(use_with gnome gnomeprint) |
150 |
--without-gnomevfs" |
151 |
|
152 |
# wxBase options |
153 |
use X || \ |
154 |
myconf="${myconf} |
155 |
--disable-gui" |
156 |
|
157 |
mkdir "${S}"/wxgtk_build |
158 |
cd "${S}"/wxgtk_build |
159 |
|
160 |
ECONF_SOURCE="${S}" econf ${myconf} || die "configure failed." |
161 |
} |
162 |
|
163 |
src_compile() { |
164 |
cd "${S}"/wxgtk_build |
165 |
|
166 |
emake || die "make failed." |
167 |
|
168 |
if [[ -d contrib/src ]]; then |
169 |
cd contrib/src |
170 |
emake || die "make contrib failed." |
171 |
fi |
172 |
} |
173 |
|
174 |
src_install() { |
175 |
cd "${S}"/wxgtk_build |
176 |
|
177 |
emake DESTDIR="${D}" install || die "install failed." |
178 |
|
179 |
if [[ -d contrib/src ]]; then |
180 |
cd contrib/src |
181 |
emake DESTDIR="${D}" install || die "install contrib failed." |
182 |
fi |
183 |
|
184 |
cd "${S}"/docs |
185 |
dodoc changes.txt readme.txt todo30.txt |
186 |
newdoc base/readme.txt base_readme.txt |
187 |
newdoc gtk/readme.txt gtk_readme.txt |
188 |
|
189 |
if use doc; then |
190 |
dohtml -r "${S}"/docs/html/* |
191 |
fi |
192 |
|
193 |
# We don't want this |
194 |
rm "${D}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo |
195 |
} |
196 |
|
197 |
pkg_postinst() { |
198 |
has_version app-admin/eselect-wxwidgets \ |
199 |
&& eselect wxwidgets update |
200 |
} |
201 |
|
202 |
pkg_postrm() { |
203 |
has_version app-admin/eselect-wxwidgets \ |
204 |
&& eselect wxwidgets update |
205 |
} |