r7345 - in trunk/BOOK: . book introduction/welcome pst/ps

richard at linuxfromscratch.org richard at linuxfromscratch.org
Fri Apr 4 12:01:19 PDT 2008


Author: richard
Date: 2008-04-04 13:01:19 -0600 (Fri, 04 Apr 2008)
New Revision: 7345

Modified:
   trunk/BOOK/book/bookinfo.xml
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/pst/ps/a2ps.xml
Log:
updated to a2ps-4.14, added 2008 to Copyright

Modified: trunk/BOOK/book/bookinfo.xml
===================================================================
--- trunk/BOOK/book/bookinfo.xml	2008-04-03 19:47:26 UTC (rev 7344)
+++ trunk/BOOK/book/bookinfo.xml	2008-04-04 19:01:19 UTC (rev 7345)
@@ -24,7 +24,7 @@
   <pubdate>&pubdate;</pubdate>
 
   <copyright id="copyright">
-    <year>2001-2007</year>
+    <year>2001-2008</year>
     <holder>BLFS Development Team</holder>
   </copyright>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2008-04-03 19:47:26 UTC (rev 7344)
+++ trunk/BOOK/general.ent	2008-04-04 19:01:19 UTC (rev 7345)
@@ -3,11 +3,11 @@
 $Date$
 -->
 
-<!ENTITY day          "02">                   <!-- Always 2 digits -->
+<!ENTITY day          "04">                   <!-- Always 2 digits -->
 <!ENTITY month        "04">                   <!-- Always 2 digits -->
 <!ENTITY year         "2008">
 <!ENTITY version      "svn-&year;&month;&day;">
-<!ENTITY releasedate  "April &day;nd, &year;">
+<!ENTITY releasedate  "April &day;, &year;">
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
 <!ENTITY lfs-version  "development">          <!-- version|testing|unstable|development] -->
@@ -704,7 +704,7 @@
 <!ENTITY docbook-xsl-version          "1.71.1">
 
 <!-- Chapter 46 -->
-<!ENTITY a2ps-version                 "4.13b">
+<!ENTITY a2ps-version                 "4.14">
 <!ENTITY enscript-version             "1.6.4">
 <!ENTITY psutils-version              "p17">
 <!ENTITY gsview-version               "4.8">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2008-04-03 19:47:26 UTC (rev 7344)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2008-04-04 19:01:19 UTC (rev 7345)
@@ -42,6 +42,18 @@
 -->
 
     <listitem>
+      <para>April 4th, 2008</para>
+      <itemizedlist>
+        <listitem>
+          <para>[richard] - updated to a2ps-4.14.</para>
+        </listitem>
+         <listitem>
+          <para>[richard] - changed copyright to include 2008, in bookinfo.</para>
+        </listitem>       
+      </itemizedlist>
+    </listitem>
+    
+    <listitem>
       <para>April 3rd, 2008</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/pst/ps/a2ps.xml
===================================================================
--- trunk/BOOK/pst/ps/a2ps.xml	2008-04-03 19:47:26 UTC (rev 7344)
+++ trunk/BOOK/pst/ps/a2ps.xml	2008-04-04 19:01:19 UTC (rev 7345)
@@ -6,10 +6,10 @@
 
   <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
   <!ENTITY a2ps-download-ftp  "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
-  <!ENTITY a2ps-md5sum        "0c8e0c31b08c14f7a7198ce967eb3281">
-  <!ENTITY a2ps-size          "1.9 MB">
-  <!ENTITY a2ps-buildsize     "20.7 MB">
-  <!ENTITY a2ps-time          "0.26 SBU">
+  <!ENTITY a2ps-md5sum        "781ac3d9b213fa3e1ed0d79f986dc8c7">
+  <!ENTITY a2ps-size          "2.6 MB">
+  <!ENTITY a2ps-buildsize     "21.9 MB">
+  <!ENTITY a2ps-time          "0.31 SBU">
 
   <!ENTITY i18n-fonts-version "0.1">
 ]>
