[blfs-book] r9343 - trunk/BOOK/general/graphlib

andy at linuxfromscratch.org andy at linuxfromscratch.org
Thu Feb 9 17:27:18 PST 2012


Author: andy
Date: 2012-02-09 18:27:14 -0700 (Thu, 09 Feb 2012)
New Revision: 9343

Modified:
   trunk/BOOK/general/graphlib/libpng.xml
Log:
we can avoid lots of libpng testsuite unpleasentness if we run make test instead of make check

Modified: trunk/BOOK/general/graphlib/libpng.xml
===================================================================
--- trunk/BOOK/general/graphlib/libpng.xml	2012-02-10 00:16:03 UTC (rev 9342)
+++ trunk/BOOK/general/graphlib/libpng.xml	2012-02-10 01:27:14 UTC (rev 9343)
@@ -82,13 +82,7 @@
     <para>If you want to patch libpng to support apng files, apply the
     patch:</para>
 
-<screen><userinput>gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1 &&
-awk '/10[0-2][0-9],/{ gsub(/,png/, ", png")
-  gsub(/PNG_EXPORT./, "")
-  gsub(/,/, "")
-  print " " $3 " @" $1 }' png.h >> scripts/symbols.def &&
-sed -i 's#ORDINAL(233)#ORDINAL(1020)#' png.h &&
-sed -i 's#"error"#"ignore"#' scripts/checksym.awk &&</userinput></screen>
+<screen><userinput>gzip -cd ../libpng-&libpng-version;-apng.patch.gz | patch -p1</userinput></screen>
 
     <para>Install <application>libpng</application> by running the following
     commands:</para>
@@ -96,7 +90,7 @@
 <screen><userinput>./configure --prefix=/usr --disable-static &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.</para>
+    <para>To test the results, issue: <command>make test</command>.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem>
     user:</para>
@@ -109,10 +103,6 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>awk '/10[0-2][0-9] ...</command>, <command>sed -i 's#ORDINAL
-    ...</command> and <command>sed -i 's#"error" ...</command>: These commands
-    massage the test suite to accept the animated png functions.</para>
-
     <para><option>--disable-static</option>: This option prevents it compiling
     the static archive versions of the libraries.</para>
   </sect2>




More information about the blfs-book mailing list