[c8d2e36e] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/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">
|
---|
[6d8883e] | 8 | <!ENTITY gsview-download-ftp " ">
|
---|
| 9 | <!-- <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz"> -->
|
---|
[dba1367] | 10 | <!ENTITY gsview-md5sum "21c81819af0eeb42ac5ee6499f4a7116">
|
---|
| 11 | <!ENTITY gsview-size "931 KB">
|
---|
| 12 | <!ENTITY gsview-buildsize "11.4 MB">
|
---|
[91650c0] | 13 | <!ENTITY gsview-time "0.1 SBU">
|
---|
[959f944] | 14 | ]>
|
---|
| 15 |
|
---|
[5fd03d2] | 16 | <sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
---|
[c8d2e36e] | 17 | <?dbhtml filename="gsview.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>GSview-&gsview-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="gsview">
|
---|
| 23 | <primary sortas="a-GSview">GSview</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to GSview</title>
|
---|
| 28 |
|
---|
| 29 | <para><application>GSview</application> is a viewer for PostScript
|
---|
| 30 | and PDF using <application>X</application>.</para>
|
---|
| 31 |
|
---|
| 32 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 33 | <itemizedlist spacing="compact">
|
---|
| 34 | <listitem>
|
---|
| 35 | <para>Download (HTTP): <ulink url="&gsview-download-http;"/></para>
|
---|
| 36 | </listitem>
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (FTP): <ulink url="&gsview-download-ftp;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download MD5 sum: &gsview-md5sum;</para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download size: &gsview-size;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Estimated disk space required: &gsview-buildsize;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated build time: &gsview-time;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | </itemizedlist>
|
---|
| 53 |
|
---|
| 54 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 55 | <itemizedlist spacing='compact'>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Required Patch: <ulink
|
---|
| 58 | url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[dba1367] | 65 | <para role="required"><xref linkend="GTK"/>, and
|
---|
[aa8ef3bc] | 66 | <xref linkend="gs"/><!-- or <xref linkend="espgs"/> --></para>
|
---|
[dba1367] | 67 |
|
---|
| 68 | <para>Note that you must build the shared
|
---|
| 69 | <filename class="libraryfile">libgs.so</filename> library during the
|
---|
| 70 | Ghostscript installation else the <command>gsview</command> program will
|
---|
| 71 | fail at run-time.</para>
|
---|
[c8d2e36e] | 72 |
|
---|
[977061b0] | 73 | <para condition="html" role="usernotes">User Notes:
|
---|
| 74 | <ulink url="&blfs-wiki;/gsview"/></para>
|
---|
| 75 |
|
---|
[c8d2e36e] | 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
|
---|
[977061b0] | 88 | substituted for <replaceable><browser></replaceable>:</para>
|
---|
[c8d2e36e] | 89 |
|
---|
[977061b0] | 90 | <screen><userinput>sed -i 's:netscape:<replaceable><browser></replaceable>:' srcunx/gvxreg.c</userinput></screen>
|
---|
[c8d2e36e] | 91 |
|
---|
[a41f643] | 92 | <!-- Pending investigation as to whether or not this is necessary for GPL
|
---|
[aa8ef3bc] | 93 | Ghostscript.
|
---|
| 94 |
|
---|
[dba1367] | 95 | <para>The <application>GSview</application> package has not been updated in
|
---|
[e0ac6b0] | 96 | quite a while and does not accommodate the recent versions of the
|
---|
[dba1367] | 97 | <application>ESP Ghostscript</application> package. If you installed
|
---|
| 98 | <xref linkend="espgs"/> as your Ghostscript application, you must modify
|
---|
| 99 | the maximum version of Ghostscript allowed. Make the modification using
|
---|
| 100 | the following command: </para>
|
---|
| 101 |
|
---|
[aa8ef3bc] | 102 | <screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen> -->
|
---|
[dba1367] | 103 |
|
---|
[c8d2e36e] | 104 | <para>Install <application>GSview</application> by running the following
|
---|
| 105 | commands:</para>
|
---|
| 106 |
|
---|
[dba1367] | 107 | <screen><userinput>patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
---|
| 108 | sed 's:/local::' srcunx/unx.mak > Makefile &&
|
---|
[435fbd6d] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
| 111 | <para>This package does not come with a test suite.</para>
|
---|
| 112 |
|
---|
| 113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[c8d2e36e] | 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[dba1367] | 122 | <para><command>sed 's:/local::' srcunx/unx.mak > Makefile</command>:
|
---|
[c8d2e36e] | 123 | This command changes the default installation directory to
|
---|
[dba1367] | 124 | <filename class="directory">/usr</filename> during the creation of the
|
---|
| 125 | <filename>Makefile</filename>.</para>
|
---|
[c8d2e36e] | 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="configuration">
|
---|
| 130 | <title>Configuring GSview</title>
|
---|
| 131 |
|
---|
| 132 | <sect3 id="gsview-config">
|
---|
| 133 | <title>Config Files</title>
|
---|
| 134 |
|
---|
| 135 | <para><filename>/etc/gsview/*</filename></para>
|
---|
| 136 |
|
---|
| 137 | <indexterm zone="gsview gsview-config">
|
---|
| 138 | <primary sortas="e-etc-gsview">/etc/gsview/*</primary>
|
---|
| 139 | </indexterm>
|
---|
| 140 |
|
---|
| 141 | </sect3>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Programs</segtitle>
|
---|
| 150 | <segtitle>Installed Libraries</segtitle>
|
---|
| 151 | <segtitle>Installed Directories</segtitle>
|
---|
| 152 |
|
---|
| 153 | <seglistitem>
|
---|
[21ced63] | 154 | <seg>gsview and gsview-help</seg>
|
---|
[c8d2e36e] | 155 | <seg>None</seg>
|
---|
[dba1367] | 156 | <seg>/etc/gsview and /usr/share/doc/gsview-&gsview-version;</seg>
|
---|
[c8d2e36e] | 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
| 165 | <varlistentry id="gsview-prog">
|
---|
| 166 | <term><command>gsview</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>is a viewer for PostScript (PS) and PDF files.</para>
|
---|
| 169 | <indexterm zone="gsview gsview-prog">
|
---|
| 170 | <primary sortas="b-gsview">gsview</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry id="gsview-help">
|
---|
| 176 | <term><command>gsview-help</command></term>
|
---|
| 177 | <listitem>
|
---|
| 178 | <para>is a script for displaying help files in your chosen
|
---|
| 179 | browser.</para>
|
---|
| 180 | <indexterm zone="gsview gsview-help">
|
---|
| 181 | <primary sortas="b-gsview-help">gsview-help</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | </variablelist>
|
---|
| 187 |
|
---|
| 188 | </sect2>
|
---|
[5fd03d2] | 189 |
|
---|
| 190 | </sect1>
|
---|