[cd8a01b8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[73ddd1a0] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[78d82bd7] | 6 |
|
---|
[fada515] | 7 | <!ENTITY espgs-download-http "http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/ghostscript/&espgs-version;/espgs-&espgs-version;-source.tar.bz2">
|
---|
[ea804bc] | 8 | <!ENTITY espgs-download-ftp "ftp://ftp.easysw.com/pub/ghostscript/&espgs-version;/espgs-&espgs-version;-source.tar.bz2">
|
---|
[78adb72e] | 9 | <!ENTITY espgs-md5sum "e74e0463e0bfb1cea3db245d8e71828c">
|
---|
| 10 | <!ENTITY espgs-size "8.7 MB">
|
---|
| 11 | <!ENTITY espgs-buildsize "108 MB (includes installing libgs.so and both font tarballs)">
|
---|
[c267b261] | 12 | <!ENTITY espgs-time "2.3 SBU (includes building and installing libgs.so)">
|
---|
[00b6675] | 13 |
|
---|
[caed24b6] | 14 | <!ENTITY espgs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
|
---|
[00b6675] | 15 | <!ENTITY espgs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
|
---|
| 16 | <!ENTITY espgs-standard-fonts-size "3.7 MB">
|
---|
| 17 |
|
---|
[e87d57b] | 18 | <!ENTITY espgs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
|
---|
| 19 | <!ENTITY espgs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
|
---|
| 20 | <!ENTITY espgs-other-fonts-size "796 KB">
|
---|
[73ddd1a0] | 21 | ]>
|
---|
| 22 |
|
---|
[64a25d5] | 23 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
[2ed14a4] | 24 | <?dbhtml filename="espgs.html"?>
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | <title>ESP Ghostscript-&espgs-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="espgs">
|
---|
| 30 | <primary sortas="a-ESP-Ghostscript">ESP Ghostscript</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to ESP Ghostscript</title>
|
---|
| 35 |
|
---|
| 36 | <para><application>ESP Ghostscript</application> is a versatile processor
|
---|
| 37 | for PostScript data with the ability to render PostScript to different
|
---|
| 38 | targets. <application>ESP Ghostscript</application> is a customized
|
---|
| 39 | version of GNU Ghostscript that includes an enhanced configuration script,
|
---|
| 40 | the <application>CUPS</application> raster driver to support
|
---|
| 41 | <application>CUPS</application> raster printer drivers, and additional
|
---|
| 42 | patches and drivers from various Linux distributors.</para>
|
---|
| 43 |
|
---|
| 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&espgs-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &espgs-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &espgs-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &espgs-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &espgs-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
| 65 |
|
---|
| 66 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 67 |
|
---|
[d155489] | 68 | <itemizedlist spacing='compact'>
|
---|
| 69 | <title>Required Patch</title>
|
---|
| 70 | <listitem>
|
---|
[05fa6cc3] | 71 | <para><ulink url="&patch-root;/espgs-&espgs-version;-bov_fix-1.patch"/></para>
|
---|
[d155489] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
[2ed14a4] | 75 | <itemizedlist spacing='compact'>
|
---|
| 76 | <title>Standard Fonts</title>
|
---|
| 77 | <listitem>
|
---|
| 78 | <para>Download (FTP): <ulink url="&espgs-standard-fonts-download;"/></para>
|
---|
| 79 | </listitem>
|
---|
| 80 | <listitem>
|
---|
| 81 | <para>Download MD5 sum: &espgs-standard-fonts-md5sum;</para>
|
---|
| 82 | </listitem>
|
---|
| 83 | <listitem>
|
---|
| 84 | <para>Download size: &espgs-standard-fonts-size;</para>
|
---|
| 85 | </listitem>
|
---|
| 86 | </itemizedlist>
|
---|
| 87 |
|
---|
| 88 | <itemizedlist spacing='compact'>
|
---|
| 89 | <title>Other Fonts</title>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>Download (HTTP): <ulink url="&espgs-other-fonts-download;"/></para>
|
---|
| 92 | </listitem>
|
---|
| 93 | <listitem>
|
---|
| 94 | <para>Download MD5 sum: &espgs-other-fonts-md5sum;</para>
|
---|
| 95 | </listitem>
|
---|
| 96 | <listitem>
|
---|
| 97 | <para>Download size: &espgs-other-fonts-size;</para>
|
---|
| 98 | </listitem>
|
---|
| 99 | </itemizedlist>
|
---|
| 100 |
|
---|
| 101 | <bridgehead renderas="sect3">ESP Ghostscript Dependencies</bridgehead>
|
---|
| 102 |
|
---|
| 103 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[d352a28] | 104 | <para role="optional"><xref linkend="cups"/>,
|
---|
[2ed14a4] | 105 | <xref linkend="libjpeg"/>,
|
---|
| 106 | <xref linkend="libpng"/>,
|
---|
[78adb72e] | 107 | <xref linkend="x-window-system"/>, and
|
---|
| 108 | <xref linkend="gtk2"/> or <xref linkend="GTK"/></para>
|
---|
[2ed14a4] | 109 |
|
---|
[977061b0] | 110 | <para condition="html" role="usernotes">User Notes:
|
---|
| 111 | <ulink url="&blfs-wiki;/espgs"/></para>
|
---|
| 112 |
|
---|
[2ed14a4] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Installation of ESP Ghostscript</title>
|
---|
| 117 |
|
---|
| 118 | <para>Install <application>ESP Ghostscript</application>
|
---|
| 119 | by running the following commands:</para>
|
---|
| 120 |
|
---|
[bc20263] | 121 | <screen><userinput>patch -Np1 -i ../espgs-&espgs-version;-bov_fix-1.patch &&
|
---|
| 122 | sed -i "s/bbox.dev$/x11.dev/" Makefile.in &&
|
---|
| 123 | ./configure --prefix=/usr \
|
---|
| 124 | --enable-threads \
|
---|
| 125 | --without-omni &&
|
---|
[2ed14a4] | 126 | make</userinput></screen>
|
---|
| 127 |
|
---|
[78adb72e] | 128 | <para>To build the shared
|
---|
| 129 | <filename class='libraryfile'>libgs.so</filename> library you must have
|
---|
| 130 | <application>GTK+</application> installed and issue the following
|
---|
| 131 | command:</para>
|
---|
| 132 |
|
---|
| 133 | <screen><userinput>make so</userinput></screen>
|
---|
| 134 |
|
---|
[16104bd] | 135 | <para>This package does not come with a test suite. However, you may test
|
---|
| 136 | the operation of the newly built <command>gs</command> program by issuing
|
---|
| 137 | the following command (issue from an X Windows terminal):</para>
|
---|
| 138 |
|
---|
[e87d57b] | 139 | <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
|
---|
[16104bd] | 140 |
|
---|
[2ed14a4] | 141 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 142 |
|
---|
[e87d57b] | 143 | <screen role="root"><userinput>make install &&
|
---|
[c267b261] | 144 | install -d /usr/share/doc/espgs-&espgs-version;
|
---|
| 145 | ln -v -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &&
|
---|
[e87d57b] | 146 | for INSTFILE in `ls doc`
|
---|
| 147 | do
|
---|
| 148 | if [ ! -f /usr/share/doc/espgs-&espgs-version;/$INSTFILE ]; then
|
---|
| 149 | install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-&espgs-version;/
|
---|
| 150 | fi
|
---|
| 151 | done</userinput></screen>
|
---|
[2ed14a4] | 152 |
|
---|
[78adb72e] | 153 | <para>If you built the shared library, install it and the associated
|
---|
| 154 | programs by issuing the following commands as the
|
---|
| 155 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[2ed14a4] | 156 |
|
---|
| 157 | <screen role="root"><userinput>make soinstall &&
|
---|
[20560e4] | 158 | install -v -d -m755 /usr/include/ps &&
|
---|
[2ddf71a5] | 159 | install -v -m644 src/*.h /usr/include/ps &&
|
---|
| 160 | ln -v -s ps /usr/include/ghostscript</userinput></screen>
|
---|
[2ed14a4] | 161 |
|
---|
| 162 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
| 163 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
[e87d57b] | 164 | the ownerships of the files are
|
---|
| 165 | <systemitem class="username">root</systemitem>:<systemitem class="groupname">root</systemitem>.
|
---|
[977061b0] | 166 | Substitute <replaceable><font-tarball></replaceable> appropriately in
|
---|
[2ed14a4] | 167 | the command below for the fonts you wish to install:</para>
|
---|
| 168 |
|
---|
[977061b0] | 169 | <screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> -C /usr/share/ghostscript &&
|
---|
[e87d57b] | 170 | chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
|
---|
[2ed14a4] | 171 |
|
---|
| 172 | </sect2>
|
---|
| 173 |
|
---|
| 174 | <sect2 role="commands">
|
---|
| 175 | <title>Command Explanations</title>
|
---|
| 176 |
|
---|
[e87d57b] | 177 | <para><command>sed -i "s/bbox.dev$/x11.dev/" Makefile.in</command>:
|
---|
| 178 | This command changes the default <command>gs</command> output device from
|
---|
| 179 | the bbox driver to the x11 (screen) driver.</para>
|
---|
| 180 |
|
---|
| 181 | <para><parameter>--enable-threads</parameter>: This parameter enables
|
---|
| 182 | threaded output.</para>
|
---|
[2ed14a4] | 183 |
|
---|
| 184 | <para><parameter>--without-omni</parameter>: This switch disables the
|
---|
| 185 | omni driver support.</para>
|
---|
| 186 |
|
---|
| 187 | <para><option>--without-ijs</option>: This switch disables the
|
---|
| 188 | IJS driver support.</para>
|
---|
| 189 |
|
---|
[c267b261] | 190 | <para><command>install -v -m644 src/*.h /usr/include/ps</command>: Some
|
---|
| 191 | packages (<application>ImageMagick</application> is one) need the
|
---|
[2ddf71a5] | 192 | <application>Ghostscript</application> interface headers in place to link
|
---|
| 193 | to the shared library. These commands install the headers.</para>
|
---|
| 194 |
|
---|
| 195 | <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
|
---|
| 196 | packages expect to find the interface headers in an alternate
|
---|
| 197 | location.</para>
|
---|
[2ed14a4] | 198 |
|
---|
[e87d57b] | 199 | <para><command>for INSTFILE in `ls doc` ...</command>: This
|
---|
| 200 | <quote>for</quote> loop installs some documentation files that were not
|
---|
| 201 | installed during the installation process.</para>
|
---|
| 202 |
|
---|
[2ed14a4] | 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | <sect2 role="content">
|
---|
| 206 | <title>Contents</title>
|
---|
| 207 |
|
---|
| 208 | <segmentedlist>
|
---|
| 209 | <segtitle>Installed Programs</segtitle>
|
---|
| 210 | <segtitle>Installed Library</segtitle>
|
---|
| 211 | <segtitle>Installed Directories</segtitle>
|
---|
| 212 |
|
---|
| 213 | <seglistitem>
|
---|
| 214 | <seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
|
---|
| 215 | gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
|
---|
[e87d57b] | 216 | pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf,ps2pdf12,
|
---|
| 217 | ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
|
---|
| 218 | wftopfa</seg>
|
---|
[2ed14a4] | 219 | <seg>libgs.so </seg>
|
---|
| 220 | <seg>/usr/include/ps and /usr/share/ghostscript</seg>
|
---|
| 221 | </seglistitem>
|
---|
| 222 | </segmentedlist>
|
---|
| 223 |
|
---|
| 224 | <variablelist>
|
---|
| 225 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 226 | <?dbfo list-presentation="list"?>
|
---|
| 227 | <?dbhtml list-presentation="table"?>
|
---|
| 228 |
|
---|
| 229 | <varlistentry id="gs-prog-gs">
|
---|
| 230 | <term><command>gs</command></term>
|
---|
| 231 | <listitem>
|
---|
| 232 | <para>invokes <application>Ghostscript</application>, an interpreter
|
---|
| 233 | of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
| 234 | (PDF) languages.</para>
|
---|
| 235 | <indexterm zone="espgs gs-prog-gs">
|
---|
| 236 | <primary sortas="b-gs">gs</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
| 240 |
|
---|
| 241 | <varlistentry id="pstoraster">
|
---|
| 242 | <term><filename>pstoraster</filename></term>
|
---|
| 243 | <listitem>
|
---|
| 244 | <para>is a filter used by <application>CUPS</application> to convert
|
---|
| 245 | PostScript to a generic raster image format that is acceptable as an
|
---|
| 246 | input to drivers for non-PostScript printers (e.g., from
|
---|
[61d6f59] | 247 | <xref linkend="gutenprint"/>). It is built and installed only if
|
---|
[2ed14a4] | 248 | <xref linkend="cups"/> is found.</para>
|
---|
| 249 | <indexterm zone="espgs pstoraster">
|
---|
| 250 | <primary sortas="g-pstoraster">pstoraster</primary>
|
---|
| 251 | </indexterm>
|
---|
| 252 | </listitem>
|
---|
| 253 | </varlistentry>
|
---|
| 254 |
|
---|
| 255 | </variablelist>
|
---|
| 256 |
|
---|
| 257 | <para><application>ESP Ghostscript</application> provides many different
|
---|
| 258 | scripts used to render PostScript/PDF files back and forth. Please refer
|
---|
| 259 | to the HTML documentation or try <command>man gs</command> for information
|
---|
| 260 | about the capabilities provided by the package.</para>
|
---|
| 261 |
|
---|
| 262 | </sect2>
|
---|
[a486991] | 263 |
|
---|
| 264 | </sect1>
|
---|