source: pst/printing/gs.xml@ 2ddf71a5

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 2ddf71a5 was 2ddf71a5, checked in by Randy McMurchy <randy@…>, 19 years ago

Added an alternate installation location for the shared library interface headers to the AFPL Ghostscript and ESP Ghostscript instructions

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

  • Property mode set to 100644
File size: 7.8 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 gs-download-http "http://prdownloads.sourceforge.net/ghostscript/ghostscript-&gs-version;.tar.bz2">
8 <!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs851/ghostscript-&gs-version;.tar.bz2">
9 <!ENTITY gs-md5sum "8b328b47cce3b7f97f35296aae8e7b77">
10 <!ENTITY gs-size "8.0 MB">
11 <!ENTITY gs-buildsize "91 MB (includes installing libgs.so and both font tarballs)">
12 <!ENTITY gs-time "2.1 SBU (includes building and installing libgs.so)">
13
14 <!ENTITY gs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
15 <!ENTITY gs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
16 <!ENTITY gs-standard-fonts-size "3.7 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 "796 KB">
21]>
22
23<sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
24 <?dbhtml filename="gs.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>AFPL Ghostscript-&gs-version;</title>
32
33 <indexterm zone="gs">
34 <primary sortas="a-AFPL-Ghostscript">AFPL 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 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>Download (HTTP): <ulink url="&gs-download-http;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download (FTP): <ulink url="&gs-download-ftp;"/></para>
51 </listitem>
52 <listitem>
53 <para>Download MD5 sum: &gs-md5sum;</para>
54 </listitem>
55 <listitem>
56 <para>Download size: &gs-size;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated disk space required: &gs-buildsize;</para>
60 </listitem>
61 <listitem>
62 <para>Estimated build time: &gs-time;</para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
67
68 <itemizedlist spacing='compact'>
69 <title>Standard Fonts</title>
70 <listitem>
71 <para>Download (FTP): <ulink url="&gs-standard-fonts-download;"/></para>
72 </listitem>
73 <listitem>
74 <para>Download MD5 sum: &gs-standard-fonts-md5sum;</para>
75 </listitem>
76 <listitem>
77 <para>Download size: &gs-standard-fonts-size;</para>
78 </listitem>
79 </itemizedlist>
80
81 <itemizedlist spacing='compact'>
82 <title>Other Fonts</title>
83 <listitem>
84 <para>Download (HTTP): <ulink url="&gs-other-fonts-download;"/></para>
85 </listitem>
86 <listitem>
87 <para>Download MD5 sum: &gs-other-fonts-md5sum;</para>
88 </listitem>
89 <listitem>
90 <para>Download size: &gs-other-fonts-size;</para>
91 </listitem>
92 </itemizedlist>
93
94 <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para><xref linkend="libjpeg"/>,
98 <xref linkend="libpng"/>,
99 <xref linkend="GTK"/> and
100 X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
101
102 <bridgehead renderas="sect3">Conflicts</bridgehead>
103 <para>This version of Ghostscript does not work with
104 <application>CUPS</application> due to missing generic "cups" raster
105 image driver. The necessary support cannot be patched in due to
106 incompatible licenses. Use <xref linkend="espgs"/> instead if you have
107 <application>CUPS</application>.</para>
108
109 </sect2>
110
111 <sect2 role="installation">
112 <title>Installation of Ghostscript</title>
113
114 <para>Install <application>Ghostscript</application> by running the
115 following commands:</para>
116
117<screen><userinput>./configure --prefix=/usr &amp;&amp;
118make</userinput></screen>
119
120 <para>This package does not come with a test suite.</para>
121
122 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 <para>To install the shared library
127 <filename class='libraryfile'>libgs.so</filename>, run the
128 following additional command as an unprivileged user:</para>
129
130<screen><userinput>make so</userinput></screen>
131
132 <para>And again, as the <systemitem class="username">root</systemitem>
133 user:</para>
134
135<screen role="root"><userinput>make soinstall &amp;&amp;
136install -v -d -m755 /usr/include/ps &amp;&amp;
137install -v -m644 src/*.h /usr/include/ps &amp;&amp;
138ln -v -s ps /usr/include/ghostscript</userinput></screen>
139
140 <note>
141 <para>The shared library depends on <xref linkend="GTK"/>. It is
142 only used in external programs like <xref linkend="gsview"/> and
143 <xref linkend="imagemagick"/>.</para>
144 </note>
145
146 <para>To finish the installation, unpack all fonts you've downloaded to
147 <filename class="directory">/usr/share/ghostscript</filename> and ensure
148 the ownerships of the files are root:root. Substitute
149 <replaceable>[font-tarball]</replaceable> appropriately in
150 the command below for the fonts you wish to install:</para>
151
152<screen role="root"><userinput>tar -zxvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &amp;&amp;
153chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
154
155 </sect2>
156
157 <sect2 role="commands">
158 <title>Command Explanations</title>
159
160 <para><command>install ...</command>: Some packages
161 (<application>ImageMagick</application> is one) need the
162 <application>Ghostscript</application> interface headers in place to link
163 to the shared library. These commands install the headers.</para>
164
165 <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
166 packages expect to find the interface headers in an alternate
167 location.</para>
168
169 </sect2>
170
171 <sect2 role="content">
172 <title>Contents</title>
173 <segmentedlist>
174 <segtitle>Installed Programs</segtitle>
175 <segtitle>Installed Library</segtitle>
176 <segtitle>Installed Directories</segtitle>
177
178 <seglistitem>
179 <seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
180 gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
181 pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
182 ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
183 wftopfa</seg>
184 <seg>libgs.so </seg>
185 <seg>/usr/include/ps and /usr/share/ghostscript</seg>
186 </seglistitem>
187 </segmentedlist>
188
189 <variablelist>
190 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
191 <?dbfo list-presentation="list"?>
192 <?dbhtml list-presentation="table"?>
193
194 <varlistentry id="afplgs-prog-gs">
195 <term><command>gs</command></term>
196 <listitem>
197 <para>invokes <application>Ghostscript</application>, an interpreter
198 of Adobe Systems' PostScript(tm) and Portable Document Format
199 (PDF) languages.</para>
200 <indexterm zone="gs afplgs-prog-gs">
201 <primary sortas="b-gs">gs</primary>
202 </indexterm>
203 </listitem>
204 </varlistentry>
205
206 </variablelist>
207
208 <para><application>AFPL Ghostscript</application> provides many different
209 scripts used to render PostScript/PDF files back and forth. Please refer
210 to the HTML documentation or try <command>man gs</command> for information
211 about the capabilities provided by the package.</para>
212
213 </sect2>
214
215</sect1>
Note: See TracBrowser for help on using the repository browser.