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

gtk3: fix build on 32-bit ARM #74879

wants to merge 1 commit into
base: master


Copy link

lopsided98 commented Dec 3, 2019

Motivation for this change

Mesa recently stopped installing EGL/eglplatform.h because it is provided by libglvnd. epoxy's headers includes eglplatform.h, and epoxy is in turn required by gtk3. This caused the build of gtk3 to fail on armv7l. The reason it didn't fail on other platforms is that libGL (which propagates libglvnd) is normally propagated by cairo. Back in 2013, GL support was disabled in cairo on 32-bit ARM because apparently mesa didn't build. This is no longer the case, so this PR re-enables GL support in cairo on ARM and MIPS. I don't have a way to test MIPS, and I'm not even sure anyone tests it anymore.

This PR does not fix the root cause of the problem, which is that should propagate (or maybe, but I'll leave that to others if they want to tackle it.

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 nix-review --run "nix-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
Notify maintainers

gtk3: @7c6f434c @vcunat @lethalman @worldofpeace
epoxy: @cillianderoiste
cairo: nobody...

Mesa works fine on ARM now and this can result in obscure ARM specific bugs.

This comment has been minimized.

Copy link

worldofpeace commented Dec 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.