Add Alex's patch for Ghostscript, a2ps, enscript, gsview, psutils and xpdf

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@543 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Mark Hymers 2002-12-31 21:34:55 +00:00
parent 7697fa7817
commit cabb2de169
11 changed files with 106 additions and 5 deletions

View File

@ -2,8 +2,8 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"/usr/share/docbook/docbookx.dtd" [
<!ENTITY version "20021227">
<!ENTITY releasedate "December 27th, 2002">
<!ENTITY version "20021231">
<!ENTITY releasedate "December 31st, 2002">
<!ENTITY % book SYSTEM "book/book.ent">
<!ENTITY % preface SYSTEM "preface/preface.ent">

View File

@ -10,6 +10,9 @@ page in Chapter 1 for details on who wrote what.</para>
<itemizedlist>
<listitem><para>December 31st, 2002 [markh]: PST: Added Alex's patch for
Ghostscript, a2ps, enscript, gsview, psutils and xpdf.</para></listitem>
<listitem><para>December 27th, 2002 [larry]: Multimedia: Added
transcode-0.6.2.</para></listitem>

10
pst/printing/gs.xml Normal file
View File

@ -0,0 +1,10 @@
<sect1 id="gs" xreflabel="GhostScript-&gs-version;">
<?dbhtml filename="gs.html" dir="pst"?>
<title>Ghostscript-&gs-version;</title>
&gs-intro;
&gs-inst;
&gs-exp;
&gs-desc;
</sect1>

View File

@ -0,0 +1,9 @@
<sect2>
<title>Contents</title>
<para>Ghostscript comes with a lot of filters to render Postscript/PDF
files back and forth. Please refer to the HTML documentation or try
<userinput>man gs</userinput>.</para>
</sect2>

View File

@ -0,0 +1,12 @@
<sect2>
<title>Installation command explanations</title>
<para><userinput>--libexecdir=/usr/lib/gs :</userinput> executable
libraries of Ghostscript will be installed to
<userinput>/usr/lib/gs</userinput>.</para>
<para><userinput>--sysconfdir=/etc/gs :</userinput> Configuration data
goes to <userinput>/etc/gs</userinput> instead of
<userinput>/usr/etc</userinput>.</para>
</sect2>

View File

@ -0,0 +1,23 @@
<sect2>
<title>Installation of Ghostscript</title>
<para>Install Ghostscript by running the following commands:</para>
<para><screen><userinput>./configure --prefix=/usr --libexecdir=/usr/lib/gs \
--sysconfdir=/etc/gs --enable-shared --enable-static \
make &amp;&amp;
make install</userinput></screen></para>
<para>To install the shared library <filename>libgs.so</filename>, run
the following commands additionally:</para>
<para><screen><userinput>make so &&
make soinstall</userinput></screen></para>
<note><para>The shared library is only used in external programs like
<xref linkend="gsview"/>.</para></note>
<para>To finish the installation, unpack all fonts you've loaded to
<filename>/usr/share/ghostscript</filename>.</para>
</sect2>

View File

@ -0,0 +1,16 @@
<sect2>
<title>Introduction to Ghostscript</title>
<screen>Required:
Download location (FTP): <ulink url="&gs-download-ftp;"/>
Download location (HTTP): <ulink url="&gs-download-http;"/>
Fonts1 Download location (FTP): <ulink url="&gs-fonts-download-ftp;"/>
Fonts2 Download location (FTP): <ulink url="&gs-fontsother-download-ftp;"/>
Version used: &gs-version;
Package size: &gs-size;
Estimated Disk space required: &gs-buildsize;</screen>
<para>Ghostscript is a versatile processor for Postscript data with
the ability to render Postscript to different targets.</para>
</sect2>

12
pst/printing/gs/gs.ent Normal file
View File

@ -0,0 +1,12 @@
<!ENTITY gs SYSTEM "../gs.xml">
<!ENTITY gs-intro SYSTEM "gs-intro.xml">
<!ENTITY gs-inst SYSTEM "gs-inst.xml">
<!ENTITY gs-desc SYSTEM "gs-desc.xml">
<!ENTITY gs-exp SYSTEM "gs-exp.xml">
<!ENTITY gs-buildsize "31-40 MB (depends on if libgs.so is installed)">
<!ENTITY gs-version "8.00">
<!ENTITY gs-download-http "http://telia.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.00.tar.bz2">
<!ENTITY gs-download-ftp "ftp://ftp.sourceforge.net/pub/sourceforge/ghostscript/ghostscript-8.00.tar.bz2">
<!ENTITY gs-fonts-download-ftp "ftp://ftp.gnu.org/gnu/ghostscript/gnu-gs-fonts-std-6.0.tar.gz">
<!ENTITY gs-fontsother-download-ftp "ftp://ftp.gnu.org/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
<!ENTITY gs-size "5.2 MB">

View File

@ -2,6 +2,7 @@
<?dbhtml filename="printing.html" dir="pst"?>
<title>Printing</title>
<para>Placeholder for ghostscript, lprng and cups</para>
<para>Placeholder for lprng, cups, foomatic and gimp-print</para>
&gs;
</chapter>

View File

@ -2,6 +2,8 @@
<!-- Printing -->
<!ENTITY pst-printing SYSTEM "printing/printing.xml">
<!ENTITY % gs SYSTEM "printing/gs/gs.ent">
%gs;
<!-- Scanning -->
<!ENTITY pst-scanning SYSTEM "scanning/scanning.xml">
@ -26,6 +28,16 @@
<!-- PS -->
<!ENTITY pst-ps SYSTEM "typesetting/ps.xml">
<!ENTITY % a2ps SYSTEM "typesetting/ps/a2ps/a2ps.ent">
<!ENTITY % enscript SYSTEM "typesetting/ps/enscript/enscript.ent">
<!ENTITY % gsview SYSTEM "typesetting/ps/gsview/gsview.ent">
<!ENTITY % psutils SYSTEM "typesetting/ps/psutils/psutils.ent">
<!ENTITY % xpdf SYSTEM "typesetting/ps/xpdf/xpdf.ent">
%a2ps;
%enscript;
%gsview;
%psutils;
%xpdf;
<!-- Typesetting -->
<!ENTITY pst-typesetting SYSTEM "typesetting/typesetting.xml">

View File

@ -2,7 +2,10 @@
<?dbhtml filename="ps.html" dir="pst"?>
<title>Postscript</title>
<para>Placeholder for a2ps, enscript, gsview, gv and acrobat reader.</para>
&a2ps;
&enscript;
&gsview;
&psutils;
&xpdf;
</chapter>