1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY gsview-download-http "http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-&gsview-version;.tar.gz">
|
---|
7 | <!ENTITY gsview-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-&gsview-version;.tar.gz">
|
---|
8 | <!ENTITY gsview-size "895 KB">
|
---|
9 | <!ENTITY gsview-buildsize "19 MB">
|
---|
10 | <!ENTITY gsview-time "0.19 SBU">
|
---|
11 | ]>
|
---|
12 |
|
---|
13 | <sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
---|
14 | <sect1info>
|
---|
15 | <othername>$LastChangedBy$</othername>
|
---|
16 | <date>$Date$</date>
|
---|
17 | </sect1info>
|
---|
18 | <?dbhtml filename="gsview.html"?>
|
---|
19 | <title>GSview-&gsview-version;</title>
|
---|
20 |
|
---|
21 | <sect2>
|
---|
22 | <title>Introduction to <application>GSview</application></title>
|
---|
23 |
|
---|
24 | <para><application>GSview</application> is a viewer for PostScript and
|
---|
25 | <acronym>PDF</acronym> using <application>X</application>.</para>
|
---|
26 |
|
---|
27 | <sect3><title>Package information</title>
|
---|
28 | <itemizedlist spacing='compact'>
|
---|
29 | <listitem><para>Download (HTTP): <ulink
|
---|
30 | url="&gsview-download-http;"/></para></listitem>
|
---|
31 | <listitem><para>Download (FTP): <ulink
|
---|
32 | url="&gsview-download-ftp;"/></para></listitem>
|
---|
33 | <listitem><para>Download size: &gsview-size;</para></listitem>
|
---|
34 | <listitem><para>Estimated Disk space required:
|
---|
35 | &gsview-buildsize;</para></listitem>
|
---|
36 | <listitem><para>Estimated build time:
|
---|
37 | &gsview-time;</para></listitem></itemizedlist>
|
---|
38 | </sect3>
|
---|
39 |
|
---|
40 | <sect3><title>Additional downloads</title>
|
---|
41 | <itemizedlist spacing='compact'>
|
---|
42 | <listitem><para>Required Patch: <ulink
|
---|
43 | url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para></listitem>
|
---|
44 | <listitem><para>Required Patch: <ulink
|
---|
45 | url="&patch-root;/gsview-&gsview-version;-lang-1.patch"/></para></listitem>
|
---|
46 | </itemizedlist></sect3>
|
---|
47 |
|
---|
48 | <sect3><title><application>GSview</application> dependencies</title>
|
---|
49 | <sect4><title>Required</title>
|
---|
50 | <para><xref linkend="GTK"/> and <xref
|
---|
51 | linkend="gs"/> or <xref linkend="espgs"/> (with libgs.so installed)</para></sect4>
|
---|
52 | </sect3>
|
---|
53 |
|
---|
54 | </sect2>
|
---|
55 |
|
---|
56 | <sect2>
|
---|
57 | <title>Installation of <application>GSview</application></title>
|
---|
58 |
|
---|
59 | <para><application>GSview</application> uses <command>netscape
|
---|
60 | </command> to browse through the online help. <acronym>BLFS</acronym>
|
---|
61 | does not install <application>Netscape</application>, but has other
|
---|
62 | browsers from which to choose. Simply edit <filename>srcunx/gvxreg.c</filename>
|
---|
63 | using the following sed script with your browser's executable file name
|
---|
64 | substituting for <replaceable>[browser]</replaceable>:</para>
|
---|
65 |
|
---|
66 | <screen><userinput><command>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</command></userinput></screen>
|
---|
67 |
|
---|
68 | <para>Install <application>GSview</application> by running the following
|
---|
69 | commands:</para>
|
---|
70 |
|
---|
71 | <screen><userinput><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
---|
72 | srcunx/unx.mak > Makefile &&
|
---|
73 | patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
---|
74 | patch -Np1 -i ../gsview-&gsview-version;-lang-1.patch &&
|
---|
75 | make &&
|
---|
76 | make install</command></userinput></screen>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2>
|
---|
81 | <title>Command explanations</title>
|
---|
82 |
|
---|
83 | <para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>: This
|
---|
84 | command changes the default installation directory to
|
---|
85 | <filename class="directory">/usr</filename>.</para>
|
---|
86 |
|
---|
87 | </sect2>
|
---|
88 |
|
---|
89 | <sect2>
|
---|
90 | <title>Configuring <application>GSview</application></title>
|
---|
91 |
|
---|
92 | <sect3><title>Config files</title>
|
---|
93 | <para><filename>/etc/gsview/*</filename></para>
|
---|
94 | </sect3>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2>
|
---|
99 | <title>Contents</title>
|
---|
100 |
|
---|
101 | <para>The <application>GSview</application> package contains
|
---|
102 | <command>epstool</command>, <command>gsview</command> and
|
---|
103 | <command>gsview-help</command>.</para>
|
---|
104 |
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2><title>Description</title>
|
---|
108 |
|
---|
109 | <sect3><title>epstool</title>
|
---|
110 | <para><command>epstool</command> is a tool for extracting preview
|
---|
111 | bitmaps in <acronym>EPS</acronym> files.</para></sect3>
|
---|
112 |
|
---|
113 | <sect3><title>gsview</title>
|
---|
114 | <para><command>gsview</command> is a viewer for PostScript
|
---|
115 | (<acronym>PS</acronym>) and
|
---|
116 | <acronym>PDF</acronym> files.</para></sect3>
|
---|
117 |
|
---|
118 | <sect3><title>gsview-help</title>
|
---|
119 | <para><command>gsview-help</command> is a script for displaying help
|
---|
120 | files in your chosen browser.</para></sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | </sect1>
|
---|