r4988 - in trunk: BOOK BOOK/introduction/welcome BOOK/multimedia/libdriv patches

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sun Aug 28 10:59:05 PDT 2005


Author: randy
Date: 2005-08-28 11:59:03 -0600 (Sun, 28 Aug 2005)
New Revision: 4988

Added:
   trunk/patches/flac-1.1.2-xmms_plugin_fix-1.patch
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/multimedia/libdriv/flac.xml
Log:
Added a patch to fix the XMMS plugin and added a sed command to fix the Valgrind testing in the FLAC instructions

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-08-28 00:54:44 UTC (rev 4987)
+++ trunk/BOOK/general.ent	2005-08-28 17:59:03 UTC (rev 4988)
@@ -1,4 +1,4 @@
-<!ENTITY day          "27">
+<!ENTITY day          "28">
 <!ENTITY month        "08">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-08-28 00:54:44 UTC (rev 4987)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-08-28 17:59:03 UTC (rev 4988)
@@ -42,6 +42,17 @@
 -->
 
     <listitem>
+      <para>August 28th, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Added a patch to fix the XMMS plugin and added a
+          sed command to fix the Valgrind testing in the FLAC
+          instructions.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>August 27th, 2005</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/multimedia/libdriv/flac.xml
===================================================================
--- trunk/BOOK/multimedia/libdriv/flac.xml	2005-08-28 00:54:44 UTC (rev 4987)
+++ trunk/BOOK/multimedia/libdriv/flac.xml	2005-08-28 17:59:03 UTC (rev 4988)
@@ -55,6 +55,14 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Required patch: <ulink
+        url="&patch-root;/flac-&flac-version;-xmms_plugin_fix-1.patch"/></para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">FLAC Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
@@ -73,22 +81,30 @@
     <para>Install <application>FLAC</application> by running the
     following commands:</para>
 
-<screen><userinput>LIBS=-lm ./configure --prefix=/usr &&
+<screen><userinput>patch -Np1 -i ../flac-&flac-version;-xmms_plugin_fix-1.patch &&
+LIBS=-lm ./configure --prefix=/usr &&
 make</userinput></screen>
 
+    <para>If you have <application>Valgrind</application> version 3.0.0 or
+    higher installed and you plan on running the test suites after passing the
+    <option>--enable-valgrind-testing</option> parameter to
+    <command>configure</command>, you need to issue the following command to
+    change some test scripts:</para>
+
+<screen><userinput>sed -i -e "s/logfile-fd/log-fd/" `grep -lr logfile-fd test/*sh`</userinput></screen>
+
+    <para>To test the results, issue: <command>make check</command>. This
+    test suite will take quite a while. Note that if you passed the
+    <option>--enable-exhaustive-tests</option> and
+    <option>--enable-valgrind-testing</option> parameters to
+    <command>configure</command> and then run the test suite, it will take a
+    <emphasis>very</emphasis> long time (up to 300 SBUs) and use about 375 MB
+    of disk space.</para>
+
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install</userinput></screen>
 
-    <note>
-      <para>If you passed the <option>--enable-exhaustive-tests</option> and
-      <option>--enable-valgrind-testing</option> parameters to
-      <command>configure</command> and then run the
-      <command>make check</command> tests, it will take a
-      <emphasis>very</emphasis> long time (about 150 SBUs) and use
-      about 375 MB of disk space.</para>
-    </note>
-
   </sect2>
 
   <sect2 role="commands">

Added: trunk/patches/flac-1.1.2-xmms_plugin_fix-1.patch
===================================================================
--- trunk/patches/flac-1.1.2-xmms_plugin_fix-1.patch	2005-08-28 00:54:44 UTC (rev 4987)
+++ trunk/patches/flac-1.1.2-xmms_plugin_fix-1.patch	2005-08-28 17:59:03 UTC (rev 4988)
@@ -0,0 +1,24 @@
+Submitted By:            Randy McMurchy <randy_at_linuxfromscratch_dot_org>
+Date:                    2005-08-28
+Initial Package Version: 1.1.2
+Upstream Status:         Not submitted
+Origin:                  Arch Linix CVS
+                         (http://cvs.archlinux.org/cgi-bin/viewcvs.cgi/multimedia/flac/xmms-plugin.patch)
+Description:             Fixes the XMMS plugin so that it doesn't crash XMMS
+
+$LastChangedBy$
+$Date$
+
+
+diff -Naur flac-1.1.2-orig/src/plugin_xmms/configure.c flac-1.1.2/src/plugin_xmms/configure.c
+--- flac-1.1.2-orig/src/plugin_xmms/configure.c	2005-01-25 04:26:29.000000000 +0000
++++ flac-1.1.2/src/plugin_xmms/configure.c	2005-08-28 01:42:44.000000000 +0000
+@@ -61,7 +61,7 @@
+ 		"", /* proxy_user */
+ 		"", /* proxy_pass */
+ 		FALSE, /* save_http_stream */
+-		"", /* save_http_path */
++		FALSE, /* save_http_path */
+ 		FALSE, /* cast_title_streaming */
+ 		FALSE /* use_udp_channel */
+ 	},


Property changes on: trunk/patches/flac-1.1.2-xmms_plugin_fix-1.patch
___________________________________________________________________
Name: svn:keywords
   + LastChangedBy Date




More information about the blfs-book mailing list