source: pst/printing/espgs.xml@ e77976f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since e77976f was e77976f, checked in by Randy McMurchy <randy@…>, 18 years ago

Changed all the references to X Window System links to a common entity displayed as 'X Window System' - now if there is ever an addition or removal of one of the X packages, an update in only one place will be required

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5825 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY espgs-download-http "http://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">
9 <!ENTITY espgs-md5sum "2a21136953c3559e6088522753b06b1f">
10 <!ENTITY espgs-size "7.7 MB">
11 <!ENTITY espgs-buildsize "103.6 MB (includes installing libgs.so and both font tarballs)">
12 <!ENTITY espgs-time "2.2 SBU (includes building and installing libgs.so)">
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
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 <keywordset>
30 <keyword role="package">espgs-&espgs-version;-source.tar</keyword>
31 <keyword role="ftpdir">espgs</keyword>
32 </keywordset>
33 </sect1info>
34
35 <title>ESP Ghostscript-&espgs-version;</title>
36
37 <indexterm zone="espgs">
38 <primary sortas="a-ESP-Ghostscript">ESP Ghostscript</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to ESP Ghostscript</title>
43
44 <para><application>ESP Ghostscript</application> is a versatile processor
45 for PostScript data with the ability to render PostScript to different
46 targets. <application>ESP Ghostscript</application> is a customized
47 version of GNU Ghostscript that includes an enhanced configuration script,
48 the <application>CUPS</application> raster driver to support
49 <application>CUPS</application> raster printer drivers, and additional
50 patches and drivers from various Linux distributors.</para>
51
52 <bridgehead renderas="sect3">Package Information</bridgehead>
53 <itemizedlist spacing="compact">
54 <listitem>
55 <para>Download (HTTP): <ulink url="&espgs-download-http;"/></para>
56 </listitem>
57 <listitem>
58 <para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download MD5 sum: &espgs-md5sum;</para>
62 </listitem>
63 <listitem>
64 <para>Download size: &espgs-size;</para>
65 </listitem>
66 <listitem>
67 <para>Estimated disk space required: &espgs-buildsize;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated build time: &espgs-time;</para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
75
76 <itemizedlist spacing='compact'>
77 <title>Standard Fonts</title>
78 <listitem>
79 <para>Download (FTP): <ulink url="&espgs-standard-fonts-download;"/></para>
80 </listitem>
81 <listitem>
82 <para>Download MD5 sum: &espgs-standard-fonts-md5sum;</para>
83 </listitem>
84 <listitem>
85 <para>Download size: &espgs-standard-fonts-size;</para>
86 </listitem>
87 </itemizedlist>
88
89 <itemizedlist spacing='compact'>
90 <title>Other Fonts</title>
91 <listitem>
92 <para>Download (HTTP): <ulink url="&espgs-other-fonts-download;"/></para>
93 </listitem>
94 <listitem>
95 <para>Download MD5 sum: &espgs-other-fonts-md5sum;</para>
96 </listitem>
97 <listitem>
98 <para>Download size: &espgs-other-fonts-size;</para>
99 </listitem>
100 </itemizedlist>
101
102 <bridgehead renderas="sect3">ESP Ghostscript Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional"><xref linkend="cups"/>,
106 <xref linkend="libjpeg"/>,
107 <xref linkend="libpng"/>,
108 <xref linkend="x-window-system"/>, and
109 <xref linkend="GTK"/></para>
110
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
119<screen><userinput>sed -i "s/bbox.dev$/x11.dev/" Makefile.in &amp;&amp;
120./configure --prefix=/usr --enable-threads --without-omni &amp;&amp;
121make</userinput></screen>
122
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
127<screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
128
129 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
130
131<screen role="root"><userinput>make install &amp;&amp;
132rmdir -v /usr/lib/ghostscript/8.15 /usr/lib/ghostscript &amp;&amp;
133ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &amp;&amp;
134for INSTFILE in `ls doc`
135do
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
139done</userinput></screen>
140
141 <para>To install the shared library
142 <filename class='libraryfile'>libgs.so</filename> you will need
143 <xref linkend="GTK"/>. Note that the shared library is only used in
144 external programs such as <xref linkend="gsview"/> and
145 <xref linkend="imagemagick"/>. Proceed with the following command as an
146 unprivileged user:</para>
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 &amp;&amp;
153install -v -d -m755 /usr/include/ps &amp;&amp;
154install -v -m644 src/*.h /usr/include/ps &amp;&amp;
155ln -v -s ps /usr/include/ghostscript</userinput></screen>
156
157 <para>To finish the installation, unpack all fonts you've downloaded to
158 <filename class="directory">/usr/share/ghostscript</filename> and ensure
159 the ownerships of the files are
160 <systemitem class="username">root</systemitem>:<systemitem class="groupname">root</systemitem>.
161 Substitute <replaceable>[font-tarball]</replaceable> appropriately in
162 the command below for the fonts you wish to install:</para>
163
164<screen role="root"><userinput>tar -xvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &amp;&amp;
165chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
166
167 </sect2>
168
169 <sect2 role="commands">
170 <title>Command Explanations</title>
171
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>
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
185 <para><command>rmdir -v /usr/lib/ghostscript/...</command>: These two
186 directories are removed as they were created during the installation,
187 but unpopulated.</para>
188
189 <para><command>install ...</command>: Some packages
190 (<application>ImageMagick</application> is one) need the
191 <application>Ghostscript</application> interface headers in place to link
192 to the shared library. These commands install the headers.</para>
193
194 <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
195 packages expect to find the interface headers in an alternate
196 location.</para>
197
198 <para><command>for INSTFILE in `ls doc` ...</command>: This
199 <quote>for</quote> loop installs some documentation files that were not
200 installed during the installation process.</para>
201
202 </sect2>
203
204 <sect2 role="content">
205 <title>Contents</title>
206
207 <segmentedlist>
208 <segtitle>Installed Programs</segtitle>
209 <segtitle>Installed Library</segtitle>
210 <segtitle>Installed Directories</segtitle>
211
212 <seglistitem>
213 <seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
214 gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
215 pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf,ps2pdf12,
216 ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
217 wftopfa</seg>
218 <seg>libgs.so </seg>
219 <seg>/usr/include/ps and /usr/share/ghostscript</seg>
220 </seglistitem>
221 </segmentedlist>
222
223 <variablelist>
224 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
225 <?dbfo list-presentation="list"?>
226 <?dbhtml list-presentation="table"?>
227
228 <varlistentry id="gs-prog-gs">
229 <term><command>gs</command></term>
230 <listitem>
231 <para>invokes <application>Ghostscript</application>, an interpreter
232 of Adobe Systems' PostScript(tm) and Portable Document Format
233 (PDF) languages.</para>
234 <indexterm zone="espgs gs-prog-gs">
235 <primary sortas="b-gs">gs</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 <varlistentry id="pstoraster">
241 <term><filename>pstoraster</filename></term>
242 <listitem>
243 <para>is a filter used by <application>CUPS</application> to convert
244 PostScript to a generic raster image format that is acceptable as an
245 input to drivers for non-PostScript printers (e.g., from
246 <xref linkend="gimp-print"/>). It is built and installed only if
247 <xref linkend="cups"/> is found.</para>
248 <indexterm zone="espgs pstoraster">
249 <primary sortas="g-pstoraster">pstoraster</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 </variablelist>
255
256 <para><application>ESP Ghostscript</application> provides many different
257 scripts used to render PostScript/PDF files back and forth. Please refer
258 to the HTML documentation or try <command>man gs</command> for information
259 about the capabilities provided by the package.</para>
260
261 </sect2>
262
263</sect1>
Note: See TracBrowser for help on using the repository browser.