Updated Ghostscript explanations.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7926 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Guy Dalziel 2009-08-02 19:24:37 +00:00
parent e355f3c675
commit d891148c11

View File

@ -126,7 +126,7 @@
<para>If you have <application>JasPer</application> installed on your system <para>If you have <application>JasPer</application> installed on your system
and you would like to use it with <application>GPL Ghostscript</application>, and you would like to use it with <application>GPL Ghostscript</application>,
then we must first remove the local copy and apply a patch:</para> first remove the local copy and apply a patch:</para>
<screen><userinput>rm -rf jasper &amp;&amp; <screen><userinput>rm -rf jasper &amp;&amp;
patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch patch -Np1 -i ../ghostscript-&gs-version;-system_jasper-1.patch
@ -143,7 +143,9 @@ make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para> <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen> <screen role="root"><userinput>make install &amp;&amp;
ln -sv /usr/share/ghostscript/&gs-version;/doc /usr/share/doc/ghostscript-&gs-version;
</userinput></screen>
<para>To install the shared library <para>To install the shared library
<filename class='libraryfile'>libgs.so</filename>, run the <filename class='libraryfile'>libgs.so</filename>, run the
@ -183,6 +185,9 @@ chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
<application>Ghostscript</application> interface headers in place to link <application>Ghostscript</application> interface headers in place to link
to the shared library. These commands install the headers.</para> to the shared library. These commands install the headers.</para>
<para><command>ln -sv ... /usr/share/doc/ghostscript-8.64</command>: This puts
the documentation where it is expected to be found.</para>
<para><command>ln -v -s ghostscript /usr/include/ps</command>: Some <para><command>ln -v -s ghostscript /usr/include/ps</command>: Some
packages expect to find the interface headers in an alternate packages expect to find the interface headers in an alternate
location.</para> location.</para>
@ -212,24 +217,36 @@ chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
<?dbfo list-presentation="list"?> <?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?> <?dbhtml list-presentation="table"?>
<varlistentry id="afplgs-prog-gs"> <varlistentry id="gplgs-prog">
<term><command>gs</command></term> <term><command>gs</command></term>
<listitem> <listitem>
<para>invokes <application>Ghostscript</application>, an interpreter <para>is an interpreter for Adobe Systems' PostScript(tm) and Portable Document Format
of Adobe Systems' PostScript(tm) and Portable Document Format (PDF).</para>
(PDF) languages.</para> <indexterm zone="gs gplgs-prog">
<indexterm zone="gs afplgs-prog-gs">
<primary sortas="b-gs">gs</primary> <primary sortas="b-gs">gs</primary>
</indexterm> </indexterm>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry id="libgs.so">
<term><filename class="libraryfile">libgs.so</filename></term>
<listitem>
<para>provides <application>Ghostscript</application> functionality
to other programs, such as <application>GSView</application>,
<application>ImageMagick</application>, and
<application>libspectre</application>.</para>
<indexterm zone="gs libgs.so">
<primary sortas="c-libgs.so">libgs.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist> </variablelist>
<para><application>GPL Ghostscript</application> provides many different <para><application>GPL Ghostscript</application> provides many different
scripts used to render PostScript/PDF files back and forth. Please refer scripts used to convert PostScript, PDF, and other formats. Please refer to
to the HTML documentation or try <command>man gs</command> for information the HTML documentation or the man pages for information about the
about the capabilities provided by the package.</para> capabilities provided.</para>
</sect2> </sect2>