1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
---|
7 | <!ENTITY espgs-download-ftp " ">
|
---|
8 | <!ENTITY espgs-size "5.3 MB">
|
---|
9 | <!ENTITY espgs-buildsize "116-140 MB (depends on if libgs.so is installed)">
|
---|
10 | <!ENTITY espgs-time "1.65-3.20 SBU">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
---|
14 | <?dbhtml filename="espgs.html"?>
|
---|
15 | <title>ESP Ghostscript-&espgs-version;</title>
|
---|
16 |
|
---|
17 | <sect2>
|
---|
18 | <title>Introduction to <application>Ghostscript</application></title>
|
---|
19 |
|
---|
20 | <para><application>Ghostscript</application> is a versatile processor for
|
---|
21 | PostScript data with the ability to render PostScript to different targets.
|
---|
22 | ESP Ghostscript is a customized version of <acronym>GNU</acronym> Ghostscript
|
---|
23 | that includes an enhanced configuration script, the <acronym>
|
---|
24 | CUPS</acronym> raster driver to support <acronym>CUPS</acronym> raster printer
|
---|
25 | drivers, and additional patches and drivers from
|
---|
26 | various Linux distributors.</para>
|
---|
27 |
|
---|
28 | <sect3><title>Package information</title>
|
---|
29 | <itemizedlist spacing='compact'>
|
---|
30 | <listitem><para>Download (HTTP): <ulink url="&espgs-download-http;"/></para></listitem>
|
---|
31 | <listitem><para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para></listitem>
|
---|
32 | <listitem><para>Download size: &espgs-size;</para></listitem>
|
---|
33 | <listitem><para>Estimated Disk space required: &espgs-buildsize;</para></listitem>
|
---|
34 | <listitem><para>Estimated build time: &espgs-time;</para></listitem></itemizedlist>
|
---|
35 | </sect3>
|
---|
36 |
|
---|
37 | <sect3><title>Additional downloads</title>
|
---|
38 | <itemizedlist spacing='compact'>
|
---|
39 | <listitem><para>Standard fonts: <ulink
|
---|
40 | url="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz"/>
|
---|
41 | </para></listitem>
|
---|
42 | <listitem><para>Other fonts: <ulink
|
---|
43 | url="http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz"/>
|
---|
44 | </para></listitem>
|
---|
45 | <!-- Cyrillic fonts are now a part of ghostscript-fonts-std -->
|
---|
46 | </itemizedlist></sect3>
|
---|
47 |
|
---|
48 | <sect3><title><application>Ghostscript</application>
|
---|
49 | dependencies</title>
|
---|
50 | <sect4><title>Optional</title>
|
---|
51 | <para><xref linkend="cups"/>, <xref linkend="libjpeg"/>, <xref
|
---|
52 | linkend="libpng"/>, X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), <xref
|
---|
53 | linkend="GLib"/>, <xref linkend="GTK"/> and
|
---|
54 | <xref linkend="gimp-print"/>
|
---|
55 | </para></sect4>
|
---|
56 | </sect3>
|
---|
57 |
|
---|
58 | </sect2>
|
---|
59 |
|
---|
60 | <sect2>
|
---|
61 | <title>Installation of <application>Ghostscript</application></title>
|
---|
62 |
|
---|
63 | <para>Install <application>Ghostscript</application> by running the following commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
---|
66 | make &&
|
---|
67 | make install</command></userinput></screen>
|
---|
68 |
|
---|
69 | <para>To install the shared library <filename>libgs.so</filename> you
|
---|
70 | will need <xref linkend="GTK"/>.</para>
|
---|
71 |
|
---|
72 | <para>Proceed with the following commands:</para>
|
---|
73 |
|
---|
74 | <screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
---|
75 | make soinstall</command></userinput></screen>
|
---|
76 |
|
---|
77 | <note><para>The shared library is only used in external programs like
|
---|
78 | <xref linkend="gsview"/>.</para></note>
|
---|
79 |
|
---|
80 | <para>To finish the installation, unpack all fonts you've downloaded to
|
---|
81 | <filename class="directory">/usr/share/ghostscript</filename>.</para>
|
---|
82 |
|
---|
83 | </sect2>
|
---|
84 |
|
---|
85 | <sect2>
|
---|
86 | <title>Command explanations</title>
|
---|
87 |
|
---|
88 | <para><option>--without-gimp-print</option>: This switch disables
|
---|
89 | the building of the <application><acronym>GIMP</acronym></application> print driver
|
---|
90 | as a Ghostscript device since this is deprecated.
|
---|
91 | This driver may be still accessible via <acronym>IJS</acronym>
|
---|
92 | or <application><acronym>CUPS</acronym></application>,
|
---|
93 | and this is the preferred way.</para>
|
---|
94 | <!-- This also fails with Gimp-Print-4.2.6-rc1 or later -->
|
---|
95 |
|
---|
96 | <para><option>--without-ijs</option>: This switch disables the
|
---|
97 | <acronym>IJS</acronym> driver support.</para>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2>
|
---|
102 | <title>Contents</title>
|
---|
103 |
|
---|
104 | <para>Ghostscript comes with a lot of filters to render
|
---|
105 | PostScript/<acronym>PDF</acronym> files back and forth. Please
|
---|
106 | refer to the <acronym>HTML</acronym> documentation or try
|
---|
107 | <command>man gs</command>. <acronym>ESP</acronym> Ghostscript provides
|
---|
108 | pstoraster too.</para>
|
---|
109 |
|
---|
110 | </sect2>
|
---|
111 |
|
---|
112 | <sect2>
|
---|
113 |
|
---|
114 | <title>Description</title>
|
---|
115 |
|
---|
116 | <sect3>
|
---|
117 | <title>pstoraster</title>
|
---|
118 | <para><acronym>CUPS</acronym> uses <command>pstoraster</command> filter to convert
|
---|
119 | PostScript to a generic raster image format that is acceptable as an input to
|
---|
120 | drivers for non-PostScript printers (e.g., from
|
---|
121 | <xref linkend="gimp-print"/>).
|
---|
122 | It is built and installed only if
|
---|
123 | <xref linkend="cups"/> is found.</para></sect3>
|
---|
124 |
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | </sect1>
|
---|