Page MenuHomeSolus

wxWidgets GTK+3 build ?
Open, In Progress, NormalPublic

Description

At the moment all the applications using wxWidegts have to be build against GTK 2 because wxWidegts is build --with-gtk=2.
At a time there were issues to build it with gtk-3 6552ef19336e but quite a while ago it was working fine again D603

Wouldn't it be a good idea to add this point in the to-do list (checking if all applications using wxwidgets are gtk-3 compliant and if so rebuild them all against this toolkit) ?

Event Timeline

sunnyflunk added a subscriber: sunnyflunk.

More than sensible - most software will be tested against the gtk3 build these days.

But in order for this to be merged, you'll have to ensure all the revdeps rebuild against this locally (for both wxwidgets and wxwidgets-32bit). So pcsx2 also which currently doesn't build I believe (though needs rebuilding by the end of the week). I'm happy to share my tooling with you if you want an easier way to rebuild the stack (I used it for perl update).

I'd like to get a chance to try your tooling. Anything that makes live easier to good ! :)

needs rebuilding by the end of the week

Huh? I did not mean this has to be done this week. Actually I raised the task to ask if it would make sense to evaluate this possibility or if there are good reasons for sticking to gtk2 for these apps (like some that are known for not working with gtk3 or so).

Maybe you can build both like arch's packages https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wxgtk?

I tried my arch installation and with the wxgtk-common package (in our case would be something like wxwidgets-common) both wxgtk2 and wxgtk3 are capable to be installed in parallel (in our case they could be named to something like wxwidgets-gtk2 and wxwidgets-gtk3).

I can verify that last time I built wxwidgets and then wxpython with gtk3 in Solus it fixed some appearance problems in Playonlinux, but it takes too long to build it in my system so I gave up the effort to test it properly.

I really don't want multiple providers. Either they're all one, or all the others, no sense in supporting both.

kyrios123 added a comment.EditedFeb 14 2018, 5:26 PM

More than sensible - most software will be tested against the gtk3 build these days.
But in order for this to be merged, you'll have to ensure all the revdeps rebuild against this locally (for both wxwidgets and wxwidgets-32bit). So pcsx2 also which currently doesn't build I believe (though needs rebuilding by the end of the week). I'm happy to share my tooling with you if you want an easier way to rebuild the stack (I used it for perl update).

Okay, I managed to rebuild everything successfully. An eVicam dev kindly made a patch to support gtk-3 on my request. The only touchy thing is pcsx2: I have a gtk-3 build, but gtk-3 support is considered as experimental in the current stable version.

EDIT: I got answer for pcsx2 : the gtk3 version experimental not because it's buggy but because nobody checked it. (Wx wasn't gtk3 bug free - but nowadays it should be fine).

JoshStrobl changed the task status from Open to In Progress.Mar 3 2018, 3:08 PM
JoshStrobl triaged this task as Normal priority.
JoshStrobl moved this task from Backlog to Improvement on the Software board.
Jacek added a subscriber: Jacek.Nov 17 2021, 9:39 AM