I have seen Debian is pushing this migration a lot, providing patches (and wide testing) for the reverse deps. Maybe we could try to follow them:
This is a good idea, thanks for doing it. Let me know if you come across any packages that require the GTK3 version of wxGTK. We don't provide it yet but I started working on it last weekend.
For now all packages I have tested look to work ok with gtk2. The main blocker I have seen is the one involving debugging (bug #563348) as it blocks me from updating a lot of packages because they start to show that error windows (even if after clicking on "Continue" button they work anyway)
Then, if you could help me with the .eclass part for solving this, it would be highly welcome :)
Per your suggestion I guess we would need something like:
in_iuse debug && use debug || append-cppflags -DNDEBUG
Created attachment 415112 [details, diff]
One complication - we can't run that in global scope so ebuilds will have to use need-wxwidgets for this to work. It looks like I'm going to need to get rid of the global scope code anyways for gtk-3 so this is a step in the right direction.
Just adding "need-wxwidgets unicode" to src_prepare of the package should be enough. Let's just do the ones you actually see assertion pop-ups on and those listed on the Debian page for now.
I'm going to test this patch a bit before committing.
OK, full tree checked, I have committed the stuff I have been able to test and open bug reports with the stuff that will need more help for getting them fixed (or treecleaned... as some are related with really old stuff that were killed in other distributions)
The bug has been closed via the following commit(s):
Author: Mart Raudsepp <email@example.com>
AuthorDate: 2018-07-16 00:09:31 +0000
Commit: Mart Raudsepp <firstname.lastname@example.org>
CommitDate: 2018-07-16 00:10:24 +0000
profiles: Last rite wxGTK:2.8 and wxpython:2.8
profiles/package.mask | 7 +++++++
1 file changed, 7 insertions(+)