source: pst/printing/gs.xml@ 1b5a1d1

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 1b5a1d1 was 1b5a1d1, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated to GPL Ghostscript-8.70.

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

  • Property mode set to 100644
File size: 9.0 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 gs-download-http "&sourceforge-repo;/ghostscript/ghostscript-&gs-version;.tar.bz2">
8 <!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/GPL/gs870/ghostscript-&gs-version;.tar.bz2">
9 <!ENTITY gs-md5sum "526366f8cb4fda0d3d293597cc5b984b">
10 <!ENTITY gs-size "17 MB">
11 <!ENTITY gs-buildsize "232 MB (includes installing libgs.so and both font tarballs)">
12 <!ENTITY gs-time "3.2 SBU (includes building and installing libgs.so)">
13
14 <!ENTITY gs-standard-fonts-download "ftp://ftp.imagemagick.org/pub/ImageMagick/delegates/ghostscript-fonts-std-8.11.tar.gz">
15 <!ENTITY gs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
16 <!ENTITY gs-standard-fonts-size "3.6 MB">
17
18 <!ENTITY gs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
19 <!ENTITY gs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
20 <!ENTITY gs-other-fonts-size "778 KB">
21]>
22
23<sect1 id="gs" xreflabel="GPL Ghostscript-&gs-version;">
24 <?dbhtml filename="gs.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>GPL Ghostscript-&gs-version;</title>
32
33 <indexterm zone="gs">
34 <primary sortas="a-GPL-Ghostscript">GPL Ghostscript</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to Ghostscript</title>
39
40 <para><application>Ghostscript</application> is a versatile processor
41 for PostScript data with the ability to render PostScript to different
42 targets.</para>
43
44 &lfs65_checked;
45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
48 <listitem>
49 <para>Download (HTTP): <ulink url="&gs-download-http;"/></para>
50 </listitem>
51 <listitem>
52 <para>Download (FTP): <ulink url="&gs-download-ftp;"/></para>
53 </listitem>
54 <listitem>
55 <para>Download MD5 sum: &gs-md5sum;</para>
56 </listitem>
57 <listitem>
58 <para>Download size: &gs-size;</para>
59 </listitem>
60 <listitem>
61 <para>Estimated disk space required: &gs-buildsize;</para>
62 </listitem>
63 <listitem>
64 <para>Estimated build time: &gs-time;</para>
65 </listitem>
66 </itemizedlist>
67
68 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
69
70 <itemizedlist spacing='compact'>
71 <title>Standard Fonts</title>
72 <listitem>
73 <para>Download (FTP): <ulink url="&gs-standard-fonts-download;"/></para>
74 </listitem>
75 <listitem>
76 <para>Download MD5 sum: &gs-standard-fonts-md5sum;</para>
77 </listitem>
78 <listitem>
79 <para>Download size: &gs-standard-fonts-size;</para>
80 </listitem>
81 </itemizedlist>
82
83 <itemizedlist spacing='compact'>
84 <title>Other Fonts</title>
85 <listitem>
86 <para>Download (HTTP): <ulink url="&gs-other-fonts-download;"/></para>
87 </listitem>
88 <listitem>
89 <para>Download MD5 sum: &gs-other-fonts-md5sum;</para>
90 </listitem>
91 <listitem>
92 <para>Download size: &gs-other-fonts-size;</para>
93 </listitem>
94 </itemizedlist>
95
96 <itemizedlist spacing="compact">
97 <title>Patches</title>
98 <listitem>
99 <para>Optional patch: <ulink
100 url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch"/>
101 </para>
102 </listitem>
103 </itemizedlist>
104
105 <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
106
107 <bridgehead renderas="sect4">Optional</bridgehead>
108 <para role="optional"><xref linkend="libjpeg"/>,
109 <xref linkend="libpng"/>,
110 <xref linkend="jasper"/>,
111 <xref linkend="gtk2"/>, and
112 <xref linkend="x-window-system"/></para>
113
114 <para condition="html" role="usernotes">User Notes:
115 <ulink url="&blfs-wiki;/gs"/></para>
116
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of Ghostscript</title>
121
122 <para>If you have <application>JasPer</application> installed on your system
123 and you would like to use it with <application>GPL Ghostscript</application>,
124 first remove the local copy and apply a patch:</para>
125
126<screen><userinput>rm -rf jasper &amp;&amp;
127patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch</userinput></screen>
128
129 <para>Install <application>GPL Ghostscript</application> by running the
130 following commands:</para>
131
132<screen><userinput>./configure --prefix=/usr &amp;&amp;
133make</userinput></screen>
134
135 <para>This package does not come with a test suite. However, you may test
136 the operation of the newly built <command>gs</command> program by
137 issuing the following command (issue from an X Windows terminal):</para>
138
139 <screen><userinput>bin/gs -Ilib -dBATCH examples/tiger.eps</userinput></screen>
140
141 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
142
143<screen role="root"><userinput>make install &amp;&amp;
144ln -sv /usr/share/ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;</userinput></screen>
145
146 <para>To install the shared library
147 <filename class='libraryfile'>libgs.so</filename>, run the
148 following additional command as an unprivileged user:</para>
149
150<screen><userinput>make so</userinput></screen>
151
152 <para>And again, as the <systemitem class="username">root</systemitem>
153 user:</para>
154
155<screen role="root"><userinput>make soinstall &amp;&amp;
156install -v -m644 base/*.h /usr/include/ghostscript &amp;&amp;
157ln -v -s ghostscript /usr/include/ps</userinput></screen>
158
159 <note>
160 <para>The shared library depends on <xref linkend="gtk2"/>. It is
161 only used in external programs like <xref linkend="gsview"/> and
162 <xref linkend="imagemagick"/>.</para>
163 </note>
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 root:root. Substitute
168 <replaceable>&lt;font-tarball&gt;</replaceable> appropriately in
169 the command below for the fonts you wish to install:</para>
170
171<screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> -C /usr/share/ghostscript &amp;&amp;
172chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
173
174 </sect2>
175
176 <sect2 role="commands">
177 <title>Command Explanations</title>
178
179 <para><command>install ...</command>: Some packages
180 (<application>ImageMagick</application> is one) need the
181 <application>Ghostscript</application> interface headers in place to link
182 to the shared library. These commands install the headers.</para>
183
184 <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts
185 the documentation where it is expected to be found.</para>
186
187 <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some
188 packages expect to find the interface headers in an alternate
189 location.</para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195 <segmentedlist>
196 <segtitle>Installed Programs</segtitle>
197 <segtitle>Installed Library</segtitle>
198 <segtitle>Installed Directories</segtitle>
199
200 <seglistitem>
201 <seg>bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
202 gsdj, gsdj500, gslj, gslp, gsnd, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
203 pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12,
204 ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, and
205 wftopfa</seg>
206 <seg>libgs.so </seg>
207 <seg>/usr/include/ghostscript and /usr/share/ghostscript</seg>
208 </seglistitem>
209 </segmentedlist>
210
211 <variablelist>
212 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
213 <?dbfo list-presentation="list"?>
214 <?dbhtml list-presentation="table"?>
215
216 <varlistentry id="gplgs-prog">
217 <term><command>gs</command></term>
218 <listitem>
219 <para>is an interpreter for Adobe Systems' PostScript(tm) and Portable Document Format
220 (PDF).</para>
221 <indexterm zone="gs gplgs-prog">
222 <primary sortas="b-gs">gs</primary>
223 </indexterm>
224 </listitem>
225 </varlistentry>
226
227 <varlistentry id="libgs.so">
228 <term><filename class="libraryfile">libgs.so</filename></term>
229 <listitem>
230 <para>provides <application>Ghostscript</application> functionality
231 to other programs, such as <application>GSView</application>,
232 <application>ImageMagick</application>, and
233 <application>libspectre</application>.</para>
234 <indexterm zone="gs libgs.so">
235 <primary sortas="c-libgs.so">libgs.so</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
240 </variablelist>
241
242 <para><application>GPL Ghostscript</application> provides many different
243 scripts used to convert PostScript, PDF, and other formats. Please refer to
244 the HTML documentation or the man pages for information about the
245 capabilities provided.</para>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.