1 |
commit: 8a730bec465a7b103f6b4b63df9cb2e07d632ae1 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 9 11:22:46 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 9 12:23:05 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a730bec |
7 |
|
8 |
x11-libs/wxGTK: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
x11-libs/wxGTK/Manifest | 5 - |
14 |
x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch | 75 --------- |
15 |
x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild | 180 ---------------------- |
16 |
x11-libs/wxGTK/wxGTK-3.0.3.ebuild | 140 ----------------- |
17 |
x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild | 140 ----------------- |
18 |
x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild | 184 ----------------------- |
19 |
x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild | 184 ----------------------- |
20 |
x11-libs/wxGTK/wxGTK-3.0.4.ebuild | 140 ----------------- |
21 |
8 files changed, 1048 deletions(-) |
22 |
|
23 |
diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest |
24 |
index e98af7ed8c6..bef346b0422 100644 |
25 |
--- a/x11-libs/wxGTK/Manifest |
26 |
+++ b/x11-libs/wxGTK/Manifest |
27 |
@@ -1,8 +1,3 @@ |
28 |
-DIST wxGTK-3.0.3_p20180104.tar.xz 84260 BLAKE2B 3840a4a202778b3e7df0c3470945dd8f083b1b18aa69013ae59975b368cec4f5e9fea3bdd8a05a200fcd146c8616d2258f0b2ee389a6457a638201a8534f9a18 SHA512 840c8248d5a689a462d1dcb9d9962dd453473597d10289802728218a881808f594ff799d2002ceb319d2e79b1b7063d59b181d4a0efff7920a2dee9653b40a72 |
29 |
-DIST wxGTK-3.0.4_p20180507.tar.xz 2972 BLAKE2B 431855d43aefac6227925195c107b21f7539ca2709c98f6d6beb7d25dbdf8633c61bb160fb4e5c993e97dbddc37cdf90dc7b09753a312c25b16f79f0207cfe98 SHA512 9caa7ca3b6f15fd70014ccd4008c4fa76f12cb07d3fc58a8f0d2b9a591cf8be3f0eb40497dc757b9d0a04d26f54296aaa8fe693aa601bb1c058365529bb4bc8b |
30 |
-DIST wxGTK-3.0.4_p20181106.tar.xz 28448 BLAKE2B dbbaaa49cbf03b42089c04d3c6045734f045e5bddc66b72f367f2ba1deed0531280c3bf3db873bf78dd33cee9873e20839ab38b94f90830b48bc1a8122164d02 SHA512 d1bde53b4eac1f8e6785379f99d585c926fd132c709ca134d7c8c3d62a2bcf77059b90f25333aa692932888318dadf464620b0a136341217cae7a2cd2c93ab50 |
31 |
DIST wxGTK-3.0.4_p20190713.tar.xz 53640 BLAKE2B 89eabc44660f8f9b19fc850717eb83244a746f2f8c28bcec89fa9ccd1828f103df114bce24406ff14875220de86276f9e51870d58e716f0c94d310707f7eae4c SHA512 44a4e92ccc9c143a0e70e015116e952b0529001a3a1e23193d501826720a505259ead6feaa08de75b4a7a8753f8b16f5cc14e4bff5d15585870066ccd1de53b9 |
32 |
-DIST wxWidgets-3.0.3-docs-html.tar.bz2 23803675 BLAKE2B 181305a2b8935adee8d50873665bc094f46a061fe1bcf8521f8a4d5613013d6ad58ce172e56118f3833ce3489ab2e919bbd5482445ce55455e696252bb747d3c SHA512 655efde42e467d1d48d8adb95e2394d90cedca8eb6a54a7d53771d3d2d4d5f72637aea6ea12a4c1f570c3905a458aebea067cd74e184c4c85ca73e49e04282cb |
33 |
-DIST wxWidgets-3.0.3.tar.bz2 20054446 BLAKE2B ebbe977a59f215fb2e35300aec91ad6d042d099586c4f6624d817c689feae090ff6df5718baa94a79e8e46120a6b4a154a7e9a584e14363e832602841502f0f6 SHA512 dfe53682d7cda1d460f336a890603c4e823078be4b05e7cf43ab36cb49247f702808aa939d9311705bdf5f96eaa076e7a8f77f4415bc07c5bfdc19e5deff1dd1 |
34 |
DIST wxWidgets-3.0.4-docs-html.tar.bz2 24122986 BLAKE2B ffd38d50e6cb44077f346597863a8dfb1cb5172b9380995082acb23b5b5dae060bc1e3d14307a1146ccd93b5ae9c4fd8fb206346c8d5aced5a535cd3d7f8961a SHA512 2b4cefc98f5f034a8c36237c4979bd02e8b0ed60aaeb31946d8661fb8e5297172cec807e45c96fe2939b012f093950721cda8bf9f750697b50e3741711011ccd |
35 |
DIST wxWidgets-3.0.4.tar.bz2 20204622 BLAKE2B 97b9f3f44f080104cae290bc3e162b51ce27a96fb22b191d52f30db1f1dc7951defcc220afc4dcb8417cfe23490762c2a25f62164ac21809f73ccf442dd19347 SHA512 c9e6b35d541a99921c54cfdac260843f574f146b27f924a7a0fca5007344fa99865a96ded95e6802329ad9221b4880d62b92277a1b4c1ce71420acb672ad9158 |
36 |
|
37 |
diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch |
38 |
deleted file mode 100644 |
39 |
index 3459e8dc75d..00000000000 |
40 |
--- a/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch |
41 |
+++ /dev/null |
42 |
@@ -1,75 +0,0 @@ |
43 |
-Prevent file collisions between multiple installed SLOTs. |
44 |
- |
45 |
- - Don't install wxwin.m4. It is installed with app-eselect/eselect-wxwidgets. |
46 |
- - Version the bakefile preset filenames. Unversioned symlinks to these files |
47 |
- are handled by eselect. |
48 |
- - Version wx-config and wxrc. The unversioned forms are wrapper scripts |
49 |
- installed with eselect-wxwidgets. |
50 |
- - Version wxstd.mo and modify AddStdCatalog to use it. |
51 |
- |
52 |
---- a/Makefile.in |
53 |
-+++ b/Makefile.in |
54 |
-@@ -15213,10 +15213,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \ |
55 |
- all: $(__wxregex___depname) $(__wxzlib___depname) $(__wxpng___depname) $(__wxjpeg___depname) $(__wxtiff___depname) $(__wxexpat___depname) $(__wxscintilla___depname) $(__monodll___depname) $(__monolib___depname) $(__basedll___depname) $(__baselib___depname) $(__netdll___depname) $(__netlib___depname) $(__coredll___depname) $(__corelib___depname) $(__advdll___depname) $(__advlib___depname) $(__mediadll___depname) $(__medialib___depname) $(__htmldll___depname) $(__htmllib___depname) $(__webviewdll___depname) $(__webviewlib___depname) $(__qadll___depname) $(__qalib___depname) $(__xmldll___depname) $(__xmllib___depname) $(__xrcdll___depname) $(__xrclib___depname) $(__auidll___depname) $(__auilib___depname) $(__ribbondll___depname) $(__ribbonlib___depname) $(__propgriddll___depname) $(__propgridlib___depname) $(__richtextdll___depname) $(__richtextlib___depname) $(__stcdll___depname) $(__stclib___depname) $(__gldll___depname) $(__gllib___depname) $(__sound_sdl___depname) $(__webkit2_ext_ |
56 |
__depname) $(__wxrc___depname) $(__cocoa_res___depname) |
57 |
- |
58 |
- install: $(__install_wxregex___depname) $(__install_wxzlib___depname) $(__install_wxpng___depname) $(__install_wxjpeg___depname) $(__install_wxtiff___depname) $(__install_wxexpat___depname) $(__install_wxscintilla___depname) $(__install_monodll___depname) $(__install_monolib___depname) $(__install_basedll___depname) $(__install_baselib___depname) $(__install_netdll___depname) $(__install_netlib___depname) $(__install_coredll___depname) $(__install_corelib___depname) $(__install_advdll___depname) $(__install_advlib___depname) $(__install_mediadll___depname) $(__install_medialib___depname) $(__install_htmldll___depname) $(__install_htmllib___depname) $(__install_webviewdll___depname) $(__install_webviewlib___depname) $(__install_qadll___depname) $(__install_qalib___depname) $(__install_xmldll___depname) $(__install_xmllib___depname) $(__install_xrcdll___depname) $(__install_xrclib___depname) $(__install_auidll___depname) $(__install_auilib___depname) $(__install_ribbondll___depname) |
59 |
$(__install_ribbonlib___depname) $(__install_propgriddll___depname) $(__install_propgridlib___depname) $(__install_richtextdll___depname) $(__install_richtextlib___depname) $(__install_stcdll___depname) $(__install_stclib___depname) $(__install_gldll___depname) $(__install_gllib___depname) $(__install_sound_sdl___depname) $(__install_webkit2_ext___depname) $(__install_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname) |
60 |
-- $(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal |
61 |
-- (cd $(srcdir) ; $(INSTALL_DATA) wxwin.m4 $(DESTDIR)$(datadir)/aclocal) |
62 |
- $(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets |
63 |
-- (cd $(srcdir)/build/bakefiles/wxpresets/presets ; $(INSTALL_DATA) wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py $(DESTDIR)$(datadir)/bakefile/presets) |
64 |
-+ (cd $(srcdir)/build/bakefiles/wxpresets/presets ; \ |
65 |
-+ for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \ |
66 |
-+ $(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done) |
67 |
- $(DYLIB_RPATH_INSTALL) |
68 |
- $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx |
69 |
- for f in setup.h $(RCDEFS_H); do \ |
70 |
-@@ -16101,7 +16101,7 @@ install-wxconfig: |
71 |
- $(INSTALL_DIR) $(DESTDIR)$(bindir) |
72 |
- $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config |
73 |
- $(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config |
74 |
-- (cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config) |
75 |
-+ (cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE) || cp -p $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE)) |
76 |
- |
77 |
- locale_install: |
78 |
- $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale |
79 |
-@@ -16109,7 +16109,7 @@ locale_install: |
80 |
- $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \ |
81 |
- $(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \ |
82 |
- if test -f $(srcdir)/locale/$$l.mo ; then \ |
83 |
-- $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \ |
84 |
-+ $(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \ |
85 |
- fi ; \ |
86 |
- done |
87 |
- |
88 |
---- a/build/bakefiles/wx.bkl |
89 |
-+++ b/build/bakefiles/wx.bkl |
90 |
-@@ -137,7 +137,7 @@ |
91 |
- <using module="gettext"/> |
92 |
- <gettext-catalogs id="locale"> |
93 |
- <srcdir>$(SRCDIR)/locale</srcdir> |
94 |
-- <catalog-name>wxstd</catalog-name> |
95 |
-+ <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name> |
96 |
- <linguas> |
97 |
- ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk |
98 |
- zh zh_CN zh_TW |
99 |
---- a/src/common/translation.cpp |
100 |
-+++ b/src/common/translation.cpp |
101 |
-@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c |
102 |
- |
103 |
- bool wxTranslations::AddStdCatalog() |
104 |
- { |
105 |
-- if ( !AddCatalog(wxS("wxstd")) ) |
106 |
-+ if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) ) |
107 |
- return false; |
108 |
- |
109 |
- // there may be a catalog with toolkit specific overrides, it is not |
110 |
---- a/utils/wxrc/Makefile.in |
111 |
-+++ b/utils/wxrc/Makefile.in |
112 |
-@@ -125,7 +125,6 @@ distclean: clean |
113 |
- @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) |
114 |
- @COND_USE_XRC_1@ $(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir) |
115 |
- @COND_USE_XRC_1@ mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE) |
116 |
--@COND_USE_XRC_1@ (cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT)) |
117 |
- |
118 |
- @COND_USE_XRC_1@uninstall_wxrc: |
119 |
- @COND_USE_XRC_1@ rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) |
120 |
|
121 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild |
122 |
deleted file mode 100644 |
123 |
index 4fb40d29f62..00000000000 |
124 |
--- a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild |
125 |
+++ /dev/null |
126 |
@@ -1,180 +0,0 @@ |
127 |
-# Copyright 1999-2018 Gentoo Foundation |
128 |
-# Distributed under the terms of the GNU General Public License v2 |
129 |
- |
130 |
-EAPI=6 |
131 |
- |
132 |
-inherit multilib-minimal |
133 |
- |
134 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
135 |
-HOMEPAGE="https://wxwidgets.org/" |
136 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
137 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz |
138 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
139 |
- |
140 |
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
141 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
142 |
- |
143 |
-WXSUBVERSION=${PV}.0-gtk3 # 3.0.3.0-gtk3 |
144 |
-WXVERSION=${WXSUBVERSION%.*} # 3.0.3 |
145 |
-WXRELEASE=${WXVERSION%.*}-gtk3 # 3.0-gtk3 |
146 |
-WXRELEASE_NODOT=${WXRELEASE//./} # 30-gtk3 |
147 |
- |
148 |
-SLOT="${WXRELEASE}" |
149 |
- |
150 |
-RDEPEND=" |
151 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
152 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
153 |
- X? ( |
154 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
155 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
156 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
157 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
158 |
- x11-libs/cairo[${MULTILIB_USEDEP}] |
159 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
160 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
161 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
162 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
163 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
164 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
165 |
- gstreamer? ( |
166 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
167 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
168 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
169 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
170 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
171 |
- webkit? ( net-libs/webkit-gtk:4 ) |
172 |
- ) |
173 |
- aqua? ( |
174 |
- x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}] |
175 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
176 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
177 |
- )" |
178 |
- |
179 |
-DEPEND="${RDEPEND} |
180 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
181 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
182 |
- X? ( x11-base/xorg-proto )" |
183 |
- |
184 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
185 |
- |
186 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
187 |
- |
188 |
-S="${WORKDIR}/wxWidgets-${PV}" |
189 |
- |
190 |
-PATCHES=( |
191 |
- "${WORKDIR}"/wxGTK-3.0.3_p20180104/ |
192 |
- "${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch |
193 |
-) |
194 |
- |
195 |
-src_prepare() { |
196 |
- default |
197 |
- |
198 |
- # Versionating |
199 |
- sed -i \ |
200 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
201 |
- -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ |
202 |
- -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ |
203 |
- -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ |
204 |
- -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \ |
205 |
- -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \ |
206 |
- Makefile.in || die |
207 |
- |
208 |
- sed -i \ |
209 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
210 |
- utils/wxrc/Makefile.in || die |
211 |
- |
212 |
- sed -i \ |
213 |
- -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ |
214 |
- -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ |
215 |
- -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ |
216 |
- -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ |
217 |
- configure || die |
218 |
-} |
219 |
- |
220 |
-multilib_src_configure() { |
221 |
- local myconf |
222 |
- |
223 |
- # X independent options |
224 |
- myconf=" |
225 |
- --with-zlib=sys |
226 |
- --with-expat=sys |
227 |
- --enable-compat28 |
228 |
- $(use_with sdl)" |
229 |
- |
230 |
- # debug in >=2.9 |
231 |
- # there is no longer separate debug libraries (gtk2ud) |
232 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
233 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
234 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
235 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
236 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
237 |
- use debug \ |
238 |
- && myconf="${myconf} --enable-debug=max" |
239 |
- |
240 |
- # wxGTK options |
241 |
- # --enable-graphics_ctx - needed for webkit, editra |
242 |
- # --without-gnomevfs - bug #203389 |
243 |
- use X && \ |
244 |
- myconf="${myconf} |
245 |
- --enable-graphics_ctx |
246 |
- --with-gtkprint |
247 |
- --enable-gui |
248 |
- --with-gtk=3 |
249 |
- --with-libpng=sys |
250 |
- --with-libjpeg=sys |
251 |
- --without-gnomevfs |
252 |
- $(use_enable gstreamer mediactrl) |
253 |
- $(multilib_native_use_enable webkit webview) |
254 |
- $(use_with libnotify) |
255 |
- $(use_with opengl) |
256 |
- $(use_with tiff libtiff sys)" |
257 |
- |
258 |
- use aqua && \ |
259 |
- myconf="${myconf} |
260 |
- --enable-graphics_ctx |
261 |
- --enable-gui |
262 |
- --with-libpng=sys |
263 |
- --with-libxpm=sys |
264 |
- --with-libjpeg=sys |
265 |
- --with-mac |
266 |
- --with-opengl" |
267 |
- # cocoa toolkit seems to be broken |
268 |
- |
269 |
- # wxBase options |
270 |
- if use !X && use !aqua ; then |
271 |
- myconf="${myconf} |
272 |
- --disable-gui" |
273 |
- fi |
274 |
- |
275 |
- ECONF_SOURCE="${S}" econf ${myconf} |
276 |
-} |
277 |
- |
278 |
-multilib_src_install_all() { |
279 |
- cd "${S}"/docs || die |
280 |
- dodoc changes.txt readme.txt |
281 |
- newdoc base/readme.txt base_readme.txt |
282 |
- newdoc gtk/readme.txt gtk_readme.txt |
283 |
- |
284 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
285 |
- einstalldocs |
286 |
- |
287 |
- # Unversioned links |
288 |
- rm "${D}"/usr/bin/wx{-config,rc} |
289 |
- |
290 |
- # version bakefile presets |
291 |
- pushd "${D}"usr/share/bakefile/presets/ > /dev/null |
292 |
- for f in wx*; do |
293 |
- mv "${f}" "${f/wx/wx30gtk3}" |
294 |
- done |
295 |
- popd > /dev/null |
296 |
-} |
297 |
- |
298 |
-pkg_postinst() { |
299 |
- has_version app-eselect/eselect-wxwidgets \ |
300 |
- && eselect wxwidgets update |
301 |
-} |
302 |
- |
303 |
-pkg_postrm() { |
304 |
- has_version app-eselect/eselect-wxwidgets \ |
305 |
- && eselect wxwidgets update |
306 |
-} |
307 |
|
308 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3.ebuild |
309 |
deleted file mode 100644 |
310 |
index dfd97e693a6..00000000000 |
311 |
--- a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild |
312 |
+++ /dev/null |
313 |
@@ -1,140 +0,0 @@ |
314 |
-# Copyright 1999-2020 Gentoo Authors |
315 |
-# Distributed under the terms of the GNU General Public License v2 |
316 |
- |
317 |
-EAPI=6 |
318 |
- |
319 |
-inherit multilib-minimal |
320 |
- |
321 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
322 |
-HOMEPAGE="https://wxwidgets.org/" |
323 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
324 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz |
325 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
326 |
- |
327 |
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
328 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff" |
329 |
- |
330 |
-SLOT="3.0" |
331 |
- |
332 |
-RDEPEND=" |
333 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
334 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
335 |
- X? ( |
336 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
337 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
338 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
339 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
340 |
- >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] |
341 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
342 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
343 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
344 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
345 |
- gstreamer? ( |
346 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
347 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
348 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
349 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
350 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
351 |
- ) |
352 |
- aqua? ( |
353 |
- x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] |
354 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
355 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
356 |
- )" |
357 |
- |
358 |
-DEPEND="${RDEPEND} |
359 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
360 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
361 |
- X? ( x11-base/xorg-proto )" |
362 |
- |
363 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
364 |
- |
365 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
366 |
- |
367 |
-S="${WORKDIR}/wxWidgets-${PV}" |
368 |
-PATCHES=( |
369 |
- "${WORKDIR}"/wxGTK-3.0.3_p20180104/ |
370 |
- "${FILESDIR}"/${PN}-3.0.3-collision.patch |
371 |
-) |
372 |
- |
373 |
-multilib_src_configure() { |
374 |
- local myconf |
375 |
- |
376 |
- # X independent options |
377 |
- myconf=" |
378 |
- --with-zlib=sys |
379 |
- --with-expat=sys |
380 |
- --enable-compat28 |
381 |
- $(use_with sdl)" |
382 |
- |
383 |
- # debug in >=2.9 |
384 |
- # there is no longer separate debug libraries (gtk2ud) |
385 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
386 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
387 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
388 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
389 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
390 |
- use debug \ |
391 |
- && myconf="${myconf} --enable-debug=max" |
392 |
- |
393 |
- # wxGTK options |
394 |
- # --enable-graphics_ctx - needed for webkit, editra |
395 |
- # --without-gnomevfs - bug #203389 |
396 |
- use X && \ |
397 |
- myconf="${myconf} |
398 |
- --enable-graphics_ctx |
399 |
- --with-gtkprint |
400 |
- --enable-gui |
401 |
- --with-libpng=sys |
402 |
- --with-libxpm=sys |
403 |
- --with-libjpeg=sys |
404 |
- --without-gnomevfs |
405 |
- --disable-webview |
406 |
- $(use_enable gstreamer mediactrl) |
407 |
- $(use_with libnotify) |
408 |
- $(use_with opengl) |
409 |
- $(use_with tiff libtiff sys)" |
410 |
- |
411 |
- use aqua && \ |
412 |
- myconf="${myconf} |
413 |
- --enable-graphics_ctx |
414 |
- --enable-gui |
415 |
- --with-libpng=sys |
416 |
- --with-libxpm=sys |
417 |
- --with-libjpeg=sys |
418 |
- --with-mac |
419 |
- --with-opengl" |
420 |
- # cocoa toolkit seems to be broken |
421 |
- |
422 |
- # wxBase options |
423 |
- if use !X && use !aqua ; then |
424 |
- myconf="${myconf} |
425 |
- --disable-gui" |
426 |
- fi |
427 |
- |
428 |
- ECONF_SOURCE="${S}" econf ${myconf} |
429 |
-} |
430 |
- |
431 |
-multilib_src_install_all() { |
432 |
- cd "${S}"/docs || die |
433 |
- dodoc changes.txt readme.txt |
434 |
- newdoc base/readme.txt base_readme.txt |
435 |
- newdoc gtk/readme.txt gtk_readme.txt |
436 |
- |
437 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
438 |
- einstalldocs |
439 |
- |
440 |
- # Stray windows locale file, causes collisions |
441 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
442 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
443 |
-} |
444 |
- |
445 |
-pkg_postinst() { |
446 |
- has_version app-eselect/eselect-wxwidgets \ |
447 |
- && eselect wxwidgets update |
448 |
-} |
449 |
- |
450 |
-pkg_postrm() { |
451 |
- has_version app-eselect/eselect-wxwidgets \ |
452 |
- && eselect wxwidgets update |
453 |
-} |
454 |
|
455 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild |
456 |
deleted file mode 100644 |
457 |
index cadb5dd2158..00000000000 |
458 |
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild |
459 |
+++ /dev/null |
460 |
@@ -1,140 +0,0 @@ |
461 |
-# Copyright 1999-2018 Gentoo Authors |
462 |
-# Distributed under the terms of the GNU General Public License v2 |
463 |
- |
464 |
-EAPI=6 |
465 |
- |
466 |
-inherit multilib-minimal |
467 |
- |
468 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
469 |
-HOMEPAGE="https://wxwidgets.org/" |
470 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
471 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20181106.tar.xz |
472 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
473 |
- |
474 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
475 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff" |
476 |
- |
477 |
-SLOT="3.0" |
478 |
- |
479 |
-RDEPEND=" |
480 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
481 |
- sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) |
482 |
- X? ( |
483 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
484 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
485 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
486 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
487 |
- >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] |
488 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
489 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
490 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
491 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
492 |
- gstreamer? ( |
493 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
494 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
495 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
496 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
497 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
498 |
- ) |
499 |
- aqua? ( |
500 |
- x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] |
501 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
502 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
503 |
- )" |
504 |
- |
505 |
-DEPEND="${RDEPEND} |
506 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
507 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
508 |
- X? ( x11-base/xorg-proto )" |
509 |
- |
510 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
511 |
- |
512 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
513 |
- |
514 |
-S="${WORKDIR}/wxWidgets-${PV}" |
515 |
-PATCHES=( |
516 |
- "${WORKDIR}"/wxGTK-3.0.4_p20181106/ |
517 |
- "${FILESDIR}"/${PN}-3.0.5-collision.patch |
518 |
-) |
519 |
- |
520 |
-multilib_src_configure() { |
521 |
- local myconf |
522 |
- |
523 |
- # X independent options |
524 |
- myconf=" |
525 |
- --with-zlib=sys |
526 |
- --with-expat=sys |
527 |
- --enable-compat28 |
528 |
- $(use_with sdl)" |
529 |
- |
530 |
- # debug in >=2.9 |
531 |
- # there is no longer separate debug libraries (gtk2ud) |
532 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
533 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
534 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
535 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
536 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
537 |
- use debug \ |
538 |
- && myconf="${myconf} --enable-debug=max" |
539 |
- |
540 |
- # wxGTK options |
541 |
- # --enable-graphics_ctx - needed for webkit, editra |
542 |
- # --without-gnomevfs - bug #203389 |
543 |
- use X && \ |
544 |
- myconf="${myconf} |
545 |
- --enable-graphics_ctx |
546 |
- --with-gtkprint |
547 |
- --enable-gui |
548 |
- --with-libpng=sys |
549 |
- --with-libxpm=sys |
550 |
- --with-libjpeg=sys |
551 |
- --without-gnomevfs |
552 |
- --disable-webview |
553 |
- $(use_enable gstreamer mediactrl) |
554 |
- $(use_with libnotify) |
555 |
- $(use_with opengl) |
556 |
- $(use_with tiff libtiff sys)" |
557 |
- |
558 |
- use aqua && \ |
559 |
- myconf="${myconf} |
560 |
- --enable-graphics_ctx |
561 |
- --enable-gui |
562 |
- --with-libpng=sys |
563 |
- --with-libxpm=sys |
564 |
- --with-libjpeg=sys |
565 |
- --with-mac |
566 |
- --with-opengl" |
567 |
- # cocoa toolkit seems to be broken |
568 |
- |
569 |
- # wxBase options |
570 |
- if use !X && use !aqua ; then |
571 |
- myconf="${myconf} |
572 |
- --disable-gui" |
573 |
- fi |
574 |
- |
575 |
- ECONF_SOURCE="${S}" econf ${myconf} |
576 |
-} |
577 |
- |
578 |
-multilib_src_install_all() { |
579 |
- cd "${S}"/docs || die |
580 |
- dodoc changes.txt readme.txt |
581 |
- newdoc base/readme.txt base_readme.txt |
582 |
- newdoc gtk/readme.txt gtk_readme.txt |
583 |
- |
584 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
585 |
- einstalldocs |
586 |
- |
587 |
- # Stray windows locale file, causes collisions |
588 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
589 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
590 |
-} |
591 |
- |
592 |
-pkg_postinst() { |
593 |
- has_version app-eselect/eselect-wxwidgets \ |
594 |
- && eselect wxwidgets update |
595 |
-} |
596 |
- |
597 |
-pkg_postrm() { |
598 |
- has_version app-eselect/eselect-wxwidgets \ |
599 |
- && eselect wxwidgets update |
600 |
-} |
601 |
|
602 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild |
603 |
deleted file mode 100644 |
604 |
index cb528081365..00000000000 |
605 |
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild |
606 |
+++ /dev/null |
607 |
@@ -1,184 +0,0 @@ |
608 |
-# Copyright 1999-2019 Gentoo Authors |
609 |
-# Distributed under the terms of the GNU General Public License v2 |
610 |
- |
611 |
-EAPI=6 |
612 |
- |
613 |
-inherit multilib-minimal |
614 |
- |
615 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
616 |
-HOMEPAGE="https://wxwidgets.org/" |
617 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
618 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20180507.tar.xz |
619 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
620 |
- |
621 |
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
622 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
623 |
- |
624 |
-WXSUBVERSION=${PV}.0-gtk3 # 3.0.3.0-gtk3 |
625 |
-WXVERSION=${WXSUBVERSION%.*} # 3.0.3 |
626 |
-WXRELEASE=${WXVERSION%.*}-gtk3 # 3.0-gtk3 |
627 |
-WXRELEASE_NODOT=${WXRELEASE//./} # 30-gtk3 |
628 |
- |
629 |
-SLOT="${WXRELEASE}" |
630 |
- |
631 |
-RDEPEND=" |
632 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
633 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
634 |
- X? ( |
635 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
636 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
637 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
638 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
639 |
- x11-libs/cairo[${MULTILIB_USEDEP}] |
640 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
641 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
642 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
643 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
644 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
645 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
646 |
- gstreamer? ( |
647 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
648 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
649 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
650 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
651 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
652 |
- webkit? ( net-libs/webkit-gtk:4 ) |
653 |
- ) |
654 |
- aqua? ( |
655 |
- x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}] |
656 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
657 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
658 |
- )" |
659 |
- |
660 |
-DEPEND="${RDEPEND} |
661 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
662 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
663 |
- X? ( x11-base/xorg-proto )" |
664 |
- |
665 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
666 |
- |
667 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
668 |
- |
669 |
-S="${WORKDIR}/wxWidgets-${PV}" |
670 |
- |
671 |
-PATCHES=( |
672 |
- "${WORKDIR}"/wxGTK-3.0.4_p20180507/ |
673 |
- "${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch |
674 |
-) |
675 |
- |
676 |
-src_prepare() { |
677 |
- default |
678 |
- |
679 |
- # Versionating |
680 |
- sed -i \ |
681 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
682 |
- -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ |
683 |
- -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ |
684 |
- -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ |
685 |
- -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \ |
686 |
- -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \ |
687 |
- Makefile.in || die |
688 |
- |
689 |
- sed -i \ |
690 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
691 |
- utils/wxrc/Makefile.in || die |
692 |
- |
693 |
- sed -i \ |
694 |
- -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ |
695 |
- -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ |
696 |
- -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ |
697 |
- -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ |
698 |
- configure || die |
699 |
-} |
700 |
- |
701 |
-multilib_src_configure() { |
702 |
- local myconf |
703 |
- |
704 |
- # X independent options |
705 |
- myconf=" |
706 |
- --with-zlib=sys |
707 |
- --with-expat=sys |
708 |
- --enable-compat28 |
709 |
- $(use_with sdl)" |
710 |
- |
711 |
- # debug in >=2.9 |
712 |
- # there is no longer separate debug libraries (gtk2ud) |
713 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
714 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
715 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
716 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
717 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
718 |
- use debug \ |
719 |
- && myconf="${myconf} --enable-debug=max" |
720 |
- |
721 |
- # wxGTK options |
722 |
- # --enable-graphics_ctx - needed for webkit, editra |
723 |
- # --without-gnomevfs - bug #203389 |
724 |
- use X && \ |
725 |
- myconf="${myconf} |
726 |
- --enable-graphics_ctx |
727 |
- --with-gtkprint |
728 |
- --enable-gui |
729 |
- --with-gtk=3 |
730 |
- --with-libpng=sys |
731 |
- --with-libjpeg=sys |
732 |
- --without-gnomevfs |
733 |
- $(use_enable gstreamer mediactrl) |
734 |
- $(multilib_native_use_enable webkit webview) |
735 |
- $(use_with libnotify) |
736 |
- $(use_with opengl) |
737 |
- $(use_with tiff libtiff sys)" |
738 |
- |
739 |
- use aqua && \ |
740 |
- myconf="${myconf} |
741 |
- --enable-graphics_ctx |
742 |
- --enable-gui |
743 |
- --with-libpng=sys |
744 |
- --with-libxpm=sys |
745 |
- --with-libjpeg=sys |
746 |
- --with-mac |
747 |
- --with-opengl" |
748 |
- # cocoa toolkit seems to be broken |
749 |
- |
750 |
- # wxBase options |
751 |
- if use !X && use !aqua ; then |
752 |
- myconf="${myconf} |
753 |
- --disable-gui" |
754 |
- fi |
755 |
- |
756 |
- ECONF_SOURCE="${S}" econf ${myconf} |
757 |
-} |
758 |
- |
759 |
-multilib_src_install_all() { |
760 |
- cd "${S}"/docs || die |
761 |
- dodoc changes.txt readme.txt |
762 |
- newdoc base/readme.txt base_readme.txt |
763 |
- newdoc gtk/readme.txt gtk_readme.txt |
764 |
- |
765 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
766 |
- einstalldocs |
767 |
- |
768 |
- # Stray windows locale file, bug #650118 |
769 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo" |
770 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
771 |
- |
772 |
- # Unversioned links |
773 |
- rm "${D}"/usr/bin/wx{-config,rc} |
774 |
- |
775 |
- # version bakefile presets |
776 |
- pushd "${D}"usr/share/bakefile/presets/ > /dev/null |
777 |
- for f in wx*; do |
778 |
- mv "${f}" "${f/wx/wx30gtk3}" |
779 |
- done |
780 |
- popd > /dev/null |
781 |
-} |
782 |
- |
783 |
-pkg_postinst() { |
784 |
- has_version app-eselect/eselect-wxwidgets \ |
785 |
- && eselect wxwidgets update |
786 |
-} |
787 |
- |
788 |
-pkg_postrm() { |
789 |
- has_version app-eselect/eselect-wxwidgets \ |
790 |
- && eselect wxwidgets update |
791 |
-} |
792 |
|
793 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild |
794 |
deleted file mode 100644 |
795 |
index 66769f55bf3..00000000000 |
796 |
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild |
797 |
+++ /dev/null |
798 |
@@ -1,184 +0,0 @@ |
799 |
-# Copyright 1999-2018 Gentoo Authors |
800 |
-# Distributed under the terms of the GNU General Public License v2 |
801 |
- |
802 |
-EAPI=6 |
803 |
- |
804 |
-inherit multilib-minimal |
805 |
- |
806 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
807 |
-HOMEPAGE="https://wxwidgets.org/" |
808 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
809 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20181106.tar.xz |
810 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
811 |
- |
812 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
813 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit" |
814 |
- |
815 |
-WXSUBVERSION=${PV}.0-gtk3 # 3.0.3.0-gtk3 |
816 |
-WXVERSION=${WXSUBVERSION%.*} # 3.0.3 |
817 |
-WXRELEASE=${WXVERSION%.*}-gtk3 # 3.0-gtk3 |
818 |
-WXRELEASE_NODOT=${WXRELEASE//./} # 30-gtk3 |
819 |
- |
820 |
-SLOT="${WXRELEASE}" |
821 |
- |
822 |
-RDEPEND=" |
823 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
824 |
- sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] ) |
825 |
- X? ( |
826 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
827 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
828 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
829 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
830 |
- x11-libs/cairo[${MULTILIB_USEDEP}] |
831 |
- x11-libs/gtk+:3[${MULTILIB_USEDEP}] |
832 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
833 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
834 |
- x11-libs/libX11[${MULTILIB_USEDEP}] |
835 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
836 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
837 |
- gstreamer? ( |
838 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
839 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
840 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
841 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
842 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
843 |
- webkit? ( net-libs/webkit-gtk:4 ) |
844 |
- ) |
845 |
- aqua? ( |
846 |
- x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}] |
847 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
848 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
849 |
- )" |
850 |
- |
851 |
-DEPEND="${RDEPEND} |
852 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
853 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
854 |
- X? ( x11-base/xorg-proto )" |
855 |
- |
856 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
857 |
- |
858 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
859 |
- |
860 |
-S="${WORKDIR}/wxWidgets-${PV}" |
861 |
- |
862 |
-PATCHES=( |
863 |
- "${WORKDIR}"/wxGTK-3.0.4_p20181106/ |
864 |
- "${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch |
865 |
-) |
866 |
- |
867 |
-src_prepare() { |
868 |
- default |
869 |
- |
870 |
- # Versionating |
871 |
- sed -i \ |
872 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
873 |
- -e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\ |
874 |
- -e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\ |
875 |
- -e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \ |
876 |
- -e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \ |
877 |
- -e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \ |
878 |
- Makefile.in || die |
879 |
- |
880 |
- sed -i \ |
881 |
- -e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\ |
882 |
- utils/wxrc/Makefile.in || die |
883 |
- |
884 |
- sed -i \ |
885 |
- -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \ |
886 |
- -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \ |
887 |
- -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \ |
888 |
- -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ |
889 |
- configure || die |
890 |
-} |
891 |
- |
892 |
-multilib_src_configure() { |
893 |
- local myconf |
894 |
- |
895 |
- # X independent options |
896 |
- myconf=" |
897 |
- --with-zlib=sys |
898 |
- --with-expat=sys |
899 |
- --enable-compat28 |
900 |
- $(use_with sdl)" |
901 |
- |
902 |
- # debug in >=2.9 |
903 |
- # there is no longer separate debug libraries (gtk2ud) |
904 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
905 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
906 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
907 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
908 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
909 |
- use debug \ |
910 |
- && myconf="${myconf} --enable-debug=max" |
911 |
- |
912 |
- # wxGTK options |
913 |
- # --enable-graphics_ctx - needed for webkit, editra |
914 |
- # --without-gnomevfs - bug #203389 |
915 |
- use X && \ |
916 |
- myconf="${myconf} |
917 |
- --enable-graphics_ctx |
918 |
- --with-gtkprint |
919 |
- --enable-gui |
920 |
- --with-gtk=3 |
921 |
- --with-libpng=sys |
922 |
- --with-libjpeg=sys |
923 |
- --without-gnomevfs |
924 |
- $(use_enable gstreamer mediactrl) |
925 |
- $(multilib_native_use_enable webkit webview) |
926 |
- $(use_with libnotify) |
927 |
- $(use_with opengl) |
928 |
- $(use_with tiff libtiff sys)" |
929 |
- |
930 |
- use aqua && \ |
931 |
- myconf="${myconf} |
932 |
- --enable-graphics_ctx |
933 |
- --enable-gui |
934 |
- --with-libpng=sys |
935 |
- --with-libxpm=sys |
936 |
- --with-libjpeg=sys |
937 |
- --with-mac |
938 |
- --with-opengl" |
939 |
- # cocoa toolkit seems to be broken |
940 |
- |
941 |
- # wxBase options |
942 |
- if use !X && use !aqua ; then |
943 |
- myconf="${myconf} |
944 |
- --disable-gui" |
945 |
- fi |
946 |
- |
947 |
- ECONF_SOURCE="${S}" econf ${myconf} |
948 |
-} |
949 |
- |
950 |
-multilib_src_install_all() { |
951 |
- cd "${S}"/docs || die |
952 |
- dodoc changes.txt readme.txt |
953 |
- newdoc base/readme.txt base_readme.txt |
954 |
- newdoc gtk/readme.txt gtk_readme.txt |
955 |
- |
956 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
957 |
- einstalldocs |
958 |
- |
959 |
- # Stray windows locale file, bug #650118 |
960 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo" |
961 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
962 |
- |
963 |
- # Unversioned links |
964 |
- rm "${D}"/usr/bin/wx{-config,rc} |
965 |
- |
966 |
- # version bakefile presets |
967 |
- pushd "${D}"usr/share/bakefile/presets/ > /dev/null |
968 |
- for f in wx*; do |
969 |
- mv "${f}" "${f/wx/wx30gtk3}" |
970 |
- done |
971 |
- popd > /dev/null |
972 |
-} |
973 |
- |
974 |
-pkg_postinst() { |
975 |
- has_version app-eselect/eselect-wxwidgets \ |
976 |
- && eselect wxwidgets update |
977 |
-} |
978 |
- |
979 |
-pkg_postrm() { |
980 |
- has_version app-eselect/eselect-wxwidgets \ |
981 |
- && eselect wxwidgets update |
982 |
-} |
983 |
|
984 |
diff --git a/x11-libs/wxGTK/wxGTK-3.0.4.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4.ebuild |
985 |
deleted file mode 100644 |
986 |
index 816f0f1bff0..00000000000 |
987 |
--- a/x11-libs/wxGTK/wxGTK-3.0.4.ebuild |
988 |
+++ /dev/null |
989 |
@@ -1,140 +0,0 @@ |
990 |
-# Copyright 1999-2020 Gentoo Authors |
991 |
-# Distributed under the terms of the GNU General Public License v2 |
992 |
- |
993 |
-EAPI=6 |
994 |
- |
995 |
-inherit multilib-minimal |
996 |
- |
997 |
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit" |
998 |
-HOMEPAGE="https://wxwidgets.org/" |
999 |
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2 |
1000 |
- https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20180507.tar.xz |
1001 |
- doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )" |
1002 |
- |
1003 |
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
1004 |
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff" |
1005 |
- |
1006 |
-SLOT="3.0" |
1007 |
- |
1008 |
-RDEPEND=" |
1009 |
- dev-libs/expat[${MULTILIB_USEDEP}] |
1010 |
- sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] ) |
1011 |
- X? ( |
1012 |
- >=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}] |
1013 |
- media-libs/libpng:0=[${MULTILIB_USEDEP}] |
1014 |
- sys-libs/zlib[${MULTILIB_USEDEP}] |
1015 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
1016 |
- >=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}] |
1017 |
- x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}] |
1018 |
- x11-libs/libSM[${MULTILIB_USEDEP}] |
1019 |
- x11-libs/libXxf86vm[${MULTILIB_USEDEP}] |
1020 |
- x11-libs/pango[${MULTILIB_USEDEP}] |
1021 |
- gstreamer? ( |
1022 |
- media-libs/gstreamer:1.0[${MULTILIB_USEDEP}] |
1023 |
- media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] ) |
1024 |
- libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] ) |
1025 |
- opengl? ( virtual/opengl[${MULTILIB_USEDEP}] ) |
1026 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
1027 |
- ) |
1028 |
- aqua? ( |
1029 |
- x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}] |
1030 |
- virtual/jpeg:0=[${MULTILIB_USEDEP}] |
1031 |
- tiff? ( media-libs/tiff:0[${MULTILIB_USEDEP}] ) |
1032 |
- )" |
1033 |
- |
1034 |
-DEPEND="${RDEPEND} |
1035 |
- virtual/pkgconfig[${MULTILIB_USEDEP}] |
1036 |
- opengl? ( virtual/glu[${MULTILIB_USEDEP}] ) |
1037 |
- X? ( x11-base/xorg-proto )" |
1038 |
- |
1039 |
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230" |
1040 |
- |
1041 |
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )" |
1042 |
- |
1043 |
-S="${WORKDIR}/wxWidgets-${PV}" |
1044 |
-PATCHES=( |
1045 |
- "${WORKDIR}"/wxGTK-3.0.4_p20180507/ |
1046 |
- "${FILESDIR}"/${PN}-3.0.3-collision.patch |
1047 |
-) |
1048 |
- |
1049 |
-multilib_src_configure() { |
1050 |
- local myconf |
1051 |
- |
1052 |
- # X independent options |
1053 |
- myconf=" |
1054 |
- --with-zlib=sys |
1055 |
- --with-expat=sys |
1056 |
- --enable-compat28 |
1057 |
- $(use_with sdl)" |
1058 |
- |
1059 |
- # debug in >=2.9 |
1060 |
- # there is no longer separate debug libraries (gtk2ud) |
1061 |
- # wxDEBUG_LEVEL=1 is the default and we will leave it enabled |
1062 |
- # wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs. |
1063 |
- # apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0. |
1064 |
- # http://docs.wxwidgets.org/3.0/overview_debugging.html |
1065 |
- # https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c |
1066 |
- use debug \ |
1067 |
- && myconf="${myconf} --enable-debug=max" |
1068 |
- |
1069 |
- # wxGTK options |
1070 |
- # --enable-graphics_ctx - needed for webkit, editra |
1071 |
- # --without-gnomevfs - bug #203389 |
1072 |
- use X && \ |
1073 |
- myconf="${myconf} |
1074 |
- --enable-graphics_ctx |
1075 |
- --with-gtkprint |
1076 |
- --enable-gui |
1077 |
- --with-libpng=sys |
1078 |
- --with-libxpm=sys |
1079 |
- --with-libjpeg=sys |
1080 |
- --without-gnomevfs |
1081 |
- --disable-webview |
1082 |
- $(use_enable gstreamer mediactrl) |
1083 |
- $(use_with libnotify) |
1084 |
- $(use_with opengl) |
1085 |
- $(use_with tiff libtiff sys)" |
1086 |
- |
1087 |
- use aqua && \ |
1088 |
- myconf="${myconf} |
1089 |
- --enable-graphics_ctx |
1090 |
- --enable-gui |
1091 |
- --with-libpng=sys |
1092 |
- --with-libxpm=sys |
1093 |
- --with-libjpeg=sys |
1094 |
- --with-mac |
1095 |
- --with-opengl" |
1096 |
- # cocoa toolkit seems to be broken |
1097 |
- |
1098 |
- # wxBase options |
1099 |
- if use !X && use !aqua ; then |
1100 |
- myconf="${myconf} |
1101 |
- --disable-gui" |
1102 |
- fi |
1103 |
- |
1104 |
- ECONF_SOURCE="${S}" econf ${myconf} |
1105 |
-} |
1106 |
- |
1107 |
-multilib_src_install_all() { |
1108 |
- cd "${S}"/docs || die |
1109 |
- dodoc changes.txt readme.txt |
1110 |
- newdoc base/readme.txt base_readme.txt |
1111 |
- newdoc gtk/readme.txt gtk_readme.txt |
1112 |
- |
1113 |
- use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/. |
1114 |
- einstalldocs |
1115 |
- |
1116 |
- # Stray windows locale file, causes collisions |
1117 |
- local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo" |
1118 |
- [[ -e ${wxmsw} ]] && rm "${wxmsw}" |
1119 |
-} |
1120 |
- |
1121 |
-pkg_postinst() { |
1122 |
- has_version app-eselect/eselect-wxwidgets \ |
1123 |
- && eselect wxwidgets update |
1124 |
-} |
1125 |
- |
1126 |
-pkg_postrm() { |
1127 |
- has_version app-eselect/eselect-wxwidgets \ |
1128 |
- && eselect wxwidgets update |
1129 |
-} |