mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
updated to a2ps-4.14, added 2008 to Copyright
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7345 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
5128518025
commit
bb317ce141
@ -24,7 +24,7 @@
|
|||||||
<pubdate>&pubdate;</pubdate>
|
<pubdate>&pubdate;</pubdate>
|
||||||
|
|
||||||
<copyright id="copyright">
|
<copyright id="copyright">
|
||||||
<year>2001-2007</year>
|
<year>2001-2008</year>
|
||||||
<holder>BLFS Development Team</holder>
|
<holder>BLFS Development Team</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
|
|
||||||
|
@ -3,11 +3,11 @@ $LastChangedBy$
|
|||||||
$Date$
|
$Date$
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!ENTITY day "02"> <!-- Always 2 digits -->
|
<!ENTITY day "04"> <!-- Always 2 digits -->
|
||||||
<!ENTITY month "04"> <!-- Always 2 digits -->
|
<!ENTITY month "04"> <!-- Always 2 digits -->
|
||||||
<!ENTITY year "2008">
|
<!ENTITY year "2008">
|
||||||
<!ENTITY version "svn-&year;&month;&day;">
|
<!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 pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
|
||||||
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
|
||||||
<!ENTITY lfs-version "development"> <!-- version|testing|unstable|development] -->
|
<!ENTITY lfs-version "development"> <!-- version|testing|unstable|development] -->
|
||||||
@ -704,7 +704,7 @@ $Date$
|
|||||||
<!ENTITY docbook-xsl-version "1.71.1">
|
<!ENTITY docbook-xsl-version "1.71.1">
|
||||||
|
|
||||||
<!-- Chapter 46 -->
|
<!-- Chapter 46 -->
|
||||||
<!ENTITY a2ps-version "4.13b">
|
<!ENTITY a2ps-version "4.14">
|
||||||
<!ENTITY enscript-version "1.6.4">
|
<!ENTITY enscript-version "1.6.4">
|
||||||
<!ENTITY psutils-version "p17">
|
<!ENTITY psutils-version "p17">
|
||||||
<!ENTITY gsview-version "4.8">
|
<!ENTITY gsview-version "4.8">
|
||||||
|
@ -41,6 +41,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>
|
<listitem>
|
||||||
<para>April 3rd, 2008</para>
|
<para>April 3rd, 2008</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -6,10 +6,10 @@
|
|||||||
|
|
||||||
<!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
<!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-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
||||||
<!ENTITY a2ps-md5sum "0c8e0c31b08c14f7a7198ce967eb3281">
|
<!ENTITY a2ps-md5sum "781ac3d9b213fa3e1ed0d79f986dc8c7">
|
||||||
<!ENTITY a2ps-size "1.9 MB">
|
<!ENTITY a2ps-size "2.6 MB">
|
||||||
<!ENTITY a2ps-buildsize "20.7 MB">
|
<!ENTITY a2ps-buildsize "21.9 MB">
|
||||||
<!ENTITY a2ps-time "0.26 SBU">
|
<!ENTITY a2ps-time "0.31 SBU">
|
||||||
|
|
||||||
<!ENTITY i18n-fonts-version "0.1">
|
<!ENTITY i18n-fonts-version "0.1">
|
||||||
]>
|
]>
|
||||||
@ -79,14 +79,13 @@
|
|||||||
<bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
|
<bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Recommended</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
|
(otherwise, <application>a2ps</application> will use the
|
||||||
<command>cat >/dev/lp0</command> command instead of <command>lpr</command>
|
<command>cat >/dev/lp0</command> command instead of <command>lpr</command>
|
||||||
for sending its output to the printer)</para>
|
for sending its output to the printer)</para>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||||
<para role="optional"><xref linkend="x-window-system"/>,
|
<para role="optional"><xref linkend="x-window-system"/>,
|
||||||
<xref linkend="psutils"/>,
|
|
||||||
<xref linkend="tetex"/>,
|
<xref linkend="tetex"/>,
|
||||||
<xref linkend="gs"/> or <xref linkend="espgs"/>,
|
<xref linkend="gs"/> or <xref linkend="espgs"/>,
|
||||||
<ulink
|
<ulink
|
||||||
@ -94,7 +93,8 @@
|
|||||||
<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
|
<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
|
||||||
Reader</ulink>, and
|
Reader</ulink>, and
|
||||||
<ulink
|
<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:
|
<para condition="html" role="usernotes">User Notes:
|
||||||
<ulink url="&blfs-wiki;/A2PS"/></para>
|
<ulink url="&blfs-wiki;/A2PS"/></para>
|
||||||
@ -107,19 +107,20 @@
|
|||||||
<para>Install <application>a2ps</application> by running the following
|
<para>Install <application>a2ps</application> by running the following
|
||||||
commands:</para>
|
commands:</para>
|
||||||
|
|
||||||
<screen><userinput>sed -i "s|emacs||" contrib/Makefile.in &&
|
<screen><userinput>sed -i 's/+0 -1/-k 1,2/' afm/make_fonts_map.sh &&
|
||||||
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|/usr/local/share|/usr/share|" configure &&
|
||||||
sed -i "s|char \*malloc ();|/* & */|" \
|
|
||||||
lib/path-concat.c &&
|
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--sysconfdir=/etc/a2ps --localstatedir=/var \
|
--sysconfdir=/etc/a2ps \
|
||||||
--enable-shared --with-medium=letter &&
|
--enable-shared \
|
||||||
|
--with-medium=letter &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
|
|
||||||
<para>To test the results, issue: <command>make check</command>.
|
<para>To test the results, issue: <command>make check</command>.
|
||||||
The <filename>printers.tst</filename> test will fail, as there is no default
|
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>
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||||
|
|
||||||
@ -140,14 +141,8 @@ mv fonts.map.new fonts.map</userinput></screen>
|
|||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<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>:
|
<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
|
version of sort installed as part of
|
||||||
<application>Coreutils-&lfs-coreutils-version;</application>.
|
<application>Coreutils-&lfs-coreutils-version;</application>.
|
||||||
If you are using an older version of <application>Coreutils</application>,
|
If you are using an older version of <application>Coreutils</application>,
|
||||||
@ -158,10 +153,6 @@ mv fonts.map.new fonts.map</userinput></screen>
|
|||||||
<application>Ghostscript</application> fonts at the location where they were
|
<application>Ghostscript</application> fonts at the location where they were
|
||||||
installed by the BLFS instructions.</para>
|
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
|
<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
||||||
is installed in <filename class="directory">/etc/a2ps</filename> instead of
|
is installed in <filename class="directory">/etc/a2ps</filename> instead of
|
||||||
<filename class="directory">/usr/etc</filename>.</para>
|
<filename class="directory">/usr/etc</filename>.</para>
|
||||||
@ -169,9 +160,12 @@ mv fonts.map.new fonts.map</userinput></screen>
|
|||||||
<para><parameter>--enable-shared</parameter>: This switch enables building
|
<para><parameter>--enable-shared</parameter>: This switch enables building
|
||||||
the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
|
the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
|
||||||
|
|
||||||
<para><parameter>--with-medium=letter</parameter>: This switch changes
|
<para><parameter>--with-medium=letter</parameter>: This switch changes the
|
||||||
the default paper format of A4 to letter. Installations that utilize A4
|
default paper format to US letter. It can either be given here or set
|
||||||
would eliminate this switch.</para>
|
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>
|
</sect2>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user