source: pst/printing/gs.xml@ be7b3c2

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 be7b3c2 was be7b3c2, checked in by Guy Dalziel <gdalziel@…>, 15 years ago

Updated Xpdf to patch-level 3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7927 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/gs864/ghostscript-&gs-version;.tar.bz2">
9 <!ENTITY gs-md5sum "b13289cb2115f38f40c5e064f87e228a">
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>Required patch: <ulink
100 url="&patch-root;/ghostscript-&gs-version;-security_fixes-1.patch"/>
101 </para>
102 </listitem>
103 <listitem>
104 <para>Optional patch: <ulink
105 url="&patch-root;/ghostscript-&gs-version;-system_jasper-1.patch"/>
106 </para>
107 </listitem>
108 </itemizedlist>
109
110 <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
111
112 <bridgehead renderas="sect4">Optional</bridgehead>
113 <para role="optional"><xref linkend="libjpeg"/>,
114 <xref linkend="libpng"/>,
115 <xref linkend="jasper"/>,
116 <xref linkend="gtk2"/>, and
117 <xref linkend="x-window-system"/></para>
118
119 <para condition="html" role="usernotes">User Notes:
120 <ulink url="&blfs-wiki;/gs"/></para>
121
122 </sect2>
123
124 <sect2 role="installation">
125 <title>Installation of Ghostscript</title>
126
127 <para>If you have <application>JasPer</application> installed on your system
128 and you would like to use it with <application>GPL Ghostscript</application>,
129 first remove the local copy and apply a patch:</para>
130
131<screen><userinput>rm -rf jasper &amp;&amp;
132patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch
133</userinput></screen>
134
135 <para>Install <application>GPL Ghostscript</application> by running the
136 following commands:</para>
137
138<screen><userinput>patch -Np1 -i ../ghostscript-&gs-version;-security_fixes-1.patch &amp;&amp;
139./configure --prefix=/usr &amp;&amp;
140make</userinput></screen>
141
142 <para>This package does not come with a test suite.</para>
143
144 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
145
146<screen role="root"><userinput>make install &amp;&amp;
147ln -sv /usr/share/ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;
148</userinput></screen>
149
150 <para>To install the shared library
151 <filename class='libraryfile'>libgs.so</filename>, run the
152 following additional command as an unprivileged user:</para>
153
154<screen><userinput>make so</userinput></screen>
155
156 <para>And again, as the <systemitem class="username">root</systemitem>
157 user:</para>
158
159<screen role="root"><userinput>make soinstall &amp;&amp;
160install -v -m644 base/*.h /usr/include/ghostscript &amp;&amp;
161ln -v -s ghostscript /usr/include/ps</userinput></screen>
162
163 <note>
164 <para>The shared library depends on <xref linkend="gtk2"/>. It is
165 only used in external programs like <xref linkend="gsview"/> and
166 <xref linkend="imagemagick"/>.</para>
167 </note>
168
169 <para>To finish the installation, unpack all fonts you've downloaded to
170 <filename class="directory">/usr/share/ghostscript</filename> and ensure
171 the ownerships of the files are root:root. Substitute
172 <replaceable>&lt;font-tarball&gt;</replaceable> appropriately in
173 the command below for the fonts you wish to install:</para>
174
175<screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> -C /usr/share/ghostscript &amp;&amp;
176chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
177
178 </sect2>
179
180 <sect2 role="commands">
181 <title>Command Explanations</title>
182
183 <para><command>install ...</command>: Some packages
184 (<application>ImageMagick</application> is one) need the
185 <application>Ghostscript</application> interface headers in place to link
186 to the shared library. These commands install the headers.</para>
187
188 <para><command>ln -sv ... /usr/share/doc/ghostscript-&gs-version;</command>: This puts
189 the documentation where it is expected to be found.</para>
190
191 <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some
192 packages expect to find the interface headers in an alternate
193 location.</para>
194
195 </sect2>
196
197 <sect2 role="content">
198 <title>Contents</title>
199 <segmentedlist>
200 <segtitle>Installed Programs</segtitle>
201 <segtitle>Installed Library</segtitle>
202 <segtitle>Installed Directories</segtitle>
203
204 <seglistitem>
205 <seg>bdftops, dumphint, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
206 gsdj, gsdj500, gslj, gslp, gsnd, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
207 pf2afm, pfbtopfa, printafm, ps2ascii, ps2epsi, ps2pdf, ps2pdf12,
208 ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, ps2ps2, pv.sh, unix-lpr.sh, and
209 wftopfa</seg>
210 <seg>libgs.so </seg>
211 <seg>/usr/include/ghostscript and /usr/share/ghostscript</seg>
212 </seglistitem>
213 </segmentedlist>
214
215 <variablelist>
216 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
217 <?dbfo list-presentation="list"?>
218 <?dbhtml list-presentation="table"?>
219
220 <varlistentry id="gplgs-prog">
221 <term><command>gs</command></term>
222 <listitem>
223 <para>is an interpreter for Adobe Systems' PostScript(tm) and Portable Document Format
224 (PDF).</para>
225 <indexterm zone="gs gplgs-prog">
226 <primary sortas="b-gs">gs</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="libgs.so">
232 <term><filename class="libraryfile">libgs.so</filename></term>
233 <listitem>
234 <para>provides <application>Ghostscript</application> functionality
235 to other programs, such as <application>GSView</application>,
236 <application>ImageMagick</application>, and
237 <application>libspectre</application>.</para>
238 <indexterm zone="gs libgs.so">
239 <primary sortas="c-libgs.so">libgs.so</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 <para><application>GPL Ghostscript</application> provides many different
247 scripts used to convert PostScript, PDF, and other formats. Please refer to
248 the HTML documentation or the man pages for information about the
249 capabilities provided.</para>
250
251 </sect2>
252
253</sect1>
Note: See TracBrowser for help on using the repository browser.