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

gst_all_1.gst-plugins-base: Fix building Wayland support (nullglob fail) #75046

Merged
merged 1 commit into from Dec 6, 2019

Conversation

jtojnar
Copy link
Contributor

@jtojnar jtojnar commented Dec 5, 2019

Apparently, generic builder sets nullglob, disappearing any flags containing square brackets not resolving to file names (e.g. mesonFlags = [ "-Dgl_winsys=[x11,wayland]" ];). This caused the gl_winsys flag default to auto and, since we were missing wayland-protocols, Wayland support was not built.

Fortunately, Meson also supports simple array notation without square brackets, so we can use that. No need to wait for _structuredAttrs.

We also no longer set gl_platform flag, since passing the default auto value is redundant.

cc @Ma27, @Ericson2314, @globin (d29bcfa#r345472380)

Apparently, generic builder sets `nullglob`, disappearing any flags containing square brackets
not resolving to file names (e.g. `mesonFlags = [ "-Dgl_winsys=[x11,wayland]" ];`). This caused
the `gl_winsys` flag default to `auto` and, since we were missing `wayland-protocols`, Wayland
support was not built.

Fortunately, Meson also supports simple array notation without square brackets, so we can use
that. No need to wait for `_structuredAttrs`.

We also no longer set `gl_platform` flag, since passing the default auto value is redundant.
Copy link
Member

@Ma27 Ma27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Would be cool if you could do styling fixes in a separate commit though :)

@Ma27 Ma27 merged commit 6fda860 into NixOS:staging Dec 6, 2019
@jtojnar jtojnar deleted the gst/wayland branch December 9, 2019 12:30
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

2 participants