1 |
commit: dfd5da86b0fbd428b6a417d2445b0599f03b65fc |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jan 28 01:44:16 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 28 01:46:14 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfd5da86 |
7 |
|
8 |
x11-libs/wxGTK: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild | 173 --------------------------- |
13 |
x11-libs/wxGTK/wxGTK-3.0.2.0-r2.ebuild | 158 ------------------------- |
14 |
x11-libs/wxGTK/wxGTK-3.0.2.0-r300.ebuild | 184 ----------------------------- |
15 |
x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild | 194 ------------------------------- |
16 |
4 files changed, 709 deletions(-) |
17 |
|
18 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild |
19 |
deleted file mode 100644 |
20 |
index a1edca1d410..00000000000 |
21 |
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild |
22 |
+++ /dev/null |
23 |
@@ -1,173 +0,0 @@ |
24 |
-# Copyright 1999-2017 Gentoo Foundation |
25 |
-# Distributed under the terms of the GNU General Public License v2 |
26 |
- |
27 |
-EAPI="5" |
28 |
- |
29 |
-inherit eutils flag-o-matic |
30 |
- |
31 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
32 |
-HOMEPAGE="https://wxwidgets.org/" |
33 |
- |
34 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
35 |
-# docs, and are released more frequently than wxGTK. |
36 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2 |
37 |
- doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )" |
38 |
- |
39 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
40 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
41 |
- |
42 |
-SLOT="3.0" |
43 |
- |
44 |
-RDEPEND=" |
45 |
- dev-libs/expat |
46 |
- sdl? ( media-libs/libsdl ) |
47 |
- X? ( |
48 |
- >=dev-libs/glib-2.22:2 |
49 |
- media-libs/libpng:0= |
50 |
- sys-libs/zlib |
51 |
- virtual/jpeg:0= |
52 |
- >=x11-libs/gtk+-2.18:2 |
53 |
- x11-libs/gdk-pixbuf |
54 |
- x11-libs/libSM |
55 |
- x11-libs/libXxf86vm |
56 |
- x11-libs/pango[X] |
57 |
- gstreamer? ( |
58 |
- media-libs/gstreamer:0.10 |
59 |
- media-libs/gst-plugins-base:0.10 ) |
60 |
- libnotify? ( x11-libs/libnotify ) |
61 |
- opengl? ( virtual/opengl ) |
62 |
- tiff? ( media-libs/tiff:0 ) |
63 |
- webkit? ( net-libs/webkit-gtk:2 ) |
64 |
- ) |
65 |
- aqua? ( |
66 |
- x11-libs/gtk+:2[aqua=] |
67 |
- virtual/jpeg:0= |
68 |
- tiff? ( media-libs/tiff:0 ) |
69 |
- )" |
70 |
- |
71 |
-DEPEND="${RDEPEND} |
72 |
- virtual/pkgconfig |
73 |
- opengl? ( virtual/glu ) |
74 |
- X? ( |
75 |
- x11-proto/xproto |
76 |
- x11-proto/xineramaproto |
77 |
- x11-proto/xf86vidmodeproto |
78 |
- )" |
79 |
- |
80 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
81 |
- |
82 |
-LICENSE="wxWinLL-3 |
83 |
- GPL-2 |
84 |
- doc? ( wxWinFDL-3 )" |
85 |
- |
86 |
-S="${WORKDIR}/wxPython-src-${PV}" |
87 |
- |
88 |
-src_prepare() { |
89 |
- epatch "${FILESDIR}"/${PN}-3.0.0.0-collision.patch |
90 |
- |
91 |
- # https://bugs.gentoo.org/421851 |
92 |
- # https://bugs.gentoo.org/499984 |
93 |
- # https://bugs.gentoo.org/536004 |
94 |
- sed \ |
95 |
- -e "/wx_cv_std_libpath=/s:=.*:=$(get_libdir):" \ |
96 |
- -e 's:3\.0\.1:3.0.2:g' \ |
97 |
- -e 's:^wx_release_number=1$:wx_release_number=2:' \ |
98 |
- -i configure || die |
99 |
- |
100 |
- epatch_user |
101 |
-} |
102 |
- |
103 |
-src_configure() { |
104 |
- local myconf |
105 |
- |
106 |
- # X independent options |
107 |
- myconf=" |
108 |
- --with-zlib=sys |
109 |
- --with-expat=sys |
110 |
- --enable-compat28 |
111 |
- $(use_with sdl)" |
112 |
- |
113 |
- # debug in >=2.9 |
114 |
- # there is no longer separate debug libraries (gtk2ud) |
115 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
116 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
117 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
118 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
119 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
120 |
- use debug \ |
121 |
- && myconf="${myconf} --enable-debug=max" |
122 |
- |
123 |
- # wxGTK options |
124 |
- # --enable-graphics_ctx - needed for webkit, editra |
125 |
- # --without-gnomevfs - bug #203389 |
126 |
- use X && \ |
127 |
- myconf="${myconf} |
128 |
- --enable-graphics_ctx |
129 |
- --with-gtkprint |
130 |
- --enable-gui |
131 |
- --with-libpng=sys |
132 |
- --with-libxpm=sys |
133 |
- --with-libjpeg=sys |
134 |
- --without-gnomevfs |
135 |
- $(use_enable gstreamer mediactrl) |
136 |
- $(use_enable webkit webview) |
137 |
- $(use_with libnotify) |
138 |
- $(use_with opengl) |
139 |
- $(use_with tiff libtiff sys)" |
140 |
- |
141 |
- use aqua && \ |
142 |
- myconf="${myconf} |
143 |
- --enable-graphics_ctx |
144 |
- --enable-gui |
145 |
- --with-libpng=sys |
146 |
- --with-libxpm=sys |
147 |
- --with-libjpeg=sys |
148 |
- --with-mac |
149 |
- --with-opengl" |
150 |
- # cocoa toolkit seems to be broken |
151 |
- |
152 |
- # wxBase options |
153 |
- if use !X && use !aqua ; then |
154 |
- myconf="${myconf} |
155 |
- --disable-gui" |
156 |
- fi |
157 |
- |
158 |
- mkdir "${S}"/wxgtk_build |
159 |
- cd "${S}"/wxgtk_build |
160 |
- |
161 |
- ECONF_SOURCE="${S}" econf ${myconf} |
162 |
-} |
163 |
- |
164 |
-src_compile() { |
165 |
- cd "${S}"/wxgtk_build |
166 |
- emake |
167 |
-} |
168 |
- |
169 |
-src_install() { |
170 |
- cd "${S}"/wxgtk_build |
171 |
- |
172 |
- emake DESTDIR="${D}" install |
173 |
- |
174 |
- cd "${S}"/docs |
175 |
- dodoc changes.txt readme.txt |
176 |
- newdoc base/readme.txt base_readme.txt |
177 |
- newdoc gtk/readme.txt gtk_readme.txt |
178 |
- |
179 |
- if use doc; then |
180 |
- dohtml -r "${S}"/docs/doxygen/out/html/* |
181 |
- fi |
182 |
- |
183 |
- # Stray windows locale file, causes collisions |
184 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
185 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
186 |
-} |
187 |
- |
188 |
-pkg_postinst() { |
189 |
- has_version app-eselect/eselect-wxwidgets \ |
190 |
- && eselect wxwidgets update |
191 |
-} |
192 |
- |
193 |
-pkg_postrm() { |
194 |
- has_version app-eselect/eselect-wxwidgets \ |
195 |
- && eselect wxwidgets update |
196 |
-} |
197 |
|
198 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r2.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r2.ebuild |
199 |
deleted file mode 100644 |
200 |
index 1bdc96a9e5a..00000000000 |
201 |
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r2.ebuild |
202 |
+++ /dev/null |
203 |
@@ -1,158 +0,0 @@ |
204 |
-# Copyright 1999-2017 Gentoo Foundation |
205 |
-# Distributed under the terms of the GNU General Public License v2 |
206 |
- |
207 |
-EAPI="5" |
208 |
- |
209 |
-inherit eutils flag-o-matic multilib-minimal |
210 |
- |
211 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
212 |
-HOMEPAGE="https://wxwidgets.org/" |
213 |
- |
214 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
215 |
-# docs, and are released more frequently than wxGTK. |
216 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2 |
217 |
- doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )" |
218 |
- |
219 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
220 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
221 |
- |
222 |
-SLOT="3.0" |
223 |
- |
224 |
-RDEPEND=" |
225 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
226 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
227 |
- X? ( |
228 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
229 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
230 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
231 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
232 |
- >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] |
233 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
234 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
235 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
236 |
- x11-libs/pango[X,${MULTILIB_USEDEP}] |
237 |
- gstreamer? ( |
238 |
- media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] |
239 |
- media-libs/gst-plugins-base:0.10[${MULTILIB_USEDEP}] ) |
240 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
241 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
242 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
243 |
- webkit? ( net-libs/webkit-gtk:2 ) |
244 |
- ) |
245 |
- aqua? ( |
246 |
- x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] |
247 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
248 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
249 |
- )" |
250 |
- |
251 |
-DEPEND="${RDEPEND} |
252 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
253 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
254 |
- X? ( |
255 |
- x11-proto/xproto[${MULTILIB_USEDEP}] |
256 |
- x11-proto/xineramaproto[${MULTILIB_USEDEP}] |
257 |
- x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}] |
258 |
- )" |
259 |
- |
260 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
261 |
- |
262 |
-LICENSE="wxWinLL-3 |
263 |
- GPL-2 |
264 |
- doc? ( wxWinFDL-3 )" |
265 |
- |
266 |
-S="${WORKDIR}/wxPython-src-${PV}" |
267 |
- |
268 |
-src_prepare() { |
269 |
- epatch "${FILESDIR}"/${PN}-3.0.0.0-collision.patch |
270 |
- epatch_user |
271 |
- |
272 |
- # https://bugs.gentoo.org/536004 |
273 |
- sed \ |
274 |
- -e 's:3\.0\.1:3.0.2:g' \ |
275 |
- -e 's:^wx_release_number=1$:wx_release_number=2:' \ |
276 |
- -i "${S}"/configure || die |
277 |
- |
278 |
-} |
279 |
- |
280 |
-multilib_src_configure() { |
281 |
- local myconf |
282 |
- |
283 |
- # X independent options |
284 |
- myconf=" |
285 |
- --with-zlib=sys |
286 |
- --with-expat=sys |
287 |
- --enable-compat28 |
288 |
- $(use_with sdl)" |
289 |
- |
290 |
- # debug in >=2.9 |
291 |
- # there is no longer separate debug libraries (gtk2ud) |
292 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
293 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
294 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
295 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
296 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
297 |
- use debug \ |
298 |
- && myconf="${myconf} --enable-debug=max" |
299 |
- |
300 |
- # wxGTK options |
301 |
- # --enable-graphics_ctx - needed for webkit, editra |
302 |
- # --without-gnomevfs - bug #203389 |
303 |
- use X && \ |
304 |
- myconf="${myconf} |
305 |
- --enable-graphics_ctx |
306 |
- --with-gtkprint |
307 |
- --enable-gui |
308 |
- --with-libpng=sys |
309 |
- --with-libxpm=sys |
310 |
- --with-libjpeg=sys |
311 |
- --without-gnomevfs |
312 |
- $(use_enable gstreamer mediactrl) |
313 |
- $(multilib_native_use_enable webkit webview) |
314 |
- $(use_with libnotify) |
315 |
- $(use_with opengl) |
316 |
- $(use_with tiff libtiff sys)" |
317 |
- |
318 |
- use aqua && \ |
319 |
- myconf="${myconf} |
320 |
- --enable-graphics_ctx |
321 |
- --enable-gui |
322 |
- --with-libpng=sys |
323 |
- --with-libxpm=sys |
324 |
- --with-libjpeg=sys |
325 |
- --with-mac |
326 |
- --with-opengl" |
327 |
- # cocoa toolkit seems to be broken |
328 |
- |
329 |
- # wxBase options |
330 |
- if use !X && use !aqua ; then |
331 |
- myconf="${myconf} |
332 |
- --disable-gui" |
333 |
- fi |
334 |
- |
335 |
- ECONF_SOURCE="${S}" econf ${myconf} |
336 |
-} |
337 |
- |
338 |
-multilib_src_install_all() { |
339 |
- cd "${S}"/docs || die |
340 |
- dodoc changes.txt readme.txt |
341 |
- newdoc base/readme.txt base_readme.txt |
342 |
- newdoc gtk/readme.txt gtk_readme.txt |
343 |
- |
344 |
- if use doc; then |
345 |
- dodoc -r "${S}"/docs/doxygen/out/html |
346 |
- fi |
347 |
- |
348 |
- # Stray windows locale file, causes collisions |
349 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
350 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
351 |
-} |
352 |
- |
353 |
-pkg_postinst() { |
354 |
- has_version app-eselect/eselect-wxwidgets \ |
355 |
- && eselect wxwidgets update |
356 |
-} |
357 |
- |
358 |
-pkg_postrm() { |
359 |
- has_version app-eselect/eselect-wxwidgets \ |
360 |
- && eselect wxwidgets update |
361 |
-} |
362 |
|
363 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r300.ebuild |
364 |
deleted file mode 100644 |
365 |
index 923d5219166..00000000000 |
366 |
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r300.ebuild |
367 |
+++ /dev/null |
368 |
@@ -1,184 +0,0 @@ |
369 |
-# Copyright 1999-2017 Gentoo Foundation |
370 |
-# Distributed under the terms of the GNU General Public License v2 |
371 |
- |
372 |
-EAPI="6" |
373 |
- |
374 |
-inherit multilib-minimal |
375 |
- |
376 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
377 |
-HOMEPAGE="https://wxwidgets.org/" |
378 |
- |
379 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
380 |
-# docs, and are released more frequently than wxGTK. |
381 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2 |
382 |
- doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )" |
383 |
- |
384 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
385 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
386 |
- |
387 |
-WXSUBVERSION=${PV}-gtk3 # 3.0.2.0-gtk3 |
388 |
-WXVERSION=${WXSUBVERSION%.*} # 3.0.2 |
389 |
-WXRELEASE=${WXVERSION%.*}-gtk3 # 3.0-gtk3 |
390 |
-WXRELEASE_NODOT=${WXRELEASE//./} # 30-gtk3 |
391 |
- |
392 |
-SLOT="${WXRELEASE}" |
393 |
- |
394 |
-RDEPEND=" |
395 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
396 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
397 |
- X? ( |
398 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
399 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
400 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
401 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
402 |
- x11-libs/cairo[${MULTILIB_USEDEP}] |
403 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
404 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
405 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
406 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
407 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
408 |
- x11-libs/pango[X,${MULTILIB_USEDEP}] |
409 |
- gstreamer? ( |
410 |
- media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] |
411 |
- media-libs/gst-plugins-base:0.10[${MULTILIB_USEDEP}] ) |
412 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
413 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
414 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
415 |
- webkit? ( net-libs/webkit-gtk:2 ) |
416 |
- ) |
417 |
- aqua? ( |
418 |
- x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}] |
419 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
420 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
421 |
- )" |
422 |
- |
423 |
-DEPEND="${RDEPEND} |
424 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
425 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
426 |
- X? ( |
427 |
- x11-proto/xproto[${MULTILIB_USEDEP}] |
428 |
- x11-proto/xineramaproto[${MULTILIB_USEDEP}] |
429 |
- x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}] |
430 |
- )" |
431 |
- |
432 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
433 |
- |
434 |
-LICENSE="wxWinLL-3 |
435 |
- GPL-2 |
436 |
- doc? ( wxWinFDL-3 )" |
437 |
- |
438 |
-S="${WORKDIR}/wxPython-src-${PV}" |
439 |
- |
440 |
-src_prepare() { |
441 |
- # Versionating |
442 |
- sed -i \ |
443 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
444 |
- -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ |
445 |
- -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ |
446 |
- -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ |
447 |
- -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}:" \ |
448 |
- -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}:" \ |
449 |
- Makefile.in || die |
450 |
- |
451 |
- sed -i \ |
452 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
453 |
- utils/wxrc/Makefile.in || die |
454 |
- |
455 |
- sed -i \ |
456 |
- -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ |
457 |
- -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ |
458 |
- -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ |
459 |
- -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ |
460 |
- configure || die |
461 |
- |
462 |
- default |
463 |
-} |
464 |
- |
465 |
-multilib_src_configure() { |
466 |
- local myconf |
467 |
- |
468 |
- # X independent options |
469 |
- myconf=" |
470 |
- --with-zlib=sys |
471 |
- --with-expat=sys |
472 |
- --enable-compat28 |
473 |
- $(use_with sdl)" |
474 |
- |
475 |
- # debug in >=2.9 |
476 |
- # there is no longer separate debug libraries (gtk2ud) |
477 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
478 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
479 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
480 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
481 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
482 |
- use debug \ |
483 |
- && myconf="${myconf} --enable-debug=max" |
484 |
- |
485 |
- # wxGTK options |
486 |
- # --enable-graphics_ctx - needed for webkit, editra |
487 |
- # --without-gnomevfs - bug #203389 |
488 |
- use X && \ |
489 |
- myconf="${myconf} |
490 |
- --enable-graphics_ctx |
491 |
- --with-gtkprint |
492 |
- --enable-gui |
493 |
- --with-gtk=3 |
494 |
- --with-libpng=sys |
495 |
- --with-libjpeg=sys |
496 |
- --without-gnomevfs |
497 |
- $(use_enable gstreamer mediactrl) |
498 |
- $(multilib_native_use_enable webkit webview) |
499 |
- $(use_with libnotify) |
500 |
- $(use_with opengl) |
501 |
- $(use_with tiff libtiff sys)" |
502 |
- |
503 |
- use aqua && \ |
504 |
- myconf="${myconf} |
505 |
- --enable-graphics_ctx |
506 |
- --enable-gui |
507 |
- --with-libpng=sys |
508 |
- --with-libxpm=sys |
509 |
- --with-libjpeg=sys |
510 |
- --with-mac |
511 |
- --with-opengl" |
512 |
- # cocoa toolkit seems to be broken |
513 |
- |
514 |
- # wxBase options |
515 |
- if use !X && use !aqua ; then |
516 |
- myconf="${myconf} |
517 |
- --disable-gui" |
518 |
- fi |
519 |
- |
520 |
- ECONF_SOURCE="${S}" econf ${myconf} |
521 |
-} |
522 |
- |
523 |
-multilib_src_install_all() { |
524 |
- cd "${S}"/docs || die |
525 |
- dodoc changes.txt readme.txt |
526 |
- newdoc base/readme.txt base_readme.txt |
527 |
- newdoc gtk/readme.txt gtk_readme.txt |
528 |
- |
529 |
- if use doc; then |
530 |
- dodoc -r "${S}"/docs/doxygen/out/html |
531 |
- fi |
532 |
- |
533 |
- # Unversioned links |
534 |
- rm "${D}"/usr/bin/wx{-config,rc} |
535 |
- |
536 |
- # version bakefile presets |
537 |
- pushd "${D}"usr/share/bakefile/presets/ > /dev/null |
538 |
- for f in wx*; do |
539 |
- mv "${f}" "${f/wx/wx30gtk3}" |
540 |
- done |
541 |
- popd > /dev/null |
542 |
-} |
543 |
- |
544 |
-pkg_postinst() { |
545 |
- has_version app-eselect/eselect-wxwidgets \ |
546 |
- && eselect wxwidgets update |
547 |
-} |
548 |
- |
549 |
-pkg_postrm() { |
550 |
- has_version app-eselect/eselect-wxwidgets \ |
551 |
- && eselect wxwidgets update |
552 |
-} |
553 |
|
554 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild |
555 |
deleted file mode 100644 |
556 |
index 5f3a10b1561..00000000000 |
557 |
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r301.ebuild |
558 |
+++ /dev/null |
559 |
@@ -1,194 +0,0 @@ |
560 |
-# Copyright 1999-2017 Gentoo Foundation |
561 |
-# Distributed under the terms of the GNU General Public License v2 |
562 |
- |
563 |
-EAPI="6" |
564 |
- |
565 |
-inherit autotools multilib-minimal |
566 |
- |
567 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
568 |
-HOMEPAGE="https://wxwidgets.org/" |
569 |
- |
570 |
-# we use the wxPython tarballs because they include the full wxGTK sources and |
571 |
-# docs, and are released more frequently than wxGTK. |
572 |
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2 |
573 |
- doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )" |
574 |
- |
575 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
576 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
577 |
- |
578 |
-WXSUBVERSION=${PV}-gtk3 # 3.0.2.0-gtk3 |
579 |
-WXVERSION=${WXSUBVERSION%.*} # 3.0.2 |
580 |
-WXRELEASE=${WXVERSION%.*}-gtk3 # 3.0-gtk3 |
581 |
-WXRELEASE_NODOT=${WXRELEASE//./} # 30-gtk3 |
582 |
- |
583 |
-SLOT="${WXRELEASE}" |
584 |
- |
585 |
-RDEPEND=" |
586 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
587 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
588 |
- X? ( |
589 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
590 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
591 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
592 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
593 |
- x11-libs/cairo[${MULTILIB_USEDEP}] |
594 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
595 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
596 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
597 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
598 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
599 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
600 |
- gstreamer? ( |
601 |
- media-libs/gstreamer:0.10[${MULTILIB_USEDEP}] |
602 |
- media-libs/gst-plugins-base:0.10[${MULTILIB_USEDEP}] ) |
603 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
604 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
605 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
606 |
- webkit? ( net-libs/webkit-gtk:3 ) |
607 |
- ) |
608 |
- aqua? ( |
609 |
- x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}] |
610 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
611 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
612 |
- )" |
613 |
- |
614 |
-DEPEND="${RDEPEND} |
615 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
616 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
617 |
- X? ( |
618 |
- x11-proto/xproto[${MULTILIB_USEDEP}] |
619 |
- x11-proto/xineramaproto[${MULTILIB_USEDEP}] |
620 |
- x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}] |
621 |
- )" |
622 |
- |
623 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
624 |
- |
625 |
-LICENSE="wxWinLL-3 |
626 |
- GPL-2 |
627 |
- doc? ( wxWinFDL-3 )" |
628 |
- |
629 |
-S="${WORKDIR}/wxPython-src-${PV}" |
630 |
-PATCHES=( |
631 |
- "${FILESDIR}"/${P}-webview-fixes.patch |
632 |
- "${FILESDIR}"/${P}-gcc6.patch |
633 |
-) |
634 |
- |
635 |
-src_prepare() { |
636 |
- default |
637 |
- |
638 |
- local f |
639 |
- for f in $(find "${S}" -name configure.in); do |
640 |
- mv "${f}" "${f/in/ac}" || die |
641 |
- done |
642 |
- AT_M4DIR="${S}/build/aclocal" eautoreconf |
643 |
- |
644 |
- # Versionating |
645 |
- sed -i \ |
646 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
647 |
- -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ |
648 |
- -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ |
649 |
- -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ |
650 |
- -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}:" \ |
651 |
- -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}:" \ |
652 |
- Makefile.in || die |
653 |
- |
654 |
- sed -i \ |
655 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
656 |
- utils/wxrc/Makefile.in || die |
657 |
- |
658 |
- sed -i \ |
659 |
- -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ |
660 |
- -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ |
661 |
- -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ |
662 |
- -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ |
663 |
- configure || die |
664 |
-} |
665 |
- |
666 |
-multilib_src_configure() { |
667 |
- local myconf |
668 |
- |
669 |
- # X independent options |
670 |
- myconf=" |
671 |
- --with-zlib=sys |
672 |
- --with-expat=sys |
673 |
- --enable-compat28 |
674 |
- $(use_with sdl)" |
675 |
- |
676 |
- # debug in >=2.9 |
677 |
- # there is no longer separate debug libraries (gtk2ud) |
678 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
679 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
680 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
681 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
682 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
683 |
- use debug \ |
684 |
- && myconf="${myconf} --enable-debug=max" |
685 |
- |
686 |
- # wxGTK options |
687 |
- # --enable-graphics_ctx - needed for webkit, editra |
688 |
- # --without-gnomevfs - bug #203389 |
689 |
- use X && \ |
690 |
- myconf="${myconf} |
691 |
- --enable-graphics_ctx |
692 |
- --with-gtkprint |
693 |
- --enable-gui |
694 |
- --with-gtk=3 |
695 |
- --with-libpng=sys |
696 |
- --with-libjpeg=sys |
697 |
- --without-gnomevfs |
698 |
- $(use_enable gstreamer mediactrl) |
699 |
- $(multilib_native_use_enable webkit webview) |
700 |
- $(use_with libnotify) |
701 |
- $(use_with opengl) |
702 |
- $(use_with tiff libtiff sys)" |
703 |
- |
704 |
- use aqua && \ |
705 |
- myconf="${myconf} |
706 |
- --enable-graphics_ctx |
707 |
- --enable-gui |
708 |
- --with-libpng=sys |
709 |
- --with-libxpm=sys |
710 |
- --with-libjpeg=sys |
711 |
- --with-mac |
712 |
- --with-opengl" |
713 |
- # cocoa toolkit seems to be broken |
714 |
- |
715 |
- # wxBase options |
716 |
- if use !X && use !aqua ; then |
717 |
- myconf="${myconf} |
718 |
- --disable-gui" |
719 |
- fi |
720 |
- |
721 |
- ECONF_SOURCE="${S}" econf ${myconf} |
722 |
-} |
723 |
- |
724 |
-multilib_src_install_all() { |
725 |
- cd "${S}"/docs || die |
726 |
- dodoc changes.txt readme.txt |
727 |
- newdoc base/readme.txt base_readme.txt |
728 |
- newdoc gtk/readme.txt gtk_readme.txt |
729 |
- |
730 |
- if use doc; then |
731 |
- dodoc -r "${S}"/docs/doxygen/out/html |
732 |
- fi |
733 |
- |
734 |
- # Unversioned links |
735 |
- rm "${D}"/usr/bin/wx{-config,rc} |
736 |
- |
737 |
- # version bakefile presets |
738 |
- pushd "${D}"usr/share/bakefile/presets/ > /dev/null |
739 |
- for f in wx*; do |
740 |
- mv "${f}" "${f/wx/wx30gtk3}" |
741 |
- done |
742 |
- popd > /dev/null |
743 |
-} |
744 |
- |
745 |
-pkg_postinst() { |
746 |
- has_version app-eselect/eselect-wxwidgets \ |
747 |
- && eselect wxwidgets update |
748 |
-} |
749 |
- |
750 |
-pkg_postrm() { |
751 |
- has_version app-eselect/eselect-wxwidgets \ |
752 |
- && eselect wxwidgets update |
753 |
-} |