Changeset 1eee454 for pst


Ignore:
Timestamp:
09/01/2004 06:30:18 AM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
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
Children:
57191ce
Parents:
a7749db9
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/ps/a2ps.xml

    ra7749db9 r1eee454  
    4949<sect3><title><application>a2ps</application> dependencies</title>
    5050<sect4><title>Optional</title>
    51 <para><xref linkend="psutils"/> and
    52 <xref linkend="gs"/> or <xref linkend="espgs"/>
    53 </para></sect4>
     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>
    5462</sect3>
    5563
     
    5967<title>Installation of <application>a2ps</application></title>
    6068
     69<para>Install <application>a2ps</application> by running the following
     70commands:</para>
    6171
    62 <para>Install <application>a2ps</application> by running the following commands:
    63 </para>
    64 
    65 <screen><userinput><command>cd contrib &amp;&amp;
    66 cp Makefile.in Makefile.in.orig &amp;&amp;
    67 sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
    68 cd .. &amp;&amp;
    69 cp configure{,.orig} &amp;&amp;
    70 sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
    71     configure.orig > configure &amp;&amp;
     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;
    7276./configure --prefix=/usr \
    7377    --sysconfdir=/etc/a2ps --localstatedir=/var \
    74     --with-medium=letter &amp;&amp;
     78    --enable-shared --with-medium=letter &amp;&amp;
    7579make &amp;&amp;
    7680make install</command></userinput></screen>
     
    8185<title>Command explanations</title>
    8286
    83 <para><screen><command>cd contrib &amp;&amp;
    84 cp Makefile.in Makefile.in.orig &amp;&amp;
    85 sed -e "s:emacs::" Makefile.in.orig > Makefile.in &amp;&amp;
    86 cd .. &amp;&amp;</command></screen>
    87 These commands eliminate the compiling and installing of the
    88 <application>Emacs</application> script files.  If you have substituted
     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
    8990<application>Emacs</application> for <application>Vi</application> as your
    90 primary editor, you would want to skip these instructions.</para>
     91primary editor, skip this step.</para>
    9192
    92 <para><screen><command>cp configure{,.orig} &amp;&amp;
    93 sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
    94     configure.orig > configure</command></screen>
     93<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
    9594This command modifies the configure script to search for
    96 <application>Ghostscript</application> fonts
    97 at the location where they were installed by the <acronym>BLFS</acronym>
    98 instructions.</para>
     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>
    99101
    100102<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
     
    113115<sect3><title>Config files</title>
    114116
    115 <para><filename>/etc/a2ps/a2ps.cfg</filename>, <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
     117<para><filename>/etc/a2ps/a2ps.cfg</filename>,
     118<filename>/etc/a2ps/a2ps-site.cfg</filename></para>
    116119
    117120</sect3>
     
    133136</sect2>
    134137
    135 
    136138<sect2><title>Description</title>
    137139
     
    141143printing scripts, that converts standard input or supported files
    142144to PostScript.</para>
    143 
    144145</sect3>
    145146
Note: See TracChangeset for help on using the changeset viewer.