source: pst/ps/gsview.xml@ 6732c094

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6732c094 was 6732c094, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated all the XML files (and the one stylesheet) to use the 4.5 version of DocBook XML DTD

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6716 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 "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz">
9 <!ENTITY gsview-md5sum "21c81819af0eeb42ac5ee6499f4a7116">
10 <!ENTITY gsview-size "931 KB">
11 <!ENTITY gsview-buildsize "11.4 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 role="required"><xref linkend="GTK"/>, and
69 <xref linkend="gs"/> or <xref linkend="espgs"/></para>
70
71 <para>Note that you must build the shared
72 <filename class="libraryfile">libgs.so</filename> library during the
73 Ghostscript installation else the <command>gsview</command> program will
74 fail at run-time.</para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/gsview"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of GSview</title>
83
84 <para><application>GSview</application> uses <command>netscape</command>
85 to browse through the online help. BLFS does not install
86 <application>Netscape</application>, but has other browsers from which to
87 choose. You can create a symlink from your preferred browser to
88 <command>/usr/bin/netscape</command>, or simply edit
89 <filename>srcunx/gvxreg.c</filename> using the following <command>sed</command>
90 script with your browser's executable file name
91 substituted for <replaceable>&lt;browser&gt;</replaceable>:</para>
92
93<screen><userinput>sed -i 's:netscape:<replaceable>&lt;browser&gt;</replaceable>:' srcunx/gvxreg.c</userinput></screen>
94
95 <para>The <application>GSview</application> package has not been updated in
96 quite a while and does not accomodate 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.