[73ddd1a0] | 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;
|
---|
[78d82bd7] | 5 |
|
---|
[73ddd1a0] | 6 | <!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
[a9fd38e] | 7 | <!ENTITY espgs-download-ftp "ftp://ftp.gtlib.cc.gatech.edu/pub/slackware/slackware-current/source/ap/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
[73ddd1a0] | 8 | <!ENTITY espgs-size "5.3 MB">
|
---|
[a9fd38e] | 9 | <!ENTITY espgs-buildsize "116-140 MB (depends if libgs.so is installed)">
|
---|
[73ddd1a0] | 10 | <!ENTITY espgs-time "1.65-3.20 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[64a25d5] | 13 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
[a9fd38e] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a9fd38e] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="espgs.html"?>
|
---|
[ff074127] | 19 | <title>ESP Ghostscript-&espgs-version;</title>
|
---|
[a486991] | 20 |
|
---|
[73ddd1a0] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>Ghostscript</application></title>
|
---|
| 23 |
|
---|
| 24 | <para><application>Ghostscript</application> is a versatile processor for
|
---|
| 25 | PostScript data with the ability to render PostScript to different targets.
|
---|
[a9fd38e] | 26 | <application>ESP Ghostscript</application> is a customized version of
|
---|
| 27 | <acronym>GNU</acronym> Ghostscript that includes an enhanced configuration
|
---|
| 28 | script, the <acronym>CUPS</acronym> raster driver to support
|
---|
| 29 | <acronym>CUPS</acronym> raster printer drivers, and additional patches and
|
---|
| 30 | drivers from various Linux distributors.</para>
|
---|
[73ddd1a0] | 31 |
|
---|
| 32 | <sect3><title>Package information</title>
|
---|
| 33 | <itemizedlist spacing='compact'>
|
---|
| 34 | <listitem><para>Download (HTTP): <ulink url="&espgs-download-http;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para></listitem>
|
---|
| 36 | <listitem><para>Download size: &espgs-size;</para></listitem>
|
---|
[518538f] | 37 | <listitem><para>Estimated disk space required: &espgs-buildsize;</para></listitem>
|
---|
[73ddd1a0] | 38 | <listitem><para>Estimated build time: &espgs-time;</para></listitem></itemizedlist>
|
---|
| 39 | </sect3>
|
---|
| 40 |
|
---|
| 41 | <sect3><title>Additional downloads</title>
|
---|
| 42 | <itemizedlist spacing='compact'>
|
---|
| 43 | <listitem><para>Standard fonts: <ulink
|
---|
| 44 | url="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz"/>
|
---|
| 45 | </para></listitem>
|
---|
| 46 | <listitem><para>Other fonts: <ulink
|
---|
| 47 | url="http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz"/>
|
---|
| 48 | </para></listitem>
|
---|
| 49 | </itemizedlist></sect3>
|
---|
| 50 |
|
---|
| 51 | <sect3><title><application>Ghostscript</application>
|
---|
| 52 | dependencies</title>
|
---|
| 53 | <sect4><title>Optional</title>
|
---|
[a9fd38e] | 54 | <para><xref linkend="cups"/>, <xref linkend="libjpeg"/>,
|
---|
| 55 | <xref linkend="libpng"/>, X (<xref linkend="xfree86"/> or
|
---|
| 56 | <xref linkend="xorg"/>), <xref linkend="GLib"/>, <xref linkend="GTK"/> and
|
---|
[73ddd1a0] | 57 | <xref linkend="gimp-print"/>
|
---|
| 58 | </para></sect4>
|
---|
| 59 | </sect3>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2>
|
---|
| 64 | <title>Installation of <application>Ghostscript</application></title>
|
---|
| 65 |
|
---|
[a9fd38e] | 66 | <para>Install <application>Ghostscript</application> by running the following
|
---|
| 67 | commands:</para>
|
---|
[73ddd1a0] | 68 |
|
---|
| 69 | <screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
---|
| 70 | make &&
|
---|
| 71 | make install</command></userinput></screen>
|
---|
| 72 |
|
---|
[a9fd38e] | 73 | <para>To install the shared library
|
---|
| 74 | <filename class='libraryfile'>libgs.so</filename> you
|
---|
[73ddd1a0] | 75 | will need <xref linkend="GTK"/>.</para>
|
---|
| 76 |
|
---|
| 77 | <para>Proceed with the following commands:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
---|
[78d82bd7] | 80 | make soinstall &&
|
---|
| 81 | install -d -m755 /usr/include/ps &&
|
---|
| 82 | install -m644 src/*.h /usr/include/ps</command></userinput></screen>
|
---|
[73ddd1a0] | 83 |
|
---|
| 84 | <note><para>The shared library is only used in external programs like
|
---|
| 85 | <xref linkend="gsview"/>.</para></note>
|
---|
| 86 |
|
---|
| 87 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
[a9fd38e] | 88 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
| 89 | the ownerships of the files are root:root.</para>
|
---|
[73ddd1a0] | 90 |
|
---|
| 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2>
|
---|
| 94 | <title>Command explanations</title>
|
---|
| 95 |
|
---|
[a9fd38e] | 96 | <para><parameter>--without-gimp-print</parameter>: This switch disables
|
---|
| 97 | the building of the <application><acronym>GIMP</acronym></application> print
|
---|
| 98 | driver as a <application>Ghostscript</application> device since this is
|
---|
| 99 | deprecated. This driver may be still accessible via <acronym>IJS</acronym>
|
---|
[73ddd1a0] | 100 | or <application><acronym>CUPS</acronym></application>,
|
---|
| 101 | and this is the preferred way.</para>
|
---|
| 102 | <!-- This also fails with Gimp-Print-4.2.6-rc1 or later -->
|
---|
| 103 |
|
---|
[a9fd38e] | 104 | <para><option>--without-omni</option>: This switch disables the
|
---|
| 105 | omni driver support.</para>
|
---|
| 106 |
|
---|
[73ddd1a0] | 107 | <para><option>--without-ijs</option>: This switch disables the
|
---|
| 108 | <acronym>IJS</acronym> driver support.</para>
|
---|
| 109 |
|
---|
[78d82bd7] | 110 | <para><command>install ...</command>: Some packages
|
---|
| 111 | (<application>ImageMagick</application> is one) need the
|
---|
| 112 | <application>Ghostscript</application> headers in place to link to the
|
---|
| 113 | shared library. These commands install the headers.</para>
|
---|
| 114 |
|
---|
[73ddd1a0] | 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2>
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
[a9fd38e] | 120 | <para>The <application>Ghostscript</application> package contains
|
---|
| 121 | <command>gs</command>, the <filename class='libraryfile'>libgs</filename>
|
---|
| 122 | library and many filters to render PostScript/<acronym>PDF</acronym> files
|
---|
| 123 | back and forth. Please refer to the <acronym>HTML</acronym> documentation or
|
---|
| 124 | try <command>man gs</command> for information about the capabilities provided
|
---|
| 125 | by the package. <application><acronym>ESP</acronym> Ghostscript</application>
|
---|
| 126 | also provides the <filename>pstoraster</filename>
|
---|
| 127 | <application><acronym>CUPS</acronym></application> print filter.</para>
|
---|
[73ddd1a0] | 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2>
|
---|
| 132 | <title>Description</title>
|
---|
| 133 |
|
---|
[a9fd38e] | 134 | <sect3>
|
---|
| 135 | <title>gs</title>
|
---|
| 136 | <para><command>gs</command> invokes <application>Ghostscript</application>, an
|
---|
| 137 | interpreter of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
| 138 | (<acronym>PDF</acronym>) languages.</para></sect3>
|
---|
| 139 |
|
---|
[73ddd1a0] | 140 | <sect3>
|
---|
| 141 | <title>pstoraster</title>
|
---|
[a9fd38e] | 142 | <para><application><acronym>CUPS</acronym></application> uses the
|
---|
| 143 | <command>pstoraster</command> filter to convert PostScript to a generic raster
|
---|
| 144 | image format that is acceptable as an input to drivers for non-PostScript
|
---|
| 145 | printers (e.g., from <xref linkend="gimp-print"/>). It is built and installed
|
---|
| 146 | only if <xref linkend="cups"/> is found.</para></sect3>
|
---|
[73ddd1a0] | 147 |
|
---|
| 148 | </sect2>
|
---|
[a486991] | 149 |
|
---|
| 150 | </sect1>
|
---|