source: archive/gsview.xml

trunk
Last change on this file was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 6.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 " ">
9 <!-- <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz"> -->
10 <!ENTITY gsview-md5sum "21c81819af0eeb42ac5ee6499f4a7116">
11 <!ENTITY gsview-size "931 KB">
12 <!ENTITY gsview-buildsize "11.4 MB">
13 <!ENTITY gsview-time "0.1 SBU">
14]>
15
16<sect1 id="gsview" xreflabel="GSview-&gsview-version;">
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>
65 <para role="required"><xref linkend="GTK"/>, and
66 <xref linkend="gs"/><!-- or <xref linkend="espgs"/> --></para>
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>
72
73 <para condition="html" role="usernotes">User Notes:
74 <ulink url="&blfs-wiki;/gsview"/></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>&lt;browser&gt;</replaceable>:</para>
89
90<screen><userinput>sed -i 's:netscape:<replaceable>&lt;browser&gt;</replaceable>:' srcunx/gvxreg.c</userinput></screen>
91
92 <!-- Pending investigation as to whether or not this is necessary for GPL
93 Ghostscript.
94
95 <para>The <application>GSview</application> package has not been updated in
96 quite a while and does not accommodate the recent versions of the
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
102<screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen> -->
103
104 <para>Install <application>GSview</application> by running the following
105 commands:</para>
106
107<screen><userinput>patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &amp;&amp;
108sed 's:/local::' srcunx/unx.mak &gt; Makefile &amp;&amp;
109make</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>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para><command>sed 's:/local::' srcunx/unx.mak &gt; Makefile</command>:
123 This command changes the default installation directory to
124 <filename class="directory">/usr</filename> during the creation of the
125 <filename>Makefile</filename>.</para>
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>
154 <seg>gsview and gsview-help</seg>
155 <seg>None</seg>
156 <seg>/etc/gsview and /usr/share/doc/gsview-&gsview-version;</seg>
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>
189
190</sect1>
Note: See TracBrowser for help on using the repository browser.