[ed30f09] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[73ddd1a0] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[00b6675] | 6 |
|
---|
[73ddd1a0] | 7 | <!ENTITY gs-download-http "http://prdownloads.sourceforge.net/ghostscript/ghostscript-&gs-version;.tar.bz2">
|
---|
[038ea6ba] | 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)">
|
---|
[00b6675] | 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">
|
---|
[73ddd1a0] | 21 | ]>
|
---|
| 22 |
|
---|
[64a25d5] | 23 | <sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
|
---|
[ed30f09] | 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 |
|
---|
[b29ed97c] | 94 | <bridgehead renderas="sect3">Ghostscript Dependencies</bridgehead>
|
---|
[ed30f09] | 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 &&
|
---|
[038ea6ba] | 118 | make</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>
|
---|
[73ddd1a0] | 125 |
|
---|
[ed30f09] | 126 | <para>To install the shared library
|
---|
| 127 | <filename class='libraryfile'>libgs.so</filename>, run the
|
---|
[e615d9b] | 128 | following additional command as an unprivileged user:</para>
|
---|
[038ea6ba] | 129 |
|
---|
| 130 | <screen><userinput>make so</userinput></screen>
|
---|
[73ddd1a0] | 131 |
|
---|
[e615d9b] | 132 | <para>And again, as the <systemitem class="username">root</systemitem>
|
---|
| 133 | user:</para>
|
---|
[038ea6ba] | 134 |
|
---|
| 135 | <screen role="root"><userinput>make soinstall &&
|
---|
| 136 | install -v -d -m755 /usr/include/ps &&
|
---|
| 137 | install -v -m644 src/*.h /usr/include/ps</userinput></screen>
|
---|
[73ddd1a0] | 138 |
|
---|
[ed30f09] | 139 | <note>
|
---|
| 140 | <para>The shared library depends on <xref linkend="GTK"/>. It is
|
---|
| 141 | only used in external programs like <xref linkend="gsview"/>.</para>
|
---|
| 142 | </note>
|
---|
[73ddd1a0] | 143 |
|
---|
[ed30f09] | 144 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
[038ea6ba] | 145 | <filename class="directory">/usr/share/ghostscript</filename> and ensure
|
---|
| 146 | the ownerships of the files are root:root. Substitute
|
---|
| 147 | <replaceable>[font-tarball]</replaceable> appropriately in
|
---|
| 148 | the command below for the fonts you wish to install:</para>
|
---|
| 149 |
|
---|
| 150 | <screen role="root"><userinput>tar -zxvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &&
|
---|
| 151 | chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
|
---|
[73ddd1a0] | 152 |
|
---|
[ed30f09] | 153 | </sect2>
|
---|
[73ddd1a0] | 154 |
|
---|
[ed30f09] | 155 | <sect2 role="content">
|
---|
| 156 | <title>Contents</title>
|
---|
[038ea6ba] | 157 | <segmentedlist>
|
---|
| 158 | <segtitle>Installed Programs</segtitle>
|
---|
| 159 | <segtitle>Installed Library</segtitle>
|
---|
| 160 | <segtitle>Installed Directories</segtitle>
|
---|
| 161 |
|
---|
| 162 | <seglistitem>
|
---|
| 163 | <seg>bdftops, dumphint, ddvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj,
|
---|
| 164 | gsc, gsdj, gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps,
|
---|
| 165 | pdfopt, pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
|
---|
| 166 | ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, unix-lpr.sh, and
|
---|
| 167 | wftopfa</seg>
|
---|
| 168 | <seg>libgs.so </seg>
|
---|
| 169 | <seg>/usr/include/ps and /usr/share/ghostscript</seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="afplgs-prog-gs">
|
---|
| 179 | <term><command>gs</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>invokes <application>Ghostscript</application>, an interpreter
|
---|
| 182 | of Adobe Systems' PostScript(tm) and Portable Document Format
|
---|
| 183 | (PDF) languages.</para>
|
---|
| 184 | <indexterm zone="gs afplgs-prog-gs">
|
---|
| 185 | <primary sortas="b-gs">gs</primary>
|
---|
| 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | <para><application>AFPL Ghostscript</application> provides many different
|
---|
| 193 | scripts used to render PostScript/PDF files back and forth. Please refer
|
---|
| 194 | to the HTML documentation or try <command>man gs</command> for information
|
---|
| 195 | about the capabilities provided by the package.</para>
|
---|
[73ddd1a0] | 196 |
|
---|
[ed30f09] | 197 | </sect2>
|
---|
[cabb2de] | 198 |
|
---|
| 199 | </sect1>
|
---|