public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2015-08-24  5:59 Jeroen Roovers
  0 siblings, 0 replies; 15+ messages in thread
From: Jeroen Roovers @ 2015-08-24  5:59 UTC (permalink / raw
  To: gentoo-commits

commit:     05209e3cc4f6ea41d13124e9ccb3f21cf8097d2a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 24 05:58:49 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Aug 24 05:59:05 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05209e3c

x11-libs/wxGTK: Stable for PPC64 (bug #547680).

Package-Manager: portage-2.2.20.1

 x11-libs/wxGTK/files/wxGTK-2.9.3.1-collision.patch | 77 ----------------------
 x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild             |  2 +-
 2 files changed, 1 insertion(+), 78 deletions(-)

diff --git a/x11-libs/wxGTK/files/wxGTK-2.9.3.1-collision.patch b/x11-libs/wxGTK/files/wxGTK-2.9.3.1-collision.patch
deleted file mode 100644
index ed82c4e..0000000
--- a/x11-libs/wxGTK/files/wxGTK-2.9.3.1-collision.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
-    installed with eselect-wxwidgets.
-  - Version wxstd.mo and modify AddStdCatalog to use it.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -14076,10 +14076,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- 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) $(__wxrc___depna
 me) $(__cocoa_res___depname)
- 
- 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) 
 $(__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_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(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)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
-+	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
-+	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(DYLIB_RPATH_INSTALL)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
-@@ -14964,15 +14964,16 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
--
-+	(cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) \
-+	&& $(LN_S) ../lib/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE))
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
- 	for l in $(LOCALE_LINGUAS) ; do \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo \
-+	$(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/build/bakefiles/wx.bkl
-+++ b/build/bakefiles/wx.bkl
-@@ -138,7 +138,7 @@
-         <using module="gettext"/>
-         <gettext-catalogs id="locale">
-             <srcdir>$(SRCDIR)/locale</srcdir>
--            <catalog-name>wxstd</catalog-name>
-+            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
-             <linguas>
-                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
-                 zh zh_CN zh_TW
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1302,7 +1302,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -124,7 +124,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild
index 5485f11..ad557bf 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.2.0-r1.ebuild
@@ -14,7 +14,7 @@ HOMEPAGE="http://wxwidgets.org/"
 SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2
 	doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )"
 
-KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ~ppc64 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="alpha amd64 arm hppa ~ia64 ~mips ~ppc ppc64 ~sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
 
 SLOT="3.0"


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2016-09-16 22:26 David Seifert
  0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2016-09-16 22:26 UTC (permalink / raw
  To: gentoo-commits

commit:     b98cf3b8e69fc19e26600992a236e99d175da5dc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 16 21:48:11 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Sep 16 22:25:54 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98cf3b8

x11-libs/wxGTK: Allow for compiling with GCC 6

Gentoo-bug: 592442
* Patch by Francesco Turco

Package-Manager: portage-2.3.0

 .../wxGTK/files/wxGTK-2.8.12.1-fix-c++14.patch     | 77 ++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-2.8.12.1-r2.ebuild            |  1 +
 2 files changed, 78 insertions(+)

diff --git a/x11-libs/wxGTK/files/wxGTK-2.8.12.1-fix-c++14.patch b/x11-libs/wxGTK/files/wxGTK-2.8.12.1-fix-c++14.patch
new file mode 100644
index 00000000..dc9b143
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-2.8.12.1-fix-c++14.patch
@@ -0,0 +1,77 @@
+Fix building with C++14, which errors out due to narrowing conversions.
+See also: https://bugs.gentoo.org/show_bug.cgi?id=592442
+
+Patch by Francesco Turco
+
+--- a/src/gtk/bdiag.xbm
++++ b/src/gtk/bdiag.xbm
+@@ -1,6 +1,6 @@
+ #define bdiag_width 16
+ #define bdiag_height 16
+ static char bdiag_bits[] = {
+-   0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10, 0x08, 0x08, 0x04, 0x04,
+-   0x02, 0x02, 0x01, 0x01, 0x80, 0x80, 0x40, 0x40, 0x20, 0x20, 0x10, 0x10,
+-   0x08, 0x08, 0x04, 0x04, 0x02, 0x02, 0x01, 0x01};
++   (char)0x80, (char)0x80, (char)0x40, (char)0x40, (char)0x20, (char)0x20, (char)0x10, (char)0x10, (char)0x08, (char)0x08, (char)0x04, (char)0x04,
++   (char)0x02, (char)0x02, (char)0x01, (char)0x01, (char)0x80, (char)0x80, (char)0x40, (char)0x40, (char)0x20, (char)0x20, (char)0x10, (char)0x10,
++   (char)0x08, (char)0x08, (char)0x04, (char)0x04, (char)0x02, (char)0x02, (char)0x01, (char)0x01};
+--- a/src/gtk/cdiag.xbm
++++ b/src/gtk/cdiag.xbm
+@@ -1,6 +1,6 @@
+ #define cdiag_width 16
+ #define cdiag_height 16
+ static char cdiag_bits[] = {
+-   0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18, 0x18, 0x18, 0x24, 0x24,
+-   0x42, 0x42, 0x81, 0x81, 0x81, 0x81, 0x42, 0x42, 0x24, 0x24, 0x18, 0x18,
+-   0x18, 0x18, 0x24, 0x24, 0x42, 0x42, 0x81, 0x81};
++   (char)0x81, (char)0x81, (char)0x42, (char)0x42, (char)0x24, (char)0x24, (char)0x18, (char)0x18, (char)0x18, (char)0x18, (char)0x24, (char)0x24,
++   (char)0x42, (char)0x42, (char)0x81, (char)0x81, (char)0x81, (char)0x81, (char)0x42, (char)0x42, (char)0x24, (char)0x24, (char)0x18, (char)0x18,
++   (char)0x18, (char)0x18, (char)0x24, (char)0x24, (char)0x42, (char)0x42, (char)0x81, (char)0x81};
+--- a/src/gtk/cross.xbm
++++ b/src/gtk/cross.xbm
+@@ -1,6 +1,6 @@
+ #define cross_width 15
+ #define cross_height 15
+ static char cross_bits[] = {
+-   0x84, 0x10, 0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
+-   0x84, 0x10, 0xff, 0x7f, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
+-   0xff, 0x7f, 0x84, 0x10, 0x84, 0x10};
++   (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10,
++   (char)0x84, (char)0x10, (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10,
++   (char)0xff, (char)0x7f, (char)0x84, (char)0x10, (char)0x84, (char)0x10};
+--- a/src/gtk/fdiag.xbm
++++ b/src/gtk/fdiag.xbm
+@@ -1,6 +1,6 @@
+ #define fdiag_width 16
+ #define fdiag_height 16
+ static char fdiag_bits[] = {
+-   0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08, 0x10, 0x10, 0x20, 0x20,
+-   0x40, 0x40, 0x80, 0x80, 0x01, 0x01, 0x02, 0x02, 0x04, 0x04, 0x08, 0x08,
+-   0x10, 0x10, 0x20, 0x20, 0x40, 0x40, 0x80, 0x80};
++   (char)0x01, (char)0x01, (char)0x02, (char)0x02, (char)0x04, (char)0x04, (char)0x08, (char)0x08, (char)0x10, (char)0x10, (char)0x20, (char)0x20,
++   (char)0x40, (char)0x40, (char)0x80, (char)0x80, (char)0x01, (char)0x01, (char)0x02, (char)0x02, (char)0x04, (char)0x04, (char)0x08, (char)0x08,
++   (char)0x10, (char)0x10, (char)0x20, (char)0x20, (char)0x40, (char)0x40, (char)0x80, (char)0x80};
+--- a/src/gtk/horiz.xbm
++++ b/src/gtk/horiz.xbm
+@@ -1,6 +1,6 @@
+ #define horiz_width 15
+ #define horiz_height 15
+ static char horiz_bits[] = {
+-   0x00, 0x00, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+-   0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+-   0xff, 0x7f, 0x00, 0x00, 0x00, 0x00};
++   (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00,
++   (char)0x00, (char)0x00, (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00, (char)0x00,
++   (char)0xff, (char)0x7f, (char)0x00, (char)0x00, (char)0x00, (char)0x00};
+--- a/src/gtk/verti.xbm
++++ b/src/gtk/verti.xbm
+@@ -1,6 +1,6 @@
+ #define verti_width 15
+ #define verti_height 15
+ static char verti_bits[] = {
+-   0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
+-   0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10,
+-   0x84, 0x10, 0x84, 0x10, 0x84, 0x10};
++   (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10,
++   (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10,
++   (char)0x84, (char)0x10, (char)0x84, (char)0x10, (char)0x84, (char)0x10};

diff --git a/x11-libs/wxGTK/wxGTK-2.8.12.1-r2.ebuild b/x11-libs/wxGTK/wxGTK-2.8.12.1-r2.ebuild
index 8b71f20..6c48d4c 100644
--- a/x11-libs/wxGTK/wxGTK-2.8.12.1-r2.ebuild
+++ b/x11-libs/wxGTK/wxGTK-2.8.12.1-r2.ebuild
@@ -73,6 +73,7 @@ src_prepare() {
 	epatch "${FILESDIR}"/${PN}-2.8.11-collision.patch
 	epatch "${FILESDIR}"/${PN}-2.8.7-mmedia.patch              # Bug #174874
 	epatch "${FILESDIR}"/${PN}-2.8.10.1-odbc-defines.patch     # Bug #310923
+	epatch "${FILESDIR}"/${PN}-2.8.12.1-fix-c++14.patch        # Bug #592442
 
 	# Bug #421851
 	epatch "${FILESDIR}"/${P}-libdir.patch


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2016-10-02 11:24 David Seifert
  0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2016-10-02 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     eb60cc77486346e23e843acc46e4a710b9d8cdbc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 09:41:03 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 11:23:07 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb60cc77

x11-libs/wxGTK: Allow for compiling with GCC 6

Gentoo-bug: 592436

Acked-by: Ryan Hill <rhill <AT> gentoo.org>

Package-Manager: portage-2.3.1

 x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch | 39 +++++++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild        |  1 +
 2 files changed, 40 insertions(+)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch b/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch
new file mode 100644
index 00000000..119175c
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch
@@ -0,0 +1,39 @@
+From 73e9e18ea09ffffcaac50237def0d9728a213c02 Mon Sep 17 00:00:00 2001
+From: Scott Talbert <swt@techie.net>
+Date: Sat, 20 Feb 2016 00:08:14 -0500
+Subject: [PATCH] Fix STC compilation with GCC6
+
+Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
+with ambiguous overloads.
+
+Closes #17147.
+
+Closes https://github.com/wxWidgets/wxWidgets/pull/222
+---
+ src/stc/scintilla/src/Editor.cxx | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/stc/scintilla/src/Editor.cxx b/src/stc/scintilla/src/Editor.cxx
+index cd72953..2081df2 100644
+--- a/src/stc/scintilla/src/Editor.cxx
++++ b/src/stc/scintilla/src/Editor.cxx
+@@ -11,6 +11,7 @@
+ #include <ctype.h>
+ #include <assert.h>
+ 
++#include <cmath>
+ #include <string>
+ #include <vector>
+ #include <map>
+@@ -5841,9 +5842,9 @@ void Editor::GoToLine(int lineNo) {
+ }
+ 
+ static bool Close(Point pt1, Point pt2) {
+-	if (abs(pt1.x - pt2.x) > 3)
++	if (std::abs(pt1.x - pt2.x) > 3)
+ 		return false;
+-	if (abs(pt1.y - pt2.y) > 3)
++	if (std::abs(pt1.y - pt2.y) > 3)
+ 		return false;
+ 	return true;
+ }

diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild
index efffba9..25bf6ac 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.2.0-r3.ebuild
@@ -66,6 +66,7 @@ S="${WORKDIR}/wxPython-src-${PV}"
 src_prepare() {
 	epatch "${FILESDIR}"/${PN}-3.0.0.0-collision.patch
 	epatch "${FILESDIR}"/${P}-webview-fixes.patch
+	epatch "${FILESDIR}"/${P}-gcc6.patch
 	epatch_user
 
 	for f in $(find "${S}" -name configure.in); do


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2017-03-02 17:03 Mart Raudsepp
  0 siblings, 0 replies; 15+ messages in thread
From: Mart Raudsepp @ 2017-03-02 17:03 UTC (permalink / raw
  To: gentoo-commits

commit:     84ada9d2878453ab45952286b551d7dc0cd005d9
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  2 17:02:37 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Mar  2 17:02:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84ada9d2

x11-libs/wxGTK: remove old development cycle slot 2.9

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 x11-libs/wxGTK/Manifest                            |   3 -
 x11-libs/wxGTK/files/wxGTK-2.9.4.1-collision.patch |  75 ---------
 x11-libs/wxGTK/wxGTK-2.9.4.1-r1.ebuild             | 177 ---------------------
 3 files changed, 255 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index a929f527fc4..ff95ad27262 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,6 +1,3 @@
-DIST wxPython-docs-2.9.4.0.tar.bz2 15477636 SHA256 42a1683f253aa36ae9ee20b8d511d8704b4e45ba124fec256a7dfce38da9f75f SHA512 f996e69f24baaa8d35bf94ef77f31f6beda5dd4ddd65d6b71558e8dbe33098c951f995172b4ccd93ad08c81df07a9b529813eac5d39ffa06290f2a9ccc87620c WHIRLPOOL b6f6d65d319683f44b1eb4708077abaecd1a972a0d79fb6293b055099a0720d36e83506df6d075243f9e8b180849ae0d44badc8a22d5c764c956d5ecfe0cc6da
 DIST wxPython-docs-3.0.2.0.tar.bz2 21455056 SHA256 9e9b32b7452f8f1885f0326c0382ec1878c68a251146b3e3997c7c3aa70caa57 SHA512 ce4407de4cdf9a3eaa5c64a8a959a0d7010d0d814a710de1ac0ed2a716ea2ee4f4ba34199e271a3e9b7790780294fcadfcd8bc65fead182d4ebe533c35c4d78e WHIRLPOOL ac0b4cd1937c31803399f2d9172158f00f99886462becfb58c3553c263bfe93d54acf5f05662227aeda4fd44610ada0680127b05e165b261104b765f25185715
 DIST wxPython-src-2.8.12.1.tar.bz2 31311482 SHA256 1f3f153d9f1504c6ce2d2c4b23e940b8f58b81f4cba35cda1a5bb31142243cd0 SHA512 4f826ccb57d5f4fc03fe7cae67499be70c727a99aebf9d153ea1060a21641642606d44d079ba897c38b176846336aeaebc21d30d5c7a0abec3934d65cf4529f3 WHIRLPOOL 94f91d359f755a0f805588303e8507b2f1404a7f4af73777f85366265df9f76ca89ac29bff491cffd752b707645952a4f7f2bb12fa7e30f3e7d3728147a9c99d
-DIST wxPython-src-2.9.4.0.tar.bz2 50827671 SHA256 78c35c19e85a17cb9c730b86b49d6a479198d76d19e0b13e86db0b55707004be SHA512 100dd4474bc2508e9a80aed6f08d295e2697926e29c5789e1f6aa7c303921e1c5de2574c3eddde568804da8fc670d0214ef225d46f34a3006d0a947423d01fbf WHIRLPOOL feff68600a40a8f02492e91049ecdd1a1865ee6db8024112aa3a85a7eff616f26653c418a8ffde77121e2bf7d2c7090c5b91896f9a2de8eb980573af2ca65507
-DIST wxPython-src-2.9.4.1.patch 3768 SHA256 075e3a7b1cf69dd2bb20010717505d2508c74bc81658540f3e6d8c4fbf0a6b85 SHA512 4a5254a5bb9c246b75095e3cc0b849073e3cc71ff15ab7fb1db6ecfe71359800b9e1a5493bc39ce5b1f338cdc1d142ce84641611d458a8da4315f3c8a6aef3ba WHIRLPOOL 9bec06da4824fe56c172f4f417966681d1ffbf173dcb54f1579e9a484377bc76c45b4f2389911bbb17eff2476cfca786d68d9524856b21accc64b4dffafb1811
 DIST wxPython-src-3.0.2.0.tar.bz2 58304944 SHA256 d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61 SHA512 a3798e89ff19344253aac7d771971e519f7fa9723e82bd97e98f16fd7f1572e513170b02295b872dae0b1ae3fa95efc4ef34d078045b839694b4fdad3a27c9e4 WHIRLPOOL 89cdef12c9ef96044adba0340d47b699e685eaec581a4e7d68f3b95a0890715e29b1f5362027df0f3f8b5b1587e8fe404a7fa88049ece9677dd8316fbdf2e41d

diff --git a/x11-libs/wxGTK/files/wxGTK-2.9.4.1-collision.patch b/x11-libs/wxGTK/files/wxGTK-2.9.4.1-collision.patch
deleted file mode 100644
index 7657f9b58c6..00000000000
--- a/x11-libs/wxGTK/files/wxGTK-2.9.4.1-collision.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
-    installed with eselect-wxwidgets.
-  - Version wxstd.mo and modify AddStdCatalog to use it.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -14774,10 +14774,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- 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) $(__wxrc___depna
 me) $(__cocoa_res___depname)
- 
- 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) 
 $(__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_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(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)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
-+	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
-+	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(DYLIB_RPATH_INSTALL)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
-@@ -15662,7 +15662,7 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(cd $(DESTDIR)$(bindir) && rm -f wx-config && $(LN_S) $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config)
-+	(cd $(DESTDIR)$(bindir) && rm -f wx-config-$(WX_RELEASE) && $(LN_S) $(DESTDIR)$(libdir)/wx/config/$(TOOLCHAIN_FULLNAME) wx-config-$(WX_RELEASE))
- 
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
-@@ -15670,7 +15670,7 @@ locale_install:
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/build/bakefiles/wx.bkl
-+++ b/build/bakefiles/wx.bkl
-@@ -138,7 +138,7 @@
-         <using module="gettext"/>
-         <gettext-catalogs id="locale">
-             <srcdir>$(SRCDIR)/locale</srcdir>
--            <catalog-name>wxstd</catalog-name>
-+            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
-             <linguas>
-                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
-                 zh zh_CN zh_TW
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1302,7 +1302,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -125,7 +125,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/wxGTK-2.9.4.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-2.9.4.1-r1.ebuild
deleted file mode 100644
index ee0de19d06c..00000000000
--- a/x11-libs/wxGTK/wxGTK-2.9.4.1-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils flag-o-matic
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="http://wxwidgets.org/"
-
-# we use the wxPython tarballs because they include the full wxGTK sources and
-# docs, and are released more frequently than wxGTK.
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-2.9.4.0.tar.bz2
-	doc? ( mirror://sourceforge/wxpython/wxPython-docs-2.9.4.0.tar.bz2 )
-	mirror://sourceforge/wxpython/wxPython-src-${PV}.patch"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gnome gstreamer opengl pch sdl tiff webkit"
-
-SLOT="2.9/2.9.4"
-
-RDEPEND="
-	dev-libs/expat
-	sdl?    ( media-libs/libsdl )
-	X?  (
-		>=dev-libs/glib-2.22:2
-		media-libs/libpng:0=
-		sys-libs/zlib
-		virtual/jpeg:0=
-		>=x11-libs/gtk+-2.18:2
-		x11-libs/libSM
-		x11-libs/libXinerama
-		x11-libs/libXxf86vm
-		x11-libs/pango[X]
-		gnome? ( gnome-base/libgnomeprintui:2.2 )
-		gstreamer? (
-			media-libs/gstreamer:0.10
-			media-libs/gst-plugins-base:0.10 )
-		opengl? ( virtual/opengl )
-		tiff?   ( media-libs/tiff:0 )
-		webkit? ( net-libs/webkit-gtk:2 )
-		)
-	aqua? (
-		x11-libs/gtk+:2[aqua=]
-		virtual/jpeg:0=
-		tiff?   ( media-libs/tiff:0 )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig
-	opengl? ( virtual/glu )
-	X?  (
-		x11-proto/xproto
-		x11-proto/xineramaproto
-		x11-proto/xf86vidmodeproto
-		)"
-#	test? ( dev-util/cppunit )
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-1.4"
-
-LICENSE="wxWinLL-3
-		GPL-2
-		doc?	( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxPython-src-2.9.4.0"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-collision.patch
-	epatch "${DISTDIR}"/wxPython-src-${PV}.patch
-	epatch_user
-}
-
-src_configure() {
-	local myconf
-
-	append-flags -fno-strict-aliasing
-
-	# X independent options
-	myconf="--enable-compat26
-			--with-zlib=sys
-			--with-expat=sys
-			$(use_enable pch precomp-headers)
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	#   if USE="debug" set max debug level (wxDEBUG_LEVEL=2)
-	#   if USE="-debug" use the default (wxDEBUG_LEVEL=1)
-	#   do not use --disable-debug
-	# this means we always build debugging features into the library, and
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# http://docs.wxwidgets.org/2.9/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			$(use_enable gstreamer mediactrl)
-			$(use_enable webkit webview)
-			$(use_with opengl)
-			$(use_with gnome gnomeprint)
-			$(use_with !gnome gtkprint)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	mkdir "${S}"/wxgtk_build
-	cd "${S}"/wxgtk_build
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-src_compile() {
-	cd "${S}"/wxgtk_build
-	emake
-}
-
-# Currently fails - need to investigate
-#src_test() {
-#	cd "${S}"/wxgtk_build/tests
-#	emake || die "failed building testsuite"
-#	./test -d || ewarn "failed running testsuite"
-#}
-
-src_install() {
-	cd "${S}"/wxgtk_build
-
-	emake DESTDIR="${D}" install
-
-	cd "${S}"/docs
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	if use doc; then
-		dohtml -r "${S}"/docs/doxygen/out/html/*
-	fi
-
-	# Stray windows locale file, causes collisions
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2018-01-04 17:18 Mart Raudsepp
  0 siblings, 0 replies; 15+ messages in thread
From: Mart Raudsepp @ 2018-01-04 17:18 UTC (permalink / raw
  To: gentoo-commits

commit:     e16e67f0678b264a04e96954a4593ddac3a9a32d
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  4 03:44:12 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Thu Jan  4 17:18:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e16e67f0

x11-libs/wxGTK: Apply patchset for lots of 3.0 branch fixes and webkit-gtk:4 port

Includes 105 patches taken from WX_3_0_BRANCH, plus one from master only that we
need to not litter DT_NEEDED with wxWebView library without --as-needed (it was
part of squashed wxGTK-3.0.2.0-webview-fixes.patch before). Also includes my patch
to install wx/evtloopsrc.h in core-only builds.
Most notably the patchset adds support for webkit2gtk API (as provided by security
safe net-libs/webkit-gtk:4), and lots of gtk3 port fixes, hopefully making 3.0-gtk3
SLOT good enough for mass transition without problematic runtime regressions.

The patchset touches lines right above the first Makefile.in changes in the
collision patch, so that patch needed to be adjusted to not fail on top of the
patchset. Ideally the collision patch would be revised and moved to the same
approach as 3.0-gtk3 has with seds - or vice-versa, but at least same approach..

Compiling amule[-X] and veracrypt[-X] against wxGTK[-X] is untested; please test
and close the relevant bugs (617440 and 605018) if this is fixed now.

Bug: https://bugs.gentoo.org/629122
Bug: https://bugs.gentoo.org/617440
Bug: https://bugs.gentoo.org/605018
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-libs/wxGTK/Manifest                          |  1 +
 x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch | 75 ++++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild           |  4 +-
 x11-libs/wxGTK/wxGTK-3.0.3.ebuild                |  4 +-
 4 files changed, 82 insertions(+), 2 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index 7606e383bee..3a43537a17d 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,3 +1,4 @@
+DIST wxGTK-3.0.3_p20180104.tar.xz 84260 BLAKE2B 3840a4a202778b3e7df0c3470945dd8f083b1b18aa69013ae59975b368cec4f5e9fea3bdd8a05a200fcd146c8616d2258f0b2ee389a6457a638201a8534f9a18 SHA512 840c8248d5a689a462d1dcb9d9962dd453473597d10289802728218a881808f594ff799d2002ceb319d2e79b1b7063d59b181d4a0efff7920a2dee9653b40a72
 DIST wxPython-docs-3.0.2.0.tar.bz2 21455056 BLAKE2B 9b6bea6426663b3457764000c3c91a9bdfa85f7e95cae345eb0ba32c3edf59f010738459123423ad68487eadde221dbc3576903b669b9aa674e052b690079de7 SHA512 ce4407de4cdf9a3eaa5c64a8a959a0d7010d0d814a710de1ac0ed2a716ea2ee4f4ba34199e271a3e9b7790780294fcadfcd8bc65fead182d4ebe533c35c4d78e
 DIST wxPython-src-2.8.12.1.tar.bz2 31311482 BLAKE2B 33b3feb5f1182948badcd5695b35a68c673e36694a2db8c77b0b031b185c94c9f8bcf4753d9cbf8937e99a72f4c393d6f79850ed3d730af20a7263b97c620386 SHA512 4f826ccb57d5f4fc03fe7cae67499be70c727a99aebf9d153ea1060a21641642606d44d079ba897c38b176846336aeaebc21d30d5c7a0abec3934d65cf4529f3
 DIST wxPython-src-3.0.2.0.tar.bz2 58304944 BLAKE2B 1144acf2cfa0a18aa2f90aabe81aaeca54d3fe6139818267dbc031accbae38035478a64ec084fe8bb8b89126fb70ff96e68981026df8ad3fc82e81c6d0e22d1a SHA512 a3798e89ff19344253aac7d771971e519f7fa9723e82bd97e98f16fd7f1572e513170b02295b872dae0b1ae3fa95efc4ef34d078045b839694b4fdad3a27c9e4

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch
new file mode 100644
index 00000000000..3459e8dc75d
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch
@@ -0,0 +1,75 @@
+Prevent file collisions between multiple installed SLOTs.
+
+  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
+  - Version the bakefile preset filenames.  Unversioned symlinks to these files
+    are handled by eselect.
+  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
+    installed with eselect-wxwidgets.
+  - Version wxstd.mo and modify AddStdCatalog to use it.
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -15213,10 +15213,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
+ 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_
 __depname) $(__wxrc___depname) $(__cocoa_res___depname)
+ 
+ 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) 
 $(__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)
+-	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
+-	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
+ 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
+-	(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)
++	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
++	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
++	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
+ 	$(DYLIB_RPATH_INSTALL)
+ 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
+ 	for f in setup.h $(RCDEFS_H); do \
+@@ -16101,7 +16101,7 @@ install-wxconfig:
+ 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
+ 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
+ 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
+-	(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)
++	(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))
+ 
+ locale_install: 
+ 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
+@@ -16109,7 +16109,7 @@ locale_install:
+ 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
+ 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
+ 	if test -f $(srcdir)/locale/$$l.mo ; then \
+-	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
++	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
+ 	fi ; \
+ 	done
+ 
+--- a/build/bakefiles/wx.bkl
++++ b/build/bakefiles/wx.bkl
+@@ -137,7 +137,7 @@
+         <using module="gettext"/>
+         <gettext-catalogs id="locale">
+             <srcdir>$(SRCDIR)/locale</srcdir>
+-            <catalog-name>wxstd</catalog-name>
++            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
+             <linguas>
+                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
+                 zh zh_CN zh_TW
+--- a/src/common/translation.cpp
++++ b/src/common/translation.cpp
+@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
+ 
+ bool wxTranslations::AddStdCatalog()
+ {
+-    if ( !AddCatalog(wxS("wxstd")) )
++    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
+         return false;
+ 
+     // there may be a catalog with toolkit specific overrides, it is not
+--- a/utils/wxrc/Makefile.in
++++ b/utils/wxrc/Makefile.in
+@@ -125,7 +125,6 @@ distclean: clean
+ @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
+ @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
+ @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
+-@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
+ 
+ @COND_USE_XRC_1@uninstall_wxrc: 
+ @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild
index 0c69eb6d8c1..2a61e20e670 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild
@@ -8,6 +8,7 @@ inherit multilib-minimal
 DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
 HOMEPAGE="https://wxwidgets.org/"
 SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz
 	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
 
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
@@ -41,7 +42,7 @@ RDEPEND="
 		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
 		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
 		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:3 )
+		webkit? ( net-libs/webkit-gtk:4 )
 		)
 	aqua? (
 		x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}]
@@ -65,6 +66,7 @@ LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
 S="${WORKDIR}/wxWidgets-${PV}"
 
 PATCHES=(
+	"${WORKDIR}"/wxGTK-3.0.3_p20180104/
 	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
 )
 

diff --git a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3.ebuild
index 316720cf495..e49514911b5 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.3.ebuild
@@ -8,6 +8,7 @@ inherit multilib-minimal
 DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
 HOMEPAGE="https://wxwidgets.org/"
 SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz
 	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
 
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
@@ -56,7 +57,8 @@ LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
 
 S="${WORKDIR}/wxWidgets-${PV}"
 PATCHES=(
-	"${FILESDIR}"/${PN}-3.0.0.0-collision.patch
+	"${WORKDIR}"/wxGTK-3.0.3_p20180104/
+	"${FILESDIR}"/${PN}-3.0.3-collision.patch
 )
 
 multilib_src_configure() {


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2018-03-25 11:00 Mart Raudsepp
  0 siblings, 0 replies; 15+ messages in thread
From: Mart Raudsepp @ 2018-03-25 11:00 UTC (permalink / raw
  To: gentoo-commits

commit:     18b5f0bfcf1450e1826691402e01fec761258f5e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 25 10:58:22 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 25 10:59:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18b5f0bf

x11-libs/wxGTK: remove old

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 x11-libs/wxGTK/Manifest                            |   2 -
 x11-libs/wxGTK/files/wxGTK-3.0.0.0-collision.patch |  75 ----------
 x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch      |  39 -----
 .../wxGTK/files/wxGTK-3.0.2.0-webview-fixes.patch  | 140 ------------------
 x11-libs/wxGTK/wxGTK-3.0.2.0-r4.ebuild             | 161 ---------------------
 5 files changed, 417 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index 3a43537a17d..281cacc4301 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,6 +1,4 @@
 DIST wxGTK-3.0.3_p20180104.tar.xz 84260 BLAKE2B 3840a4a202778b3e7df0c3470945dd8f083b1b18aa69013ae59975b368cec4f5e9fea3bdd8a05a200fcd146c8616d2258f0b2ee389a6457a638201a8534f9a18 SHA512 840c8248d5a689a462d1dcb9d9962dd453473597d10289802728218a881808f594ff799d2002ceb319d2e79b1b7063d59b181d4a0efff7920a2dee9653b40a72
-DIST wxPython-docs-3.0.2.0.tar.bz2 21455056 BLAKE2B 9b6bea6426663b3457764000c3c91a9bdfa85f7e95cae345eb0ba32c3edf59f010738459123423ad68487eadde221dbc3576903b669b9aa674e052b690079de7 SHA512 ce4407de4cdf9a3eaa5c64a8a959a0d7010d0d814a710de1ac0ed2a716ea2ee4f4ba34199e271a3e9b7790780294fcadfcd8bc65fead182d4ebe533c35c4d78e
 DIST wxPython-src-2.8.12.1.tar.bz2 31311482 BLAKE2B 33b3feb5f1182948badcd5695b35a68c673e36694a2db8c77b0b031b185c94c9f8bcf4753d9cbf8937e99a72f4c393d6f79850ed3d730af20a7263b97c620386 SHA512 4f826ccb57d5f4fc03fe7cae67499be70c727a99aebf9d153ea1060a21641642606d44d079ba897c38b176846336aeaebc21d30d5c7a0abec3934d65cf4529f3
-DIST wxPython-src-3.0.2.0.tar.bz2 58304944 BLAKE2B 1144acf2cfa0a18aa2f90aabe81aaeca54d3fe6139818267dbc031accbae38035478a64ec084fe8bb8b89126fb70ff96e68981026df8ad3fc82e81c6d0e22d1a SHA512 a3798e89ff19344253aac7d771971e519f7fa9723e82bd97e98f16fd7f1572e513170b02295b872dae0b1ae3fa95efc4ef34d078045b839694b4fdad3a27c9e4
 DIST wxWidgets-3.0.3-docs-html.tar.bz2 23803675 BLAKE2B 181305a2b8935adee8d50873665bc094f46a061fe1bcf8521f8a4d5613013d6ad58ce172e56118f3833ce3489ab2e919bbd5482445ce55455e696252bb747d3c SHA512 655efde42e467d1d48d8adb95e2394d90cedca8eb6a54a7d53771d3d2d4d5f72637aea6ea12a4c1f570c3905a458aebea067cd74e184c4c85ca73e49e04282cb
 DIST wxWidgets-3.0.3.tar.bz2 20054446 BLAKE2B ebbe977a59f215fb2e35300aec91ad6d042d099586c4f6624d817c689feae090ff6df5718baa94a79e8e46120a6b4a154a7e9a584e14363e832602841502f0f6 SHA512 dfe53682d7cda1d460f336a890603c4e823078be4b05e7cf43ab36cb49247f702808aa939d9311705bdf5f96eaa076e7a8f77f4415bc07c5bfdc19e5deff1dd1

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.0.0-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.0.0.0-collision.patch
deleted file mode 100644
index a2c6c6e1a8e..00000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.0.0-collision.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
-    installed with eselect-wxwidgets.
-  - Version wxstd.mo and modify AddStdCatalog to use it.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -15213,10 +15213,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- 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) $(__wxrc___depna
 me) $(__cocoa_res___depname)
- 
- 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) 
 $(__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_wxrc___depname) install-wxconfig locale_install locale_msw_install $(__cocoa_res_install___depname)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(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)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
-+	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
-+	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(DYLIB_RPATH_INSTALL)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
-@@ -16101,7 +16101,7 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(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)
-+	(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))
- 
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
-@@ -16109,7 +16109,7 @@ locale_install:
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/build/bakefiles/wx.bkl
-+++ b/build/bakefiles/wx.bkl
-@@ -137,7 +137,7 @@
-         <using module="gettext"/>
-         <gettext-catalogs id="locale">
-             <srcdir>$(SRCDIR)/locale</srcdir>
--            <catalog-name>wxstd</catalog-name>
-+            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
-             <linguas>
-                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
-                 zh zh_CN zh_TW
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -125,7 +125,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch b/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch
deleted file mode 100644
index 119175c624d..00000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.2.0-gcc6.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From 73e9e18ea09ffffcaac50237def0d9728a213c02 Mon Sep 17 00:00:00 2001
-From: Scott Talbert <swt@techie.net>
-Date: Sat, 20 Feb 2016 00:08:14 -0500
-Subject: [PATCH] Fix STC compilation with GCC6
-
-Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
-with ambiguous overloads.
-
-Closes #17147.
-
-Closes https://github.com/wxWidgets/wxWidgets/pull/222
----
- src/stc/scintilla/src/Editor.cxx | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/stc/scintilla/src/Editor.cxx b/src/stc/scintilla/src/Editor.cxx
-index cd72953..2081df2 100644
---- a/src/stc/scintilla/src/Editor.cxx
-+++ b/src/stc/scintilla/src/Editor.cxx
-@@ -11,6 +11,7 @@
- #include <ctype.h>
- #include <assert.h>
- 
-+#include <cmath>
- #include <string>
- #include <vector>
- #include <map>
-@@ -5841,9 +5842,9 @@ void Editor::GoToLine(int lineNo) {
- }
- 
- static bool Close(Point pt1, Point pt2) {
--	if (abs(pt1.x - pt2.x) > 3)
-+	if (std::abs(pt1.x - pt2.x) > 3)
- 		return false;
--	if (abs(pt1.y - pt2.y) > 3)
-+	if (std::abs(pt1.y - pt2.y) > 3)
- 		return false;
- 	return true;
- }

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.2.0-webview-fixes.patch b/x11-libs/wxGTK/files/wxGTK-3.0.2.0-webview-fixes.patch
deleted file mode 100644
index 727fda16ddc..00000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.2.0-webview-fixes.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-Backport various webkit-related build fixes:
-
-a309157a	Don't include "webview" in "standard" libraries.
-d24f711f	Only link webview library with libwebkitgtk in wxGTK, not the core one.
-bde287ba	Rebake webview sample makefile after EXTRALIBS_WEBVIEW addition	
-037f6977	Report libraries in EXTRALIBS_WEBVIEW in wx-config output
-
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -65,6 +65,7 @@ EXTRALIBS_MEDIA = @EXTRALIBS_MEDIA@
- EXTRALIBS_GUI = @EXTRALIBS_GUI@
- EXTRALIBS_OPENGL = @EXTRALIBS_OPENGL@
- EXTRALIBS_SDL = @EXTRALIBS_SDL@
-+EXTRALIBS_WEBVIEW = @EXTRALIBS_WEBVIEW@
- CXXWARNINGS = @CXXWARNINGS@
- HOST_SUFFIX = @HOST_SUFFIX@
- DYLIB_RPATH_INSTALL = @DYLIB_RPATH_INSTALL@
-@@ -15493,7 +15494,7 @@ distclean: clean
- @COND_SHARED_0_USE_STC_1@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxscintilla$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
- 
- @COND_MONOLITHIC_1_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(MONODLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__monodll___win32rc) $(__wxscintilla_library_link_DEP)
--@COND_MONOLITHIC_1_SHARED_1@	$(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS) $(__wxscintilla_library_link_LIBR)    -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(PLUGIN_ADV_EXTRALIBS) $(__wxscintilla_library_link_LIBR_1) $(LIBS)
-+@COND_MONOLITHIC_1_SHARED_1@	$(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS) $(__wxscintilla_library_link_LIBR)    -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(PLUGIN_ADV_EXTRALIBS) $(EXTRALIBS_WEBVIEW) $(__wxscintilla_library_link_LIBR_1) $(LIBS)
- @COND_MONOLITHIC_1_SHARED_1@	$(DYLIB_RPATH_POSTLINK)
- @COND_MONOLITHIC_1_SHARED_1@	
- @COND_MONOLITHIC_1_SHARED_1@	$(__monodll___so_symlinks_cmd)
-@@ -15750,7 +15751,7 @@ distclean: clean
- @COND_MONOLITHIC_0_USE_HTML_1@wxhtml: $(____wxhtml_namedll_DEP) $(____wxhtml_namelib_DEP)
- 
- @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_webview$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(WEBVIEWDLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxscintilla___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxregex___depname) $(__webviewdll___win32rc) $(__coredll___depname) $(__basedll___depname)
--@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@	$(SHARED_LD_CXX) $@ $(WEBVIEWDLL_OBJECTS) -L$(LIBDIRNAME) -L$(LIBDIRNAME)    -L$(LIBDIRNAME) $(__webviewdll___macinstnamecmd) $(__webviewdll___importlib) $(__webviewdll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(LIBS)
-+@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@	$(SHARED_LD_CXX) $@ $(WEBVIEWDLL_OBJECTS) -L$(LIBDIRNAME) -L$(LIBDIRNAME)    -L$(LIBDIRNAME) $(__webviewdll___macinstnamecmd) $(__webviewdll___importlib) $(__webviewdll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) -lwx_$(PORTNAME)$(WXUNIVNAME)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)_core-$(WX_RELEASE)$(HOST_SUFFIX) -lwx_base$(WXBASEPORT)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(EXTRALIBS_WEBVIEW) $(LIBS)
- @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@	$(DYLIB_RPATH_POSTLINK)
- @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@	
- @COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1@	$(__webviewdll___so_symlinks_cmd)
---- a/build/bakefiles/config.bkl
-+++ b/build/bakefiles/config.bkl
-@@ -423,6 +423,7 @@ to run the tests, include CppUnit library here.
-         <option name="EXTRALIBS_GUI"/>
-         <option name="EXTRALIBS_OPENGL"/>
-         <option name="EXTRALIBS_SDL"/>
-+        <option name="EXTRALIBS_WEBVIEW"/>
-         <option name="CXXWARNINGS"/>
-         <option name="HOST_SUFFIX"/>
-         <option name="DYLIB_RPATH_INSTALL"/>
-@@ -506,6 +507,7 @@ it if SHARED=1 unless you know what you are doing.
-             <if cond="COMPILER=='gcc'">-lopengl32 -lglu32</if>
-         </set>
-         <set var="EXTRALIBS_SDL"/>
-+        <set var="EXTRALIBS_WEBVIEW"/>
- 
-         <set var="WITH_PLUGIN_SDL">0</set>
- 
---- a/build/bakefiles/monolithic.bkl
-+++ b/build/bakefiles/monolithic.bkl
-@@ -26,6 +26,7 @@
-         <ldlibs>$(EXTRALIBS_HTML)</ldlibs>
-         <ldlibs>$(EXTRALIBS_MEDIA)</ldlibs>
-         <ldlibs>$(PLUGIN_MONOLIB_EXTRALIBS)</ldlibs>
-+        <ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
-         <library>$(wxscintilla_library_link)</library>
-     </dll>
- 
---- a/build/bakefiles/multilib.bkl
-+++ b/build/bakefiles/multilib.bkl
-@@ -183,6 +183,7 @@
-         <sources>$(WEBVIEW_SRC)</sources>
-         <library>coredll</library>
-         <library>basedll</library>
-+        <ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
-         <msvc-headers>$(WEBVIEW_HDR)</msvc-headers>
-     </dll>
- 
---- a/build/bakefiles/wxwin.py
-+++ b/build/bakefiles/wxwin.py
-@@ -51,6 +51,7 @@ EXTRALIBS = {
-     'html' : '$(EXTRALIBS_HTML)',
-     'adv' : '$(PLUGIN_ADV_EXTRALIBS)',
-     'media' : '$(EXTRALIBS_MEDIA)',
-+    'webview' : '$(EXTRALIBS_WEBVIEW)',
- }
- 
- def mkLibName(wxid):
---- a/configure.in
-+++ b/configure.in
-@@ -7249,7 +7249,7 @@ if test "$wxUSE_WEBVIEW" = "yes"; then
-                               [
-                                 USE_WEBVIEW_WEBKIT=1
-                                 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
--                                GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
-+                                EXTRALIBS_WEBVIEW="$WEBKIT_LIBS"
-                               ],
-                               [
-                                 AC_MSG_WARN([webkitgtk not found.])
-@@ -7689,7 +7689,6 @@ if test "$wxUSE_GUI" = "yes"; then
-         BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
-     fi
-     if test "$wxUSE_WEBVIEW" = "yes" ; then
--        STD_GUI_LIBS="webview $STD_GUI_LIBS"
-         BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
-     fi
-     if test "$wxUSE_XRC" = "yes" ; then
-@@ -8002,6 +8001,7 @@ AC_SUBST(EXTRALIBS_GUI)
- AC_SUBST(EXTRALIBS_OPENGL)
- AC_SUBST(EXTRALIBS_SDL)
- AC_SUBST(EXTRALIBS_STC)
-+AC_SUBST(EXTRALIBS_WEBVIEW)
- AC_SUBST(WITH_PLUGIN_SDL)
- AC_SUBST(UNICODE)
- AC_SUBST(DEBUG_INFO)
---- a/samples/webview/Makefile.in
-+++ b/samples/webview/Makefile.in
-@@ -33,6 +33,7 @@ EXTRALIBS = @EXTRALIBS@
- EXTRALIBS_XML = @EXTRALIBS_XML@
- EXTRALIBS_GUI = @EXTRALIBS_GUI@
- EXTRALIBS_SDL = @EXTRALIBS_SDL@
-+EXTRALIBS_WEBVIEW = @EXTRALIBS_WEBVIEW@
- CXXWARNINGS = @CXXWARNINGS@
- HOST_SUFFIX = @HOST_SUFFIX@
- SAMPLES_RPATH_FLAG = @SAMPLES_RPATH_FLAG@
-@@ -163,7 +164,7 @@ distclean: clean
- 	rm -f config.cache config.log config.status bk-deps bk-make-pch shared-ld-sh Makefile
- 
- webview$(EXEEXT): $(WEBVIEW_OBJECTS) $(__webview___win32rc)
--	$(CXX) -o $@ $(WEBVIEW_OBJECTS)    -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS)  $(__WXLIB_WEBVIEW_p)  $(__WXLIB_STC_p)  $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
-+	$(CXX) -o $@ $(WEBVIEW_OBJECTS)    -L$(LIBDIRNAME) $(LDFLAGS_GUI) $(SAMPLES_RPATH_FLAG) $(LDFLAGS)  $(__WXLIB_WEBVIEW_p) $(EXTRALIBS_WEBVIEW) $(__WXLIB_STC_p)  $(__WXLIB_ADV_p) $(PLUGIN_ADV_EXTRALIBS) $(__WXLIB_CORE_p)  $(__WXLIB_BASE_p)  -lwxscintilla$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX) $(__WXLIB_MONO_p) $(__LIB_SCINTILLA_IF_MONO_p) $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p)  $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(LIBS)
- 	
- 	$(__webview___mac_setfilecmd)
- 	$(__webview___os2_emxbindcmd)
---- a/wx-config.in
-+++ b/wx-config.in
-@@ -1032,6 +1032,7 @@ ldlibs_html="@EXTRALIBS_HTML@"
- ldlibs_xml="@EXTRALIBS_XML@"
- ldlibs_adv="@EXTRALIBS_SDL@"
- ldlibs_stc="@EXTRALIBS_STC@"
-+ldlibs_webview="@EXTRALIBS_WEBVIEW@"
- 
- 
- # Order the libraries passed to us correctly for static linking.

diff --git a/x11-libs/wxGTK/wxGTK-3.0.2.0-r4.ebuild b/x11-libs/wxGTK/wxGTK-3.0.2.0-r4.ebuild
deleted file mode 100644
index e9f06730d38..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.2.0-r4.ebuild
+++ /dev/null
@@ -1,161 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit autotools eutils multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-
-# we use the wxPython tarballs because they include the full wxGTK sources and
-# docs, and are released more frequently than wxGTK.
-SRC_URI="mirror://sourceforge/wxpython/wxPython-src-${PV}.tar.bz2
-	doc? ( mirror://sourceforge/wxpython/wxPython-docs-${PV}.tar.bz2 )"
-
-KEYWORDS="arm"
-IUSE="+X aqua doc debug libnotify opengl sdl tiff"
-
-SLOT="3.0"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl?    ( media-libs/libsdl[${MULTILIB_USEDEP}] )
-	X?  (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)
-	aqua? (
-		x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X?  (
-		x11-proto/xproto[${MULTILIB_USEDEP}]
-		x11-proto/xineramaproto[${MULTILIB_USEDEP}]
-		x11-proto/xf86vidmodeproto[${MULTILIB_USEDEP}]
-	)"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3
-		GPL-2
-		doc?	( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxPython-src-${PV}"
-
-src_prepare() {
-	epatch "${FILESDIR}"/${PN}-3.0.0.0-collision.patch
-	epatch "${FILESDIR}"/${P}-webview-fixes.patch
-	epatch "${FILESDIR}"/${P}-gcc6.patch
-	epatch_user
-
-	for f in $(find "${S}" -name configure.in); do
-		mv "${f}" "${f/in/ac}" || die
-	done
-	AT_M4DIR="${S}/build/aclocal" eautoreconf
-
-	# https://bugs.gentoo.org/536004
-	sed \
-		-e 's:3\.0\.1:3.0.2:g' \
-		-e 's:^wx_release_number=1$:wx_release_number=2:' \
-		-i "${S}"/configure || die
-
-}
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			--disable-mediactrl
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	if use doc; then
-		dodoc -r "${S}"/docs/doxygen/out/html
-	fi
-
-	# Stray windows locale file, causes collisions
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2019-07-14 11:11 Mart Raudsepp
  0 siblings, 0 replies; 15+ messages in thread
From: Mart Raudsepp @ 2019-07-14 11:11 UTC (permalink / raw
  To: gentoo-commits

commit:     ba3219ff4f1da464d0d789ffa1c1f15d303610ca
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 14 10:44:39 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Jul 14 11:09:19 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba3219ff

x11-libs/wxGTK: update patchset, ignore C++ ABI changes at startup

Closes: https://bugs.gentoo.org/676878
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                         |   1 +
 x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch |  39 +++++
 x11-libs/wxGTK/wxGTK-3.0.4-r2.ebuild            | 141 ++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.0.4-r302.ebuild          | 185 ++++++++++++++++++++++++
 4 files changed, 366 insertions(+)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index 2ba51aec12d..e98af7ed8c6 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,6 +1,7 @@
 DIST wxGTK-3.0.3_p20180104.tar.xz 84260 BLAKE2B 3840a4a202778b3e7df0c3470945dd8f083b1b18aa69013ae59975b368cec4f5e9fea3bdd8a05a200fcd146c8616d2258f0b2ee389a6457a638201a8534f9a18 SHA512 840c8248d5a689a462d1dcb9d9962dd453473597d10289802728218a881808f594ff799d2002ceb319d2e79b1b7063d59b181d4a0efff7920a2dee9653b40a72
 DIST wxGTK-3.0.4_p20180507.tar.xz 2972 BLAKE2B 431855d43aefac6227925195c107b21f7539ca2709c98f6d6beb7d25dbdf8633c61bb160fb4e5c993e97dbddc37cdf90dc7b09753a312c25b16f79f0207cfe98 SHA512 9caa7ca3b6f15fd70014ccd4008c4fa76f12cb07d3fc58a8f0d2b9a591cf8be3f0eb40497dc757b9d0a04d26f54296aaa8fe693aa601bb1c058365529bb4bc8b
 DIST wxGTK-3.0.4_p20181106.tar.xz 28448 BLAKE2B dbbaaa49cbf03b42089c04d3c6045734f045e5bddc66b72f367f2ba1deed0531280c3bf3db873bf78dd33cee9873e20839ab38b94f90830b48bc1a8122164d02 SHA512 d1bde53b4eac1f8e6785379f99d585c926fd132c709ca134d7c8c3d62a2bcf77059b90f25333aa692932888318dadf464620b0a136341217cae7a2cd2c93ab50
+DIST wxGTK-3.0.4_p20190713.tar.xz 53640 BLAKE2B 89eabc44660f8f9b19fc850717eb83244a746f2f8c28bcec89fa9ccd1828f103df114bce24406ff14875220de86276f9e51870d58e716f0c94d310707f7eae4c SHA512 44a4e92ccc9c143a0e70e015116e952b0529001a3a1e23193d501826720a505259ead6feaa08de75b4a7a8753f8b16f5cc14e4bff5d15585870066ccd1de53b9
 DIST wxWidgets-3.0.3-docs-html.tar.bz2 23803675 BLAKE2B 181305a2b8935adee8d50873665bc094f46a061fe1bcf8521f8a4d5613013d6ad58ce172e56118f3833ce3489ab2e919bbd5482445ce55455e696252bb747d3c SHA512 655efde42e467d1d48d8adb95e2394d90cedca8eb6a54a7d53771d3d2d4d5f72637aea6ea12a4c1f570c3905a458aebea067cd74e184c4c85ca73e49e04282cb
 DIST wxWidgets-3.0.3.tar.bz2 20054446 BLAKE2B ebbe977a59f215fb2e35300aec91ad6d042d099586c4f6624d817c689feae090ff6df5718baa94a79e8e46120a6b4a154a7e9a584e14363e832602841502f0f6 SHA512 dfe53682d7cda1d460f336a890603c4e823078be4b05e7cf43ab36cb49247f702808aa939d9311705bdf5f96eaa076e7a8f77f4415bc07c5bfdc19e5deff1dd1
 DIST wxWidgets-3.0.4-docs-html.tar.bz2 24122986 BLAKE2B ffd38d50e6cb44077f346597863a8dfb1cb5172b9380995082acb23b5b5dae060bc1e3d14307a1146ccd93b5ae9c4fd8fb206346c8d5aced5a535cd3d7f8961a SHA512 2b4cefc98f5f034a8c36237c4979bd02e8b0ed60aaeb31946d8661fb8e5297172cec807e45c96fe2939b012f093950721cda8bf9f750697b50e3741711011ccd

diff --git a/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch b/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch
new file mode 100644
index 00000000000..30026eb98cb
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch
@@ -0,0 +1,39 @@
+Description: Suppress error about mismatching C++ ABI version
+ In practice, the differences between recent ABI versions don't seem to be
+ incompatible since they apparently only affect obscure corner cases.  So
+ suppress this error so we don't have to rebuild the entire wx world in one
+ go.
+Author: Olly Betts <olly@survex.com>
+Forwarded: no
+Last-Update: 2017-07-26
+From: https://salsa.debian.org/freewx-team/wx/blob/wx3.0-debian/debian/patches/warn-for-compiler-abi-mismatch.patch
+
+--- a/src/common/appbase.cpp
++++ b/src/common/appbase.cpp
+@@ -762,6 +762,26 @@
+         msg.Printf(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
+                    lib.c_str(), progName.c_str(), prog.c_str());
+ 
++	int l_off = lib.Find("compiler with C++ ABI ");
++	int p_off = prog.Find("compiler with C++ ABI ");
++	if (l_off != wxNOT_FOUND && p_off != wxNOT_FOUND) {
++	    int space;
++	    space = lib.find(',', l_off + 22);
++	    lib.erase(l_off, space - l_off);
++	    space = prog.find(',', p_off + 22);
++	    prog.erase(p_off, space - p_off);
++	    if (lib == prog) {
++		// The only difference is the ABI version, which apparently only
++		// affect obscure cases.  We used to warn here, so at least
++		// there was an indication of what's up if there is a problem
++		// due to ABI incompatibilities, but wxLogWarning() can result
++		// in a pop up dialog with some applications, which is just too
++		// intrusive, so just quietly ignore instead.
++		//wxLogWarning(msg.c_str());
++		return false;
++	    }
++	}
++
+         wxLogFatalError(msg.c_str());
+ 
+         // normally wxLogFatalError doesn't return

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r2.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r2.ebuild
new file mode 100644
index 00000000000..006d41c84fd
--- /dev/null
+++ b/x11-libs/wxGTK/wxGTK-3.0.4-r2.ebuild
@@ -0,0 +1,141 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
+HOMEPAGE="https://wxwidgets.org/"
+SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20190713.tar.xz
+	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff"
+
+SLOT="3.0"
+
+RDEPEND="
+	dev-libs/expat[${MULTILIB_USEDEP}]
+	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	X? (
+		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
+		media-libs/libpng:0=[${MULTILIB_USEDEP}]
+		sys-libs/zlib[${MULTILIB_USEDEP}]
+		virtual/jpeg:0=[${MULTILIB_USEDEP}]
+		>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
+		x11-libs/libSM[${MULTILIB_USEDEP}]
+		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+		x11-libs/pango[${MULTILIB_USEDEP}]
+		gstreamer? (
+			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
+		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
+		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+		)
+	aqua? (
+		x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
+		virtual/jpeg:0=[${MULTILIB_USEDEP}]
+		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+		)"
+
+DEPEND="${RDEPEND}
+	virtual/pkgconfig[${MULTILIB_USEDEP}]
+	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
+	X? ( x11-base/xorg-proto )"
+
+PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
+
+LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
+
+S="${WORKDIR}/wxWidgets-${PV}"
+PATCHES=(
+	"${WORKDIR}"/wxGTK-3.0.4_p20190713/
+	"${FILESDIR}"/${PN}-3.0.5-collision.patch
+	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
+)
+
+multilib_src_configure() {
+	local myconf
+
+	# X independent options
+	myconf="
+			--with-zlib=sys
+			--with-expat=sys
+			--enable-compat28
+			$(use_with sdl)"
+
+	# debug in >=2.9
+	# there is no longer separate debug libraries (gtk2ud)
+	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
+	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
+	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
+	# http://docs.wxwidgets.org/3.0/overview_debugging.html
+	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
+	use debug \
+		&& myconf="${myconf} --enable-debug=max"
+
+	# wxGTK options
+	#   --enable-graphics_ctx - needed for webkit, editra
+	#   --without-gnomevfs - bug #203389
+	use X && \
+		myconf="${myconf}
+			--enable-graphics_ctx
+			--with-gtkprint
+			--enable-gui
+			--with-libpng=sys
+			--with-libxpm=sys
+			--with-libjpeg=sys
+			--without-gnomevfs
+			--disable-webview
+			$(use_enable gstreamer mediactrl)
+			$(use_with libnotify)
+			$(use_with opengl)
+			$(use_with tiff libtiff sys)"
+
+	use aqua && \
+		myconf="${myconf}
+			--enable-graphics_ctx
+			--enable-gui
+			--with-libpng=sys
+			--with-libxpm=sys
+			--with-libjpeg=sys
+			--with-mac
+			--with-opengl"
+			# cocoa toolkit seems to be broken
+
+	# wxBase options
+	if use !X && use !aqua ; then
+		myconf="${myconf}
+			--disable-gui"
+	fi
+
+	ECONF_SOURCE="${S}" econf ${myconf}
+}
+
+multilib_src_install_all() {
+	cd "${S}"/docs || die
+	dodoc changes.txt readme.txt
+	newdoc base/readme.txt base_readme.txt
+	newdoc gtk/readme.txt gtk_readme.txt
+
+	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
+	einstalldocs
+
+	# Stray windows locale file, causes collisions
+	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
+	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
+}
+
+pkg_postinst() {
+	has_version app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}
+
+pkg_postrm() {
+	has_version app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r302.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r302.ebuild
new file mode 100644
index 00000000000..79ab9a6bf10
--- /dev/null
+++ b/x11-libs/wxGTK/wxGTK-3.0.4-r302.ebuild
@@ -0,0 +1,185 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib-minimal
+
+DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
+HOMEPAGE="https://wxwidgets.org/"
+SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20190713.tar.xz
+	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
+
+WXSUBVERSION=${PV}.0-gtk3			# 3.0.3.0-gtk3
+WXVERSION=${WXSUBVERSION%.*}			# 3.0.3
+WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
+WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
+
+SLOT="${WXRELEASE}"
+
+RDEPEND="
+	dev-libs/expat[${MULTILIB_USEDEP}]
+	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	X? (
+		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
+		media-libs/libpng:0=[${MULTILIB_USEDEP}]
+		sys-libs/zlib[${MULTILIB_USEDEP}]
+		virtual/jpeg:0=[${MULTILIB_USEDEP}]
+		x11-libs/cairo[${MULTILIB_USEDEP}]
+		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
+		x11-libs/libSM[${MULTILIB_USEDEP}]
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+		x11-libs/pango[${MULTILIB_USEDEP}]
+		gstreamer? (
+			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
+		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
+		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
+		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+		webkit? ( net-libs/webkit-gtk:4 )
+		)
+	aqua? (
+		x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}]
+		virtual/jpeg:0=[${MULTILIB_USEDEP}]
+		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
+		)"
+
+DEPEND="${RDEPEND}
+	virtual/pkgconfig[${MULTILIB_USEDEP}]
+	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
+	X? ( x11-base/xorg-proto )"
+
+PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
+
+LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
+
+S="${WORKDIR}/wxWidgets-${PV}"
+
+PATCHES=(
+	"${WORKDIR}"/wxGTK-3.0.4_p20190713/
+	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
+	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
+)
+
+src_prepare() {
+	default
+
+	# Versionating
+	sed -i \
+		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
+		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
+		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
+		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
+		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
+		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
+		Makefile.in || die
+
+	sed -i \
+		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
+		utils/wxrc/Makefile.in || die
+
+	sed -i \
+		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
+		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
+		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
+		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
+		configure || die
+}
+
+multilib_src_configure() {
+	local myconf
+
+	# X independent options
+	myconf="
+			--with-zlib=sys
+			--with-expat=sys
+			--enable-compat28
+			$(use_with sdl)"
+
+	# debug in >=2.9
+	# there is no longer separate debug libraries (gtk2ud)
+	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
+	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
+	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
+	# http://docs.wxwidgets.org/3.0/overview_debugging.html
+	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
+	use debug \
+		&& myconf="${myconf} --enable-debug=max"
+
+	# wxGTK options
+	#   --enable-graphics_ctx - needed for webkit, editra
+	#   --without-gnomevfs - bug #203389
+	use X && \
+		myconf="${myconf}
+			--enable-graphics_ctx
+			--with-gtkprint
+			--enable-gui
+			--with-gtk=3
+			--with-libpng=sys
+			--with-libjpeg=sys
+			--without-gnomevfs
+			$(use_enable gstreamer mediactrl)
+			$(multilib_native_use_enable webkit webview)
+			$(use_with libnotify)
+			$(use_with opengl)
+			$(use_with tiff libtiff sys)"
+
+	use aqua && \
+		myconf="${myconf}
+			--enable-graphics_ctx
+			--enable-gui
+			--with-libpng=sys
+			--with-libxpm=sys
+			--with-libjpeg=sys
+			--with-mac
+			--with-opengl"
+			# cocoa toolkit seems to be broken
+
+	# wxBase options
+	if use !X && use !aqua ; then
+		myconf="${myconf}
+			--disable-gui"
+	fi
+
+	ECONF_SOURCE="${S}" econf ${myconf}
+}
+
+multilib_src_install_all() {
+	cd "${S}"/docs || die
+	dodoc changes.txt readme.txt
+	newdoc base/readme.txt base_readme.txt
+	newdoc gtk/readme.txt gtk_readme.txt
+
+	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
+	einstalldocs
+
+	# Stray windows locale file, bug #650118
+	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo"
+	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
+
+	# Unversioned links
+	rm "${D}"/usr/bin/wx{-config,rc}
+
+	# version bakefile presets
+	pushd "${D}"usr/share/bakefile/presets/ > /dev/null
+	for f in wx*; do
+		mv "${f}" "${f/wx/wx30gtk3}"
+	done
+	popd > /dev/null
+}
+
+pkg_postinst() {
+	has_version app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}
+
+pkg_postrm() {
+	has_version app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2020-02-09 12:24 Mart Raudsepp
  0 siblings, 0 replies; 15+ messages in thread
From: Mart Raudsepp @ 2020-02-09 12:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8a730bec465a7b103f6b4b63df9cb2e07d632ae1
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  9 11:22:46 2020 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 12:23:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a730bec

x11-libs/wxGTK: remove old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                          |   5 -
 x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch |  75 ---------
 x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild           | 180 ----------------------
 x11-libs/wxGTK/wxGTK-3.0.3.ebuild                | 140 -----------------
 x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild             | 140 -----------------
 x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild           | 184 -----------------------
 x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild           | 184 -----------------------
 x11-libs/wxGTK/wxGTK-3.0.4.ebuild                | 140 -----------------
 8 files changed, 1048 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index e98af7ed8c6..bef346b0422 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,8 +1,3 @@
-DIST wxGTK-3.0.3_p20180104.tar.xz 84260 BLAKE2B 3840a4a202778b3e7df0c3470945dd8f083b1b18aa69013ae59975b368cec4f5e9fea3bdd8a05a200fcd146c8616d2258f0b2ee389a6457a638201a8534f9a18 SHA512 840c8248d5a689a462d1dcb9d9962dd453473597d10289802728218a881808f594ff799d2002ceb319d2e79b1b7063d59b181d4a0efff7920a2dee9653b40a72
-DIST wxGTK-3.0.4_p20180507.tar.xz 2972 BLAKE2B 431855d43aefac6227925195c107b21f7539ca2709c98f6d6beb7d25dbdf8633c61bb160fb4e5c993e97dbddc37cdf90dc7b09753a312c25b16f79f0207cfe98 SHA512 9caa7ca3b6f15fd70014ccd4008c4fa76f12cb07d3fc58a8f0d2b9a591cf8be3f0eb40497dc757b9d0a04d26f54296aaa8fe693aa601bb1c058365529bb4bc8b
-DIST wxGTK-3.0.4_p20181106.tar.xz 28448 BLAKE2B dbbaaa49cbf03b42089c04d3c6045734f045e5bddc66b72f367f2ba1deed0531280c3bf3db873bf78dd33cee9873e20839ab38b94f90830b48bc1a8122164d02 SHA512 d1bde53b4eac1f8e6785379f99d585c926fd132c709ca134d7c8c3d62a2bcf77059b90f25333aa692932888318dadf464620b0a136341217cae7a2cd2c93ab50
 DIST wxGTK-3.0.4_p20190713.tar.xz 53640 BLAKE2B 89eabc44660f8f9b19fc850717eb83244a746f2f8c28bcec89fa9ccd1828f103df114bce24406ff14875220de86276f9e51870d58e716f0c94d310707f7eae4c SHA512 44a4e92ccc9c143a0e70e015116e952b0529001a3a1e23193d501826720a505259ead6feaa08de75b4a7a8753f8b16f5cc14e4bff5d15585870066ccd1de53b9
-DIST wxWidgets-3.0.3-docs-html.tar.bz2 23803675 BLAKE2B 181305a2b8935adee8d50873665bc094f46a061fe1bcf8521f8a4d5613013d6ad58ce172e56118f3833ce3489ab2e919bbd5482445ce55455e696252bb747d3c SHA512 655efde42e467d1d48d8adb95e2394d90cedca8eb6a54a7d53771d3d2d4d5f72637aea6ea12a4c1f570c3905a458aebea067cd74e184c4c85ca73e49e04282cb
-DIST wxWidgets-3.0.3.tar.bz2 20054446 BLAKE2B ebbe977a59f215fb2e35300aec91ad6d042d099586c4f6624d817c689feae090ff6df5718baa94a79e8e46120a6b4a154a7e9a584e14363e832602841502f0f6 SHA512 dfe53682d7cda1d460f336a890603c4e823078be4b05e7cf43ab36cb49247f702808aa939d9311705bdf5f96eaa076e7a8f77f4415bc07c5bfdc19e5deff1dd1
 DIST wxWidgets-3.0.4-docs-html.tar.bz2 24122986 BLAKE2B ffd38d50e6cb44077f346597863a8dfb1cb5172b9380995082acb23b5b5dae060bc1e3d14307a1146ccd93b5ae9c4fd8fb206346c8d5aced5a535cd3d7f8961a SHA512 2b4cefc98f5f034a8c36237c4979bd02e8b0ed60aaeb31946d8661fb8e5297172cec807e45c96fe2939b012f093950721cda8bf9f750697b50e3741711011ccd
 DIST wxWidgets-3.0.4.tar.bz2 20204622 BLAKE2B 97b9f3f44f080104cae290bc3e162b51ce27a96fb22b191d52f30db1f1dc7951defcc220afc4dcb8417cfe23490762c2a25f62164ac21809f73ccf442dd19347 SHA512 c9e6b35d541a99921c54cfdac260843f574f146b27f924a7a0fca5007344fa99865a96ded95e6802329ad9221b4880d62b92277a1b4c1ce71420acb672ad9158

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch
deleted file mode 100644
index 3459e8dc75d..00000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.3-collision.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
-    installed with eselect-wxwidgets.
-  - Version wxstd.mo and modify AddStdCatalog to use it.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -15213,10 +15213,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- 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_
 __depname) $(__wxrc___depname) $(__cocoa_res___depname)
- 
- 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) 
 $(__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)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(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)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
-+	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
-+	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(DYLIB_RPATH_INSTALL)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
-@@ -16101,7 +16101,7 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_PROGRAM) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(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)
-+	(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))
- 
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
-@@ -16109,7 +16109,7 @@ locale_install:
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/build/bakefiles/wx.bkl
-+++ b/build/bakefiles/wx.bkl
-@@ -137,7 +137,7 @@
-         <using module="gettext"/>
-         <gettext-catalogs id="locale">
-             <srcdir>$(SRCDIR)/locale</srcdir>
--            <catalog-name>wxstd</catalog-name>
-+            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
-             <linguas>
-                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
-                 zh zh_CN zh_TW
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -125,7 +125,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild
deleted file mode 100644
index 4fb40d29f62..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.3-r300.ebuild
+++ /dev/null
@@ -1,180 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
-
-WXSUBVERSION=${PV}.0-gtk3			# 3.0.3.0-gtk3
-WXVERSION=${WXSUBVERSION%.*}			# 3.0.3
-WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
-
-SLOT="${WXRELEASE}"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4 )
-		)
-	aqua? (
-		x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.3_p20180104/
-	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
-		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		utils/wxrc/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-gtk=3
-			--with-libpng=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			$(use_enable gstreamer mediactrl)
-			$(multilib_native_use_enable webkit webview)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Unversioned links
-	rm "${D}"/usr/bin/wx{-config,rc}
-
-	# version bakefile presets
-	pushd "${D}"usr/share/bakefile/presets/ > /dev/null
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx30gtk3}"
-	done
-	popd > /dev/null
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.3.ebuild
deleted file mode 100644
index dfd97e693a6..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.3.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.3_p20180104.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff"
-
-SLOT="3.0"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)
-	aqua? (
-		x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.3_p20180104/
-	"${FILESDIR}"/${PN}-3.0.3-collision.patch
-)
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			$(use_enable gstreamer mediactrl)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Stray windows locale file, causes collisions
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild
deleted file mode 100644
index cadb5dd2158..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r1.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20181106.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff"
-
-SLOT="3.0"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)
-	aqua? (
-		x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20181106/
-	"${FILESDIR}"/${PN}-3.0.5-collision.patch
-)
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			$(use_enable gstreamer mediactrl)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Stray windows locale file, causes collisions
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild
deleted file mode 100644
index cb528081365..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r300.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20180507.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
-
-WXSUBVERSION=${PV}.0-gtk3			# 3.0.3.0-gtk3
-WXVERSION=${WXSUBVERSION%.*}			# 3.0.3
-WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
-
-SLOT="${WXRELEASE}"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4 )
-		)
-	aqua? (
-		x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20180507/
-	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
-		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		utils/wxrc/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-gtk=3
-			--with-libpng=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			$(use_enable gstreamer mediactrl)
-			$(multilib_native_use_enable webkit webview)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Stray windows locale file, bug #650118
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-
-	# Unversioned links
-	rm "${D}"/usr/bin/wx{-config,rc}
-
-	# version bakefile presets
-	pushd "${D}"usr/share/bakefile/presets/ > /dev/null
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx30gtk3}"
-	done
-	popd > /dev/null
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild
deleted file mode 100644
index 66769f55bf3..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r301.ebuild
+++ /dev/null
@@ -1,184 +0,0 @@
-# Copyright 1999-2018 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20181106.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff webkit"
-
-WXSUBVERSION=${PV}.0-gtk3			# 3.0.3.0-gtk3
-WXVERSION=${WXSUBVERSION%.*}			# 3.0.3
-WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
-
-SLOT="${WXRELEASE}"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4 )
-		)
-	aqua? (
-		x11-libs/gtk+:3[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20181106/
-	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
-		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		utils/wxrc/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-gtk=3
-			--with-libpng=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			$(use_enable gstreamer mediactrl)
-			$(multilib_native_use_enable webkit webview)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Stray windows locale file, bug #650118
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-
-	# Unversioned links
-	rm "${D}"/usr/bin/wx{-config,rc}
-
-	# version bakefile presets
-	pushd "${D}"usr/share/bakefile/presets/ > /dev/null
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx30gtk3}"
-	done
-	popd > /dev/null
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4.ebuild
deleted file mode 100644
index 816f0f1bff0..00000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit multilib-minimal
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20180507.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="+X aqua doc debug gstreamer libnotify opengl sdl tiff"
-
-SLOT="3.0"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-2.18:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}] )
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)
-	aqua? (
-		x11-libs/gtk+:2[aqua=,${MULTILIB_USEDEP}]
-		virtual/jpeg:0=[${MULTILIB_USEDEP}]
-		tiff?   ( media-libs/tiff:0[${MULTILIB_USEDEP}] )
-		)"
-
-DEPEND="${RDEPEND}
-	virtual/pkgconfig[${MULTILIB_USEDEP}]
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-
-S="${WORKDIR}/wxWidgets-${PV}"
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20180507/
-	"${FILESDIR}"/${PN}-3.0.3-collision.patch
-)
-
-multilib_src_configure() {
-	local myconf
-
-	# X independent options
-	myconf="
-			--with-zlib=sys
-			--with-expat=sys
-			--enable-compat28
-			$(use_with sdl)"
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug \
-		&& myconf="${myconf} --enable-debug=max"
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--with-gtkprint
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			$(use_enable gstreamer mediactrl)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)"
-
-	use aqua && \
-		myconf="${myconf}
-			--enable-graphics_ctx
-			--enable-gui
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--with-mac
-			--with-opengl"
-			# cocoa toolkit seems to be broken
-
-	# wxBase options
-	if use !X && use !aqua ; then
-		myconf="${myconf}
-			--disable-gui"
-	fi
-
-	ECONF_SOURCE="${S}" econf ${myconf}
-}
-
-multilib_src_install_all() {
-	cd "${S}"/docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS="${WORKDIR}"/wxWidgets-${PV}-docs-html/.
-	einstalldocs
-
-	# Stray windows locale file, causes collisions
-	local wxmsw="${ED}usr/share/locale/it/LC_MESSAGES/wxmsw.mo"
-	[[ -e ${wxmsw} ]] && rm "${wxmsw}"
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2022-10-08 17:09 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2022-10-08 17:09 UTC (permalink / raw
  To: gentoo-commits

commit:     3185d41c5e481a797773b8e72db02ebb3773ed65
Author:     Matoro Mahri <matoro <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Oct  1 01:16:41 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct  8 17:09:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3185d41c

x11-libs/wxGTK: add tests

Note that upstream actually replaced cppunit with catch very soon after
this tagged for 3.2.0, this changes the command-line syntax so this will
need to be updated when the 3.2 branch is packaged.

Bug: https://bugs.gentoo.org/856871
Signed-off-by: Matoro Mahri <matoro <AT> users.noreply.github.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 x11-libs/wxGTK/files/wxGTK-configure-tests.patch | 28 ++++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild              | 14 ++++++++++--
 2 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/x11-libs/wxGTK/files/wxGTK-configure-tests.patch b/x11-libs/wxGTK/files/wxGTK-configure-tests.patch
new file mode 100644
index 000000000000..efbb2d7c55bf
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-configure-tests.patch
@@ -0,0 +1,28 @@
+diff --git a/configure b/configure
+index 0f3c4c9..92c84f3 100755
+--- a/configure
++++ b/configure
+@@ -1368,6 +1368,7 @@ enable_dependency_tracking
+ enable_precomp_headers
+ with_cppunit_prefix
+ with_cppunit_exec_prefix
++enable_tests
+ '
+       ac_precious_vars='build_alias
+ host_alias
+@@ -40955,8 +40956,13 @@ fi
+ 
+   fi
+ 
+-
+-
++# explicit override to enable or disable tests
++if test "${enable_tests+set}" = set; then
++    SUBDIRS="$SUBDIRS tests"
++fi
++if test "${disable_tests+set}" = set; then
++	SUBDIRS="${SUBDIRS% tests}"
++fi
+ 
+ 
+ for subdir in $SUBDIRS; do

diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
index a7260ae5a0be..bb964df9baf4 100644
--- a/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild
@@ -21,7 +21,9 @@ S="${WORKDIR}/wxWidgets-${PV}"
 LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
 SLOT="${WXRELEASE}"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff webkit"
+IUSE="+X doc debug gstreamer libnotify opengl sdl test tiff webkit"
+REQUIRED_USE="test? ( tiff ) tiff? ( X )"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
 	>=app-eselect/eselect-wxwidgets-20131230
@@ -52,6 +54,7 @@ DEPEND="${RDEPEND}
 	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
 	X? ( x11-base/xorg-proto )"
 BDEPEND="
+	test? ( >=dev-util/cppunit-1.8.0 )
 	>=app-eselect/eselect-wxwidgets-20131230
 	virtual/pkgconfig"
 
@@ -59,6 +62,7 @@ PATCHES=(
 	"${WORKDIR}"/wxGTK-3.0.5_p20210214/
 	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
 	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
+	"${FILESDIR}/${PN}-configure-tests.patch"
 )
 
 src_prepare() {
@@ -72,7 +76,7 @@ src_prepare() {
 		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
 		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
 		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in || die
+		Makefile.in tests/Makefile.in || die
 
 	sed -i \
 		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
@@ -128,6 +132,7 @@ multilib_src_configure() {
 		$(use_with libnotify)
 		$(use_with opengl)
 		$(use_with tiff libtiff sys)
+		$(use_enable test tests)
 	)
 
 	# wxBase options
@@ -136,6 +141,11 @@ multilib_src_configure() {
 	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
 }
 
+multilib_src_test() {
+	emake -C tests
+	(cd tests && ./test) || die
+}
+
 multilib_src_install_all() {
 	cd docs || die
 	dodoc changes.txt readme.txt


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2023-04-02 19:57 Arsen Arsenović
  0 siblings, 0 replies; 15+ messages in thread
From: Arsen Arsenović @ 2023-04-02 19:57 UTC (permalink / raw
  To: gentoo-commits

commit:     23a6d260ee7a72fc42d36d6311a137fa3c55bcdc
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  2 11:34:00 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sun Apr  2 19:57:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23a6d260

x11-libs/wxGTK: Remove broken flag deduplication logic in 3.2.2.1

Closes: https://bugs.gentoo.org/903668
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 .../files/wxGTK-3.2.2.1-dont-break-flags.patch     | 48 ++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild             |  1 +
 2 files changed, 49 insertions(+)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch
new file mode 100644
index 000000000000..db351b29d648
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch
@@ -0,0 +1,48 @@
+From f092f50b794b487e552e930b11d165a736fc8edb Mon Sep 17 00:00:00 2001
+From: Arsen Arsenović <arsen@gentoo.org>
+Date: Sun, 2 Apr 2023 13:25:11 +0200
+Subject: [PATCH] configure: Remove flag deduplication logic
+
+Parsing compiler flags is a complex task that this function screws up.
+
+Bug: https://bugs.gentoo.org/903668
+---
+ configure    | 5 ++---
+ configure.in | 5 ++---
+ 2 files changed, 4 insertions(+), 6 deletions(-)
+
+diff --git a/configure b/configure
+index a476a3c..a9b815b 100755
+--- a/configure
++++ b/configure
+@@ -45550,9 +45550,8 @@ esac
+ 
+ dedup_flags()
+ {
+-    printf "%s " "$@" |
+-        awk 'BEGIN { RS=" "; ORS=" " }
+-            { if ($0=="-arch" || $0=="-framework" || !seen[$0]++) print }'
++	# Gentoo: Don't hack out flags, parsing them is complex.
++	printf '%s ' "$@"
+ }
+ 
+ WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`
+diff --git a/configure.in b/configure.in
+index a4c4178..9cf9c30 100644
+--- a/configure.in
++++ b/configure.in
+@@ -8570,9 +8570,8 @@ dnl flags which are explicitly allowed to occur multiple times, as all their
+ dnl occurrences must be preserved).
+ dedup_flags()
+ {
+-    printf "%s " "$@" |
+-        awk 'BEGIN { RS=" "; ORS=" " }
+-            { if ($0=="-arch" || $0=="-framework" || !seen[[$0]]++) print }'
++	# Gentoo: Don't hack out flags, parsing them is complex.
++	printf '%s ' "$@"
+ }
+ 
+ WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`
+-- 
+2.40.0
+

diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
index 8071c1a865b4..7a0988e01d87 100644
--- a/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.2.2.1-r1.ebuild
@@ -83,6 +83,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
 	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
 	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
+	"${FILESDIR}/${PN}-3.2.2.1-dont-break-flags.patch"
 )
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2024-07-31  9:29 Pacho Ramos
  0 siblings, 0 replies; 15+ messages in thread
From: Pacho Ramos @ 2024-07-31  9:29 UTC (permalink / raw
  To: gentoo-commits

commit:     f7560e0f61228406f5aa840bc018569a32cefb09
Author:     Rafael Kitover <rkitover <AT> gmail <DOT> com>
AuthorDate: Sun Jul 21 12:46:24 2024 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Wed Jul 31 09:28:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7560e0f

x11-libs/wxGTK: add 3.2.5

Add 3.2.5, rebase dont-break-flags patch.

Signed-off-by: Rafael Kitover <rkitover <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/37626
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                            |   2 +
 .../wxGTK/files/wxGTK-3.2.5-dont-break-flags.patch |  18 ++
 x11-libs/wxGTK/wxGTK-3.2.5.ebuild                  | 258 +++++++++++++++++++++
 3 files changed, 278 insertions(+)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index 298c9ebfa14b..cf92435c8584 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -6,3 +6,5 @@ DIST wxWidgets-3.0.5-docs-html.tar.bz2 23844256 BLAKE2B f5b5bef129302ae1ded7a651
 DIST wxWidgets-3.0.5.1.tar.bz2 19739206 BLAKE2B da270cb8e4fc22b8d892ba80fbb4cc71578f642ca07102006f914a80331a254e746de6c91e61b585c0b1ab3abadd17d80a0eaa3efd48a3d412cf7202101abc7a SHA512 0a789fc5e71d414e43f75b5c16076fe8b1bcd7671be0770e4269dcef66d830c1bc74e183f49db270b928862f13472666c283fe2aa98b9006681722e06100725d
 DIST wxWidgets-3.2.2.1-docs-html.tar.bz2 18109775 BLAKE2B bb5dad886c2ba64feb9ec3be05f2cd4bcfb127d55f0a0af6d0aa59ee8f47663e39e7fcb3c0472cfdda9fbf99f1d32e07ff29604261e168f3b4218b9b5b61abc2 SHA512 9b883e1c611ac78f7b8457ffd8682c614d7653f561215c48e6239b6394cc4c084b34d6c55fe84fb7b76b38189591e94dc4596242f9e8653d2c72ae6f4b3a6293
 DIST wxWidgets-3.2.2.1.tar.bz2 27339515 BLAKE2B e761e768dbb32bf76dbabf27aa9feb634760aa214c2d8f85f9b4284700d01390617c275a855fa3ae28481a38233f3a71f8560e5a8a360d7b72ace2603c551327 SHA512 289d61ea2abd75a329aafcbd347ab84b136f31fca01dd902593f661691ecd30a4416286ff501c4257baa6765cf356ade3087eb8609af9a44599cfdc20e2f03a6
+DIST wxWidgets-3.2.5-docs-html.tar.bz2 18205089 BLAKE2B 8bf09c0f9698e72e425a4e4fcbd57498851c93f02dca33fadcd785e04f3927807ff65e8b7dbecaadde64b2bf7653e950a93c5d522ff4e27a8e3baaa85ef6c692 SHA512 cc80c827c4f8607ef38e435eb7fd5dab9fcad5e93ab81bca262d212f5a061b85093d1bc1a1bdc82a7422c4744b6fdd5c82f3142b6a497e85067f571ce9513f5e
+DIST wxWidgets-3.2.5.tar.bz2 27539152 BLAKE2B e262860b5d64d30576bbe61913d14c98c7e56bc1f108696abe0d446145e8c8cea3711bae4f3248c7def06ee988ee4441652376113ad2b4f04402249d7c1e6961 SHA512 b5bd8e4b53b7c44f79b76a39de0071d14e1f0325e66b7a9f2c7f1934a4146be3c78332f610119f7ba46ca4cd1055272a3d8937ad46665ce5abd867a803f22c86

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.5-dont-break-flags.patch b/x11-libs/wxGTK/files/wxGTK-3.2.5-dont-break-flags.patch
new file mode 100644
index 000000000000..329e0a8a80da
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.2.5-dont-break-flags.patch
@@ -0,0 +1,18 @@
+--- wxWidgets-3.2.5/configure.orig	2024-07-20 05:18:49.509254253 +0000
++++ wxWidgets-3.2.5/configure	2024-07-20 05:20:47.575983942 +0000
+@@ -45700,13 +45700,8 @@
+ 
+ dedup_flags()
+ {
+-    printf "%s " "$@" |
+-        awk 'BEGIN { RS=" "; ORS=" " }
+-        {
+-            if ($0=="") next
+-            if ($0=="-arch" || $0=="-framework") { x=$0; next }
+-            if (x!="") x=x " " $0; else x=$0; if (!seen[x]++) print x; x=""
+-        }'
++	# Gentoo: Don't hack out flags, parsing them is complex.
++	printf '%s ' "$@"
+ }
+ 
+ WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`

diff --git a/x11-libs/wxGTK/wxGTK-3.2.5.ebuild b/x11-libs/wxGTK/wxGTK-3.2.5.ebuild
new file mode 100644
index 000000000000..59e334adfaa1
--- /dev/null
+++ b/x11-libs/wxGTK/wxGTK-3.2.5.ebuild
@@ -0,0 +1,258 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib-minimal flag-o-matic
+
+WXSUBVERSION="${PV}-gtk3"				# 3.2.5-gtk3
+WXVERSION="$(ver_cut 1-3)"				# 3.2.5
+# Make sure that this matches the number of components in ${PV}
+WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
+WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
+
+DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
+HOMEPAGE="https://wxwidgets.org/"
+SRC_URI="
+	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
+	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
+S="${WORKDIR}/wxWidgets-${PV}"
+
+LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
+SLOT="${WXRELEASE}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit"
+REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	>=app-eselect/eselect-wxwidgets-20131230
+	dev-libs/expat[${MULTILIB_USEDEP}]
+	dev-libs/libpcre2[pcre16,pcre32,unicode]
+	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
+	curl? ( net-misc/curl )
+	lzma? ( app-arch/xz-utils )
+	X? (
+		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
+		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
+		media-libs/libpng:0=[${MULTILIB_USEDEP}]
+		sys-libs/zlib[${MULTILIB_USEDEP}]
+		x11-libs/cairo[${MULTILIB_USEDEP}]
+		x11-libs/gtk+:3[wayland?,${MULTILIB_USEDEP}]
+		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
+		x11-libs/libSM[${MULTILIB_USEDEP}]
+		x11-libs/libX11[${MULTILIB_USEDEP}]
+		x11-libs/libXtst
+		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+		media-libs/fontconfig
+		x11-libs/pango[${MULTILIB_USEDEP}]
+		keyring? ( app-crypt/libsecret )
+		gstreamer? (
+			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
+			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
+			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
+		)
+		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
+		opengl? (
+			virtual/opengl[${MULTILIB_USEDEP}]
+			wayland? ( dev-libs/wayland )
+		)
+		spell? ( app-text/gspell:= )
+		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
+		webkit? ( net-libs/webkit-gtk:4.1= )
+	)"
+DEPEND="${RDEPEND}
+	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
+	X? ( x11-base/xorg-proto )"
+BDEPEND="
+	test? ( >=dev-util/cppunit-1.8.0 )
+	>=app-eselect/eselect-wxwidgets-20131230
+	virtual/pkgconfig"
+
+# Note about the gst-plugin-base dep: The build system queries for it,
+# but doesn't link it for some reason?  Either way - probably best to
+# depend on it anyway.
+# Note about the wayland dep: Appears to be only required for the OpenGL
+# canvas, and it seems impossible to disable the X dependency, unless
+# I'm missing something.  This is an automagic header dep, though.
+
+PATCHES=(
+	#"${WORKDIR}"/wxGTK-3.0.5_p20210214/
+	"${FILESDIR}/${PN}-3.2.1-gtk3-translation-domain.patch"
+	#"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
+	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
+	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
+	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
+	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
+	"${FILESDIR}/${PN}-3.2.2.1-backport-pr24197.patch"
+)
+
+src_prepare() {
+	default
+
+	# find . -iname Makefile.in -not -path ./samples'/*' \
+	#        | xargs grep -l WX_RELEASE
+	local versioned_makefiles=(
+		./tests/benchmarks/Makefile.in
+		./tests/Makefile.in
+		./utils/emulator/src/Makefile.in
+		./utils/execmon/Makefile.in
+		./utils/wxrc/Makefile.in
+		./utils/helpview/src/Makefile.in
+		./utils/hhp2cached/Makefile.in
+		./utils/screenshotgen/src/Makefile.in
+		./utils/ifacecheck/src/Makefile.in
+		./Makefile.in
+		./demos/life/Makefile.in
+		./demos/bombs/Makefile.in
+		./demos/fractal/Makefile.in
+		./demos/forty/Makefile.in
+		./demos/poem/Makefile.in
+	)
+
+	# Versionating
+	sed -i \
+		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
+		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
+		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
+		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
+		"${versioned_makefiles[@]}" || die
+
+	sed -i \
+		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
+		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
+		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
+		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
+		configure || die
+}
+
+multilib_src_configure() {
+	# Workaround for bug #915154
+	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
+
+	# X independent options
+	local myeconfargs=(
+		--with-zlib=sys
+		--with-expat=sys
+		--enable-compat30
+		--enable-xrc
+		$(use_with sdl)
+		$(use_with lzma liblzma)
+		# Currently defaults to curl, could change.  Watch the VDB!
+		$(use_enable curl webrequest)
+
+		# PCHes are unstable and are disabled in-tree where possible
+		# See bug #504204
+		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
+		$(use_enable pch precomp-headers)
+
+		# Don't hard-code libdir's prefix for wx-config
+		--libdir='${prefix}'/$(get_libdir)
+	)
+
+	# By default, we now build with the GLX GLCanvas because some software like
+	# PrusaSlicer does not yet support EGL:
+	#
+	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
+	#
+	# A solution for this is being developed upstream:
+	#
+	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
+	#
+	# Any software that needs to use OpenGL under Wayland can be patched like
+	# this to run under xwayland:
+	#
+	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
+	#
+	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
+	#
+	myeconfargs+=( "--disable-glcanvasegl" )
+
+	# debug in >=2.9
+	# there is no longer separate debug libraries (gtk2ud)
+	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
+	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
+	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
+	# http://docs.wxwidgets.org/3.0/overview_debugging.html
+	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
+	use debug && myeconfargs+=( --enable-debug=max )
+
+	# wxGTK options
+	#   --enable-graphics_ctx - needed for webkit, editra
+	#   --without-gnomevfs - bug #203389
+	use X && myeconfargs+=(
+		--enable-graphics_ctx
+		--with-gtkprint
+		--enable-gui
+		--with-gtk=3
+		--with-libpng=sys
+		--with-libjpeg=sys
+
+		# Choosing to enable this unconditionally seems fair, pcre2 is
+		# almost certain to be installed.
+		--with-regex=sys
+		--without-gnomevfs
+		$(use_enable gstreamer mediactrl)
+		$(multilib_native_use_enable webkit webview)
+		$(use_with libnotify)
+		$(use_with opengl)
+		$(use_with tiff libtiff sys)
+		$(use_enable keyring secretstore)
+		$(use_enable spell spellcheck)
+		$(use_enable test tests)
+		$(use_enable wayland)
+	)
+
+	# wxBase options
+	! use X && myeconfargs+=( --disable-gui )
+
+	# wxWidgets installs a configuration file with a reference to EGREP.
+	# Autoconf discovers these programs via full paths, which is
+	# unnecessary and fails if a build happened on a merged-usr system
+	# but is being used on a split-usr system.  Bug #927920.
+	export ac_cv_path_SED="sed"
+	export ac_cv_path_EGREP="grep -E"
+	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
+	export ac_cv_path_FGREP="grep -F"
+	export ac_cv_path_GREP="grep"
+	export ac_cv_path_lt_DD="dd"
+
+	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+	emake -C tests
+	(cd tests && ./test '~[.]~[net]') || die
+}
+
+multilib_src_install_all() {
+	cd docs || die
+	dodoc changes.txt readme.txt
+	newdoc base/readme.txt base_readme.txt
+	newdoc gtk/readme.txt gtk_readme.txt
+
+	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
+	einstalldocs
+
+	# Unversioned links
+	rm "${ED}"/usr/bin/wx-config || die
+	rm "${ED}"/usr/bin/wxrc || die
+
+	# version bakefile presets
+	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
+	local f
+	for f in wx*; do
+		mv "${f}" "${f/wx/wx32gtk3}" || die
+	done
+	popd >/dev/null || die
+}
+
+pkg_postinst() {
+	has_version -b app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}
+
+pkg_postrm() {
+	has_version -b app-eselect/eselect-wxwidgets \
+		&& eselect wxwidgets update
+}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2025-05-14  0:46 Sam James
  0 siblings, 0 replies; 15+ messages in thread
From: Sam James @ 2025-05-14  0:46 UTC (permalink / raw
  To: gentoo-commits

commit:     8baaa10af7d9944c5bf0fdfc0190cea6abbd296a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 14 00:46:00 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 14 00:46:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8baaa10a

x11-libs/wxGTK: bodge ABI issues one more time

See https://bugs.gentoo.org/955902#c8 onwards for details, but in summary,
we have a bunch of seds in the ebuild, and they break the version script upstream
supplies, resulting in made-up symbol versions that are Gentoo-specific (!!!)

```
       sed -i \
               -e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
               -e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
               -e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
               -e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \ # <--- here
               configure || die
```

I question how much of the seds are necessary at all, but the mangling of the version
script is a critical ABI issue as it makes us incompatible with other distributions
and upstream binaries.

However, fixing this correctly while also quickly to solve bug #955902
isn't really feasible, so..

Quickly bodge this by patching the affected symbols in
https://github.com/wxWidgets/wxWidgets/commit/f3eb19ce2efa839c0d3e8dc922445cbb49bd9e5d
to have 3.0.x. In for a penny, in for a pound.

Then can try actually fix this once wxGTK is building again and figure out
proper ABI compatibility with our made up symbols as well as the upstream ones
in a followup revision. Filed bug #955936 for that proper fix.

TL;DR: Leave proper fixing for it until later to fix the immediate emergency,
extend the previous hack to newly-added symbols.

Bug: https://bugs.gentoo.org/955936
Closes: https://bugs.gentoo.org/955902
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/wxGTK-3.2.8-bodge-version-script.patch   | 94 ++++++++++++++++++++++
 x11-libs/wxGTK/wxGTK-3.2.8.ebuild                  | 22 ++---
 2 files changed, 107 insertions(+), 9 deletions(-)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch b/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch
new file mode 100644
index 000000000000..a6ad73726348
--- /dev/null
+++ b/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch
@@ -0,0 +1,94 @@
+See https://bugs.gentoo.org/955902 but especially https://bugs.gentoo.org/955902#c15.
+
+This is a temporary hack to have things building again and have internal
+consistency with older wxGTK in Gentoo, but we need to do more work to reconcile
+this with upstream.
+--- a/include/wx/private/elfversion.h
++++ b/include/wx/private/elfversion.h
+@@ -58,7 +58,7 @@
+     // Note that this macro takes strings, not symbols, and that it includes
+     // the trailing semicolon for consistency with the empty version below.
+     #define wxELF_VERSION_COMPAT(sym, ver) \
+-        wxELF_SYMVER_NON_DEFAULT(sym, sym "@" wxMAKE_ELF_VERSION_TAG("3.2")) \
++        wxELF_SYMVER_NON_DEFAULT(sym, sym "@" wxMAKE_ELF_VERSION_TAG("3.0")) \
+         wxELF_SYMVER(sym, sym "@@" wxMAKE_ELF_VERSION_TAG(ver))
+ #else
+     #define wxELF_VERSION_COMPAT(sym, ver)
+--- a/src/common/translation.cpp
++++ b/src/common/translation.cpp
+@@ -1422,13 +1422,13 @@ bool wxTranslations::AddCatalog(const wxString& domain,
+ }
+ #endif // !wxUSE_UNICODE
+ 
+-wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString", "3.2.3")
++wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString", "3.0.3")
+ bool wxTranslations::AddAvailableCatalog(const wxString& domain)
+ {
+     return AddAvailableCatalog(domain, wxLANGUAGE_ENGLISH_US);
+ }
+ 
+-wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString10wxLanguage", "3.2.6")
++wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString10wxLanguage", "3.0.6")
+ bool wxTranslations::AddAvailableCatalog(const wxString& domain, wxLanguage msgIdLanguage)
+ {
+     return DoAddCatalog(domain, msgIdLanguage) == Translations_Found;
+@@ -1567,7 +1567,7 @@ wxString wxTranslations::GetBestTranslation(const wxString& domain,
+     return lang;
+ }
+ 
+-wxELF_VERSION_COMPAT("_ZN14wxTranslations27GetBestAvailableTranslationERK8wxString", "3.2.3")
++wxELF_VERSION_COMPAT("_ZN14wxTranslations27GetBestAvailableTranslationERK8wxString", "3.0.3")
+ wxString wxTranslations::GetBestAvailableTranslation(const wxString& domain)
+ {
+     // Determine the best language from the ones with actual translation file:
+--- a/src/common/uilocale.cpp
++++ b/src/common/uilocale.cpp
+@@ -613,7 +613,7 @@ wxString wxUILocale::GetLocalizedName(wxLocaleName name, wxLocaleForm form) cons
+ }
+ 
+ #if wxUSE_DATETIME
+-wxELF_VERSION_COMPAT("_ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE", "3.2.3")
++wxELF_VERSION_COMPAT("_ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE", "3.0.3")
+ wxString wxUILocale::GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags) const
+ {
+     if (!m_impl)
+@@ -622,7 +622,7 @@ wxString wxUILocale::GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags
+     return m_impl->GetMonthName(month, flags);
+ }
+ 
+-wxELF_VERSION_COMPAT("_ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE", "3.2.3")
++wxELF_VERSION_COMPAT("_ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE", "3.0.3")
+ wxString wxUILocale::GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags) const
+ {
+     if (!m_impl)
+@@ -680,7 +680,7 @@ wxUILocale::~wxUILocale()
+ 
+ 
+ /* static */
+-wxELF_VERSION_COMPAT("_ZN10wxUILocale17GetSystemLocaleIdEv", "3.2.2")
++wxELF_VERSION_COMPAT("_ZN10wxUILocale17GetSystemLocaleIdEv", "3.0.2")
+ wxLocaleIdent wxUILocale::GetSystemLocaleId()
+ {
+     wxUILocale defaultLocale(wxUILocaleImpl::CreateUserDefault());
+--- a/src/gtk/filedlg.cpp
++++ b/src/gtk/filedlg.cpp
+@@ -502,7 +502,7 @@ void wxFileDialog::GTKSelectionChanged(const wxString& filename)
+     UpdateExtraControlUI();
+ }
+ 
+-wxELF_VERSION_COMPAT("_ZN12wxFileDialog11AddShortcutERK8wxStringi", "3.2.1")
++wxELF_VERSION_COMPAT("_ZN12wxFileDialog11AddShortcutERK8wxStringi", "3.0.1")
+ bool wxFileDialog::AddShortcut(const wxString& directory, int WXUNUSED(flags))
+ {
+     wxGtkError error;
+--- a/src/unix/glegl.cpp
++++ b/src/unix/glegl.cpp
+@@ -635,7 +635,7 @@ wxGLCanvasEGL::~wxGLCanvasEGL()
+     gs_alreadySetSwapInterval.erase(this);
+ }
+ 
+-wxELF_VERSION_COMPAT("_ZN13wxGLCanvasEGL23CreateWaylandSubsurfaceEv", "3.2.3")
++wxELF_VERSION_COMPAT("_ZN13wxGLCanvasEGL23CreateWaylandSubsurfaceEv", "3.0.3")
+ void wxGLCanvasEGL::CreateWaylandSubsurface()
+ {
+ #ifdef GDK_WINDOWING_WAYLAND

diff --git a/x11-libs/wxGTK/wxGTK-3.2.8.ebuild b/x11-libs/wxGTK/wxGTK-3.2.8.ebuild
index 5a3fd91a45dd..96902890a118 100644
--- a/x11-libs/wxGTK/wxGTK-3.2.8.ebuild
+++ b/x11-libs/wxGTK/wxGTK-3.2.8.ebuild
@@ -81,39 +81,43 @@ PATCHES=(
 	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
 	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
 	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
+	# Please DO NOT rebase this without handling the underlying problem
+	# in bug #955902 properly first.
+	"${FILESDIR}/${PN}-3.2.8-bodge-version-script.patch"
 )
 
 src_prepare() {
 	default
 
+	# Versionating
+	#
 	# find . -iname Makefile.in -not -path ./samples'/*' \
 	#        | xargs grep -l WX_RELEASE
 	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
+		./Makefile.in
 		./utils/wxrc/Makefile.in
 		./utils/helpview/src/Makefile.in
+		./utils/execmon/Makefile.in
 		./utils/hhp2cached/Makefile.in
+		./utils/emulator/src/Makefile.in
 		./utils/screenshotgen/src/Makefile.in
 		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
+		./demos/poem/Makefile.in
 		./demos/life/Makefile.in
 		./demos/bombs/Makefile.in
 		./demos/fractal/Makefile.in
 		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
+		./tests/benchmarks/Makefile.in
+		./tests/Makefile.in
 	)
-
-	# Versionating
 	sed -i \
 		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
 		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
 		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
 		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
 		"${versioned_makefiles[@]}" || die
-
+	# XXX: The WX_VERSION_TAG especially here is *radioactive*
+	# and must be removed in a new revision after 3.2.8. See bug #955902.
 	sed -i \
 		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
 		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2025-05-15 11:51 David Seifert
  0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2025-05-15 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     1d84f7117b73db38a95743277bfac9161913ab8c
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 11:51:06 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu May 15 11:51:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d84f711

x11-libs/wxGTK: drop 3.0.4-r5, 3.0.4-r6, 3.0.5.1-r1, 3.0.5.1-r3

Closes: https://bugs.gentoo.org/590126
Closes: https://bugs.gentoo.org/618642
Closes: https://bugs.gentoo.org/769503
Closes: https://bugs.gentoo.org/876613
Closes: https://bugs.gentoo.org/884325
Closes: https://bugs.gentoo.org/889652
Closes: https://bugs.gentoo.org/898592
Closes: https://bugs.gentoo.org/954759
Closes: https://bugs.gentoo.org/954760
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                            |   6 -
 .../files/wxGTK-3.0-gtk3-translation-domain.patch  |  13 -
 x11-libs/wxGTK/files/wxGTK-3.0.5-collision.patch   |  75 -----
 .../files/wxGTK-3.0.5.1-configure-modern-c.patch   |  54 ----
 .../wxGTK/files/wxGTK-3.0.5.1-excise-autoptr.patch | 322 ---------------------
 x11-libs/wxGTK/files/wxGTK-configure-tests.patch   |  28 --
 x11-libs/wxGTK/wxGTK-3.0.4-r5.ebuild               | 128 --------
 x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild               | 130 ---------
 x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild             | 186 ------------
 x11-libs/wxGTK/wxGTK-3.0.5.1-r3.ebuild             | 199 -------------
 10 files changed, 1141 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index f9c1716ac955..a881375950d7 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,9 +1,3 @@
-DIST wxGTK-3.0.4_p20190713.tar.xz 53640 BLAKE2B 89eabc44660f8f9b19fc850717eb83244a746f2f8c28bcec89fa9ccd1828f103df114bce24406ff14875220de86276f9e51870d58e716f0c94d310707f7eae4c SHA512 44a4e92ccc9c143a0e70e015116e952b0529001a3a1e23193d501826720a505259ead6feaa08de75b4a7a8753f8b16f5cc14e4bff5d15585870066ccd1de53b9
-DIST wxGTK-3.0.5_p20210214.tar.xz 4560 BLAKE2B ac1815e679adfb2c36d74be0a4a9cc32d52e6b0b05a14393334bc5d30a8bc0da1386415a5b59a3f6dc4807d283272d36f033caa55a300c8c30cf0c402554b8bd SHA512 f1e34379b8bf594a68486bb6eccbd93f36dc2aeca37c0a7eb23de81c1c3825396437a65c43ed8d94673131e97414d49449ed51729970bf8b8e4608d36974a335
-DIST wxWidgets-3.0.4-docs-html.tar.bz2 24122986 BLAKE2B ffd38d50e6cb44077f346597863a8dfb1cb5172b9380995082acb23b5b5dae060bc1e3d14307a1146ccd93b5ae9c4fd8fb206346c8d5aced5a535cd3d7f8961a SHA512 2b4cefc98f5f034a8c36237c4979bd02e8b0ed60aaeb31946d8661fb8e5297172cec807e45c96fe2939b012f093950721cda8bf9f750697b50e3741711011ccd
-DIST wxWidgets-3.0.4.tar.bz2 20204622 BLAKE2B 97b9f3f44f080104cae290bc3e162b51ce27a96fb22b191d52f30db1f1dc7951defcc220afc4dcb8417cfe23490762c2a25f62164ac21809f73ccf442dd19347 SHA512 c9e6b35d541a99921c54cfdac260843f574f146b27f924a7a0fca5007344fa99865a96ded95e6802329ad9221b4880d62b92277a1b4c1ce71420acb672ad9158
-DIST wxWidgets-3.0.5-docs-html.tar.bz2 23844256 BLAKE2B f5b5bef129302ae1ded7a651e652b127ad9d548a00a498f06a4d4f868dc3bc33411ded2602c04c8329e927550d032bdbe633c2c7d1a7f89265874685d3cb3d9b SHA512 f839e67660f2b08aa28d1596a3b7af2c35f7c2c0505c6e6d45888845397212b3dd71c8d34115321e9a4347b9d92a0ce767bb76defd14c172e51c2a3df96cc3ac
-DIST wxWidgets-3.0.5.1.tar.bz2 19739206 BLAKE2B da270cb8e4fc22b8d892ba80fbb4cc71578f642ca07102006f914a80331a254e746de6c91e61b585c0b1ab3abadd17d80a0eaa3efd48a3d412cf7202101abc7a SHA512 0a789fc5e71d414e43f75b5c16076fe8b1bcd7671be0770e4269dcef66d830c1bc74e183f49db270b928862f13472666c283fe2aa98b9006681722e06100725d
 DIST wxWidgets-3.2.2.1-docs-html.tar.bz2 18109775 BLAKE2B bb5dad886c2ba64feb9ec3be05f2cd4bcfb127d55f0a0af6d0aa59ee8f47663e39e7fcb3c0472cfdda9fbf99f1d32e07ff29604261e168f3b4218b9b5b61abc2 SHA512 9b883e1c611ac78f7b8457ffd8682c614d7653f561215c48e6239b6394cc4c084b34d6c55fe84fb7b76b38189591e94dc4596242f9e8653d2c72ae6f4b3a6293
 DIST wxWidgets-3.2.2.1.tar.bz2 27339515 BLAKE2B e761e768dbb32bf76dbabf27aa9feb634760aa214c2d8f85f9b4284700d01390617c275a855fa3ae28481a38233f3a71f8560e5a8a360d7b72ace2603c551327 SHA512 289d61ea2abd75a329aafcbd347ab84b136f31fca01dd902593f661691ecd30a4416286ff501c4257baa6765cf356ade3087eb8609af9a44599cfdc20e2f03a6
 DIST wxWidgets-3.2.5-docs-html.tar.bz2 18205089 BLAKE2B 8bf09c0f9698e72e425a4e4fcbd57498851c93f02dca33fadcd785e04f3927807ff65e8b7dbecaadde64b2bf7653e950a93c5d522ff4e27a8e3baaa85ef6c692 SHA512 cc80c827c4f8607ef38e435eb7fd5dab9fcad5e93ab81bca262d212f5a061b85093d1bc1a1bdc82a7422c4744b6fdd5c82f3142b6a497e85067f571ce9513f5e

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch b/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch
deleted file mode 100644
index 3b449baedb47..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0-gtk3-translation-domain.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Modify AddStdCatalog to use the versioned wxstd30-gtk3.mo.
-
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd30-gtk3")) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.5-collision.patch b/x11-libs/wxGTK/files/wxGTK-3.0.5-collision.patch
deleted file mode 100644
index 69531cc33aa4..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.5-collision.patch
+++ /dev/null
@@ -1,75 +0,0 @@
-Prevent file collisions between multiple installed SLOTs.
-
-  - Don't install wxwin.m4.  It is installed with app-eselect/eselect-wxwidgets.
-  - Version the bakefile preset filenames.  Unversioned symlinks to these files
-    are handled by eselect.
-  - Version wx-config and wxrc.  The unversioned forms are wrapper scripts
-    installed with eselect-wxwidgets.
-  - Version wxstd.mo and modify AddStdCatalog to use it.
-
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -15213,10 +15213,10 @@ COND_wxUSE_REGEX_builtin___LIB_REGEX_p = \
- 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_
 __depname) $(__wxrc___depname) $(__cocoa_res___depname)
- 
- 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) 
 $(__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)
--	$(INSTALL_DIR) $(DESTDIR)$(datadir)/aclocal
--	(cd $(srcdir) ; $(INSTALL_DATA)  wxwin.m4 $(DESTDIR)$(datadir)/aclocal)
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--	(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)
-+	(cd $(srcdir)/build/bakefiles/wxpresets/presets ; \
-+	for i in wx.bkl wx_unix.bkl wx_win32.bkl wx_xrc.bkl wx_presets.py ; do \
-+	$(INSTALL_DATA) $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
- 	$(DYLIB_RPATH_INSTALL)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx
- 	for f in setup.h $(RCDEFS_H); do \
-@@ -16101,7 +16101,7 @@ install-wxconfig:
- 	$(INSTALL_DIR) $(DESTDIR)$(bindir)
- 	$(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/config
- 	$(INSTALL_SCRIPT) lib/wx/config/$(TOOLCHAIN_FULLNAME) $(DESTDIR)$(libdir)/wx/config
--	(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)
-+	(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))
- 
- locale_install: 
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale
-@@ -16109,7 +16109,7 @@ locale_install:
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l ; \
- 	$(INSTALL_DIR) $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES ; \
- 	if test -f $(srcdir)/locale/$$l.mo ; then \
--	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd.mo ; \
-+	$(INSTALL_DATA) $(srcdir)/locale/$$l.mo $(DESTDIR)$(datadir)/locale/$$l/LC_MESSAGES/wxstd$(WX_RELEASE_NODOT).mo ; \
- 	fi ; \
- 	done
- 
---- a/build/bakefiles/wx.bkl
-+++ b/build/bakefiles/wx.bkl
-@@ -137,7 +137,7 @@
-         <using module="gettext"/>
-         <gettext-catalogs id="locale">
-             <srcdir>$(SRCDIR)/locale</srcdir>
--            <catalog-name>wxstd</catalog-name>
-+            <catalog-name>wxstd$(WX_RELEASE_NODOT)</catalog-name>
-             <linguas>
-                 ca cs da de el es fi fr hu id it ja nl pl ru sl sv tr uk
-                 zh zh_CN zh_TW
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1458,7 +1458,7 @@ wxArrayString wxTranslations::GetAvailableTranslations(const wxString& domain) c
- 
- bool wxTranslations::AddStdCatalog()
- {
--    if ( !AddCatalog(wxS("wxstd")) )
-+    if ( !AddCatalog(wxS("wxstd" wxSTRINGIZE(wxMAJOR_VERSION) wxSTRINGIZE(wxMINOR_VERSION))) )
-         return false;
- 
-     // there may be a catalog with toolkit specific overrides, it is not
---- a/utils/wxrc/Makefile.in
-+++ b/utils/wxrc/Makefile.in
-@@ -125,7 +125,6 @@ distclean: clean
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
- @COND_USE_XRC_1@	$(INSTALL_PROGRAM) wxrc$(EXEEXT) $(DESTDIR)$(bindir)
- @COND_USE_XRC_1@	mv -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT) $(DESTDIR)$(bindir)/wxrc-$(WX_RELEASE)
--@COND_USE_XRC_1@	(cd $(DESTDIR)$(bindir) && $(LN_S) wxrc-$(WX_RELEASE) wxrc$(EXEEXT))
- 
- @COND_USE_XRC_1@uninstall_wxrc: 
- @COND_USE_XRC_1@	rm -f $(DESTDIR)$(bindir)/wxrc$(EXEEXT)

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch b/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch
deleted file mode 100644
index 6512c6329efb..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.5.1-configure-modern-c.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-https://github.com/wxWidgets/wxWidgets/commit/da4b42688a6cd5444eefb91bf40183d88203ffca
-https://bugs.gentoo.org/874441
---- a/configure
-+++ b/configure
-@@ -19586,6 +19586,7 @@ else
- /* end confdefs.h.  */
- 
-                   #include <stdio.h>
-+                  #include <stdlib.h>
- 
-                   int main()
-                   {
-@@ -22300,6 +22301,7 @@ else
- 
-                         #include <zlib.h>
-                         #include <stdio.h>
-+                        #include <stdlib.h>
- 
-                         int main()
-                         {
-@@ -22422,6 +22424,7 @@ else
- 
-                     #include <png.h>
-                     #include <stdio.h>
-+                    #include <stdlib.h>
- 
-                     int main()
-                     {
---- a/configure.in
-+++ b/configure.in
-@@ -1482,6 +1482,7 @@ case "${host}" in
-               dnl Check the gcc version macro.
-               [
-                   #include <stdio.h>
-+                  #include <stdlib.h>
- 
-                   int main()
-                   {
-@@ -2439,6 +2440,7 @@ if test "$wxUSE_ZLIB" != "no" ; then
-                     [
-                         #include <zlib.h>
-                         #include <stdio.h>
-+                        #include <stdlib.h>
- 
-                         int main()
-                         {
-@@ -2507,6 +2509,7 @@ if test "$wxUSE_LIBPNG" != "no" ; then
-                 [
-                     #include <png.h>
-                     #include <stdio.h>
-+                    #include <stdlib.h>
- 
-                     int main()
-                     {

diff --git a/x11-libs/wxGTK/files/wxGTK-3.0.5.1-excise-autoptr.patch b/x11-libs/wxGTK/files/wxGTK-3.0.5.1-excise-autoptr.patch
deleted file mode 100644
index e03f64632f2b..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.0.5.1-excise-autoptr.patch
+++ /dev/null
@@ -1,322 +0,0 @@
-Direct replacement of auto_ptr, equivalent to parts of upstream commits:
-https://github.com/wxWidgets/wxWidgets/commit/b8c9cd35288a5c94f88ea83bf8c9ee644f99ece1
-https://github.com/wxWidgets/wxWidgets/commit/11a5728b327d5f16ef284d737f6329d38ae4d4b1
-made by diffing new-er upstream version with fixes included and current file
-diff --git a/tests/archive/archivetest.cpp b/tests/archive/archivetest.cpp
-index fa122d1..845ee0b 100644
---- a/tests/archive/archivetest.cpp
-+++ b/tests/archive/archivetest.cpp
-@@ -32,7 +32,6 @@
- #include <sys/stat.h>
- 
- using std::string;
--using std::auto_ptr;
- 
- 
- // Check whether member templates can be used
-@@ -559,7 +558,7 @@ TestEntry& ArchiveTestCase<ClassFactoryT>::Add(const char *name,
- template <class ClassFactoryT>
- void ArchiveTestCase<ClassFactoryT>::CreateArchive(wxOutputStream& out)
- {
--    auto_ptr<OutputStreamT> arc(m_factory->NewStream(out));
-+    wxScopedPtr<OutputStreamT> arc(m_factory->NewStream(out));
-     TestEntries::iterator it;
- 
-     OnCreateArchive(*arc);
-@@ -587,7 +586,7 @@ void ArchiveTestCase<ClassFactoryT>::CreateArchive(wxOutputStream& out)
- 
-         if ((choices & 2) || testEntry.IsText()) {
-             // try PutNextEntry(EntryT *pEntry)
--            auto_ptr<EntryT> entry(m_factory->NewEntry());
-+            wxScopedPtr<EntryT> entry(m_factory->NewEntry());
-             entry->SetName(name, wxPATH_UNIX);
-             if (setIsDir)
-                 entry->SetIsDir();
-@@ -701,8 +700,8 @@ template <class ClassFactoryT>
- void ArchiveTestCase<ClassFactoryT>::ModifyArchive(wxInputStream& in,
-                                                    wxOutputStream& out)
- {
--    auto_ptr<InputStreamT> arcIn(m_factory->NewStream(in));
--    auto_ptr<OutputStreamT> arcOut(m_factory->NewStream(out));
-+    wxScopedPtr<InputStreamT> arcIn(m_factory->NewStream(in));
-+    wxScopedPtr<OutputStreamT> arcOut(m_factory->NewStream(out));
-     EntryT *pEntry;
- 
-     const wxString deleteName = wxT("bin/bin1000");
-@@ -714,7 +713,7 @@ void ArchiveTestCase<ClassFactoryT>::ModifyArchive(wxInputStream& in,
-     arcOut->CopyArchiveMetaData(*arcIn);
- 
-     while ((pEntry = arcIn->GetNextEntry()) != NULL) {
--        auto_ptr<EntryT> entry(pEntry);
-+        wxScopedPtr<EntryT> entry(pEntry);
-         OnSetNotifier(*entry);
-         wxString name = entry->GetName(wxPATH_UNIX);
- 
-@@ -759,7 +758,7 @@ void ArchiveTestCase<ClassFactoryT>::ModifyArchive(wxInputStream& in,
- 
-     // try adding a new entry
-     TestEntry& testEntry = Add(newName.mb_str(), newData);
--    auto_ptr<EntryT> newentry(m_factory->NewEntry());
-+    wxScopedPtr<EntryT> newentry(m_factory->NewEntry());
-     newentry->SetName(newName);
-     newentry->SetDateTime(testEntry.GetDateTime());
-     newentry->SetSize(testEntry.GetLength());
-@@ -782,7 +781,7 @@ void ArchiveTestCase<ClassFactoryT>::ExtractArchive(wxInputStream& in)
-     typedef std::list<EntryPtr> Entries;
-     typedef typename Entries::iterator EntryIter;
- 
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
-     int expectedTotal = m_testEntries.size();
-     EntryPtr entry;
-     Entries entries;
-@@ -991,7 +990,7 @@ void ArchiveTestCase<ClassFactoryT>::TestIterator(wxInputStream& in)
-     typedef std::list<EntryT*> ArchiveCatalog;
-     typedef typename ArchiveCatalog::iterator CatalogIter;
- 
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
-     size_t count = 0;
- 
- #ifdef WXARC_MEMBER_TEMPLATES
-@@ -1003,7 +1002,7 @@ void ArchiveTestCase<ClassFactoryT>::TestIterator(wxInputStream& in)
- #endif
- 
-     for (CatalogIter it = cat.begin(); it != cat.end(); ++it) {
--        auto_ptr<EntryT> entry(*it);
-+        wxScopedPtr<EntryT> entry(*it);
-         count += m_testEntries.count(entry->GetName(wxPATH_UNIX));
-     }
- 
-@@ -1020,7 +1019,7 @@ void ArchiveTestCase<ClassFactoryT>::TestPairIterator(wxInputStream& in)
-     typedef std::map<wxString, EntryT*> ArchiveCatalog;
-     typedef typename ArchiveCatalog::iterator CatalogIter;
- 
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
-     size_t count = 0;
- 
- #ifdef WXARC_MEMBER_TEMPLATES
-@@ -1032,7 +1031,7 @@ void ArchiveTestCase<ClassFactoryT>::TestPairIterator(wxInputStream& in)
- #endif
- 
-     for (CatalogIter it = cat.begin(); it != cat.end(); ++it) {
--        auto_ptr<EntryT> entry(it->second);
-+        wxScopedPtr<EntryT> entry(it->second);
-         count += m_testEntries.count(entry->GetName(wxPATH_UNIX));
-     }
- 
-@@ -1049,7 +1048,7 @@ void ArchiveTestCase<ClassFactoryT>::TestSmartIterator(wxInputStream& in)
-     typedef typename ArchiveCatalog::iterator CatalogIter;
-     typedef wxArchiveIterator<InputStreamT, Ptr<EntryT> > Iter;
- 
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
- 
- #ifdef WXARC_MEMBER_TEMPLATES
-     ArchiveCatalog cat((Iter)*arc, Iter());
-@@ -1080,7 +1079,7 @@ void ArchiveTestCase<ClassFactoryT>::TestSmartPairIterator(wxInputStream& in)
-     typedef wxArchiveIterator<InputStreamT,
-                 std::pair<wxString, Ptr<EntryT> > > PairIter;
- 
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
- 
- #ifdef WXARC_MEMBER_TEMPLATES
-     ArchiveCatalog cat((PairIter)*arc, PairIter());
-@@ -1108,8 +1107,8 @@ void ArchiveTestCase<ClassFactoryT>::ReadSimultaneous(TestInputStream& in)
- 
-     // create two archive input streams
-     TestInputStream in2(in);
--    auto_ptr<InputStreamT> arc(m_factory->NewStream(in));
--    auto_ptr<InputStreamT> arc2(m_factory->NewStream(in2));
-+    wxScopedPtr<InputStreamT> arc(m_factory->NewStream(in));
-+    wxScopedPtr<InputStreamT> arc2(m_factory->NewStream(in2));
- 
-     // load the catalog
- #ifdef WXARC_MEMBER_TEMPLATES
-@@ -1201,7 +1200,7 @@ protected:
-     void CreateArchive(wxOutputStream& out);
-     void ExtractArchive(wxInputStream& in);
- 
--    auto_ptr<wxArchiveClassFactory> m_factory;  // factory to make classes
-+    wxScopedPtr<wxArchiveClassFactory> m_factory;  // factory to make classes
-     int m_options;                              // test options
- };
- 
-@@ -1241,7 +1240,7 @@ void CorruptionTestCase::runTest()
- 
- void CorruptionTestCase::CreateArchive(wxOutputStream& out)
- {
--    auto_ptr<wxArchiveOutputStream> arc(m_factory->NewStream(out));
-+    wxScopedPtr<wxArchiveOutputStream> arc(m_factory->NewStream(out));
- 
-     arc->PutNextDirEntry(wxT("dir"));
-     arc->PutNextEntry(wxT("file"));
-@@ -1250,8 +1249,8 @@ void CorruptionTestCase::CreateArchive(wxOutputStream& out)
- 
- void CorruptionTestCase::ExtractArchive(wxInputStream& in)
- {
--    auto_ptr<wxArchiveInputStream> arc(m_factory->NewStream(in));
--    auto_ptr<wxArchiveEntry> entry(arc->GetNextEntry());
-+    wxScopedPtr<wxArchiveInputStream> arc(m_factory->NewStream(in));
-+    wxScopedPtr<wxArchiveEntry> entry(arc->GetNextEntry());
- 
-     while (entry.get() != NULL) {
-         char buf[1024];
-@@ -1259,7 +1258,6 @@ void CorruptionTestCase::ExtractArchive(wxInputStream& in)
-         while (arc->IsOk())
-             arc->Read(buf, sizeof(buf));
- 
--        auto_ptr<wxArchiveEntry> next(arc->GetNextEntry());
--        entry = next;
-+        entry.reset(arc->GetNextEntry());
-     }
- }
-diff --git a/tests/archive/archivetest.h b/tests/archive/archivetest.h
-index 7a1a306..37a083c 100644
---- a/tests/archive/archivetest.h
-+++ b/tests/archive/archivetest.h
-@@ -13,7 +13,7 @@
- 
- #include "wx/archive.h"
- #include "wx/wfstream.h"
--
-+#include "wx/scopedptr.h"
- 
- ///////////////////////////////////////////////////////////////////////////////
- // Bit flags for options for the tests
-@@ -213,7 +213,7 @@ protected:
- 
-     typedef std::map<wxString, TestEntry*> TestEntries;
-     TestEntries m_testEntries;              // test data
--    std::auto_ptr<ClassFactoryT> m_factory; // factory to make classes
-+    wxScopedPtr<ClassFactoryT> m_factory; // factory to make classes
-     int m_options;                          // test options
-     wxDateTime m_timeStamp;                 // timestamp to give test entries
-     int m_id;                               // select between the possibilites
-diff --git a/tests/archive/ziptest.cpp b/tests/archive/ziptest.cpp
-index 3e9cff3..dc3fef5 100644
---- a/tests/archive/ziptest.cpp
-+++ b/tests/archive/ziptest.cpp
-@@ -22,7 +22,6 @@
- #include "wx/zipstrm.h"
- 
- using std::string;
--using std::auto_ptr;
- 
- 
- ///////////////////////////////////////////////////////////////////////////////
-@@ -186,7 +185,7 @@ void ZipPipeTestCase::runTest()
-     TestInputStream in(out, m_id % ((m_options & PipeIn) ? 4 : 3));
-     wxZipInputStream zip(in);
- 
--    auto_ptr<wxZipEntry> entry(zip.GetNextEntry());
-+    wxScopedPtr<wxZipEntry> entry(zip.GetNextEntry());
-     CPPUNIT_ASSERT(entry.get() != NULL);
- 
-     if ((m_options & PipeIn) == 0)
-diff --git a/tests/net/socket.cpp b/tests/net/socket.cpp
-index acd91ae..7e27fc4 100644
---- a/tests/net/socket.cpp
-+++ b/tests/net/socket.cpp
-@@ -28,10 +28,11 @@
- #include "wx/url.h"
- #include "wx/sstream.h"
- #include "wx/evtloop.h"
-+#include "wx/scopedptr.h"
- #include <memory>
- 
--typedef std::auto_ptr<wxSockAddress> wxSockAddressPtr;
--typedef std::auto_ptr<wxSocketClient> wxSocketClientPtr;
-+typedef wxScopedPtr<wxSockAddress> wxSockAddressPtr;
-+typedef wxScopedPtr<wxSocketClient> wxSocketClientPtr;
- 
- static wxString gs_serverHost(wxGetenv("WX_TEST_SERVER"));
- 
-@@ -257,7 +258,7 @@ void SocketTestCase::UrlTest()
- 
-     wxURL url("http://" + gs_serverHost);
- 
--    const std::auto_ptr<wxInputStream> in(url.GetInputStream());
-+    const wxScopedPtr<wxInputStream> in(url.GetInputStream());
-     CPPUNIT_ASSERT( in.get() );
- 
-     wxStringOutputStream out;
-diff --git a/tests/streams/largefile.cpp b/tests/streams/largefile.cpp
-index 9c6c481..59fca24 100644
---- a/tests/streams/largefile.cpp
-+++ b/tests/streams/largefile.cpp
-@@ -33,6 +33,7 @@
- 
- #include "wx/filename.h"
- #include "wx/wfstream.h"
-+#include "wx/scopedptr.h"
- 
- #ifdef __WINDOWS__
-     #include "wx/msw/wrapwin.h"
-@@ -51,7 +52,6 @@
-     #define fileno _fileno
- #endif
- 
--using std::auto_ptr;
- 
- 
- ///////////////////////////////////////////////////////////////////////////////
-@@ -120,7 +120,7 @@ void LargeFileTest::runTest()
- 
-     // write a large file
-     {
--        auto_ptr<wxOutputStream> out(MakeOutStream(tmpfile.m_name));
-+        wxScopedPtr<wxOutputStream> out(MakeOutStream(tmpfile.m_name));
- 
-         // write 'A's at [ 0x7fffffbf, 0x7fffffff [
-         pos = 0x7fffffff - size;
-@@ -154,7 +154,7 @@ void LargeFileTest::runTest()
- 
-     // read the large file back
-     {
--        auto_ptr<wxInputStream> in(MakeInStream(tmpfile.m_name));
-+        wxScopedPtr<wxInputStream> in(MakeInStream(tmpfile.m_name));
-         char buf[size];
- 
-         if (haveLFS) {
-@@ -218,7 +218,7 @@ protected:
- 
- wxInputStream *LargeFileTest_wxFile::MakeInStream(const wxString& name) const
- {
--    auto_ptr<wxFileInputStream> in(new wxFileInputStream(name));
-+    wxScopedPtr<wxFileInputStream> in(new wxFileInputStream(name));
-     CPPUNIT_ASSERT(in->IsOk());
-     return in.release();
- }
-@@ -250,7 +250,7 @@ protected:
- 
- wxInputStream *LargeFileTest_wxFFile::MakeInStream(const wxString& name) const
- {
--    auto_ptr<wxFFileInputStream> in(new wxFFileInputStream(name));
-+    wxScopedPtr<wxFFileInputStream> in(new wxFFileInputStream(name));
-     CPPUNIT_ASSERT(in->IsOk());
-     return in.release();
- }
-diff --git a/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx.old b/wxWidgets-3.0.5.1/src/stc/scintilla/src/Editor.cxx
-index 2081df2..a8c8572 100644
---- a/src/stc/scintilla/src/Editor.cxx
-+++ b/src/stc/scintilla/src/Editor.cxx
-@@ -41,6 +41,7 @@
- #include "Selection.h"
- #include "PositionCache.h"
- #include "Editor.h"
-+#include "wx/scopedptr.h"
- 
- #ifdef SCI_NAMESPACE
- using namespace Scintilla;
-@@ -5706,7 +5707,7 @@ long Editor::FindText(
- 
- 	Sci_TextToFind *ft = reinterpret_cast<Sci_TextToFind *>(lParam);
- 	int lengthFound = istrlen(ft->lpstrText);
--	std::auto_ptr<CaseFolder> pcf(CaseFolderForEncoding());
-+	wxScopedPtr<CaseFolder> pcf(CaseFolderForEncoding());
- 	int pos = pdoc->FindText(ft->chrg.cpMin, ft->chrg.cpMax, ft->lpstrText,
- 	        (wParam & SCFIND_MATCHCASE) != 0,
- 	        (wParam & SCFIND_WHOLEWORD) != 0,

diff --git a/x11-libs/wxGTK/files/wxGTK-configure-tests.patch b/x11-libs/wxGTK/files/wxGTK-configure-tests.patch
deleted file mode 100644
index efbb2d7c55bf..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-configure-tests.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/configure b/configure
-index 0f3c4c9..92c84f3 100755
---- a/configure
-+++ b/configure
-@@ -1368,6 +1368,7 @@ enable_dependency_tracking
- enable_precomp_headers
- with_cppunit_prefix
- with_cppunit_exec_prefix
-+enable_tests
- '
-       ac_precious_vars='build_alias
- host_alias
-@@ -40955,8 +40956,13 @@ fi
- 
-   fi
- 
--
--
-+# explicit override to enable or disable tests
-+if test "${enable_tests+set}" = set; then
-+    SUBDIRS="$SUBDIRS tests"
-+fi
-+if test "${disable_tests+set}" = set; then
-+	SUBDIRS="${SUBDIRS% tests}"
-+fi
- 
- 
- for subdir in $SUBDIRS; do

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r5.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r5.ebuild
deleted file mode 100644
index 25342b1f2fa1..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r5.ebuild
+++ /dev/null
@@ -1,128 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20190713.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="3.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		dev-libs/glib:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-	)"
-DEPEND="
-	${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20190713/
-	"${FILESDIR}"/${PN}-3.0.5-collision.patch
-	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-)
-
-multilib_src_configure() {
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	local myconf=(
-		# X independent options
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat28
-		$(use_with sdl)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-	)
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myconf+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	if use X; then
-		myconf+=(
-			--enable-gui
-			--enable-graphics_ctx
-			--with-gtkprint
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			$(use_enable gstreamer mediactrl)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)
-		)
-	else
-		# wxBase options
-		myconf+=( --disable-gui )
-	fi
-
-	ECONF_SOURCE="${S}" econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Stray windows locale file, causes collisions
-	rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw.mo || die
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets &&
-		eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets &&
-		eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild b/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild
deleted file mode 100644
index c9f723cab089..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.4-r6.ebuild
+++ /dev/null
@@ -1,130 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.4_p20190713.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="3.0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X doc debug gstreamer libnotify opengl pch sdl tiff"
-
-RDEPEND="
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		dev-libs/glib:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:2[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff?   ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-	)"
-DEPEND="
-	${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="virtual/pkgconfig"
-PDEPEND=">=app-eselect/eselect-wxwidgets-20131230"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.4_p20190713/
-	"${FILESDIR}"/${PN}-3.0.5-collision.patch
-	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}"/${PN}-3.0.5.1-configure-modern-c.patch
-	"${FILESDIR}"/${PN}-3.0.5.1-excise-autoptr.patch
-)
-
-multilib_src_configure() {
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	local myconf=(
-		# X independent options
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat28
-		$(use_with sdl)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-	)
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myconf+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	if use X; then
-		myconf+=(
-			--enable-gui
-			--enable-graphics_ctx
-			--with-gtkprint
-			--with-libpng=sys
-			--with-libxpm=sys
-			--with-libjpeg=sys
-			--without-gnomevfs
-			--disable-webview
-			$(use_enable gstreamer mediactrl)
-			$(use_with libnotify)
-			$(use_with opengl)
-			$(use_with tiff libtiff sys)
-		)
-	else
-		# wxBase options
-		myconf+=( --disable-gui )
-	fi
-
-	ECONF_SOURCE="${S}" econf "${myconf[@]}"
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Stray windows locale file, causes collisions
-	rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw.mo || die
-}
-
-pkg_postinst() {
-	has_version app-eselect/eselect-wxwidgets &&
-		eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version app-eselect/eselect-wxwidgets &&
-		eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild
deleted file mode 100644
index 63425cd19269..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.5.1-r1.ebuild
+++ /dev/null
@@ -1,186 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION=${PV}-gtk3				# 3.0.5.1-gtk3
-WXVERSION=${WXSUBVERSION%.*}			# 3.0.5
-WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-3.0.5_p20210214.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${WXVERSION}/wxWidgets-${WXVERSION}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X doc debug gstreamer libnotify opengl pch sdl test tiff webkit"
-REQUIRED_USE="test? ( tiff ) tiff? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4 )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.5_p20210214/
-	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
-	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}"/${PN}-configure-tests.patch
-	"${FILESDIR}"/${PN}-3.0.5.1-configure-modern-c.patch
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
-		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in tests/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		utils/wxrc/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat28
-		$(use_with sdl)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable test tests)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test) || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${WXVERSION}-docs-html/. )
-	einstalldocs
-
-	# Stray windows locale file, bug #650118
-	rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo || die
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	use X && { rm "${ED}"/usr/bin/wxrc || die; }
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx30gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.0.5.1-r3.ebuild b/x11-libs/wxGTK/wxGTK-3.0.5.1-r3.ebuild
deleted file mode 100644
index 34b22fca4906..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.0.5.1-r3.ebuild
+++ /dev/null
@@ -1,199 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION=${PV}-gtk3				# 3.0.5.1-gtk3
-WXVERSION=${WXSUBVERSION%.*}			# 3.0.5
-WXRELEASE=${WXVERSION%.*}-gtk3			# 3.0-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 30-gtk3
-
-DESCRIPTION="GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	https://dev.gentoo.org/~leio/distfiles/wxGTK-${WXVERSION}_p20210214.tar.xz
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${WXVERSION}/wxWidgets-${WXVERSION}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+X doc debug gstreamer libnotify opengl pch sdl test tiff webkit"
-REQUIRED_USE="test? ( tiff ) tiff? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? ( virtual/opengl[${MULTILIB_USEDEP}] )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4 )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-PATCHES=(
-	"${WORKDIR}"/wxGTK-3.0.5_p20210214/
-	"${FILESDIR}"/wxGTK-${SLOT}-translation-domain.patch
-	"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}"/${PN}-configure-tests.patch
-	"${FILESDIR}"/${PN}-3.0.5.1-configure-modern-c.patch
-	"${FILESDIR}"/${PN}-3.0.5.1-excise-autoptr.patch
-
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		-e "s:wxstd.mo:wxstd${WXRELEASE_NODOT}.mo:" \
-		-e "s:wxmsw.mo:wxmsw${WXRELEASE_NODOT}.mo:" \
-		Makefile.in tests/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		utils/wxrc/Makefile.in || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat28
-		$(use_with sdl)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable test tests)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test) || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${WXVERSION}-docs-html/. )
-	einstalldocs
-
-	# Stray windows locale file, bug #650118
-	rm -f "${ED}"/usr/share/locale/it/LC_MESSAGES/wxmsw30-gtk3.mo || die
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	use X && { rm "${ED}"/usr/bin/wxrc || die; }
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx30gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2025-05-15 11:51 David Seifert
  0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2025-05-15 11:51 UTC (permalink / raw
  To: gentoo-commits

commit:     97b99746cd649bf647f4790b8d80507247eb73e9
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu May 15 11:51:07 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu May 15 11:51:07 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97b99746

x11-libs/wxGTK: drop 3.2.2.1-r5, 3.2.5, 3.2.5-r1

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                            |   4 -
 .../wxGTK-3.2.1-gtk3-translation-domain.patch      |  12 -
 .../files/wxGTK-3.2.2.1-backport-pr24197.patch     |  88 -------
 .../files/wxGTK-3.2.2.1-dont-break-flags.patch     |  48 ----
 x11-libs/wxGTK/wxGTK-3.2.2.1-r5.ebuild             | 262 ---------------------
 x11-libs/wxGTK/wxGTK-3.2.5-r1.ebuild               | 262 ---------------------
 x11-libs/wxGTK/wxGTK-3.2.5.ebuild                  | 258 --------------------
 7 files changed, 934 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index a881375950d7..18186a0400b5 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,7 +1,3 @@
-DIST wxWidgets-3.2.2.1-docs-html.tar.bz2 18109775 BLAKE2B bb5dad886c2ba64feb9ec3be05f2cd4bcfb127d55f0a0af6d0aa59ee8f47663e39e7fcb3c0472cfdda9fbf99f1d32e07ff29604261e168f3b4218b9b5b61abc2 SHA512 9b883e1c611ac78f7b8457ffd8682c614d7653f561215c48e6239b6394cc4c084b34d6c55fe84fb7b76b38189591e94dc4596242f9e8653d2c72ae6f4b3a6293
-DIST wxWidgets-3.2.2.1.tar.bz2 27339515 BLAKE2B e761e768dbb32bf76dbabf27aa9feb634760aa214c2d8f85f9b4284700d01390617c275a855fa3ae28481a38233f3a71f8560e5a8a360d7b72ace2603c551327 SHA512 289d61ea2abd75a329aafcbd347ab84b136f31fca01dd902593f661691ecd30a4416286ff501c4257baa6765cf356ade3087eb8609af9a44599cfdc20e2f03a6
-DIST wxWidgets-3.2.5-docs-html.tar.bz2 18205089 BLAKE2B 8bf09c0f9698e72e425a4e4fcbd57498851c93f02dca33fadcd785e04f3927807ff65e8b7dbecaadde64b2bf7653e950a93c5d522ff4e27a8e3baaa85ef6c692 SHA512 cc80c827c4f8607ef38e435eb7fd5dab9fcad5e93ab81bca262d212f5a061b85093d1bc1a1bdc82a7422c4744b6fdd5c82f3142b6a497e85067f571ce9513f5e
-DIST wxWidgets-3.2.5.tar.bz2 27539152 BLAKE2B e262860b5d64d30576bbe61913d14c98c7e56bc1f108696abe0d446145e8c8cea3711bae4f3248c7def06ee988ee4441652376113ad2b4f04402249d7c1e6961 SHA512 b5bd8e4b53b7c44f79b76a39de0071d14e1f0325e66b7a9f2c7f1934a4146be3c78332f610119f7ba46ca4cd1055272a3d8937ad46665ce5abd867a803f22c86
 DIST wxWidgets-3.2.6-docs-html.tar.bz2 18221396 BLAKE2B cc990c848517a47664d4b14638aeaf97ffc57df29ae544e4a90bd15bcb2998fcd19f540d2e2453813197cae64a53f336fd259a99f392256cb6456376f3f6c926 SHA512 f2399f8dd205645c7dfd9fbdf89cf0b11145489cad9e218d592c2778f2a8734e6f852c99009b905b649cc0796612389d0755feedcb523b44c9bb3d631964d5f1
 DIST wxWidgets-3.2.6.tar.bz2 27528560 BLAKE2B 6d35a9acd3fa0dbcce3ea38367119eb572c7cf2f63598bac87050d122af7ce6a339892dd5f15d9832e47dac058893fb8b1f4a73db14aa7911a54a31ea52cf22a SHA512 87830a73df096ab35d4ff7e131872131153da76f76c58d70e57558915c3faea280af193104163ce24e9e249a62b8e65d19ebfa20046ce0d2c45b2368b108619f
 DIST wxWidgets-3.2.7-docs-html.tar.bz2 18282275 BLAKE2B 685b0758236bc63fe2a6fcf595e0944fa23cb8c9994ccd9e7281c5246d59be54114503685d9f7794d6569057a6326456f5b8104de43d8f8a1e282372de7a1df4 SHA512 52e4b5d05aaa76aa1bb4bf5bb2f5809cef7bd3d17aacce3d7505f6712cc2188a2a6120349b08f55c5be1096f8ce9417bb86f597ea80a86cf27ea9428c5596c8b

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.1-gtk3-translation-domain.patch b/x11-libs/wxGTK/files/wxGTK-3.2.1-gtk3-translation-domain.patch
deleted file mode 100644
index 9fbb9d8bc064..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.2.1-gtk3-translation-domain.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Modify AddStdCatalog to use the versioned wxstd32-gtk3.mo.
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1409,7 +1409,7 @@ bool wxTranslations::AddStdCatalog()
-     if ( AddCatalog("wxstd-" wxSTRINGIZE(wxMAJOR_VERSION) "." wxSTRINGIZE(wxMINOR_VERSION)) )
-         return true;
-
--    if ( AddCatalog(wxS("wxstd")) )
-+    if ( AddCatalog(wxS("wxstd32-gtk3")) )
-         return true;
-
-     return false;

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-backport-pr24197.patch b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-backport-pr24197.patch
deleted file mode 100644
index 2adf03aef45b..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-backport-pr24197.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-https://bugs.gentoo.org/916884
-https://github.com/wxWidgets/wxWidgets/pull/24197
-
-From 891bfff867b7dc92ed6330ea46ee2dcfa5424ee0 Mon Sep 17 00:00:00 2001
-From: Cliff Zhao <qzhao@suse.com>
-Date: Thu, 4 Jan 2024 08:01:00 +0100
-Subject: [PATCH] Fix testsuite failures on s390x
-
-``/sys/power/state`` does not exist on s390x platforms and certain
-types of containers, so check that the file exist before running the
-test case.
-
-Output from ``make check`` was:
-
-	./textfile/textfiletest.cpp:351
-	...............................................................................
-
-	./textfile/textfiletest.cpp:354: FAILED:
-	  CHECK( f.Open("/sys/power/state") )
-	with expansion:
-	  false
-
-	./textfile/textfiletest.cpp:355: FAILED:
-	  REQUIRE( f.GetLineCount() == 1 )
-	with expansion:
-	  0 == 1
----
- tests/file/filetest.cpp         | 2 ++
- tests/filename/filenametest.cpp | 2 ++
- tests/textfile/textfiletest.cpp | 2 ++
- 3 files changed, 6 insertions(+)
-
-diff --git a/tests/file/filetest.cpp b/tests/file/filetest.cpp
-index 8902eb4d6684..fc3c90569480 100644
---- a/tests/file/filetest.cpp
-+++ b/tests/file/filetest.cpp
-@@ -153,6 +153,7 @@ TEST_CASE("wxFile::Special", "[file][linux][special-file]")
-     CHECK( fileProc.ReadAll(&s) );
-     CHECK( !s.empty() );
- 
-+    if ( wxFile::Exists("/sys/power/state") ) {
-     // All files in /sys have the size of one kernel page, even if they don't
-     // have that much data in them.
-     const long pageSize = sysconf(_SC_PAGESIZE);
-@@ -163,6 +164,7 @@ TEST_CASE("wxFile::Special", "[file][linux][special-file]")
-     CHECK( fileSys.ReadAll(&s) );
-     CHECK( !s.empty() );
-     CHECK( s.length() < pageSize );
-+    }
- }
- 
- #endif // __LINUX__
-diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp
-index 84356b39f719..ce2ec2af2760 100644
---- a/tests/filename/filenametest.cpp
-+++ b/tests/filename/filenametest.cpp
-@@ -1040,9 +1040,11 @@ TEST_CASE("wxFileName::GetSizeSpecial", "[filename][linux][special-file]")
-     INFO( "size of /proc/kcore=" << size );
-     CHECK( size > 0 );
- 
-+    if ( wxFile::Exists("/sys/power/state") ) {
-     // All files in /sys are one page in size, irrespectively of the size of
-     // their actual contents.
-     CHECK( wxFileName::GetSize("/sys/power/state") == sysconf(_SC_PAGESIZE) );
-+    }
- }
- 
- #endif // __LINUX__
-diff --git a/tests/textfile/textfiletest.cpp b/tests/textfile/textfiletest.cpp
-index f744ffc3271b..73467be8f85f 100644
---- a/tests/textfile/textfiletest.cpp
-+++ b/tests/textfile/textfiletest.cpp
-@@ -348,6 +348,7 @@ TEST_CASE("wxTextFile::Special", "[textfile][linux][special-file]")
-         CHECK( f.GetLineCount() > 1 );
-     }
- 
-+    if ( wxFile::Exists("/sys/power/state") ) {
-     SECTION("/sys")
-     {
-         wxTextFile f;
-@@ -356,6 +357,7 @@ TEST_CASE("wxTextFile::Special", "[textfile][linux][special-file]")
-         INFO( "/sys/power/state contains \"" << f[0] << "\"" );
-         CHECK( (f[0].find("mem") != wxString::npos || f[0].find("disk") != wxString::npos) );
-     }
-+    }
- }
- 
- #endif // __LINUX__

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch b/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch
deleted file mode 100644
index db351b29d648..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.2.2.1-dont-break-flags.patch
+++ /dev/null
@@ -1,48 +0,0 @@
-From f092f50b794b487e552e930b11d165a736fc8edb Mon Sep 17 00:00:00 2001
-From: Arsen Arsenović <arsen@gentoo.org>
-Date: Sun, 2 Apr 2023 13:25:11 +0200
-Subject: [PATCH] configure: Remove flag deduplication logic
-
-Parsing compiler flags is a complex task that this function screws up.
-
-Bug: https://bugs.gentoo.org/903668
----
- configure    | 5 ++---
- configure.in | 5 ++---
- 2 files changed, 4 insertions(+), 6 deletions(-)
-
-diff --git a/configure b/configure
-index a476a3c..a9b815b 100755
---- a/configure
-+++ b/configure
-@@ -45550,9 +45550,8 @@ esac
- 
- dedup_flags()
- {
--    printf "%s " "$@" |
--        awk 'BEGIN { RS=" "; ORS=" " }
--            { if ($0=="-arch" || $0=="-framework" || !seen[$0]++) print }'
-+	# Gentoo: Don't hack out flags, parsing them is complex.
-+	printf '%s ' "$@"
- }
- 
- WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`
-diff --git a/configure.in b/configure.in
-index a4c4178..9cf9c30 100644
---- a/configure.in
-+++ b/configure.in
-@@ -8570,9 +8570,8 @@ dnl flags which are explicitly allowed to occur multiple times, as all their
- dnl occurrences must be preserved).
- dedup_flags()
- {
--    printf "%s " "$@" |
--        awk 'BEGIN { RS=" "; ORS=" " }
--            { if ($0=="-arch" || $0=="-framework" || !seen[[$0]]++) print }'
-+	# Gentoo: Don't hack out flags, parsing them is complex.
-+	printf '%s ' "$@"
- }
- 
- WX_CPPFLAGS=`dedup_flags "$CPPFLAGS"`
--- 
-2.40.0
-

diff --git a/x11-libs/wxGTK/wxGTK-3.2.2.1-r5.ebuild b/x11-libs/wxGTK/wxGTK-3.2.2.1-r5.ebuild
deleted file mode 100644
index a694537d0a36..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.2.1-r5.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.1-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.1
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit X"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	#"${WORKDIR}"/wxGTK-3.0.5_p20210214/
-	"${FILESDIR}/${PN}-3.2.1-gtk3-translation-domain.patch"
-	#"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.2.1-dont-break-flags.patch"
-	"${FILESDIR}/${PN}-3.2.2.1-backport-pr24197.patch"
-)
-
-src_prepare() {
-	default
-
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
-	)
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# defang automagic dependencies, bug #927952
-	use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
-	use X || append-cflags -DGENTOO_GTK_HIDE_X11
-
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.2.5-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.2.5-r1.ebuild
deleted file mode 100644
index 26076e8a3cab..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.5-r1.ebuild
+++ /dev/null
@@ -1,262 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.5-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.5
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit X"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4.1= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	#"${WORKDIR}"/wxGTK-3.0.5_p20210214/
-	"${FILESDIR}/${PN}-3.2.1-gtk3-translation-domain.patch"
-	#"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
-	"${FILESDIR}/${PN}-3.2.2.1-backport-pr24197.patch"
-)
-
-src_prepare() {
-	default
-
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
-	)
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# defang automagic dependencies, bug #927952
-	use wayland || append-cflags -DGENTOO_GTK_HIDE_WAYLAND
-	use X || append-cflags -DGENTOO_GTK_HIDE_X11
-
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.2.5.ebuild b/x11-libs/wxGTK/wxGTK-3.2.5.ebuild
deleted file mode 100644
index c141a0bac991..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.5.ebuild
+++ /dev/null
@@ -1,258 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.5-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.5
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		x11-libs/gtk+:3[wayland?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4.1= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	#"${WORKDIR}"/wxGTK-3.0.5_p20210214/
-	"${FILESDIR}/${PN}-3.2.1-gtk3-translation-domain.patch"
-	#"${FILESDIR}"/wxGTK-ignore-c++-abi.patch #676878
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
-	"${FILESDIR}/${PN}-3.2.2.1-backport-pr24197.patch"
-)
-
-src_prepare() {
-	default
-
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
-	)
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/
@ 2025-08-22  8:38 David Seifert
  0 siblings, 0 replies; 15+ messages in thread
From: David Seifert @ 2025-08-22  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     698f4e057fa17d0c40cdc211bf5f4304b6ba6115
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 22 08:37:49 2025 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Fri Aug 22 08:37:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698f4e05

x11-libs/wxGTK: drop 3.2.6-r2, 3.2.7-r2, 3.2.8-r1

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 x11-libs/wxGTK/Manifest                            |   6 -
 .../files/wxGTK-3.2.8-bodge-version-script.patch   |  94 --------
 x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch    |  39 ---
 x11-libs/wxGTK/wxGTK-3.2.6-r2.ebuild               | 261 --------------------
 x11-libs/wxGTK/wxGTK-3.2.7-r2.ebuild               | 261 --------------------
 x11-libs/wxGTK/wxGTK-3.2.8-r1.ebuild               | 265 ---------------------
 6 files changed, 926 deletions(-)

diff --git a/x11-libs/wxGTK/Manifest b/x11-libs/wxGTK/Manifest
index 75a1f40cfa45..8144783c6923 100644
--- a/x11-libs/wxGTK/Manifest
+++ b/x11-libs/wxGTK/Manifest
@@ -1,8 +1,2 @@
-DIST wxWidgets-3.2.6-docs-html.tar.bz2 18221396 BLAKE2B cc990c848517a47664d4b14638aeaf97ffc57df29ae544e4a90bd15bcb2998fcd19f540d2e2453813197cae64a53f336fd259a99f392256cb6456376f3f6c926 SHA512 f2399f8dd205645c7dfd9fbdf89cf0b11145489cad9e218d592c2778f2a8734e6f852c99009b905b649cc0796612389d0755feedcb523b44c9bb3d631964d5f1
-DIST wxWidgets-3.2.6.tar.bz2 27528560 BLAKE2B 6d35a9acd3fa0dbcce3ea38367119eb572c7cf2f63598bac87050d122af7ce6a339892dd5f15d9832e47dac058893fb8b1f4a73db14aa7911a54a31ea52cf22a SHA512 87830a73df096ab35d4ff7e131872131153da76f76c58d70e57558915c3faea280af193104163ce24e9e249a62b8e65d19ebfa20046ce0d2c45b2368b108619f
-DIST wxWidgets-3.2.7-docs-html.tar.bz2 18282275 BLAKE2B 685b0758236bc63fe2a6fcf595e0944fa23cb8c9994ccd9e7281c5246d59be54114503685d9f7794d6569057a6326456f5b8104de43d8f8a1e282372de7a1df4 SHA512 52e4b5d05aaa76aa1bb4bf5bb2f5809cef7bd3d17aacce3d7505f6712cc2188a2a6120349b08f55c5be1096f8ce9417bb86f597ea80a86cf27ea9428c5596c8b
-DIST wxWidgets-3.2.7.tar.bz2 27489942 BLAKE2B ae318b3bea4652e45a58ea5cd3d7053d27760c2f0761d2f71097659aefaa00efa3a40fcfa3ba01edb66b18710de652cee63a51c216ef7fab12abdd505333a6b3 SHA512 7b2a8ec2dfcd8e816ac6fee9fe74c3f20d8e81422fe044fb5d701ab257fae6fc31871ab1e099b3cdce1d83a54b6edd547c8b155a4b84658dcaac123390a7b82b
-DIST wxWidgets-3.2.8-docs-html.tar.bz2 18209484 BLAKE2B 4e57589d4460bfc74c5ac1c1e9ea665e12ae2f1ffb73e9e6d634fa7bd959e76b29ce7cceb5daa7de7fb72885804d3b6d0729145a5b0380e1d5beca2154831ca9 SHA512 c9101bd4f925931f18b29f54c1b715cf988d638ed95c81e99b5aac5a6953c57cd019b84242f2b5cb95fc43278658ee9d872d1d57c97cd2e8e29cd6200cce56a3
 DIST wxWidgets-3.2.8.1-docs-html.tar.bz2 18270920 BLAKE2B 5e6a800590454bae2b43bc66998b145c58976ea11b6849fa04de1be8ccc996c3d2778c95fb5d08a128b397f0e5f8705583b9403a4ec3bf8324d12088a4c7b8d5 SHA512 322a20e4691b3bb45a3051c85a289d8d47229e6c145d842b0cbc284a6039a338dc92b48c7b88493840f970e955855c003e1dfda5e4bb96cd2f0c9b7b74cde4a0
 DIST wxWidgets-3.2.8.1.tar.bz2 27449383 BLAKE2B e948c252c17788eb01969cefae776d41007614d11abdf286e2a930871e5cc4e038ccafdad457ffcdc008658124ab0468eb471d821990df29621e974f40e7cf93 SHA512 3f6492851e6f6794498ad5005df1283aa4f85f176738a24184645bd5d991da7ae7086d5c28d185b33ba490e713899ebe8217352726c0d121062d76e4b867286e
-DIST wxWidgets-3.2.8.tar.bz2 27675086 BLAKE2B 54855e401831b6e9510fe3ee6c8909e492151a6ed5c2801a3322adce971379e7aad8f00ad8c6e41f4adf31d3f2c3cb812eeb0cdaef42f87aee11fca005b36a11 SHA512 3ac5c8f689c771ea27fedcfc4c4416c936f279f8dbf87476a9d8e454d9ecd8c4ed7f9072d7c1e33273128dbfc3fea22954c466ba538bbe5868745d14e882df63

diff --git a/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch b/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch
deleted file mode 100644
index a6ad73726348..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-3.2.8-bodge-version-script.patch
+++ /dev/null
@@ -1,94 +0,0 @@
-See https://bugs.gentoo.org/955902 but especially https://bugs.gentoo.org/955902#c15.
-
-This is a temporary hack to have things building again and have internal
-consistency with older wxGTK in Gentoo, but we need to do more work to reconcile
-this with upstream.
---- a/include/wx/private/elfversion.h
-+++ b/include/wx/private/elfversion.h
-@@ -58,7 +58,7 @@
-     // Note that this macro takes strings, not symbols, and that it includes
-     // the trailing semicolon for consistency with the empty version below.
-     #define wxELF_VERSION_COMPAT(sym, ver) \
--        wxELF_SYMVER_NON_DEFAULT(sym, sym "@" wxMAKE_ELF_VERSION_TAG("3.2")) \
-+        wxELF_SYMVER_NON_DEFAULT(sym, sym "@" wxMAKE_ELF_VERSION_TAG("3.0")) \
-         wxELF_SYMVER(sym, sym "@@" wxMAKE_ELF_VERSION_TAG(ver))
- #else
-     #define wxELF_VERSION_COMPAT(sym, ver)
---- a/src/common/translation.cpp
-+++ b/src/common/translation.cpp
-@@ -1422,13 +1422,13 @@ bool wxTranslations::AddCatalog(const wxString& domain,
- }
- #endif // !wxUSE_UNICODE
- 
--wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString", "3.2.3")
-+wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString", "3.0.3")
- bool wxTranslations::AddAvailableCatalog(const wxString& domain)
- {
-     return AddAvailableCatalog(domain, wxLANGUAGE_ENGLISH_US);
- }
- 
--wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString10wxLanguage", "3.2.6")
-+wxELF_VERSION_COMPAT("_ZN14wxTranslations19AddAvailableCatalogERK8wxString10wxLanguage", "3.0.6")
- bool wxTranslations::AddAvailableCatalog(const wxString& domain, wxLanguage msgIdLanguage)
- {
-     return DoAddCatalog(domain, msgIdLanguage) == Translations_Found;
-@@ -1567,7 +1567,7 @@ wxString wxTranslations::GetBestTranslation(const wxString& domain,
-     return lang;
- }
- 
--wxELF_VERSION_COMPAT("_ZN14wxTranslations27GetBestAvailableTranslationERK8wxString", "3.2.3")
-+wxELF_VERSION_COMPAT("_ZN14wxTranslations27GetBestAvailableTranslationERK8wxString", "3.0.3")
- wxString wxTranslations::GetBestAvailableTranslation(const wxString& domain)
- {
-     // Determine the best language from the ones with actual translation file:
---- a/src/common/uilocale.cpp
-+++ b/src/common/uilocale.cpp
-@@ -613,7 +613,7 @@ wxString wxUILocale::GetLocalizedName(wxLocaleName name, wxLocaleForm form) cons
- }
- 
- #if wxUSE_DATETIME
--wxELF_VERSION_COMPAT("_ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE", "3.2.3")
-+wxELF_VERSION_COMPAT("_ZNK10wxUILocale12GetMonthNameEN10wxDateTime5MonthENS0_9NameFlagsE", "3.0.3")
- wxString wxUILocale::GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags flags) const
- {
-     if (!m_impl)
-@@ -622,7 +622,7 @@ wxString wxUILocale::GetMonthName(wxDateTime::Month month, wxDateTime::NameFlags
-     return m_impl->GetMonthName(month, flags);
- }
- 
--wxELF_VERSION_COMPAT("_ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE", "3.2.3")
-+wxELF_VERSION_COMPAT("_ZNK10wxUILocale14GetWeekDayNameEN10wxDateTime7WeekDayENS0_9NameFlagsE", "3.0.3")
- wxString wxUILocale::GetWeekDayName(wxDateTime::WeekDay weekday, wxDateTime::NameFlags flags) const
- {
-     if (!m_impl)
-@@ -680,7 +680,7 @@ wxUILocale::~wxUILocale()
- 
- 
- /* static */
--wxELF_VERSION_COMPAT("_ZN10wxUILocale17GetSystemLocaleIdEv", "3.2.2")
-+wxELF_VERSION_COMPAT("_ZN10wxUILocale17GetSystemLocaleIdEv", "3.0.2")
- wxLocaleIdent wxUILocale::GetSystemLocaleId()
- {
-     wxUILocale defaultLocale(wxUILocaleImpl::CreateUserDefault());
---- a/src/gtk/filedlg.cpp
-+++ b/src/gtk/filedlg.cpp
-@@ -502,7 +502,7 @@ void wxFileDialog::GTKSelectionChanged(const wxString& filename)
-     UpdateExtraControlUI();
- }
- 
--wxELF_VERSION_COMPAT("_ZN12wxFileDialog11AddShortcutERK8wxStringi", "3.2.1")
-+wxELF_VERSION_COMPAT("_ZN12wxFileDialog11AddShortcutERK8wxStringi", "3.0.1")
- bool wxFileDialog::AddShortcut(const wxString& directory, int WXUNUSED(flags))
- {
-     wxGtkError error;
---- a/src/unix/glegl.cpp
-+++ b/src/unix/glegl.cpp
-@@ -635,7 +635,7 @@ wxGLCanvasEGL::~wxGLCanvasEGL()
-     gs_alreadySetSwapInterval.erase(this);
- }
- 
--wxELF_VERSION_COMPAT("_ZN13wxGLCanvasEGL23CreateWaylandSubsurfaceEv", "3.2.3")
-+wxELF_VERSION_COMPAT("_ZN13wxGLCanvasEGL23CreateWaylandSubsurfaceEv", "3.0.3")
- void wxGLCanvasEGL::CreateWaylandSubsurface()
- {
- #ifdef GDK_WINDOWING_WAYLAND

diff --git a/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch b/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch
deleted file mode 100644
index 30026eb98cba..000000000000
--- a/x11-libs/wxGTK/files/wxGTK-ignore-c++-abi.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Description: Suppress error about mismatching C++ ABI version
- In practice, the differences between recent ABI versions don't seem to be
- incompatible since they apparently only affect obscure corner cases.  So
- suppress this error so we don't have to rebuild the entire wx world in one
- go.
-Author: Olly Betts <olly@survex.com>
-Forwarded: no
-Last-Update: 2017-07-26
-From: https://salsa.debian.org/freewx-team/wx/blob/wx3.0-debian/debian/patches/warn-for-compiler-abi-mismatch.patch
-
---- a/src/common/appbase.cpp
-+++ b/src/common/appbase.cpp
-@@ -762,6 +762,26 @@
-         msg.Printf(wxT("Mismatch between the program and library build versions detected.\nThe library used %s,\nand %s used %s."),
-                    lib.c_str(), progName.c_str(), prog.c_str());
- 
-+	int l_off = lib.Find("compiler with C++ ABI ");
-+	int p_off = prog.Find("compiler with C++ ABI ");
-+	if (l_off != wxNOT_FOUND && p_off != wxNOT_FOUND) {
-+	    int space;
-+	    space = lib.find(',', l_off + 22);
-+	    lib.erase(l_off, space - l_off);
-+	    space = prog.find(',', p_off + 22);
-+	    prog.erase(p_off, space - p_off);
-+	    if (lib == prog) {
-+		// The only difference is the ABI version, which apparently only
-+		// affect obscure cases.  We used to warn here, so at least
-+		// there was an indication of what's up if there is a problem
-+		// due to ABI incompatibilities, but wxLogWarning() can result
-+		// in a pop up dialog with some applications, which is just too
-+		// intrusive, so just quietly ignore instead.
-+		//wxLogWarning(msg.c_str());
-+		return false;
-+	    }
-+	}
-+
-         wxLogFatalError(msg.c_str());
- 
-         // normally wxLogFatalError doesn't return

diff --git a/x11-libs/wxGTK/wxGTK-3.2.6-r2.ebuild b/x11-libs/wxGTK/wxGTK-3.2.6-r2.ebuild
deleted file mode 100644
index 865c7e0ff1ba..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.6-r2.ebuild
+++ /dev/null
@@ -1,261 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.6-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.6
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit X"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4.1= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
-)
-
-src_prepare() {
-	default
-
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
-	)
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# defang automagic dependencies, bug #927952
-	use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
-	use X || append-cppflags -DGENTOO_GTK_HIDE_X11
-
-	# bug #952961
-	tc-is-lto && filter-flags -fno-semantic-interposition
-
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.2.7-r2.ebuild b/x11-libs/wxGTK/wxGTK-3.2.7-r2.ebuild
deleted file mode 100644
index 9e7175d3a1a2..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.7-r2.ebuild
+++ /dev/null
@@ -1,261 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.6-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.6
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit X"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4.1= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
-)
-
-src_prepare() {
-	default
-
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./demos/poem/Makefile.in
-	)
-
-	# Versionating
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# defang automagic dependencies, bug #927952
-	use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
-	use X || append-cppflags -DGENTOO_GTK_HIDE_X11
-
-	# bug #952961
-	tc-is-lto && filter-flags -fno-semantic-interposition
-
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}

diff --git a/x11-libs/wxGTK/wxGTK-3.2.8-r1.ebuild b/x11-libs/wxGTK/wxGTK-3.2.8-r1.ebuild
deleted file mode 100644
index aace41198824..000000000000
--- a/x11-libs/wxGTK/wxGTK-3.2.8-r1.ebuild
+++ /dev/null
@@ -1,265 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit multilib-minimal flag-o-matic toolchain-funcs
-
-WXSUBVERSION="${PV}-gtk3"				# 3.2.6-gtk3
-WXVERSION="$(ver_cut 1-3)"				# 3.2.6
-# Make sure that this matches the number of components in ${PV}
-WXRELEASE="$(ver_cut 1-2)-gtk3"			# 3.2-gtk3
-WXRELEASE_NODOT=${WXRELEASE//./}		# 32-gtk3
-
-DESCRIPTION="GTK version of wxWidgets, a cross-platform C++ GUI toolkit"
-HOMEPAGE="https://wxwidgets.org/"
-SRC_URI="
-	https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}.tar.bz2
-	doc? ( https://github.com/wxWidgets/wxWidgets/releases/download/v${PV}/wxWidgets-${PV}-docs-html.tar.bz2 )"
-S="${WORKDIR}/wxWidgets-${PV}"
-
-LICENSE="wxWinLL-3 GPL-2 doc? ( wxWinFDL-3 )"
-SLOT="${WXRELEASE}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
-IUSE="+X curl doc debug keyring gstreamer libnotify +lzma opengl pch sdl +spell test tiff wayland webkit X"
-REQUIRED_USE="test? ( tiff ) tiff? ( X ) spell? ( X ) keyring? ( X )"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	>=app-eselect/eselect-wxwidgets-20131230
-	dev-libs/expat[${MULTILIB_USEDEP}]
-	dev-libs/libpcre2[pcre16,pcre32,unicode]
-	sdl? ( media-libs/libsdl2[${MULTILIB_USEDEP}] )
-	curl? ( net-misc/curl )
-	lzma? ( app-arch/xz-utils )
-	X? (
-		>=dev-libs/glib-2.22:2[${MULTILIB_USEDEP}]
-		media-libs/libjpeg-turbo:=[${MULTILIB_USEDEP}]
-		media-libs/libpng:0=[${MULTILIB_USEDEP}]
-		sys-libs/zlib[${MULTILIB_USEDEP}]
-		x11-libs/cairo[${MULTILIB_USEDEP}]
-		>=x11-libs/gtk+-3.24.41-r1:3[wayland?,X?,${MULTILIB_USEDEP}]
-		x11-libs/gdk-pixbuf:2[${MULTILIB_USEDEP}]
-		x11-libs/libSM[${MULTILIB_USEDEP}]
-		x11-libs/libX11[${MULTILIB_USEDEP}]
-		x11-libs/libXtst
-		x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
-		media-libs/fontconfig
-		x11-libs/pango[${MULTILIB_USEDEP}]
-		keyring? ( app-crypt/libsecret )
-		gstreamer? (
-			media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-base:1.0[${MULTILIB_USEDEP}]
-			media-libs/gst-plugins-bad:1.0[${MULTILIB_USEDEP}]
-		)
-		libnotify? ( x11-libs/libnotify[${MULTILIB_USEDEP}] )
-		opengl? (
-			virtual/opengl[${MULTILIB_USEDEP}]
-			wayland? ( dev-libs/wayland )
-		)
-		spell? ( app-text/gspell:= )
-		tiff? ( media-libs/tiff:=[${MULTILIB_USEDEP}] )
-		webkit? ( net-libs/webkit-gtk:4.1= )
-	)"
-DEPEND="${RDEPEND}
-	opengl? ( virtual/glu[${MULTILIB_USEDEP}] )
-	X? ( x11-base/xorg-proto )"
-BDEPEND="
-	test? ( >=dev-util/cppunit-1.8.0 )
-	>=app-eselect/eselect-wxwidgets-20131230
-	virtual/pkgconfig"
-
-# Note about the gst-plugin-base dep: The build system queries for it,
-# but doesn't link it for some reason?  Either way - probably best to
-# depend on it anyway.
-# Note about the wayland dep: Appears to be only required for the OpenGL
-# canvas, and it seems impossible to disable the X dependency, unless
-# I'm missing something.  This is an automagic header dep, though.
-
-PATCHES=(
-	"${FILESDIR}/${PN}-3.2.1-configure-tests.patch"
-	"${FILESDIR}/${PN}-3.2.1-wayland-control.patch"
-	"${FILESDIR}/${PN}-3.2.1-prefer-lib64-in-tests.patch"
-	"${FILESDIR}/${PN}-3.2.5-dont-break-flags.patch"
-	# Please DO NOT rebase this without handling the underlying problem
-	# in bug #955902 properly first.
-	"${FILESDIR}/${PN}-3.2.8-bodge-version-script.patch"
-)
-
-src_prepare() {
-	default
-
-	# Versionating
-	#
-	# find . -iname Makefile.in -not -path ./samples'/*' \
-	#        | xargs grep -l WX_RELEASE
-	local versioned_makefiles=(
-		./Makefile.in
-		./utils/wxrc/Makefile.in
-		./utils/helpview/src/Makefile.in
-		./utils/execmon/Makefile.in
-		./utils/hhp2cached/Makefile.in
-		./utils/emulator/src/Makefile.in
-		./utils/screenshotgen/src/Makefile.in
-		./utils/ifacecheck/src/Makefile.in
-		./demos/poem/Makefile.in
-		./demos/life/Makefile.in
-		./demos/bombs/Makefile.in
-		./demos/fractal/Makefile.in
-		./demos/forty/Makefile.in
-		./tests/benchmarks/Makefile.in
-		./tests/Makefile.in
-	)
-	sed -i \
-		-e "s:\(WX_RELEASE = \).*:\1${WXRELEASE}:"\
-		-e "s:\(WX_RELEASE_NODOT = \).*:\1${WXRELEASE_NODOT}:"\
-		-e "s:\(WX_VERSION = \).*:\1${WXVERSION}:"\
-		-e "s:aclocal):aclocal/wxwin${WXRELEASE_NODOT}.m4):" \
-		"${versioned_makefiles[@]}" || die
-	# XXX: The WX_VERSION_TAG especially here is *radioactive*
-	# and must be removed in a new revision after 3.2.8. See bug #955902.
-	sed -i \
-		-e "s:\(WX_VERSION=\).*:\1${WXVERSION}:" \
-		-e "s:\(WX_RELEASE=\).*:\1${WXRELEASE}:" \
-		-e "s:\(WX_SUBVERSION=\).*:\1${WXSUBVERSION}:" \
-		-e '/WX_VERSION_TAG=/ s:${WX_RELEASE}:3.0:' \
-		configure || die
-}
-
-multilib_src_configure() {
-	# defang automagic dependencies, bug #927952
-	use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
-	use X || append-cppflags -DGENTOO_GTK_HIDE_X11
-
-	# bug #952961
-	tc-is-lto && filter-flags -fno-semantic-interposition
-
-	# Workaround for bug #915154
-	append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
-
-	# X independent options
-	local myeconfargs=(
-		--with-zlib=sys
-		--with-expat=sys
-		--enable-compat30
-		--enable-xrc
-		$(use_with sdl)
-		$(use_with lzma liblzma)
-		# Currently defaults to curl, could change.  Watch the VDB!
-		$(use_enable curl webrequest)
-
-		# PCHes are unstable and are disabled in-tree where possible
-		# See bug #504204
-		# Commits 8c4774042b7fdfb08e525d8af4b7912f26a2fdce, fb809aeadee57ffa24591e60cfb41aecd4823090
-		$(use_enable pch precomp-headers)
-
-		# Don't hard-code libdir's prefix for wx-config
-		--libdir='${prefix}'/$(get_libdir)
-	)
-
-	# By default, we now build with the GLX GLCanvas because some software like
-	# PrusaSlicer does not yet support EGL:
-	#
-	# https://github.com/prusa3d/PrusaSlicer/issues/9774 .
-	#
-	# A solution for this is being developed upstream:
-	#
-	# https://github.com/wxWidgets/wxWidgets/issues/22325 .
-	#
-	# Any software that needs to use OpenGL under Wayland can be patched like
-	# this to run under xwayland:
-	#
-	# https://github.com/visualboyadvance-m/visualboyadvance-m/commit/aca206a721265366728222d025fec30ee500de82 .
-	#
-	# Check that the macro wxUSE_GLCANVAS_EGL is set to 1.
-	#
-	myeconfargs+=( "--disable-glcanvasegl" )
-
-	# debug in >=2.9
-	# there is no longer separate debug libraries (gtk2ud)
-	# wxDEBUG_LEVEL=1 is the default and we will leave it enabled
-	# wxDEBUG_LEVEL=2 enables assertions that have expensive runtime costs.
-	# apps can disable these features by building w/ -NDEBUG or wxDEBUG_LEVEL_0.
-	# http://docs.wxwidgets.org/3.0/overview_debugging.html
-	# https://groups.google.com/group/wx-dev/browse_thread/thread/c3c7e78d63d7777f/05dee25410052d9c
-	use debug && myeconfargs+=( --enable-debug=max )
-
-	# wxGTK options
-	#   --enable-graphics_ctx - needed for webkit, editra
-	#   --without-gnomevfs - bug #203389
-	use X && myeconfargs+=(
-		--enable-graphics_ctx
-		--with-gtkprint
-		--enable-gui
-		--with-gtk=3
-		--with-libpng=sys
-		--with-libjpeg=sys
-
-		# Choosing to enable this unconditionally seems fair, pcre2 is
-		# almost certain to be installed.
-		--with-regex=sys
-		--without-gnomevfs
-		$(use_enable gstreamer mediactrl)
-		$(multilib_native_use_enable webkit webview)
-		$(use_with libnotify)
-		$(use_with opengl)
-		$(use_with tiff libtiff sys)
-		$(use_enable keyring secretstore)
-		$(use_enable spell spellcheck)
-		$(use_enable test tests)
-		$(use_enable wayland)
-	)
-
-	# wxBase options
-	! use X && myeconfargs+=( --disable-gui )
-
-	# wxWidgets installs a configuration file with a reference to EGREP.
-	# Autoconf discovers these programs via full paths, which is
-	# unnecessary and fails if a build happened on a merged-usr system
-	# but is being used on a split-usr system.  Bug #927920.
-	export ac_cv_path_SED="sed"
-	export ac_cv_path_EGREP="grep -E"
-	export ac_cv_path_EGREP_TRADITIONAL="grep -E"
-	export ac_cv_path_FGREP="grep -F"
-	export ac_cv_path_GREP="grep"
-	export ac_cv_path_lt_DD="dd"
-
-	ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
-}
-
-multilib_src_test() {
-	emake -C tests
-	(cd tests && ./test '~[.]~[net]') || die
-}
-
-multilib_src_install_all() {
-	cd docs || die
-	dodoc changes.txt readme.txt
-	newdoc base/readme.txt base_readme.txt
-	newdoc gtk/readme.txt gtk_readme.txt
-
-	use doc && HTML_DOCS=( "${WORKDIR}"/wxWidgets-${PV}-docs-html/. )
-	einstalldocs
-
-	# Unversioned links
-	rm "${ED}"/usr/bin/wx-config || die
-	rm "${ED}"/usr/bin/wxrc || die
-
-	# version bakefile presets
-	pushd "${ED}"/usr/share/bakefile/presets >/dev/null || die
-	local f
-	for f in wx*; do
-		mv "${f}" "${f/wx/wx32gtk3}" || die
-	done
-	popd >/dev/null || die
-}
-
-pkg_postinst() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}
-
-pkg_postrm() {
-	has_version -b app-eselect/eselect-wxwidgets \
-		&& eselect wxwidgets update
-}


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-08-22  8:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24  5:59 [gentoo-commits] repo/gentoo:master commit in: x11-libs/wxGTK/, x11-libs/wxGTK/files/ Jeroen Roovers
  -- strict thread matches above, loose matches on Subject: below --
2016-09-16 22:26 David Seifert
2016-10-02 11:24 David Seifert
2017-03-02 17:03 Mart Raudsepp
2018-01-04 17:18 Mart Raudsepp
2018-03-25 11:00 Mart Raudsepp
2019-07-14 11:11 Mart Raudsepp
2020-02-09 12:24 Mart Raudsepp
2022-10-08 17:09 Sam James
2023-04-02 19:57 Arsen Arsenović
2024-07-31  9:29 Pacho Ramos
2025-05-14  0:46 Sam James
2025-05-15 11:51 David Seifert
2025-05-15 11:51 David Seifert
2025-08-22  8:38 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox