glfs/pst/printing/gs.xml
Bruce Dubbs b055074b0b Updated to AFPL Ghostscript-8.53
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6003 af4574ff-66df-0310-9fd7-8a98e5e911e0
2006-05-06 01:50:51 +00:00

223 lines
8.1 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY gs-download-http "http://prdownloads.sourceforge.net/ghostscript/ghostscript-&gs-version;.tar.bz2">
<!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs851/ghostscript-&gs-version;.tar.bz2">
<!ENTITY gs-md5sum "e65e0c40213a616174572faa639e04d6">
<!ENTITY gs-size "9.3 MB">
<!ENTITY gs-buildsize "104 MB (includes installing libgs.so and both font tarballs)">
<!ENTITY gs-time "2.4 SBU (includes building and installing libgs.so)">
<!ENTITY gs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
<!ENTITY gs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
<!ENTITY gs-standard-fonts-size "3.7 MB">
<!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
<!ENTITY gs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
<!ENTITY gs-other-fonts-size "796 KB">
]>
<sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
<?dbhtml filename="gs.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
<keywordset>
<keyword role="package">ghostscript-&gs-version;.tar</keyword>
<keyword role="ftpdir">ghostscript</keyword>
</keywordset>
</sect1info>
<title>AFPL Ghostscript-&gs-version;</title>
<indexterm zone="gs">
<primary sortas="a-AFPL-Ghostscript">AFPL Ghostscript</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Ghostscript</title>
<para><application>Ghostscript</application> is a versatile processor
for PostScript data with the ability to render PostScript to different
targets.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&gs-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&gs-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &gs-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &gs-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &gs-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &gs-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<title>Standard Fonts</title>
<listitem>
<para>Download (FTP): <ulink url="&gs-standard-fonts-download;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &gs-standard-fonts-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &gs-standard-fonts-size;</para>
</listitem>
</itemizedlist>
<itemizedlist spacing='compact'>
<title>Other Fonts</title>
<listitem>
<para>Download (HTTP): <ulink url="&gs-other-fonts-download;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &gs-other-fonts-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &gs-other-fonts-size;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="libjpeg"/>,
<xref linkend="libpng"/>,
<xref linkend="GTK"/>, and
<xref linkend="x-window-system"/></para>
<bridgehead renderas="sect3">Conflicts</bridgehead>
<para>This version of Ghostscript does not work with
<application>CUPS</application> due to missing generic "cups" raster
image driver. The necessary support cannot be patched in due to
incompatible licenses. Use <xref linkend="espgs"/> instead if you have
<application>CUPS</application>.</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/gs"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Ghostscript</title>
<para>Install <application>Ghostscript</application> by running the
following commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>To install the shared library
<filename class='libraryfile'>libgs.so</filename>, run the
following additional command as an unprivileged user:</para>
<screen><userinput>make so</userinput></screen>
<para>And again, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make soinstall &amp;&amp;
install -v -d -m755 /usr/include/ps &amp;&amp;
install -v -m644 src/*.h /usr/include/ps &amp;&amp;
ln -v -s ps /usr/include/ghostscript</userinput></screen>
<note>
<para>The shared library depends on <xref linkend="GTK"/>. It is
only used in external programs like <xref linkend="gsview"/> and
<xref linkend="imagemagick"/>.</para>
</note>
<para>To finish the installation, unpack all fonts you've downloaded to
<filename class="directory">/usr/share/ghostscript</filename> and ensure
the ownerships of the files are root:root. Substitute
<replaceable>&lt;font-tarball&gt;</replaceable> appropriately in
the command below for the fonts you wish to install:</para>
<screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> -C /usr/share/ghostscript &amp;&amp;
chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>install ...</command>: Some packages
(<application>ImageMagick</application> is one) need the
<application>Ghostscript</application> interface headers in place to link
to the shared library. These commands install the headers.</para>
<para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
packages expect to find the interface headers in an alternate
location.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
wftopfa</seg>
<seg>libgs.so </seg>
<seg>/usr/include/ps and /usr/share/ghostscript</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="afplgs-prog-gs">
<term><command>gs</command></term>
<listitem>
<para>invokes <application>Ghostscript</application>, an interpreter
of Adobe Systems' PostScript(tm) and Portable Document Format
(PDF) languages.</para>
<indexterm zone="gs afplgs-prog-gs">
<primary sortas="b-gs">gs</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
<para><application>AFPL Ghostscript</application> provides many different
scripts used to render PostScript/PDF files back and forth. Please refer
to the HTML documentation or try <command>man gs</command> for information
about the capabilities provided by the package.</para>
</sect2>
</sect1>