Fix pkg-config module name suffixes (-0.7). Closes #116089
authorDavid Schleef <ds@schleef.org>
Mon, 30 Jun 2003 07:13:24 +0000 (07:13 +0000)
committerDavid Schleef <ds@schleef.org>
Mon, 30 Jun 2003 07:13:24 +0000 (07:13 +0000)
Original commit message from CVS:
Fix pkg-config module name suffixes (-0.7).  Closes #116089

docs/faq/developing.xml
docs/manual/basics-helloworld.xml
docs/manual/helloworld.xml
docs/manual/helloworld2.xml

index c64d730..a200dcf 100644 (file)
@@ -20,12 +20,12 @@ If you're not familiar with pkg-config to compile and link a small
 one-file program, pass the --cflags and --libs arguments to pkg-config.
 For example:
 <programlisting>
-$ gcc `pkg-config --cflags --libs gstreamer` -o myprog myprog.c
+$ gcc `pkg-config --cflags --libs gstreamer-0.7` -o myprog myprog.c
 </programlisting>
 would be sufficient for a gstreamer-only program. 
 If (for example) your app also used GTK+ 2.0, you could use
 <programlisting>
-$ gcc `pkg-config --cflags --libs gstreamer gtk+-2.0` -o myprog myprog.c
+$ gcc `pkg-config --cflags --libs gstreamer-0.7 gtk+-2.0` -o myprog myprog.c
 </programlisting>
 Those are back-ticks (on the same key with the tilde on US keyboards), 
 not single quotes.
@@ -107,13 +107,13 @@ to use the gstgconf library.  It provides functions to parse the GConf key
 to a usable pipeline.
         </para>
         <para>
-To link against gstgconf, use pkg-config to query the gstreamer-libs.pc file
+To link against gstgconf, use pkg-config to query the gstreamer-libs-0.7.pc file
 for link flags, and add -lgstgconf to the link flags.
 This fragment of configure.ac shows how to use pkg-config to get the LIBS:
         </para>
 <programlisting>
 dnl check for GStreamer helper libs
-PKG_CHECK_MODULES(GST_HELPLIBS, gstreamer-libs >= $GSTREAMER_REQ,,exit)
+PKG_CHECK_MODULES(GST_HELPLIBS, gstreamer-libs-0.7 >= $GSTREAMER_REQ,,exit)
 AC_SUBST(GST_HELPLIBS_LIBS)
 AC_SUBST(GST_HELPLIBS_CFLAGS)
 </programlisting>
index 38c1fc3..002894d 100644 (file)
@@ -238,7 +238,7 @@ main (int argc, char *argv[])
       To compile the helloworld example, use: 
     </para>
     <programlisting>
-       gcc -Wall `pkg-config gstreamer --cflags --libs` helloworld.c \
+       gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld.c \
              -o helloworld 
     </programlisting>
     <para>
index 38c1fc3..002894d 100644 (file)
@@ -238,7 +238,7 @@ main (int argc, char *argv[])
       To compile the helloworld example, use: 
     </para>
     <programlisting>
-       gcc -Wall `pkg-config gstreamer --cflags --libs` helloworld.c \
+       gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld.c \
              -o helloworld 
     </programlisting>
     <para>
index 3ba2e49..bb8db97 100644 (file)
@@ -247,7 +247,7 @@ main (int argc, char *argv[])
       To compile the helloworld2 example, use: 
     </para>
     <programlisting>
-       gcc -Wall `pkg-config gstreamer --cflags --libs` helloworld2.c \
+       gcc -Wall `pkg-config gstreamer-0.7 --cflags --libs` helloworld2.c \
              -o helloworld2 
     </programlisting>
     <para>