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