mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
e0ac6b072d
wants to put a file back in the book. From misspellings-2.0c. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@13011 af4574ff-66df-0310-9fd7-8a98e5e911e0
195 lines
6.5 KiB
XML
195 lines
6.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/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 " ">
|
|
<!-- <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz"> -->
|
|
<!ENTITY gsview-md5sum "21c81819af0eeb42ac5ee6499f4a7116">
|
|
<!ENTITY gsview-size "931 KB">
|
|
<!ENTITY gsview-buildsize "11.4 MB">
|
|
<!ENTITY gsview-time "0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
|
<?dbhtml filename="gsview.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>GSview-&gsview-version;</title>
|
|
|
|
<indexterm zone="gsview">
|
|
<primary sortas="a-GSview">GSview</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to GSview</title>
|
|
|
|
<para><application>GSview</application> is a viewer for PostScript
|
|
and PDF using <application>X</application>.</para>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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 MD5 sum: &gsview-md5sum;</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>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem>
|
|
<para>Required Patch: <ulink
|
|
url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">GSview Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="GTK"/>, and
|
|
<xref linkend="gs"/><!-- or <xref linkend="espgs"/> --></para>
|
|
|
|
<para>Note that you must build the shared
|
|
<filename class="libraryfile">libgs.so</filename> library during the
|
|
Ghostscript installation else the <command>gsview</command> program will
|
|
fail at run-time.</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/gsview"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of GSview</title>
|
|
|
|
<para><application>GSview</application> uses <command>netscape</command>
|
|
to browse through the online help. BLFS does not install
|
|
<application>Netscape</application>, but has other browsers from which to
|
|
choose. You can create a symlink from your preferred browser to
|
|
<command>/usr/bin/netscape</command>, or simply edit
|
|
<filename>srcunx/gvxreg.c</filename> using the following <command>sed</command>
|
|
script with your browser's executable file name
|
|
substituted for <replaceable><browser></replaceable>:</para>
|
|
|
|
<screen><userinput>sed -i 's:netscape:<replaceable><browser></replaceable>:' srcunx/gvxreg.c</userinput></screen>
|
|
|
|
<!-- Pending investigation as to whether or not this is necessary for GPL
|
|
Ghostscript.
|
|
|
|
<para>The <application>GSview</application> package has not been updated in
|
|
quite a while and does not accommodate the recent versions of the
|
|
<application>ESP Ghostscript</application> package. If you installed
|
|
<xref linkend="espgs"/> as your Ghostscript application, you must modify
|
|
the maximum version of Ghostscript allowed. Make the modification using
|
|
the following command: </para>
|
|
|
|
<screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen> -->
|
|
|
|
<para>Install <application>GSview</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
|
sed 's:/local::' srcunx/unx.mak > Makefile &&
|
|
make</userinput></screen>
|
|
|
|
<para>This package does not come with a test suite.</para>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>sed 's:/local::' srcunx/unx.mak > Makefile</command>:
|
|
This command changes the default installation directory to
|
|
<filename class="directory">/usr</filename> during the creation of the
|
|
<filename>Makefile</filename>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring GSview</title>
|
|
|
|
<sect3 id="gsview-config">
|
|
<title>Config Files</title>
|
|
|
|
<para><filename>/etc/gsview/*</filename></para>
|
|
|
|
<indexterm zone="gsview gsview-config">
|
|
<primary sortas="e-etc-gsview">/etc/gsview/*</primary>
|
|
</indexterm>
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>gsview and gsview-help</seg>
|
|
<seg>None</seg>
|
|
<seg>/etc/gsview and /usr/share/doc/gsview-&gsview-version;</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="gsview-prog">
|
|
<term><command>gsview</command></term>
|
|
<listitem>
|
|
<para>is a viewer for PostScript (PS) and PDF files.</para>
|
|
<indexterm zone="gsview gsview-prog">
|
|
<primary sortas="b-gsview">gsview</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="gsview-help">
|
|
<term><command>gsview-help</command></term>
|
|
<listitem>
|
|
<para>is a script for displaying help files in your chosen
|
|
browser.</para>
|
|
<indexterm zone="gsview gsview-help">
|
|
<primary sortas="b-gsview-help">gsview-help</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|