source: pst/ps/a2ps.xml@ 1eee454

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1eee454 was 1eee454, checked in by Randy McMurchy <randy@…>, 20 years ago

Added sed command to fix and LFS-6.0 build problem, modified existing sed commands to in-place edits, added optional dependencies and enabled building shared libary to a2ps instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2699 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.9 KB
Line 
1<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
2 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5
6 <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
7 <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
8 <!ENTITY a2ps-size "1.9 MB">
9 <!ENTITY a2ps-buildsize "19.2 MB">
10 <!ENTITY a2ps-time "0.26 SBU">
11]>
12
13<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
14<sect1info>
15<othername>$LastChangedBy$</othername>
16<date>$Date$</date>
17</sect1info>
18<?dbhtml filename="a2ps.html"?>
19<title>a2ps-&a2ps-version;</title>
20
21<sect2>
22<title>Introduction to <application>a2ps</application></title>
23
24<para><application>a2ps</application> is a filter utilitized mainly in the
25background and primarily by printing scripts to convert almost
26every input format into PostScript output. The application's name expands
27appropriately to "all to PostScript".</para>
28
29<sect3><title>Package information</title>
30<itemizedlist spacing='compact'>
31<listitem><para>Download (HTTP): <ulink
32url="&a2ps-download-http;"/></para></listitem>
33<listitem><para>Download (FTP): <ulink
34url="&a2ps-download-ftp;"/></para></listitem>
35<listitem><para>Download size: &a2ps-size;</para></listitem>
36<listitem><para>Estimated Disk space required:
37&a2ps-buildsize;</para></listitem>
38<listitem><para>Estimated build time:
39&a2ps-time;</para></listitem></itemizedlist>
40</sect3>
41
42<sect3><title>Additional downloads</title>
43<itemizedlist spacing='compact'>
44<listitem><para>International fonts: <ulink
45url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
46</para></listitem></itemizedlist>
47</sect3>
48
49<sect3><title><application>a2ps</application> dependencies</title>
50<sect4><title>Optional</title>
51<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
52<xref linkend="psutils"/>, <xref linkend="pst-typesetting-tex"/>,
53<xref linkend="gs"/> or <xref linkend="espgs"/>,
54<ulink
55url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
56<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
57Reader</ulink> and
58<ulink
59url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
60</para>
61</sect4>
62</sect3>
63
64</sect2>
65
66<sect2>
67<title>Installation of <application>a2ps</application></title>
68
69<para>Install <application>a2ps</application> by running the following
70commands:</para>
71
72<screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &amp;&amp;
73sed -i -e "s|/usr/local/share|/usr/share|" configure &amp;&amp;
74sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
75 lib/path-concat.c &amp;&amp;
76./configure --prefix=/usr \
77 --sysconfdir=/etc/a2ps --localstatedir=/var \
78 --enable-shared --with-medium=letter &amp;&amp;
79make &amp;&amp;
80make install</command></userinput></screen>
81
82</sect2>
83
84<sect2>
85<title>Command explanations</title>
86
87<para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
88This command eliminates the compiling and installing of the
89<application>Emacs</application> script files. If you have substituted
90<application>Emacs</application> for <application>Vi</application> as your
91primary editor, skip this step.</para>
92
93<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
94This command modifies the configure script to search for
95<application>Ghostscript</application> fonts at the location where they were
96installed by the <acronym>BLFS</acronym> instructions.</para>
97
98<para><command>sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
99 lib/path-concat.c</command>: This command fixes a build problem with
100<acronym>LFS</acronym> &gt;5.1.</para>
101
102<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
103goes to <filename class="directory">/etc/a2ps</filename> instead of
104<filename class="directory">/usr/etc</filename>.</para>
105
106<para><parameter>--with-medium=letter</parameter>: This switch changes
107the default paper format of A4 to letter. Installations that utilize A4
108would eliminate this switch.</para>
109
110</sect2>
111
112<sect2>
113<title>Configuring <application>a2ps</application></title>
114
115<sect3><title>Config files</title>
116
117<para><filename>/etc/a2ps/a2ps.cfg</filename>,
118<filename>/etc/a2ps/a2ps-site.cfg</filename></para>
119
120</sect3>
121
122<sect3><title>Configuration Information</title>
123
124<para>Information about configuring <application>a2ps</application> can be
125found in the comments contained in the above files, and also by
126running <command>info a2ps</command>.</para>
127</sect3>
128
129</sect2>
130
131<sect2>
132<title>Contents</title>
133
134<para>The <application>a2ps</application> package
135contains <command>a2ps</command> and filter data.</para>
136</sect2>
137
138<sect2><title>Description</title>
139
140<sect3><title>a2ps</title>
141
142<para><command>a2ps</command> is a filter, utilized primarily by
143printing scripts, that converts standard input or supported files
144to PostScript.</para>
145</sect3>
146
147</sect2>
148
149</sect1>
Note: See TracBrowser for help on using the repository browser.