1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY gsview-md5sum "ce6288cc8597d6b918498d6d02654bb7">
|
---|
10 | <!ENTITY gsview-size "910 KB">
|
---|
11 | <!ENTITY gsview-buildsize "11 MB">
|
---|
12 | <!ENTITY gsview-time "0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
---|
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 | </itemizedlist>
|
---|
64 |
|
---|
65 | <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
|
---|
66 |
|
---|
67 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
68 | <para><xref linkend="GTK"/> and
|
---|
69 | <xref linkend="gs"/> or <xref linkend="espgs"/>
|
---|
70 | (with libgs.so installed)</para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2 role="installation">
|
---|
75 | <title>Installation of GSview</title>
|
---|
76 |
|
---|
77 | <para><application>GSview</application> uses <command>netscape</command>
|
---|
78 | to browse through the online help. BLFS does not install
|
---|
79 | <application>Netscape</application>, but has other browsers from which to
|
---|
80 | choose. You can create a symlink from your preferred browser to
|
---|
81 | <command>/usr/bin/netscape</command>, or simply edit
|
---|
82 | <filename>srcunx/gvxreg.c</filename> using the following <command>sed</command>
|
---|
83 | script with your browser's executable file name
|
---|
84 | substituted for <replaceable>[browser]</replaceable>:</para>
|
---|
85 |
|
---|
86 | <screen><userinput>sed -i 's:netscape:<replaceable>[browser]</replaceable>:' srcunx/gvxreg.c</userinput></screen>
|
---|
87 |
|
---|
88 | <para>Install <application>GSview</application> by running the following
|
---|
89 | commands:</para>
|
---|
90 |
|
---|
91 | <screen><userinput>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
---|
92 | srcunx/unx.mak > Makefile &&
|
---|
93 | patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>This package does not come with a test suite.</para>
|
---|
97 |
|
---|
98 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
99 |
|
---|
100 | <screen role="root"><userinput>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>gsview and gsview-help</seg>
|
---|
139 | <seg>None</seg>
|
---|
140 | <seg>/etc/gsview, /usr/share/doc/gsview-&gsview-version;</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="gsview-prog">
|
---|
150 | <term><command>gsview</command></term>
|
---|
151 | <listitem>
|
---|
152 | <para>is a viewer for PostScript (PS) and PDF files.</para>
|
---|
153 | <indexterm zone="gsview gsview-prog">
|
---|
154 | <primary sortas="b-gsview">gsview</primary>
|
---|
155 | </indexterm>
|
---|
156 | </listitem>
|
---|
157 | </varlistentry>
|
---|
158 |
|
---|
159 | <varlistentry id="gsview-help">
|
---|
160 | <term><command>gsview-help</command></term>
|
---|
161 | <listitem>
|
---|
162 | <para>is a script for displaying help files in your chosen
|
---|
163 | browser.</para>
|
---|
164 | <indexterm zone="gsview gsview-help">
|
---|
165 | <primary sortas="b-gsview-help">gsview-help</primary>
|
---|
166 | </indexterm>
|
---|
167 | </listitem>
|
---|
168 | </varlistentry>
|
---|
169 |
|
---|
170 | </variablelist>
|
---|
171 |
|
---|
172 | </sect2>
|
---|
173 |
|
---|
174 | </sect1>
|
---|