mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-09 03:37:18 +08:00
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2318 af4574ff-66df-0310-9fd7-8a98e5e911e0
128 lines
4.6 KiB
XML
128 lines
4.6 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
|
<!ENTITY espgs-download-ftp " ">
|
|
<!ENTITY espgs-size "5.3 MB">
|
|
<!ENTITY espgs-buildsize "116-140 MB (depends on if libgs.so is installed)">
|
|
<!ENTITY espgs-time "1.65-3.20 SBU">
|
|
]>
|
|
|
|
<sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
|
<?dbhtml filename="espgs.html"?>
|
|
<title>ESP Ghostscript-&espgs-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Ghostscript</application></title>
|
|
|
|
<para><application>Ghostscript</application> is a versatile processor for
|
|
PostScript data with the ability to render PostScript to different targets.
|
|
ESP Ghostscript is a customized version of <acronym>GNU</acronym> Ghostscript
|
|
that includes an enhanced configuration script, the <acronym>
|
|
CUPS</acronym> raster driver to support <acronym>CUPS</acronym> raster printer
|
|
drivers, and additional patches and drivers from
|
|
various Linux distributors.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink url="&espgs-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &espgs-size;</para></listitem>
|
|
<listitem><para>Estimated Disk space required: &espgs-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time: &espgs-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Standard fonts: <ulink
|
|
url="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz"/>
|
|
</para></listitem>
|
|
<listitem><para>Other fonts: <ulink
|
|
url="http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz"/>
|
|
</para></listitem>
|
|
<!-- Cyrillic fonts are now a part of ghostscript-fonts-std -->
|
|
</itemizedlist></sect3>
|
|
|
|
<sect3><title><application>Ghostscript</application>
|
|
dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="cups"/>, <xref linkend="libjpeg"/>, <xref
|
|
linkend="libpng"/>, X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), <xref
|
|
linkend="GLib"/>, <xref linkend="GTK"/> and
|
|
<xref linkend="gimp-print"/>
|
|
</para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Ghostscript</application></title>
|
|
|
|
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
<para>To install the shared library <filename>libgs.so</filename> you
|
|
will need <xref linkend="GTK"/>.</para>
|
|
|
|
<para>Proceed with the following commands:</para>
|
|
|
|
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
|
make soinstall</command></userinput></screen>
|
|
|
|
<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 downloaded to
|
|
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><option>--without-gimp-print</option>: This switch disables
|
|
the building of the <application><acronym>GIMP</acronym></application> print driver
|
|
as a Ghostscript device since this is deprecated.
|
|
This driver may be still accessible via <acronym>IJS</acronym>
|
|
or <application><acronym>CUPS</acronym></application>,
|
|
and this is the preferred way.</para>
|
|
<!-- This also fails with Gimp-Print-4.2.6-rc1 or later -->
|
|
|
|
<para><option>--without-ijs</option>: This switch disables the
|
|
<acronym>IJS</acronym> driver support.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>Ghostscript comes with a lot of filters to render
|
|
PostScript/<acronym>PDF</acronym> files back and forth. Please
|
|
refer to the <acronym>HTML</acronym> documentation or try
|
|
<command>man gs</command>. <acronym>ESP</acronym> Ghostscript provides
|
|
pstoraster too.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
|
|
<title>Description</title>
|
|
|
|
<sect3>
|
|
<title>pstoraster</title>
|
|
<para><acronym>CUPS</acronym> uses <command>pstoraster</command> filter to convert
|
|
PostScript to a generic raster image format that is acceptable as an input to
|
|
drivers for non-PostScript printers (e.g., from
|
|
<xref linkend="gimp-print"/>).
|
|
It is built and installed only if
|
|
<xref linkend="cups"/> is found.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|