r5061 - in trunk/BOOK: introduction/welcome multimedia/cdwriteutils multimedia/libdriv

tushar at linuxfromscratch.org tushar at linuxfromscratch.org
Mon Sep 12 19:53:13 PDT 2005


Author: tushar
Date: 2005-09-12 20:53:12 -0600 (Mon, 12 Sep 2005)
New Revision: 5061

Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/cdwriteutils/cdrdao.xml
   trunk/BOOK/multimedia/libdriv/libmad.xml
Log:
Moved mad.pc to libmad section

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-09-12 23:33:56 UTC (rev 5060)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-09-13 02:53:12 UTC (rev 5061)
@@ -45,6 +45,9 @@
       <para>September 12th, 2005</para>
       <itemizedlist>
         <listitem>
+          <para>[tushar] - Moved creation of mad.pc to libmad section.</para>
+        </listitem>
+        <listitem>
           <para>[randy] - Updated to VTE-0.11.15.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/multimedia/cdwriteutils/cdrdao.xml
===================================================================
--- trunk/BOOK/multimedia/cdwriteutils/cdrdao.xml	2005-09-12 23:33:56 UTC (rev 5060)
+++ trunk/BOOK/multimedia/cdwriteutils/cdrdao.xml	2005-09-13 02:53:12 UTC (rev 5061)
@@ -105,28 +105,6 @@
     <para>Install <application>Cdrdao</application> by running the following
     commands:</para>
 
-    <para>For MP3 support in the <command>gcdmaster</command> program,
-    you will need a temporary <filename>mad.pc</filename>. If desired, it can
-    be deleted after the build.</para>
-    
-    <para>As the <systemitem class="username">root</systemitem> user:</para>
-
-<screen role="root"><userinput>cat > /usr/lib/pkgconfig/mad.pc << "EOF"
-<literal>prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: mad
-Description: MPEG audio decoder
-Requires:
-Version: 0.15.1
-Libs: -L${libdir} -lmad
-Cflags: -I${includedir}</literal>
-EOF</userinput></screen>
-
-    <para>And, as an unprivileged user:</para>
-
 <screen><userinput>./configure --prefix=/usr &&
 make</userinput></screen>
 

Modified: trunk/BOOK/multimedia/libdriv/libmad.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/libmad.xml	2005-09-12 23:33:56 UTC (rev 5060)
+++ trunk/BOOK/multimedia/libdriv/libmad.xml	2005-09-13 02:53:12 UTC (rev 5061)
@@ -69,8 +69,28 @@
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>make install</userinput></screen>
+	<screen role="root"><userinput>make install</userinput></screen>
 
+    <para>Some packages check for the <application>pkg-config</application> file
+    for libmad. This file is particularly needed for <application>cdrdao</application>
+	to recognize the installed <application>libmad</application>.</para>
+    
+    <para>As the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>cat > /usr/lib/pkgconfig/mad.pc << "EOF"
+<literal>prefix=/usr
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: mad
+Description: MPEG audio decoder
+Requires:
+Version: &libmad-version;
+Libs: -L${libdir} -lmad
+Cflags: -I${includedir}</literal>
+EOF</userinput></screen>
+
   </sect2>
 
   <sect2 role="content">




More information about the blfs-book mailing list