GNOME Bugzilla – Bug 765184
Don't require unnecessary dependencies on Linux if x11 variant is disabled
Last modified: 2016-06-26 20:39:23 UTC
I am using Cerbero to build packages for Ubuntu 14.04. I've found out that they have the following dependencies: Depends: libc6 (>= 2.17), libegl1-mesa (>= 7.8.1) | libegl1-x11, libgcc1 (>= 1:3.0), libgl1-mesa-glx | libgl1, libstdc++6 (>= 4.9), libwayland-client0 (>= 1.3.92), libwayland-egl1-mesa (>= 10.0.2) | libwayland-egl1, libx11-6 That is way too much, especially that I've built with X11 variant disabled. I can fix that but before I start I would like to ask whether there's any rationale for such behaviour I do not notice?
The problem is probably that gst-plugins-bad is picking up all kinds of X11 stuff for the GL plugin, and the recipe is not disabling all these things based on the X11 variant flag.
In general, not many people are using cerbero on Linux so you will probably find more things like this. They just have to be fixed by someone actually using it on Linux when noticed.
Do you intend to work on this Marcin?
Yes, I do. I will take a look at this while doing next chunk of releases in May.
I no longer encounter this while building for ubuntu 16.04