[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">
|
---|
[b3811e1] | 9 | <!ENTITY gsview-md5sum "35cb5e421faca49eb70c426354e41ba8">
|
---|
[959f944] | 10 | <!ENTITY gsview-size "895 KB">
|
---|
| 11 | <!ENTITY gsview-buildsize "19 MB">
|
---|
| 12 | <!ENTITY gsview-time "0.19 SBU">
|
---|
| 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>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>GSview-&gsview-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="gsview">
|
---|
| 26 | <primary sortas="a-GSview">GSview</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to GSview</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>GSview</application> is a viewer for PostScript
|
---|
| 33 | and PDF using <application>X</application>.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&gsview-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&gsview-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &gsview-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &gsview-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &gsview-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &gsview-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 58 | <itemizedlist spacing='compact'>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>Required Patch: <ulink
|
---|
| 61 | url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required Patch: <ulink
|
---|
| 65 | url="&patch-root;/gsview-&gsview-version;-lang-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para><xref linkend="GTK"/> and
|
---|
| 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 |
|
---|
| 90 | <screen><userinput>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</userinput></screen>
|
---|
| 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 &&
|
---|
| 98 | patch -Np1 -i ../gsview-&gsview-version;-lang-1.patch &&
|
---|
[959f944] | 99 | make &&
|
---|
[c8d2e36e] | 100 | make install</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="commands">
|
---|
| 105 | <title>Command Explanations</title>
|
---|
| 106 |
|
---|
| 107 | <para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>:
|
---|
| 108 | This command changes the default installation directory to
|
---|
| 109 | <filename class="directory">/usr</filename>.</para>
|
---|
| 110 |
|
---|
| 111 | </sect2>
|
---|
| 112 |
|
---|
| 113 | <sect2 role="configuration">
|
---|
| 114 | <title>Configuring GSview</title>
|
---|
| 115 |
|
---|
| 116 | <sect3 id="gsview-config">
|
---|
| 117 | <title>Config Files</title>
|
---|
| 118 |
|
---|
| 119 | <para><filename>/etc/gsview/*</filename></para>
|
---|
| 120 |
|
---|
| 121 | <indexterm zone="gsview gsview-config">
|
---|
| 122 | <primary sortas="e-etc-gsview">/etc/gsview/*</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 |
|
---|
| 125 | </sect3>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="content">
|
---|
| 130 | <title>Contents</title>
|
---|
| 131 |
|
---|
| 132 | <segmentedlist>
|
---|
| 133 | <segtitle>Installed Programs</segtitle>
|
---|
| 134 | <segtitle>Installed Libraries</segtitle>
|
---|
| 135 | <segtitle>Installed Directories</segtitle>
|
---|
| 136 |
|
---|
| 137 | <seglistitem>
|
---|
| 138 | <seg>epstool, gsview, and gsview-help</seg>
|
---|
| 139 | <seg>None</seg>
|
---|
| 140 | <seg>Not determined at this time</seg>
|
---|
| 141 | </seglistitem>
|
---|
| 142 | </segmentedlist>
|
---|
| 143 |
|
---|
| 144 | <variablelist>
|
---|
| 145 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 146 | <?dbfo list-presentation="list"?>
|
---|
| 147 | <?dbhtml list-presentation="table"?>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="epstool">
|
---|
| 150 | <term><command>epstool</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>is a tool for extracting preview bitmaps in EPS files.</para>
|
---|
| 153 | <indexterm zone="gsview epstool">
|
---|
| 154 | <primary sortas="b-epstool">epstool</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | <varlistentry id="gsview-prog">
|
---|
| 160 | <term><command>gsview</command></term>
|
---|
| 161 | <listitem>
|
---|
| 162 | <para>is a viewer for PostScript (PS) and PDF files.</para>
|
---|
| 163 | <indexterm zone="gsview gsview-prog">
|
---|
| 164 | <primary sortas="b-gsview">gsview</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="gsview-help">
|
---|
| 170 | <term><command>gsview-help</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>is a script for displaying help files in your chosen
|
---|
| 173 | browser.</para>
|
---|
| 174 | <indexterm zone="gsview gsview-help">
|
---|
| 175 | <primary sortas="b-gsview-help">gsview-help</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 |
|
---|
| 180 | </variablelist>
|
---|
| 181 |
|
---|
| 182 | </sect2>
|
---|
[5fd03d2] | 183 |
|
---|
| 184 | </sect1>
|
---|