glfs/pst/printing/espgs/espgs-inst.xml

38 lines
1.4 KiB
XML
Raw Normal View History

<sect2>
<title>Installation of <application>Ghostscript</application></title>
<para>If you want to use <acronym>OMNI</acronym> drivers extract the source archive in
Ghostscript directory:</para>
<screen><userinput><command>tar xzvf ../Omni-0.9.0.tar.gz</command></userinput></screen>
<para>Otherwise you must add <option>--without-omni</option> switch to
the configure script if you intend to install the shared
library.</para>
<para>Install <application>Ghostscript</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --without-gimp-print &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
<para>To install the shared library <filename>libgs.so</filename> you
will need <xref linkend="GTK"/>. Additionally, if you unpacked the
<acronym>OMNI</acronym> drivers then you also have to apply the glib
patch:</para>
<screen><userinput><command>patch -Np1 -i ../espgs-7.07.1-glib.patch</command></userinput></screen>
<para>Proceed with the following commands:</para>
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &amp;&amp;
make soinstall</command></userinput></screen>
<note><para>The shared library is only used in external programs like
<xref linkend="gsview"/>.</para></note>
<para>To finish the installation, unpack all fonts you've downloaded to
<filename class="directory">/usr/share/ghostscript</filename>.</para>
</sect2>