The attached patch applied over current ebuild adds some useflags to wxGTK, being able to remove for example the gui/gtk support, to add the motif, wine support and to select which image support you want. It also simplify a bit the way ./configure is called. This change is needed to be able to get aMuled working without X dependencies. See next bug i'll submit will make use of this, making aMule rely on wxgtk 2.5. Please also note that to make this work, also wxwidgets.eclass must be changed with the other patch attached. Unfortunately I haven't a linux system to test the motif, wine, and so on options if they build other libraries, in which case a major rework of the ebuild is needed. I'll test that as soon as my new computer is here. HTH, Diego
Created attachment 53169 [details, diff] Patch for wxGTK-2.5.3.ebuild
Created attachment 53170 [details, diff] Patch for wxwidget eclass
Thanks for the ebuild, Diego. I think the dependency for sdl should actually be sdl? ( media-libs/sdl-sound ) because it only utilizes sound, as far as I know. There was a security advisory for using wxGTK's internal png or jpg, if I remember correctly, so I'll have to check if that was fixed in >=2.5* I've seen the wine option, but haven't figured out how to test it, or seen any apps that used it so haven't enabled it yet. The documentation is very sparse on some of these configure options, so if you know what it does, let me know please. I haven't compiled with dmalloc, but it should probably be enabled only in conjunction with USE='debug' I'd think. I'm not so sure about motif, we haven't had any requests for it and I would be suprised if any apps in portage would compile against it. If you do test it with a few apps and it works, we can consider it. 2.6 is due to be released this month possibly so I'll test all your changes as soon as I can.
This needs more work to have a wx-stuff better handled on gentoo. I've sent Rob some test ebuilds for a new organization of this stuff, and I hope he'll take a look at them (also if they are incomplete for now), and needs more work on wxwidget eclass to share selection of versions.
Just doing some house-cleaning here. Going to close this Diego, but I'm using a bunch of your changes in 2.6.0 which is going in portage ASAP (bug#89937), thanks.