Skip to content
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

erlangR22 and R23: upgrade wxGTK to 3.1 #93522

Closed

Conversation

c0deaddict
Copy link
Member

Motivation for this change

Erlang fails to build since gst-plugins-base 0.10.36 is marked as broken. Erlang depends on wxGTK 3.0, which depends on the broken gst-plugins-base. Upgrading to wxGTK 3.1 solves this issue. wxWidgets 3.1 seems supported as it is mentioned a couple of times in the release notes of the wxErlang module.

Verified that it works by building erlangR22 and running erl -eval 'observer:start().' which to my knowledge is an application that uses wxWidgets.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@c0deaddict
Copy link
Member Author

Scratch that, it doesn't work.. forgot to put ./ in front of the erl 🤦‍♂️

=ERROR REPORT==== 20-Jul-2020::13:29:06.443614 ===
ERROR: Could not find 'wxe_driver.so' in: /nix/store/4wf3hrbv6h9nhaipfm50fh3f6hw444mc-erlang-23.0.2/lib/erlang/lib/wx-1.9.1/priv

Apparently it's not building the driver anymore. I'll see if I can find out why.

@c0deaddict
Copy link
Member Author

wx             : wxWidgets was not compiled with --enable-compat28, wx will NOT be useable
Can not link the wx driver, wx will NOT be useable

Also noticed that wxGTK30 is build with gstreamer 1.x now, so this whole PR is not needed.

@c0deaddict c0deaddict closed this Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant