source: pst/printing/gs.xml@ 15b3bc29

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 15b3bc29 was 15b3bc29, checked in by Randy McMurchy <randy@…>, 17 years ago

Modified all the Sourceforge download links to use the new standard Sourceforge has implemented

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

  • Property mode set to 100644
File size: 7.9 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://downloads.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 "e65e0c40213a616174572faa639e04d6">
10 <!ENTITY gs-size "9.3 MB">
11 <!ENTITY gs-buildsize "104 MB (includes installing libgs.so and both font tarballs)">
12 <!ENTITY gs-time "2.4 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 role="optional"><xref linkend="libjpeg"/>,
98 <xref linkend="libpng"/>,
99 <xref linkend="GTK"/>, and
100 <xref linkend="x-window-system"/></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 <para condition="html" role="usernotes">User Notes:
110 <ulink url="&blfs-wiki;/gs"/></para>
111
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of Ghostscript</title>
116
117 <para>Install <application>Ghostscript</application> by running the
118 following commands:</para>
119
120<screen><userinput>./configure --prefix=/usr &amp;&amp;
121make</userinput></screen>
122
123 <para>This package does not come with a test suite.</para>
124
125 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128
129 <para>To install the shared library
130 <filename class='libraryfile'>libgs.so</filename>, run the
131 following additional command as an unprivileged user:</para>
132
133<screen><userinput>make so</userinput></screen>
134
135 <para>And again, as the <systemitem class="username">root</systemitem>
136 user:</para>
137
138<screen role="root"><userinput>make soinstall &amp;&amp;
139install -v -d -m755 /usr/include/ps &amp;&amp;
140install -v -m644 src/*.h /usr/include/ps &amp;&amp;
141ln -v -s ps /usr/include/ghostscript</userinput></screen>
142
143 <note>
144 <para>The shared library depends on <xref linkend="GTK"/>. It is
145 only used in external programs like <xref linkend="gsview"/> and
146 <xref linkend="imagemagick"/>.</para>
147 </note>
148
149 <para>To finish the installation, unpack all fonts you've downloaded to
150 <filename class="directory">/usr/share/ghostscript</filename> and ensure
151 the ownerships of the files are root:root. Substitute
152 <replaceable>&lt;font-tarball&gt;</replaceable> appropriately in
153 the command below for the fonts you wish to install:</para>
154
155<screen role="root"><userinput>tar -xvf ../<replaceable>&lt;font-tarball&gt;</replaceable> -C /usr/share/ghostscript &amp;&amp;
156chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
157
158 </sect2>
159
160 <sect2 role="commands">
161 <title>Command Explanations</title>
162
163 <para><command>install ...</command>: Some packages
164 (<application>ImageMagick</application> is one) need the
165 <application>Ghostscript</application> interface headers in place to link
166 to the shared library. These commands install the headers.</para>
167
168 <para><command>ln -v -s ps /usr/include/ghostscript</command>: Some
169 packages expect to find the interface headers in an alternate
170 location.</para>
171
172 </sect2>
173
174 <sect2 role="content">
175 <title>Contents</title>
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Library</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
183 gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
184 pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
185 ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
186 wftopfa</seg>
187 <seg>libgs.so </seg>
188 <seg>/usr/include/ps and /usr/share/ghostscript</seg>
189 </seglistitem>
190 </segmentedlist>
191
192 <variablelist>
193 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
194 <?dbfo list-presentation="list"?>
195 <?dbhtml list-presentation="table"?>
196
197 <varlistentry id="afplgs-prog-gs">
198 <term><command>gs</command></term>
199 <listitem>
200 <para>invokes <application>Ghostscript</application>, an interpreter
201 of Adobe Systems' PostScript(tm) and Portable Document Format
202 (PDF) languages.</para>
203 <indexterm zone="gs afplgs-prog-gs">
204 <primary sortas="b-gs">gs</primary>
205 </indexterm>
206 </listitem>
207 </varlistentry>
208
209 </variablelist>
210
211 <para><application>AFPL Ghostscript</application> provides many different
212 scripts used to render PostScript/PDF files back and forth. Please refer
213 to the HTML documentation or try <command>man gs</command> for information
214 about the capabilities provided by the package.</para>
215
216 </sect2>
217
218</sect1>
Note: See TracBrowser for help on using the repository browser.