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