-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wxGTK: use GTK 3 by default #73145
wxGTK: use GTK 3 by default #73145
Conversation
c3aad0a
to
b5717a6
Compare
366d73a
to
44bbeef
Compare
i've addressed some of the failures here i also defaulted wxGTK31 to gtk3, nothing was negatively affected. i'm still seeing these failures
and these which are also broken without this PR
|
Re: dolphinEmu, the UI was migrated from WX to Qt a few years ago. Unfortunately I don't think any stable release has been tagged since that migration to Qt. I would either keep wxGTK2 or drop dolphinEmu stable from nixpkgs in favor of dolphinEmuMaster. |
I don't know how aggressive we should be in switching to GTK3. Should I apply the patches Debian and Fedora have written to add GTK3 support to the packages that don't officially support it? |
@lopsided98 Absolutely, as a gtk maintainer in nixpkgs I'm always glad to come upon these patches where needed 👍 Though if the package appears completely unused and unmaintained, feel free to remove it in a separate PR. |
i've resolved the remaining build failures, still here. i removed i also added remaining failures (also fail on master) and 110 packages were buildaegisub audacity boinc bossa cl couchdb couchdb2 cubicsdr curaByDagoma cura_stable cuter diff-pdf digikam displaycal dvdstyler ejabberd elixir elixir_1_5 elixir_1_6 elixir_1_7 elixir_1_8 erlang erlangR18 erlangR19 erlangR20 erlangR21 erlang_javac erlang_odbc erlang_odbc_javac far2l filezilla fityk flamerobin gnss-sdr gnuradio gr-ais gr-gsm gr-limesdr gr-nacl gr-osmosdr gr-rds gnuradio-with-packages golly golly-beta gqrx grass hex2nix hugin inspectrum kicad kicad-with-packages3d lenmus limesuite loxodo lutris lutris-free mercury metamorphose2 mmex notmuch-bower odamex opencpn perl528Packages.AlienWxWidgets perl528Packages.Wx perl528Packages.WxGLCanvas perl530Packages.AlienWxWidgets perl530Packages.Wx perl530Packages.WxGLCanvas playonlinux plover.stable poedit printrun prusa-slicer pwsafe python27Packages.pyspread python27Packages.robotframework-ride python27Packages.runsnakerun python27Packages.wxPython qradiolink rabbitmq-server radiotray-ng rebar rebar3 relxExe rtl_433 saga scyther sdrangel slade slic3r soapysdr-with-plugins torchat treesheets truecrypt tsung urh welle-io wings winpdb winusb wxGTK30 wxGTK31 wxSVG wxhexeditor wxmaxima wxsqlite3 wxsqliteplus xylib yaws zeroad |
@lopsided98 you can drop audacity commit since it was done in #73055 |
d074ede
to
390dc49
Compare
No, that's simply how packaging gtk3 apps works in nixpkgs. It all revolves around that setup hook. |
#86217 moves filezilla to use gtk3 (and thus wxgtk with gtk3 by extension). |
wxwidgets 3.0.5 is out as of y'day which also updates gstreamer from 0.10 to 1.0 which would be great move. |
@lopsided98 I know that this PR is probably very tiring as a lot is going on the master branch. If you want to break this apart into smaller PRs, it will also make them easier to merge as there's less surface area to test |
Yeah, I think that is the only feasible way to move forward with this. We can just make individual packages use GTK3, and then someday go back and change the default. I don't have a lot of time to work on this right now, but if others want to take commits from this PR and make separate PRs, feel free to go ahead. |
How about adding -gtk2 and -gtk3 variants to all-packages.nix and have the main wxgtk just be an alias to -gtk2 for now. This makes the transition very clear.
|
I marked this as stale due to inactivity. → More info |
Motivation for this change
wxGTK should switch to using GTK 3 where possible. Currently this PR implements the basic change for
wxGTK30
and wxPython 3.0. There are a lot of packages that may be affected by this change, as shown in the followingnix-review
report:24 packages failed to build:
electricsheep(previously broken)89 packages were built:
Some of these failures may be prexisting, but many are caused by the switch to GTK 3.
I would like to drop support for GTK 2 altogether in wxGTK, but I'm not sure if this will be possible. I also need to test wxGTK 3.1 with GTK 3.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)