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