GNOME Bugzilla – Bug 94654
.pc files for pkg-config
Last modified: 2004-12-22 21:47:04 UTC
Package: GStreamer Severity: enhancement Version: GNOME2.0.1 0.4.1 Synopsis: .pc files for pkg-config Bugzilla-Product: GStreamer Bugzilla-Component: gst-plugins Description: gst-player call gst-gconf.to get audio/videosink from GConf repository. but the GConf is not core, but plugin. so there's no guarantee gst-gconf is installed on system or not. so I suggest to make pc file, to make ./configure check with pkg-config. (or move gst-gconf to core?) ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-10-02 00:14 ------- Unknown version unspecified in product GStreamer. Setting version to "0.3.3". Reassigning to the default owner of the component, gstreamer-maint@bugzilla.gnome.org.
Well gst-player demands that other plugins from gst-plugins are installed too, like colorspace. So it is not as if one could theoretically run gst-player without having gst-plugins installed.
Keizi, can you explain your problem a bit more ? It looks to me like you're trying to link to libgstgconf, is that correct ? If so, you should use the .pc file and add -gstgconf to your lib line. It wouldn't be a good idea to add this to the pc file itself since that would mean all apps would be forced to link with it, and it's an optional library.
.pc file is convenienct way to gather LIBS and CFLAGS to have libgstgconf as part of libraries. ATM I use AC_CHECK_LIB() macro and it's obsoleted by PKG_CHECK_MODULES() for other packages that provide .pc files. I mean, gstreamer-gconf package itself should provide a .pc file in.
Ok, this bug is a policy/practically issue more than a critical bug. I guess Thomas just have to decide if he agrees with the reasoning or close this as a wontfix.
It would be great if those extra libs could install their own .pc files or something, right now there's no sane way to check whether those libs/headers are there. Results in the build failing for people although all deps seemingly were met..
with the http://sourceforge.net/mailarchive/forum.php?thread_id=1577342&forum_id=5947 I suppose this bug is assigned.
The .pc files exist now. Closing.