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 668311 - does pkg-config check for gst-plugins-good-0.10.pc which is not installed
does pkg-config check for gst-plugins-good-0.10.pc which is not installed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Solaris
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-20 01:07 UTC by Tim Mooney
Modified: 2012-01-20 15:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim Mooney 2012-01-20 01:07:02 UTC
During the course of building gst-plugins-bad, I noticed the configure output:

configure: using GStreamer Base Plugins in /local/gnu/lib/64/gstreamer-0.10
checking for GST_PLUGINS_GOOD... no
configure: No package 'gstreamer-plugins-good-0.10' found
configure: no gstreamer-plugins-good-0.10 >= 0.10.25 (GStreamer Good Plugins) fo
und


This, despite the fact that I have gst-plugins-good 0.10.30 installed.

Although gst-plugins-good-0.10.30 has a pkgconfig directory and

    gstreamer-plugins-good-0.10-uninstalled.pc

is generated as part of the "make" process, no installable version of that file is ever generated or installed.

I'm not certain if this is even an error, but the fact that later packages like gst-plugins-bad are looking for a .pc file that gst-plugins-good is not installing seems incorrect.
Comment 1 Tim-Philipp Müller 2012-01-20 10:45:43 UTC
This is intentional, it's only for uninstalled builds, so the unit tests find the required plugins from -good. In a normal installed environment the plugins will be found via gstreamer-0.10.pc (the default plugin directory).
Comment 2 Tim-Philipp Müller 2012-01-20 15:36:46 UTC
commit ee0fc47447b8f4c4914925a930233608d1c917c8
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Fri Jan 20 15:23:54 2012 +0000

    configure: only check for gst-plugins-{good,ugly,ffmpeg} in uninstalled setups
    
    We don't install .pc files for plugin modules, because we only need
    them in uninstalled setups, so we can find the plugins for unit tests
    (even when run a couple of directories deeper or out-of-tree during
    make distcheck).
    
    Try to avoid confusion, so only check for those if this is in fact
    an uninstalled setup. For installed setups there's no problem finding
    the plugins, we assume they are all in the plugindir specified by
    GStreamer core's .pc file.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=668311