source: archive/espgs.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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