1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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://ftp.easysw.com/pub/ghostscript/&espgs-version;/espgs-&espgs-version;-source.tar.bz2">
|
---|
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)">
|
---|
12 | <!ENTITY espgs-time "2.3 SBU (includes building and installing libgs.so)">
|
---|
13 |
|
---|
14 | <!ENTITY espgs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
|
---|
15 | <!ENTITY espgs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
|
---|
16 | <!ENTITY espgs-standard-fonts-size "3.7 MB">
|
---|
17 |
|
---|
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">
|
---|
21 | ]>
|
---|
22 |
|
---|
23 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
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 |
|
---|
68 | <itemizedlist spacing='compact'>
|
---|
69 | <title>Required Patch</title>
|
---|
70 | <listitem>
|
---|
71 | <para><ulink url="&patch-root;/espgs-&espgs-version;-bov_fix-1.patch"/></para>
|
---|
72 | </listitem>
|
---|
73 | </itemizedlist>
|
---|
74 |
|
---|
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>
|
---|
104 | <para role="optional"><xref linkend="cups"/>,
|
---|
105 | <xref linkend="libjpeg"/>,
|
---|
106 | <xref linkend="libpng"/>,
|
---|
107 | <xref linkend="x-window-system"/>, and
|
---|
108 | <xref linkend="gtk2"/> or <xref linkend="GTK"/></para>
|
---|
109 |
|
---|
110 | <para condition="html" role="usernotes">User Notes:
|
---|
111 | <ulink url="&blfs-wiki;/espgs"/></para>
|
---|
112 |
|
---|
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 |
|
---|
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 &&
|
---|
126 | make</userinput></screen>
|
---|
127 |
|
---|
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 |
|
---|
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 |
|
---|
139 | <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
|
---|
140 |
|
---|
141 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
142 |
|
---|
143 | <screen role="root"><userinput>make install &&
|
---|
144 | install -d /usr/share/doc/espgs-&espgs-version;
|
---|
145 | ln -v -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &&
|
---|
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>
|
---|
152 |
|
---|
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>
|
---|
156 |
|
---|
157 | <screen role="root"><userinput>make soinstall &&
|
---|
158 | install -v -d -m755 /usr/include/ps &&
|
---|
159 | install -v -m644 src/*.h /usr/include/ps &&
|
---|
160 | ln -v -s ps /usr/include/ghostscript</userinput></screen>
|
---|
161 |
|
---|
162 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
163 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
164 | the ownerships of the files are
|
---|
165 | <systemitem class="username">root</systemitem>:<systemitem class="groupname">root</systemitem>.
|
---|
166 | Substitute <replaceable><font-tarball></replaceable> appropriately in
|
---|
167 | the command below for the fonts you wish to install:</para>
|
---|
168 |
|
---|
169 | <screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> -C /usr/share/ghostscript &&
|
---|
170 | chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | <sect2 role="commands">
|
---|
175 | <title>Command Explanations</title>
|
---|
176 |
|
---|
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>
|
---|
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 |
|
---|
190 | <para><command>install -v -m644 src/*.h /usr/include/ps</command>: Some
|
---|
191 | packages (<application>ImageMagick</application> is one) need the
|
---|
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>
|
---|
198 |
|
---|
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 |
|
---|
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,
|
---|
216 | pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf,ps2pdf12,
|
---|
217 | ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
|
---|
218 | wftopfa</seg>
|
---|
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
|
---|
247 | <xref linkend="gutenprint"/>). It is built and installed only if
|
---|
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>
|
---|
263 |
|
---|
264 | </sect1>
|
---|