source: pst/printing/espgs.xml@ 371ff30

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 371ff30 was 371ff30, checked in by DJ Lucas <dj@…>, 18 years ago

several cleanups-Xorg7 related

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

  • 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.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 X (<xref linkend="xfree86"/>, <xref linkend="xorg"/>, or
109 <xref linkend="xorg7"/>), and
110 <xref linkend="GTK"/></para>
111
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of ESP Ghostscript</title>
116
117 <para>Install <application>ESP Ghostscript</application>
118 by running the following commands:</para>
119
120<screen><userinput>sed -i "s/bbox.dev$/x11.dev/" Makefile.in &amp;&amp;
121./configure --prefix=/usr --enable-threads --without-omni &amp;&amp;
122make</userinput></screen>
123
124 <para>This package does not come with a test suite. However, you may test
125 the operation of the newly built <command>gs</command> program by issuing
126 the following command (issue from an X Windows terminal):</para>
127
128<screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
129
130 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
131
132<screen role="root"><userinput>make install &amp;&amp;
133rmdir -v /usr/lib/ghostscript/8.15 /usr/lib/ghostscript &amp;&amp;
134ln -v -s ../ghostscript/8.15/doc /usr/share/doc/espgs-&espgs-version; &amp;&amp;
135for INSTFILE in `ls doc`
136do
137 if [ ! -f /usr/share/doc/espgs-&espgs-version;/$INSTFILE ]; then
138 install -v -m644 doc/$INSTFILE /usr/share/doc/espgs-&espgs-version;/
139 fi
140done</userinput></screen>
141
142 <para>To install the shared library
143 <filename class='libraryfile'>libgs.so</filename> you will need
144 <xref linkend="GTK"/>. Note that the shared library is only used in
145 external programs such as <xref linkend="gsview"/> and
146 <xref linkend="imagemagick"/>. Proceed with the following command as an
147 unprivileged user:</para>
148
149<screen><userinput>make CFLAGS_SO='-fPIC $(ACDEFS)' so</userinput></screen>
150
151 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
152
153<screen role="root"><userinput>make soinstall &amp;&amp;
154install -v -d -m755 /usr/include/ps &amp;&amp;
155install -v -m644 src/*.h /usr/include/ps &amp;&amp;
156ln -v -s ps /usr/include/ghostscript</userinput></screen>
157
158 <para>To finish the installation, unpack all fonts you've downloaded to
159 <filename class="directory">/usr/share/ghostscript</filename> and ensure
160 the ownerships of the files are
161 <systemitem class="username">root</systemitem>:<systemitem class="groupname">root</systemitem>.
162 Substitute <replaceable>[font-tarball]</replaceable> appropriately in
163 the command below for the fonts you wish to install:</para>
164
165<screen role="root"><userinput>tar -xvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &amp;&amp;
166chown -v root:root /usr/share/ghostscript/fonts/*</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="commands">
171 <title>Command Explanations</title>
172
173 <para><command>sed -i "s/bbox.dev$/x11.dev/" Makefile.in</command>:
174 This command changes the default <command>gs</command> output device from
175 the bbox driver to the x11 (screen) driver.</para>
176
177 <para><parameter>--enable-threads</parameter>: This parameter enables
178 threaded output.</para>
179
180 <para><parameter>--without-omni</parameter>: This switch disables the
181 omni driver support.</para>
182
183 <para><option>--without-ijs</option>: This switch disables the
184 IJS driver support.</para>
185
186 <para><command>rmdir -v /usr/lib/ghostscript/...</command>: These two
187 directories are removed as they were created during the installation,
188 but unpopulated.</para>
189
190 <para><command>install ...</command>: Some packages
191 (<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="gimp-print"/>). 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>
Note: See TracBrowser for help on using the repository browser.