source: archive/gsview.xml@ c4a5206

10.0 10.1 11.0 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 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since c4a5206 was c4a5206, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Cleanup XII. Printing, Scanning and Typesetting

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

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