[c8d2e36e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[959f944] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[b3811e1] | 6 |
|
---|
[959f944] | 7 | <!ENTITY gsview-download-http "http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-&gsview-version;.tar.gz">
|
---|
| 8 | <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz">
|
---|
[91650c0] | 9 | <!ENTITY gsview-md5sum "ce6288cc8597d6b918498d6d02654bb7">
|
---|
| 10 | <!ENTITY gsview-size "910 KB">
|
---|
| 11 | <!ENTITY gsview-buildsize "11 MB">
|
---|
| 12 | <!ENTITY gsview-time "0.1 SBU">
|
---|
[959f944] | 13 | ]>
|
---|
| 14 |
|
---|
[5fd03d2] | 15 | <sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
---|
[c8d2e36e] | 16 | <?dbhtml filename="gsview.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[d352a28] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">gsview-&gsview-version;.tar</keyword>
|
---|
[f1283d3f] | 23 | <keyword role="ftpdir">gsview</keyword>
|
---|
[d352a28] | 24 | </keywordset>
|
---|
[c8d2e36e] | 25 | </sect1info>
|
---|
| 26 |
|
---|
| 27 | <title>GSview-&gsview-version;</title>
|
---|
| 28 |
|
---|
| 29 | <indexterm zone="gsview">
|
---|
| 30 | <primary sortas="a-GSview">GSview</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to GSview</title>
|
---|
| 35 |
|
---|
| 36 | <para><application>GSview</application> is a viewer for PostScript
|
---|
| 37 | and PDF using <application>X</application>.</para>
|
---|
| 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&gsview-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&gsview-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &gsview-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &gsview-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &gsview-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &gsview-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required Patch: <ulink
|
---|
| 65 | url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[d352a28] | 72 | <para role="required"><xref linkend="GTK"/> and
|
---|
[c8d2e36e] | 73 | <xref linkend="gs"/> or <xref linkend="espgs"/>
|
---|
| 74 | (with libgs.so installed)</para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of GSview</title>
|
---|
| 80 |
|
---|
| 81 | <para><application>GSview</application> uses <command>netscape</command>
|
---|
| 82 | to browse through the online help. BLFS does not install
|
---|
| 83 | <application>Netscape</application>, but has other browsers from which to
|
---|
| 84 | choose. You can create a symlink from your preferred browser to
|
---|
| 85 | <command>/usr/bin/netscape</command>, or simply edit
|
---|
| 86 | <filename>srcunx/gvxreg.c</filename> using the following <command>sed</command>
|
---|
| 87 | script with your browser's executable file name
|
---|
| 88 | substituted for <replaceable>[browser]</replaceable>:</para>
|
---|
| 89 |
|
---|
[91650c0] | 90 | <screen><userinput>sed -i 's:netscape:<replaceable>[browser]</replaceable>:' srcunx/gvxreg.c</userinput></screen>
|
---|
[c8d2e36e] | 91 |
|
---|
| 92 | <para>Install <application>GSview</application> by running the following
|
---|
| 93 | commands:</para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
---|
[959f944] | 96 | srcunx/unx.mak > Makefile &&
|
---|
[b1623c2] | 97 | patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
---|
[435fbd6d] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>This package does not come with a test suite.</para>
|
---|
| 101 |
|
---|
| 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c8d2e36e] | 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
| 111 | <para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>:
|
---|
| 112 | This command changes the default installation directory to
|
---|
| 113 | <filename class="directory">/usr</filename>.</para>
|
---|
| 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="configuration">
|
---|
| 118 | <title>Configuring GSview</title>
|
---|
| 119 |
|
---|
| 120 | <sect3 id="gsview-config">
|
---|
| 121 | <title>Config Files</title>
|
---|
| 122 |
|
---|
| 123 | <para><filename>/etc/gsview/*</filename></para>
|
---|
| 124 |
|
---|
| 125 | <indexterm zone="gsview gsview-config">
|
---|
| 126 | <primary sortas="e-etc-gsview">/etc/gsview/*</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 |
|
---|
| 129 | </sect3>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="content">
|
---|
| 134 | <title>Contents</title>
|
---|
| 135 |
|
---|
| 136 | <segmentedlist>
|
---|
| 137 | <segtitle>Installed Programs</segtitle>
|
---|
| 138 | <segtitle>Installed Libraries</segtitle>
|
---|
| 139 | <segtitle>Installed Directories</segtitle>
|
---|
| 140 |
|
---|
| 141 | <seglistitem>
|
---|
[21ced63] | 142 | <seg>gsview and gsview-help</seg>
|
---|
[c8d2e36e] | 143 | <seg>None</seg>
|
---|
[435fbd6d] | 144 | <seg>/etc/gsview, /usr/share/doc/gsview-&gsview-version;</seg>
|
---|
[c8d2e36e] | 145 | </seglistitem>
|
---|
| 146 | </segmentedlist>
|
---|
| 147 |
|
---|
| 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 150 | <?dbfo list-presentation="list"?>
|
---|
| 151 | <?dbhtml list-presentation="table"?>
|
---|
| 152 |
|
---|
| 153 | <varlistentry id="gsview-prog">
|
---|
| 154 | <term><command>gsview</command></term>
|
---|
| 155 | <listitem>
|
---|
| 156 | <para>is a viewer for PostScript (PS) and PDF files.</para>
|
---|
| 157 | <indexterm zone="gsview gsview-prog">
|
---|
| 158 | <primary sortas="b-gsview">gsview</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="gsview-help">
|
---|
| 164 | <term><command>gsview-help</command></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>is a script for displaying help files in your chosen
|
---|
| 167 | browser.</para>
|
---|
| 168 | <indexterm zone="gsview gsview-help">
|
---|
| 169 | <primary sortas="b-gsview-help">gsview-help</primary>
|
---|
| 170 | </indexterm>
|
---|
| 171 | </listitem>
|
---|
| 172 | </varlistentry>
|
---|
| 173 |
|
---|
| 174 | </variablelist>
|
---|
| 175 |
|
---|
| 176 | </sect2>
|
---|
[5fd03d2] | 177 |
|
---|
| 178 | </sect1>
|
---|