1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
7 | <!ENTITY espgs-download-ftp "ftp://ftp.gtlib.cc.gatech.edu/pub/slackware/slackware-current/source/ap/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
8 | <!ENTITY espgs-md5sum "d30bf5c09f2c7caa8291f6305cf03044">
|
---|
9 | <!ENTITY espgs-size "5.3 MB">
|
---|
10 | <!ENTITY espgs-buildsize "128 MB (includes installing libgs.so and both font tarballs)">
|
---|
11 | <!ENTITY espgs-time "1.94 SBU (includes building and installing libgs.so)">
|
---|
12 |
|
---|
13 | <!ENTITY espgs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
|
---|
14 | <!ENTITY espgs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
|
---|
15 | <!ENTITY espgs-standard-fonts-size "3.7 MB">
|
---|
16 |
|
---|
17 | <!ENTITY espgs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
|
---|
18 | <!ENTITY espgs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
|
---|
19 | <!ENTITY espgs-other-fonts-size "796 KB">
|
---|
20 | ]>
|
---|
21 |
|
---|
22 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
23 | <sect1info>
|
---|
24 | <othername>$LastChangedBy$</othername>
|
---|
25 | <date>$Date$</date>
|
---|
26 | </sect1info>
|
---|
27 | <?dbhtml filename="espgs.html"?>
|
---|
28 | <title><application><acronym>ESP</acronym>
|
---|
29 | Ghostscript</application>-&espgs-version;</title>
|
---|
30 | <indexterm zone="espgs">
|
---|
31 | <primary sortas="a-ESP-Ghostscript">ESP Ghostscript</primary></indexterm>
|
---|
32 |
|
---|
33 | <sect2>
|
---|
34 | <title>Introduction to <application><acronym>ESP</acronym>
|
---|
35 | Ghostscript</application></title>
|
---|
36 |
|
---|
37 | <para><application><acronym>ESP</acronym> Ghostscript</application> is a
|
---|
38 | versatile processor for PostScript data with the ability to render PostScript
|
---|
39 | to different targets.
|
---|
40 | <application><acronym>ESP</acronym> Ghostscript</application> is a customized
|
---|
41 | version of <acronym>GNU</acronym> Ghostscript that includes an enhanced
|
---|
42 | configuration script, the <application><acronym>CUPS</acronym></application>
|
---|
43 | raster driver to support <application><acronym>CUPS</acronym></application>
|
---|
44 | raster printer drivers, and additional patches and drivers from various Linux
|
---|
45 | distributors.</para>
|
---|
46 |
|
---|
47 | <sect3><title>Package information</title>
|
---|
48 | <itemizedlist spacing='compact'>
|
---|
49 | <listitem><para>Download (HTTP):
|
---|
50 | <ulink url="&espgs-download-http;"/></para></listitem>
|
---|
51 | <listitem><para>Download (FTP):
|
---|
52 | <ulink url="&espgs-download-ftp;"/></para></listitem>
|
---|
53 | <listitem><para>Download MD5 sum: &espgs-md5sum;</para></listitem>
|
---|
54 | <listitem><para>Download size: &espgs-size;</para></listitem>
|
---|
55 | <listitem><para>Estimated disk space required:
|
---|
56 | &espgs-buildsize;</para></listitem>
|
---|
57 | <listitem><para>Estimated build time:
|
---|
58 | &espgs-time;</para></listitem></itemizedlist>
|
---|
59 | </sect3>
|
---|
60 |
|
---|
61 | <sect3><title>Additional downloads</title>
|
---|
62 | <sect4><title>Standard fonts</title>
|
---|
63 | <itemizedlist spacing='compact'>
|
---|
64 | <listitem><para>Download (FTP):
|
---|
65 | <ulink url="&espgs-standard-fonts-download;"/></para></listitem>
|
---|
66 | <listitem><para>Download MD5 sum:
|
---|
67 | &espgs-standard-fonts-md5sum;</para></listitem>
|
---|
68 | <listitem><para>Download size:
|
---|
69 | &espgs-standard-fonts-size;</para></listitem>
|
---|
70 | </itemizedlist>
|
---|
71 | </sect4>
|
---|
72 |
|
---|
73 | <sect4><title>Other fonts</title>
|
---|
74 | <itemizedlist spacing='compact'>
|
---|
75 | <listitem><para>Download (HTTP):
|
---|
76 | <ulink url="&espgs-other-fonts-download;"/></para></listitem>
|
---|
77 | <listitem><para>Download MD5 sum:
|
---|
78 | &espgs-other-fonts-md5sum;</para></listitem>
|
---|
79 | <listitem><para>Download size:
|
---|
80 | &espgs-other-fonts-size;</para></listitem>
|
---|
81 | </itemizedlist>
|
---|
82 | </sect4>
|
---|
83 | </sect3>
|
---|
84 |
|
---|
85 | <sect3><title><application><acronym>ESP</acronym> Ghostscript</application>
|
---|
86 | dependencies</title>
|
---|
87 | <sect4><title>Optional</title>
|
---|
88 | <para><xref linkend="cups"/>,
|
---|
89 | <xref linkend="libjpeg"/>,
|
---|
90 | <xref linkend="libpng"/>,
|
---|
91 | X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
92 | <xref linkend="GLib"/>,
|
---|
93 | <xref linkend="GTK"/> and
|
---|
94 | <xref linkend="gimp-print"/></para>
|
---|
95 | </sect4>
|
---|
96 | </sect3>
|
---|
97 |
|
---|
98 | </sect2>
|
---|
99 |
|
---|
100 | <sect2>
|
---|
101 | <title>Installation of <application><acronym>ESP</acronym>
|
---|
102 | Ghostscript</application></title>
|
---|
103 |
|
---|
104 | <para>Install <application><acronym>ESP</acronym> Ghostscript</application>
|
---|
105 | by running the following commands:</para>
|
---|
106 |
|
---|
107 | <screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
---|
108 | make</command></userinput></screen>
|
---|
109 |
|
---|
110 | <para>Now, as the root user:</para>
|
---|
111 |
|
---|
112 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
113 |
|
---|
114 | <para>To install the shared library
|
---|
115 | <filename class='libraryfile'>libgs.so</filename> you
|
---|
116 | will need <xref linkend="GTK"/>.</para>
|
---|
117 |
|
---|
118 | <para>Proceed with the following commands:</para>
|
---|
119 |
|
---|
120 | <screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so</command></userinput></screen>
|
---|
121 |
|
---|
122 | <para>Now, as the root user:</para>
|
---|
123 |
|
---|
124 | <screen><userinput role='root'><command>make soinstall &&
|
---|
125 | install -v -d -m755 /usr/include/ps &&
|
---|
126 | install -v -m644 src/*.h /usr/include/ps</command></userinput></screen>
|
---|
127 |
|
---|
128 | <note><para>The shared library is only used in external programs like
|
---|
129 | <xref linkend="gsview"/>.</para></note>
|
---|
130 |
|
---|
131 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
132 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
133 | the ownerships of the files are root:root. Substitute appropriately in
|
---|
134 | the command below for the fonts you wish to install:</para>
|
---|
135 |
|
---|
136 | <screen><userinput role='root'><command>tar -zxvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &&
|
---|
137 | chown -v -R root:root /usr/share/ghostscript/fonts</command></userinput></screen>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2>
|
---|
142 | <title>Command explanations</title>
|
---|
143 |
|
---|
144 | <para><parameter>--without-gimp-print</parameter>: This switch disables
|
---|
145 | the building of the <application><acronym>GIMP</acronym></application> print
|
---|
146 | driver as a <application>Ghostscript</application> device since this is
|
---|
147 | deprecated. This driver may be still accessible via <acronym>IJS</acronym>
|
---|
148 | or <application><acronym>CUPS</acronym></application>,
|
---|
149 | and this is the preferred way.</para>
|
---|
150 |
|
---|
151 | <para><option>--without-omni</option>: This switch disables the
|
---|
152 | omni driver support.</para>
|
---|
153 |
|
---|
154 | <para><option>--without-ijs</option>: This switch disables the
|
---|
155 | <acronym>IJS</acronym> driver support.</para>
|
---|
156 |
|
---|
157 | <para><command>install ...</command>: Some packages
|
---|
158 | (<application>ImageMagick</application> is one) need the
|
---|
159 | <application>Ghostscript</application> headers in place to link to the
|
---|
160 | shared library. These commands install the headers.</para>
|
---|
161 |
|
---|
162 | </sect2>
|
---|
163 |
|
---|
164 | <sect2>
|
---|
165 | <title>Contents</title>
|
---|
166 |
|
---|
167 | <segmentedlist>
|
---|
168 | <segtitle>Installed Programs</segtitle>
|
---|
169 | <segtitle>Installed Library</segtitle>
|
---|
170 | <segtitle>Installed Directories</segtitle>
|
---|
171 |
|
---|
172 | <seglistitem>
|
---|
173 | <seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
|
---|
174 | gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt, pf2afm,
|
---|
175 | pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12, ps2pdf13,
|
---|
176 | ps2pdf14, ps2pdfwr, ps2ps, pv.sh, sysvlp.sh, unix-lpr.sh, wftopfa</seg>
|
---|
177 | <seg>libgs.so </seg>
|
---|
178 | <seg>/usr/include/ps and /usr/share/ghostscript</seg>
|
---|
179 | </seglistitem>
|
---|
180 | </segmentedlist>
|
---|
181 |
|
---|
182 | <variablelist>
|
---|
183 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
184 | <?dbfo list-presentation="list"?>
|
---|
185 |
|
---|
186 | <varlistentry id="gs-prog-gs">
|
---|
187 | <term><command>gs</command></term>
|
---|
188 | <listitem><para>invokes <application>Ghostscript</application>, an interpreter
|
---|
189 | of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
190 | (<acronym>PDF</acronym>) languages.</para>
|
---|
191 | <indexterm zone="espgs gs-prog-gs">
|
---|
192 | <primary sortas="b-gs">gs</primary>
|
---|
193 | </indexterm></listitem>
|
---|
194 | </varlistentry>
|
---|
195 |
|
---|
196 | <varlistentry id="pstoraster">
|
---|
197 | <term><filename>pstoraster</filename></term>
|
---|
198 | <listitem><para>is a filter used by
|
---|
199 | <application><acronym>CUPS</acronym></application> to convert PostScript to
|
---|
200 | a generic raster image format that is acceptable as an input to drivers for
|
---|
201 | non-PostScript printers (e.g., from <xref linkend="gimp-print"/>). It is
|
---|
202 | built and installed only if <xref linkend="cups"/> is found.</para>
|
---|
203 | <indexterm zone="espgs pstoraster">
|
---|
204 | <primary sortas="g-pstoraster">pstoraster</primary>
|
---|
205 | </indexterm></listitem>
|
---|
206 | </varlistentry>
|
---|
207 | </variablelist>
|
---|
208 |
|
---|
209 | <para><application><acronym>ESP</acronym> Ghostscript</application> provides
|
---|
210 | many different scripts used to render PostScript/<acronym>PDF</acronym> files
|
---|
211 | back and forth. Please refer to the <acronym>HTML</acronym> documentation or
|
---|
212 | try <command>man gs</command> for information about the capabilities provided
|
---|
213 | by the package.</para>
|
---|
214 |
|
---|
215 | </sect2>
|
---|
216 |
|
---|
217 | </sect1>
|
---|