[Bug 758011] New: [gl] configure.ac should use pkg-config for GL
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Thu Nov 12 07:48:32 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758011
Bug ID: 758011
Summary: [gl] configure.ac should use pkg-config for GL
Classification: Platform
Product: GStreamer
Version: 1.6.1
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: daniel at fooishbar.org
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Mesa provides pkg-config files for egl, glesv2, gl, as well as wayland-egl. It
would be nice if automake/autoconf could preferentially use this, only falling
back to platform-specific checks where these pkg-config files are not provided.
This is already used in Weston, other parts of GNOME, etc. It would be much
nicer to use these instead of having to manually set CFLAGS/LDFLAGS just for
these libraries.
I found this because I have $PKG_CONFIG_PATH and $LD_LIBRARY_PATH set to
include my own custom Mesa build, where they have conflicting settings such
that linking fails if -lGL points to the system libGL. So far this is the only
component I've found not making use of Mesa's pkg-config files. (Currently only
Mesa ships these, however I know of at least one proprietary stack which is
beginning to provide them.)
Funnily enough, this caused all of OpenGL/GLES to not be found, but EGL to be
marked as found: in that case, it goes on to compile gst-gl anyway, and blows
up pretty spectacularly as GLint/etc are never defined.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list