source: pst/printing/gs.xml@ 977061b0

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 977061b0 was 977061b0, checked in by Randy McMurchy <randy@…>, 18 years ago

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #8

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

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