After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 761460 - player: Makefile does not use configured PKG_CONFIG_PATH when performing introspection scan
player: Makefile does not use configured PKG_CONFIG_PATH when performing intr...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.7.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-02-02 15:00 UTC by David Waring
Modified: 2016-02-02 17:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to use the pkg-config path given by the --with-pkg-config-path= configure script option (2.18 KB, patch)
2016-02-02 15:00 UTC, David Waring
committed Details | Review

Description David Waring 2016-02-02 15:00:26 UTC
Created attachment 320268 [details] [review]
Patch to use the pkg-config path given by the --with-pkg-config-path= configure script option

When I build gstreamer and plugins, I install the binaries into a separate directory tree. This means that when compiling plugins I need to use the configure "--with-pkg-config-path=" option to point to where the pkg-config files can be found in the separate tree. When I try to compile, the build fails when the introspection scanner is invoked because it cannot find the pkg-config files.

The following patch sets the PKG_CONFIG_PATH environment variable, to the value given by the configure "--with-pkg-config-path=" option, when invoking the introspection scanner. This allows the build to succeed.
Comment 1 Tim-Philipp Müller 2016-02-02 17:55:55 UTC
Nice catch, thanks for the patch!

commit 1328a44a0190c9863c36c0b83052d8fc76886ebf
Author: David Waring <david.waring@rd.bbc.co.uk>
Date:   Tue Feb 2 14:46:30 2016 +0000

    libs: player: use configured GST_PKG_CONFIG_PATH when invoking the introspection scanner
    
    https://bugzilla.gnome.org/show_bug.cgi?id=761460