source: pst/ps/gsview.xml@ 47b2c70

6.3 6.3-rc3
Last change on this file since 47b2c70 was 47b2c70, checked in by Randy McMurchy <randy@…>, 13 years ago

Removed broken GSview FTP download URL

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/6.3/BOOK@7538 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • 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 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>GSview-&gsview-version;</title>
25
26 <indexterm zone="gsview">
27 <primary sortas="a-GSview">GSview</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to GSview</title>
32
33 <para><application>GSview</application> is a viewer for PostScript
34 and PDF using <application>X</application>.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&gsview-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&gsview-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &gsview-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &gsview-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &gsview-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &gsview-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
59 <itemizedlist spacing='compact'>
60 <listitem>
61 <para>Required Patch: <ulink
62 url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para>
63 </listitem>
64 </itemizedlist>
65
66 <bridgehead renderas="sect3">GSview Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
69 <para role="required"><xref linkend="GTK"/>, and
70 <xref linkend="gs"/> or <xref linkend="espgs"/></para>
71
72 <para>Note that you must build the shared
73 <filename class="libraryfile">libgs.so</filename> library during the
74 Ghostscript installation else the <command>gsview</command> program will
75 fail at run-time.</para>
76
77 <para condition="html" role="usernotes">User Notes:
78 <ulink url="&blfs-wiki;/gsview"/></para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of GSview</title>
84
85 <para><application>GSview</application> uses <command>netscape</command>
86 to browse through the online help. BLFS does not install
87 <application>Netscape</application>, but has other browsers from which to
88 choose. You can create a symlink from your preferred browser to
89 <command>/usr/bin/netscape</command>, or simply edit
90 <filename>srcunx/gvxreg.c</filename> using the following <command>sed</command>
91 script with your browser's executable file name
92 substituted for <replaceable>&lt;browser&gt;</replaceable>:</para>
93
94<screen><userinput>sed -i 's:netscape:<replaceable>&lt;browser&gt;</replaceable>:' srcunx/gvxreg.c</userinput></screen>
95
96 <para>The <application>GSview</application> package has not been updated in
97 quite a while and does not accomodate the recent versions of the
98 <application>ESP Ghostscript</application> package. If you installed
99 <xref linkend="espgs"/> as your Ghostscript application, you must modify
100 the maximum version of Ghostscript allowed. Make the modification using
101 the following command: </para>
102
103<screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen>
104
105 <para>Install <application>GSview</application> by running the following
106 commands:</para>
107
108<screen><userinput>patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &amp;&amp;
109sed 's:/local::' srcunx/unx.mak &gt; Makefile &amp;&amp;
110make</userinput></screen>
111
112 <para>This package does not come with a test suite.</para>
113
114 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
115
116<screen role="root"><userinput>make install</userinput></screen>
117
118 </sect2>
119
120 <sect2 role="commands">
121 <title>Command Explanations</title>
122
123 <para><command>sed 's:/local::' srcunx/unx.mak &gt; Makefile</command>:
124 This command changes the default installation directory to
125 <filename class="directory">/usr</filename> during the creation of the
126 <filename>Makefile</filename>.</para>
127
128 </sect2>
129
130 <sect2 role="configuration">
131 <title>Configuring GSview</title>
132
133 <sect3 id="gsview-config">
134 <title>Config Files</title>
135
136 <para><filename>/etc/gsview/*</filename></para>
137
138 <indexterm zone="gsview gsview-config">
139 <primary sortas="e-etc-gsview">/etc/gsview/*</primary>
140 </indexterm>
141
142 </sect3>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>gsview and gsview-help</seg>
156 <seg>None</seg>
157 <seg>/etc/gsview and /usr/share/doc/gsview-&gsview-version;</seg>
158 </seglistitem>
159 </segmentedlist>
160
161 <variablelist>
162 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
163 <?dbfo list-presentation="list"?>
164 <?dbhtml list-presentation="table"?>
165
166 <varlistentry id="gsview-prog">
167 <term><command>gsview</command></term>
168 <listitem>
169 <para>is a viewer for PostScript (PS) and PDF files.</para>
170 <indexterm zone="gsview gsview-prog">
171 <primary sortas="b-gsview">gsview</primary>
172 </indexterm>
173 </listitem>
174 </varlistentry>
175
176 <varlistentry id="gsview-help">
177 <term><command>gsview-help</command></term>
178 <listitem>
179 <para>is a script for displaying help files in your chosen
180 browser.</para>
181 <indexterm zone="gsview gsview-help">
182 <primary sortas="b-gsview-help">gsview-help</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.