Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/wxGTK: ChangeLog wxGTK-2.8.9.2.ebuild wxGTK-2.8.9.2-r1.ebuild wxGTK-2.8.9.1-r3.ebuild
Date: Sat, 25 Apr 2009 02:25:47
Message-Id: E1LxXaK-0007NE-8M@stork.gentoo.org
1 dirtyepic 09/04/25 02:25:44
2
3 Modified: ChangeLog wxGTK-2.8.9.2.ebuild
4 wxGTK-2.8.9.1-r3.ebuild
5 Added: wxGTK-2.8.9.2-r1.ebuild
6 Log:
7 - Fix nested HTML tables (bug #264544, Ivan Trombley)
8 - Add missing gconf dependency with USE=gstreamer (bug #267022, Morten Lied
9 Johansen)
10 (Portage version: 2.2_rc31/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.221 x11-libs/wxGTK/ChangeLog
14
15 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.221&view=markup
16 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?rev=1.221&content-type=text/plain
17 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/ChangeLog?r1=1.220&r2=1.221
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v
22 retrieving revision 1.220
23 retrieving revision 1.221
24 diff -u -r1.220 -r1.221
25 --- ChangeLog 21 Feb 2009 22:20:39 -0000 1.220
26 +++ ChangeLog 25 Apr 2009 02:25:43 -0000 1.221
27 @@ -1,6 +1,15 @@
28 # ChangeLog for x11-libs/wxGTK
29 # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.220 2009/02/21 22:20:39 dirtyepic Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/ChangeLog,v 1.221 2009/04/25 02:25:43 dirtyepic Exp $
32 +
33 +*wxGTK-2.8.9.2-r1 (25 Apr 2009)
34 +
35 + 25 Apr 2009; Ryan Hill <dirtyepic@g.o>
36 + +files/wxGTK-2.8.9.2-nestedtables.patch, wxGTK-2.8.9.1-r3, wxGTK-2.8.9.2,
37 + +wxGTK-2.8.9.2-r1.ebuild:
38 + - Fix nested HTML tables (bug #264544, Ivan Trombley)
39 + - Add missing gconf dependency with USE=gstreamer (bug #267022, Morten Lied
40 + Johansen)
41
42 *wxGTK-2.8.9.2 (21 Feb 2009)
43
44
45
46
47 1.2 x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild
48
49 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild?rev=1.2&view=markup
50 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild?rev=1.2&content-type=text/plain
51 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild?r1=1.1&r2=1.2
52
53 Index: wxGTK-2.8.9.2.ebuild
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild,v
56 retrieving revision 1.1
57 retrieving revision 1.2
58 diff -u -r1.1 -r1.2
59 --- wxGTK-2.8.9.2.ebuild 21 Feb 2009 22:20:39 -0000 1.1
60 +++ wxGTK-2.8.9.2.ebuild 25 Apr 2009 02:25:43 -0000 1.2
61 @@ -1,6 +1,6 @@
62 # Copyright 1999-2009 Gentoo Foundation
63 # Distributed under the terms of the GNU General Public License v2
64 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild,v 1.1 2009/02/21 22:20:39 dirtyepic Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2.ebuild,v 1.2 2009/04/25 02:25:43 dirtyepic Exp $
66
67 EAPI="2"
68
69 @@ -32,7 +32,9 @@
70 x11-libs/libXinerama
71 x11-libs/libXxf86vm
72 gnome? ( gnome-base/libgnomeprintui )
73 - gstreamer? ( >=media-libs/gstreamer-0.10 )
74 + gstreamer? (
75 + >=gnome-base/gconf-2.0
76 + >=media-libs/gstreamer-0.10 )
77 opengl? ( virtual/opengl )
78 )"
79
80
81
82
83 1.9 x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild
84
85 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild?rev=1.9&view=markup
86 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild?rev=1.9&content-type=text/plain
87 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild?r1=1.8&r2=1.9
88
89 Index: wxGTK-2.8.9.1-r3.ebuild
90 ===================================================================
91 RCS file: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild,v
92 retrieving revision 1.8
93 retrieving revision 1.9
94 diff -u -r1.8 -r1.9
95 --- wxGTK-2.8.9.1-r3.ebuild 15 Feb 2009 15:19:44 -0000 1.8
96 +++ wxGTK-2.8.9.1-r3.ebuild 25 Apr 2009 02:25:43 -0000 1.9
97 @@ -1,6 +1,6 @@
98 # Copyright 1999-2009 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild,v 1.8 2009/02/15 15:19:44 ranger Exp $
101 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.1-r3.ebuild,v 1.9 2009/04/25 02:25:43 dirtyepic Exp $
102
103 EAPI="2"
104
105 @@ -32,7 +32,9 @@
106 x11-libs/libXinerama
107 x11-libs/libXxf86vm
108 gnome? ( gnome-base/libgnomeprintui )
109 - gstreamer? ( >=media-libs/gstreamer-0.10 )
110 + gstreamer? (
111 + >=gnome-base/gconf-2.0
112 + >=media-libs/gstreamer-0.10 )
113 opengl? ( virtual/opengl )
114 )"
115
116
117
118
119 1.1 x11-libs/wxGTK/wxGTK-2.8.9.2-r1.ebuild
120
121 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2-r1.ebuild?rev=1.1&view=markup
122 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2-r1.ebuild?rev=1.1&content-type=text/plain
123
124 Index: wxGTK-2.8.9.2-r1.ebuild
125 ===================================================================
126 # Copyright 1999-2009 Gentoo Foundation
127 # Distributed under the terms of the GNU General Public License v2
128 # $Header: /var/cvsroot/gentoo-x86/x11-libs/wxGTK/wxGTK-2.8.9.2-r1.ebuild,v 1.1 2009/04/25 02:25:43 dirtyepic Exp $
129
130 EAPI="2"
131
132 inherit eutils versionator flag-o-matic
133
134 DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit."
135 HOMEPAGE="http://wxwidgets.org/"
136
137 BASE_PV="$(get_version_component_range 1-3)"
138 BASE_P="${PN}-${BASE_PV}"
139
140 # we use the wxPython tarballs because they include the full wxGTK sources and
141 # docs, and are released more frequently than wxGTK.
142 SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2"
143
144 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
145 IUSE="X doc debug gnome gstreamer odbc opengl pch sdl"
146
147 RDEPEND="
148 dev-libs/expat
149 odbc? ( dev-db/unixODBC )
150 sdl? ( media-libs/libsdl )
151 X? (
152 >=x11-libs/gtk+-2.4
153 >=dev-libs/glib-2.4
154 media-libs/jpeg
155 media-libs/tiff
156 x11-libs/libSM
157 x11-libs/libXinerama
158 x11-libs/libXxf86vm
159 gnome? ( gnome-base/libgnomeprintui )
160 gstreamer? (
161 >=gnome-base/gconf-2.0
162 >=media-libs/gstreamer-0.10 )
163 opengl? ( virtual/opengl )
164 )"
165
166 DEPEND="${RDEPEND}
167 dev-util/pkgconfig
168 X? (
169 x11-proto/xproto
170 x11-proto/xineramaproto
171 x11-proto/xf86vidmodeproto
172 )"
173
174 PDEPEND=">=app-admin/eselect-wxwidgets-0.7"
175
176 SLOT="2.8"
177 LICENSE="wxWinLL-3
178 GPL-2
179 odbc? ( LGPL-2 )
180 doc? ( wxWinFDL-3 )"
181
182 S="${WORKDIR}/wxPython-src-${PV}"
183
184 src_prepare() {
185 cd "${S}"
186 epatch "${FILESDIR}"/${PN}-2.6.3-unicode-odbc.patch
187 epatch "${FILESDIR}"/${PN}-2.8.8-collision.patch
188 epatch "${FILESDIR}"/${PN}-2.8.6-wxrc_link_fix.patch
189 epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch # Bug #174874
190 epatch "${FILESDIR}"/${P}-nestedtables.patch # Bug #264544
191 }
192
193 src_configure() {
194 local myconf
195
196 append-flags -fno-strict-aliasing
197
198 # X independent options
199 myconf="--enable-compat26
200 --enable-shared
201 --enable-unicode
202 --with-regex=builtin
203 --with-zlib=sys
204 --with-expat=sys
205 $(use_enable debug)
206 $(use_enable pch precomp-headers)
207 $(use_with sdl)"
208
209 use odbc \
210 && myconf="${myconf} --with-odbc=sys" \
211 || myconf="${myconf} $(use_with odbc)"
212
213 # wxGTK options
214 # --enable-graphics_ctx - needed for webkit, editra
215 # --without-gnomevfs - bug #203389
216
217 use X && \
218 myconf="${myconf}
219 --enable-graphics_ctx
220 --enable-gui
221 --with-libpng=sys
222 --with-libxpm=sys
223 --with-libjpeg=sys
224 --with-libtiff=sys
225 $(use_enable gstreamer mediactrl)
226 $(use_enable opengl)
227 $(use_with opengl)
228 $(use_with gnome gnomeprint)
229 --without-gnomevfs"
230
231 # wxBase options
232 use X || \
233 myconf="${myconf}
234 --disable-gui"
235
236 mkdir "${S}"/wxgtk_build
237 cd "${S}"/wxgtk_build
238
239 ECONF_SOURCE="${S}" econf ${myconf} || die "configure failed."
240 }
241
242 src_compile() {
243 cd "${S}"/wxgtk_build
244
245 emake || die "make failed."
246
247 if [[ -d contrib/src ]]; then
248 cd contrib/src
249 emake || die "make contrib failed."
250 fi
251 }
252
253 src_install() {
254 cd "${S}"/wxgtk_build
255
256 emake DESTDIR="${D}" install || die "install failed."
257
258 if [[ -d contrib/src ]]; then
259 cd contrib/src
260 emake DESTDIR="${D}" install || die "install contrib failed."
261 fi
262
263 cd "${S}"/docs
264 dodoc changes.txt readme.txt todo30.txt
265 newdoc base/readme.txt base_readme.txt
266 newdoc gtk/readme.txt gtk_readme.txt
267
268 if use doc; then
269 dohtml -r "${S}"/docs/html/*
270 fi
271
272 # We don't want this
273 rm "${D}"usr/share/locale/it/LC_MESSAGES/wxmsw.mo
274 }
275
276 pkg_postinst() {
277 has_version app-admin/eselect-wxwidgets \
278 && eselect wxwidgets update
279 }
280
281 pkg_postrm() {
282 has_version app-admin/eselect-wxwidgets \
283 && eselect wxwidgets update
284 }