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 | <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>Required Patch</title>
|
---|
74 | <listitem>
|
---|
75 | <para><ulink url="&patch-root;/espgs-&espgs-version;-bov_fix-1.patch"/></para>
|
---|
76 | </listitem>
|
---|
77 | </itemizedlist>
|
---|
78 |
|
---|
79 | <itemizedlist spacing='compact'>
|
---|
80 | <title>Standard Fonts</title>
|
---|
81 | <listitem>
|
---|
82 | <para>Download (FTP): <ulink url="&espgs-standard-fonts-download;"/></para>
|
---|
83 | </listitem>
|
---|
84 | <listitem>
|
---|
85 | <para>Download MD5 sum: &espgs-standard-fonts-md5sum;</para>
|
---|
86 | </listitem>
|
---|
87 | <listitem>
|
---|
88 | <para>Download size: &espgs-standard-fonts-size;</para>
|
---|
89 | </listitem>
|
---|
90 | </itemizedlist>
|
---|
91 |
|
---|
92 | <itemizedlist spacing='compact'>
|
---|
93 | <title>Other Fonts</title>
|
---|
94 | <listitem>
|
---|
95 | <para>Download (HTTP): <ulink url="&espgs-other-fonts-download;"/></para>
|
---|
96 | </listitem>
|
---|
97 | <listitem>
|
---|
98 | <para>Download MD5 sum: &espgs-other-fonts-md5sum;</para>
|
---|
99 | </listitem>
|
---|
100 | <listitem>
|
---|
101 | <para>Download size: &espgs-other-fonts-size;</para>
|
---|
102 | </listitem>
|
---|
103 | </itemizedlist>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect3">ESP Ghostscript Dependencies</bridgehead>
|
---|
106 |
|
---|
107 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
108 | <para role="optional"><xref linkend="cups"/>,
|
---|
109 | <xref linkend="libjpeg"/>,
|
---|
110 | <xref linkend="libpng"/>,
|
---|
111 | <xref linkend="x-window-system"/>, and
|
---|
112 | <xref linkend="gtk2"/> or <xref linkend="GTK"/></para>
|
---|
113 |
|
---|
114 | <para condition="html" role="usernotes">User Notes:
|
---|
115 | <ulink url="&blfs-wiki;/espgs"/></para>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="installation">
|
---|
120 | <title>Installation of ESP Ghostscript</title>
|
---|
121 |
|
---|
122 | <para>Install <application>ESP Ghostscript</application>
|
---|
123 | by running the following commands:</para>
|
---|
124 |
|
---|
125 | <screen><userinput>patch -Np1 -i ../espgs-&espgs-version;-bov_fix-1.patch &&
|
---|
126 | sed -i "s/bbox.dev$/x11.dev/" Makefile.in &&
|
---|
127 | ./configure --prefix=/usr \
|
---|
128 | --enable-threads \
|
---|
129 | --without-omni &&
|
---|
130 | make</userinput></screen>
|
---|
131 |
|
---|
132 | <para>To build the shared
|
---|
133 | <filename class='libraryfile'>libgs.so</filename> library you must have
|
---|
134 | <application>GTK+</application> installed and issue the following
|
---|
135 | command:</para>
|
---|
136 |
|
---|
137 | <screen><userinput>make so</userinput></screen>
|
---|
138 |
|
---|
139 | <para>This package does not come with a test suite. However, you may test
|
---|
140 | the operation of the newly built <command>gs</command> program by issuing
|
---|
141 | the following command (issue from an X Windows terminal):</para>
|
---|
142 |
|
---|
143 | <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
|
---|
144 |
|
---|
145 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
146 |
|
---|
147 | <screen role="root"><userinput>make install &&
|
---|
148 | install -d /usr/share/doc/espgs-&espgs-version;
|
---|
149 | ln -v -s ../../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &&
|
---|
150 | for INSTFILE in `ls doc`
|
---|
151 | do
|
---|
152 | if [ ! -f /usr/share/doc/espgs-&espgs-version;/$INSTFILE ]; then
|
---|
153 | install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-&espgs-version;/
|
---|
154 | fi
|
---|
155 | done</userinput></screen>
|
---|
156 |
|
---|
157 | <para>If you built the shared library, install it and the associated
|
---|
158 | programs by issuing the following commands as the
|
---|
159 | <systemitem class="username">root</systemitem> user:</para>
|
---|
160 |
|
---|
161 | <screen role="root"><userinput>make soinstall &&
|
---|
162 | install -v -d -m755 /usr/include/ps &&
|
---|
163 | install -v -m644 src/*.h /usr/include/ps &&
|
---|
164 | ln -v -s ps /usr/include/ghostscript</userinput></screen>
|
---|
165 |
|
---|
166 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
167 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
168 | the ownerships of the files are
|
---|
169 | <systemitem class="username">root</systemitem>:<systemitem class="groupname">root</systemitem>.
|
---|
170 | Substitute <replaceable><font-tarball></replaceable> appropriately in
|
---|
171 | the command below for the fonts you wish to install:</para>
|
---|
172 |
|
---|
173 | <screen role="root"><userinput>tar -xvf ../<replaceable><font-tarball></replaceable> -C /usr/share/ghostscript &&
|
---|
174 | chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
|
---|
175 |
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | <sect2 role="commands">
|
---|
179 | <title>Command Explanations</title>
|
---|
180 |
|
---|
181 | <para><command>sed -i "s/bbox.dev$/x11.dev/" Makefile.in</command>:
|
---|
182 | This command changes the default <command>gs</command> output device from
|
---|
183 | the bbox driver to the x11 (screen) driver.</para>
|
---|
184 |
|
---|
185 | <para><parameter>--enable-threads</parameter>: This parameter enables
|
---|
186 | threaded output.</para>
|
---|
187 |
|
---|
188 | <para><parameter>--without-omni</parameter>: This switch disables the
|
---|
189 | omni driver support.</para>
|
---|
190 |
|
---|
191 | <para><option>--without-ijs</option>: This switch disables the
|
---|
192 | IJS driver support.</para>
|
---|
193 |
|
---|
194 | <para><command>install -v -m644 src/*.h /usr/include/ps</command>: Some
|
---|
195 | packages (<application>ImageMagick</application> is one) need the
|
---|
196 | <application>Ghostscript</application> interface headers in place to link
|
---|
197 | to the shared library. These commands install the headers.</para>
|
---|
198 |
|
---|
199 | <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
|
---|
200 | packages expect to find the interface headers in an alternate
|
---|
201 | location.</para>
|
---|
202 |
|
---|
203 | <para><command>for INSTFILE in `ls doc` ...</command>: This
|
---|
204 | <quote>for</quote> loop installs some documentation files that were not
|
---|
205 | installed during the installation process.</para>
|
---|
206 |
|
---|
207 | </sect2>
|
---|
208 |
|
---|
209 | <sect2 role="content">
|
---|
210 | <title>Contents</title>
|
---|
211 |
|
---|
212 | <segmentedlist>
|
---|
213 | <segtitle>Installed Programs</segtitle>
|
---|
214 | <segtitle>Installed Library</segtitle>
|
---|
215 | <segtitle>Installed Directories</segtitle>
|
---|
216 |
|
---|
217 | <seglistitem>
|
---|
218 | <seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
|
---|
219 | gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
|
---|
220 | pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf,ps2pdf12,
|
---|
221 | ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
|
---|
222 | wftopfa</seg>
|
---|
223 | <seg>libgs.so </seg>
|
---|
224 | <seg>/usr/include/ps and /usr/share/ghostscript</seg>
|
---|
225 | </seglistitem>
|
---|
226 | </segmentedlist>
|
---|
227 |
|
---|
228 | <variablelist>
|
---|
229 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
230 | <?dbfo list-presentation="list"?>
|
---|
231 | <?dbhtml list-presentation="table"?>
|
---|
232 |
|
---|
233 | <varlistentry id="gs-prog-gs">
|
---|
234 | <term><command>gs</command></term>
|
---|
235 | <listitem>
|
---|
236 | <para>invokes <application>Ghostscript</application>, an interpreter
|
---|
237 | of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
238 | (PDF) languages.</para>
|
---|
239 | <indexterm zone="espgs gs-prog-gs">
|
---|
240 | <primary sortas="b-gs">gs</primary>
|
---|
241 | </indexterm>
|
---|
242 | </listitem>
|
---|
243 | </varlistentry>
|
---|
244 |
|
---|
245 | <varlistentry id="pstoraster">
|
---|
246 | <term><filename>pstoraster</filename></term>
|
---|
247 | <listitem>
|
---|
248 | <para>is a filter used by <application>CUPS</application> to convert
|
---|
249 | PostScript to a generic raster image format that is acceptable as an
|
---|
250 | input to drivers for non-PostScript printers (e.g., from
|
---|
251 | <xref linkend="gutenprint"/>). It is built and installed only if
|
---|
252 | <xref linkend="cups"/> is found.</para>
|
---|
253 | <indexterm zone="espgs pstoraster">
|
---|
254 | <primary sortas="g-pstoraster">pstoraster</primary>
|
---|
255 | </indexterm>
|
---|
256 | </listitem>
|
---|
257 | </varlistentry>
|
---|
258 |
|
---|
259 | </variablelist>
|
---|
260 |
|
---|
261 | <para><application>ESP Ghostscript</application> provides many different
|
---|
262 | scripts used to render PostScript/PDF files back and forth. Please refer
|
---|
263 | to the HTML documentation or try <command>man gs</command> for information
|
---|
264 | about the capabilities provided by the package.</para>
|
---|
265 |
|
---|
266 | </sect2>
|
---|
267 |
|
---|
268 | </sect1>
|
---|