mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
518538fb6d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3244 af4574ff-66df-0310-9fd7-8a98e5e911e0
125 lines
4.1 KiB
XML
125 lines
4.1 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY gsview-download-http "http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-&gsview-version;.tar.gz">
|
|
<!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz">
|
|
<!ENTITY gsview-size "895 KB">
|
|
<!ENTITY gsview-buildsize "19 MB">
|
|
<!ENTITY gsview-time "0.19 SBU">
|
|
]>
|
|
|
|
<sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="gsview.html"?>
|
|
<title>GSview-&gsview-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>GSview</application></title>
|
|
|
|
<para><application>GSview</application> is a viewer for PostScript and
|
|
<acronym>PDF</acronym> using <application>X</application>.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&gsview-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&gsview-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download size: &gsview-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&gsview-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&gsview-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Required Patch: <ulink
|
|
url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para></listitem>
|
|
<listitem><para>Required Patch: <ulink
|
|
url="&patch-root;/gsview-&gsview-version;-lang-1.patch"/></para></listitem>
|
|
</itemizedlist></sect3>
|
|
|
|
<sect3><title><application>GSview</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="GTK"/> and <xref
|
|
linkend="gs"/> or <xref linkend="espgs"/> (with libgs.so installed)</para></sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>GSview</application></title>
|
|
|
|
<para><application>GSview</application> uses <command>netscape
|
|
</command> to browse through the online help. <acronym>BLFS</acronym>
|
|
does not install <application>Netscape</application>, but has other
|
|
browsers from which to choose. Simply edit <filename>srcunx/gvxreg.c</filename>
|
|
using the following sed script with your browser's executable file name
|
|
substituting for <replaceable>[browser]</replaceable>:</para>
|
|
|
|
<screen><userinput><command>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</command></userinput></screen>
|
|
|
|
<para>Install <application>GSview</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
|
srcunx/unx.mak > Makefile &&
|
|
patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
|
patch -Np1 -i ../gsview-&gsview-version;-lang-1.patch &&
|
|
make &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>: This
|
|
command changes the default installation directory to
|
|
<filename class="directory">/usr</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>GSview</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/gsview/*</filename></para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>GSview</application> package contains
|
|
<command>epstool</command>, <command>gsview</command> and
|
|
<command>gsview-help</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>epstool</title>
|
|
<para><command>epstool</command> is a tool for extracting preview
|
|
bitmaps in <acronym>EPS</acronym> files.</para></sect3>
|
|
|
|
<sect3><title>gsview</title>
|
|
<para><command>gsview</command> is a viewer for PostScript
|
|
(<acronym>PS</acronym>) and
|
|
<acronym>PDF</acronym> files.</para></sect3>
|
|
|
|
<sect3><title>gsview-help</title>
|
|
<para><command>gsview-help</command> is a script for displaying help
|
|
files in your chosen browser.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|