source: archive/gsview.xml@ eede1a3

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since eede1a3 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 6.5 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 <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 <!-- Pending investigation as to whether or not this is necessary for GPL
96 Ghostscript.
97
98 <para>The <application>GSview</application> package has not been updated in
99 quite a while and does not accommodate the recent versions of the
100 <application>ESP Ghostscript</application> package. If you installed
101 <xref linkend="espgs"/> as your Ghostscript application, you must modify
102 the maximum version of Ghostscript allowed. Make the modification using
103 the following command: </para>
104
105<screen><userinput>sed -i 's:999:99999:' src/gvcver.h</userinput></screen> -->
106
107 <para>Install <application>GSview</application> by running the following
108 commands:</para>
109
110<screen><userinput>patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &amp;&amp;
111sed 's:/local::' srcunx/unx.mak &gt; Makefile &amp;&amp;
112make</userinput></screen>
113
114 <para>This package does not come with a test suite.</para>
115
116 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
117
118<screen role="root"><userinput>make install</userinput></screen>
119
120 </sect2>
121
122 <sect2 role="commands">
123 <title>Command Explanations</title>
124
125 <para><command>sed 's:/local::' srcunx/unx.mak &gt; Makefile</command>:
126 This command changes the default installation directory to
127 <filename class="directory">/usr</filename> during the creation of the
128 <filename>Makefile</filename>.</para>
129
130 </sect2>
131
132 <sect2 role="configuration">
133 <title>Configuring GSview</title>
134
135 <sect3 id="gsview-config">
136 <title>Config Files</title>
137
138 <para><filename>/etc/gsview/*</filename></para>
139
140 <indexterm zone="gsview gsview-config">
141 <primary sortas="e-etc-gsview">/etc/gsview/*</primary>
142 </indexterm>
143
144 </sect3>
145
146 </sect2>
147
148 <sect2 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>gsview and gsview-help</seg>
158 <seg>None</seg>
159 <seg>/etc/gsview and /usr/share/doc/gsview-&gsview-version;</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="gsview-prog">
169 <term><command>gsview</command></term>
170 <listitem>
171 <para>is a viewer for PostScript (PS) and PDF files.</para>
172 <indexterm zone="gsview gsview-prog">
173 <primary sortas="b-gsview">gsview</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="gsview-help">
179 <term><command>gsview-help</command></term>
180 <listitem>
181 <para>is a script for displaying help files in your chosen
182 browser.</para>
183 <indexterm zone="gsview gsview-help">
184 <primary sortas="b-gsview-help">gsview-help</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.