@@ -79,14 +79,13 @@
     <bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
-    <para role="recommended"><xref linkend="cups"/> or <xref linkend="LPRng"/>
+    <para role="recommended"><xref linkend="psutils"/>, <xref linkend="cups"/> or <xref linkend="LPRng"/>
     (otherwise, <application>a2ps</application> will use the
     <command>cat >/dev/lp0</command> command instead of <command>lpr</command>
     for sending its output to the printer)</para>
-
+    
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional"><xref linkend="x-window-system"/>,
-    <xref linkend="psutils"/>,
     <xref linkend="tetex"/>,
     <xref linkend="gs"/> or <xref linkend="espgs"/>,
     <ulink
@@ -94,7 +93,8 @@
     <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
     Reader</ulink>, and
     <ulink
-    url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink></para>
+    url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
+    </para>
 
     <para condition="html" role="usernotes">User Notes:
     <ulink url="&blfs-wiki;/A2PS"/></para>
@@ -107,19 +107,20 @@
     <para>Install <application>a2ps</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i "s|emacs||" contrib/Makefile.in &&
-sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &&
+<screen><userinput>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &&
 sed -i "s|/usr/local/share|/usr/share|" configure &&
-sed -i "s|char \*malloc ();|/* & */|" \
-    lib/path-concat.c &&
 ./configure --prefix=/usr \
-    --sysconfdir=/etc/a2ps --localstatedir=/var \
-    --enable-shared --with-medium=letter &&
+    --sysconfdir=/etc/a2ps \
+    --enable-shared \
+    --with-medium=letter &&
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.
     The <filename>printers.tst</filename> test will fail, as there is no default
-    test printer.</para>
+    test printer.  The <filename>styles.tst</filename> also may fail, and the tests report
+    some inconsistencies between the generated postscript and the reference sets, at
+    the moment there is no explanation of this, but the failures do not appear to
+    affect the operation of the program.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
@@ -140,14 +141,8 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
-    This command eliminates the compiling and installing of the
-    <application>Emacs</application> script files. If you have substituted
-    <application>Emacs</application> for <application>Vi</application> as your
-    primary editor, skip this step.</para>
-
     <para><command>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh</command>:
-    The make_fonts_map.sh script to uses an option that is invalid with the
+    The <filename>make_fonts_map.sh</filename> script uses an option that is invalid with the
     version of sort installed as part of
     <application>Coreutils-&lfs-coreutils-version;</application>.
     If you are using an older version of <application>Coreutils</application>,
@@ -158,10 +153,6 @@
     <application>Ghostscript</application> fonts at the location where they were
     installed by the BLFS instructions.</para>
 
-    <para><command>sed -i -e "s|char \*malloc ();|/* & */|"
-    lib/path-concat.c</command>: This command fixes a build problem with
-    <application>GCC</application>-3.4.x</para>
-
     <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
     is installed in <filename class="directory">/etc/a2ps</filename> instead of
     <filename class="directory">/usr/etc</filename>.</para>
@@ -169,9 +160,12 @@
     <para><parameter>--enable-shared</parameter>: This switch enables building
     the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
 
-    <para><parameter>--with-medium=letter</parameter>: This switch changes
-    the default paper format of A4 to letter. Installations that utilize A4
-    would eliminate this switch.</para>
+    <para><parameter>--with-medium=letter</parameter>: This switch changes the 
+    default paper format to US letter. It can either be given here or set 
+    in <filename>/etc/a2ps/a2ps-site.cfg</filename> after installation. The
+    default is A4, but there are several other options, in particular: A4dj or letterdj are good 
+    settings for HP Deskjet and other printers that need wider paper-handling 
+    margins. See <filename>/etc/a2ps/a2ps.cfg</filename> after installation.</para>
 
   </sect2>
 




More information about the blfs-book mailing list