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 323782 - gstreaner-0.10.pc pkg-config file still report version 0.9.7
gstreaner-0.10.pc pkg-config file still report version 0.9.7
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: packages
0.9.7
Other Linux
: Normal normal
: NONE
Assigned To: Thomas Vander Stichele
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-11 11:58 UTC by Akos Maroy
Modified: 2006-01-13 13:37 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Akos Maroy 2005-12-11 11:58:49 UTC
after installing gstreamer 0.10.0, the pkg-config file installed still reports
verion 0.10:

Name: GStreamer
Description: Streaming media framework
Requires: glib-2.0, gobject-2.0, gmodule-2.0, gthread-2.0, libxml-2.0
Version: 0.9.7
Libs: -L${libdir} -lgstreamer-0.10
Cflags: -I${includedir}


this is quite annoying, as it's hard to make pkg-config find the package:

darkeye@tomodachi myplugin $ pkg-config --cflags gstreamer-0.10 >= 0.10
Package 0.10 was not found in the pkg-config search path.
Perhaps you should add the directory containing `0.10.pc'
to the PKG_CONFIG_PATH environment variable
No package '0.10' found
darkeye@tomodachi myplugin $ pkg-config --cflags gstreamer-0.10 >= 0.9
Package 0.9 was not found in the pkg-config search path.
Perhaps you should add the directory containing `0.9.pc'
to the PKG_CONFIG_PATH environment variable
No package '0.9' found
darkeye@tomodachi myplugin $ pkg-config --cflags gstreamer-0.9
Package gstreamer-0.9 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gstreamer-0.9.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gstreamer-0.9' found
darkeye@tomodachi myplugin $ pkg-config --cflags gstreamer-0.10
-pthread
-I/home/darkeye/src/livesupport/gstreamer-liboil/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
Comment 1 Akos Maroy 2005-12-11 12:11:14 UTC
here's a CVS diff, that makes the gst-plugin sample in gst-templates use 0.10:

cvs diff: Diffing .
Index: configure.ac
===================================================================
RCS file: /cvs/gstreamer/gst-template/gst-plugin/configure.ac,v
retrieving revision 1.10
diff -r1.10 configure.ac
34c34
< GST_REQUIRED=0.9
---
> GST_REQUIRED=0.10
36c36
< GST_MAJORMINOR=0.9
---
> GST_MAJORMINOR=0.10
cvs diff: Diffing comedi
cvs diff: Diffing m4
cvs diff: Diffing plplot
cvs diff: Diffing src
cvs diff: Diffing tools
Comment 2 Akos Maroy 2005-12-11 12:17:25 UTC
also, in the gst-plugin sample in gst-templates in the CVS doesn't honor the
detected CFLAGS and LIBS, here's a diff that fixes the issue:

cvs diff: Diffing src
Index: src/Makefile.am
===================================================================
RCS file: /cvs/gstreamer/gst-template/gst-plugin/src/Makefile.am,v
retrieving revision 1.5
diff -r1.5 Makefile.am
13,14c13,14
< libgstplugin_la_CFLAGS = $(GST_LIBS_CFLAGS)
< libgstplugin_la_LIBADD = $(GST_LIBS_LIBS)
---
> libgstplugin_la_CFLAGS = $(GST_CFLAGS)
> libgstplugin_la_LIBADD = $(GST_LIBS)
Comment 3 Thomas Vander Stichele 2006-01-13 13:37:02 UTC
The first issue was probably not really a bug - your pkg-config lines didn't seem correct to me, and beside that, that .pc file seems to be from the 0.9.7 release which was an explicit prerelease with the major/minor set to 0.10

The other issues are fixed inCVS, thanks.