[959f944] | 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 |
|
---|
[5fd03d2] | 13 | <sect1 id="gsview" xreflabel="GSview-&gsview-version;">
|
---|
[dd3f20f0] | 14 | <?dbhtml filename="gsview.html"?>
|
---|
[5fd03d2] | 15 | <title>GSview-&gsview-version;</title>
|
---|
| 16 |
|
---|
[959f944] | 17 | <sect2>
|
---|
| 18 | <title>Introduction to <application>GSview</application></title>
|
---|
| 19 |
|
---|
| 20 | <para><application>GSview</application> is a viewer for PostScript and
|
---|
| 21 | <acronym>PDF</acronym> using <application>X</application>.</para>
|
---|
| 22 |
|
---|
| 23 | <sect3><title>Package information</title>
|
---|
| 24 | <itemizedlist spacing='compact'>
|
---|
| 25 | <listitem><para>Download (HTTP): <ulink
|
---|
| 26 | url="&gsview-download-http;"/></para></listitem>
|
---|
| 27 | <listitem><para>Download (FTP): <ulink
|
---|
| 28 | url="&gsview-download-ftp;"/></para></listitem>
|
---|
| 29 | <listitem><para>Download size: &gsview-size;</para></listitem>
|
---|
| 30 | <listitem><para>Estimated Disk space required:
|
---|
| 31 | &gsview-buildsize;</para></listitem>
|
---|
| 32 | <listitem><para>Estimated build time:
|
---|
| 33 | &gsview-time;</para></listitem></itemizedlist>
|
---|
| 34 | </sect3>
|
---|
| 35 |
|
---|
| 36 | <sect3><title>Additional downloads</title>
|
---|
| 37 | <itemizedlist spacing='compact'>
|
---|
| 38 | <listitem><para>Required Patch: <ulink
|
---|
[b1623c2] | 39 | url="&patch-root;/gsview-&gsview-version;-pstotext-1.patch"/></para></listitem>
|
---|
[959f944] | 40 | <listitem><para>Required Patch: <ulink
|
---|
[b1623c2] | 41 | url="&patch-root;/gsview-&gsview-version;-lang-1.patch"/></para></listitem>
|
---|
[959f944] | 42 | </itemizedlist></sect3>
|
---|
| 43 |
|
---|
| 44 | <sect3><title><application>GSview</application> dependencies</title>
|
---|
| 45 | <sect4><title>Required</title>
|
---|
| 46 | <para><xref linkend="GTK"/> and <xref
|
---|
| 47 | linkend="gs"/> or <xref linkend="espgs"/> (with libgs.so installed)</para></sect4>
|
---|
| 48 | </sect3>
|
---|
| 49 |
|
---|
| 50 | </sect2>
|
---|
| 51 |
|
---|
| 52 | <sect2>
|
---|
| 53 | <title>Installation of <application>GSview</application></title>
|
---|
| 54 |
|
---|
| 55 | <para><application>GSview</application> uses <command>netscape
|
---|
| 56 | </command> to browse through the online help. <acronym>BLFS</acronym>
|
---|
| 57 | does not install <application>Netscape</application>, but has other
|
---|
| 58 | browsers from which to choose. Simply edit <filename>srcunx/gvxreg.c</filename>
|
---|
| 59 | using the following sed script with your browser's executable file name
|
---|
| 60 | substituting for <replaceable>[browser]</replaceable>:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput><command>sed -i s/netscape/<replaceable>[browser]</replaceable>/ srcunx/gvxreg.c</command></userinput></screen>
|
---|
| 63 |
|
---|
| 64 | <para>Install <application>GSview</application> by running the following
|
---|
| 65 | commands:</para>
|
---|
| 66 |
|
---|
| 67 | <screen><userinput><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
|
---|
| 68 | srcunx/unx.mak > Makefile &&
|
---|
[b1623c2] | 69 | patch -Np1 -i ../gsview-&gsview-version;-pstotext-1.patch &&
|
---|
| 70 | patch -Np1 -i ../gsview-&gsview-version;-lang-1.patch &&
|
---|
[959f944] | 71 | make &&
|
---|
| 72 | make install</command></userinput></screen>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2>
|
---|
| 77 | <title>Command explanations</title>
|
---|
| 78 |
|
---|
| 79 | <para><command>sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'</command>: This
|
---|
| 80 | command changes the default installation directory to
|
---|
| 81 | <filename class="directory">/usr</filename>.</para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2>
|
---|
| 86 | <title>Configuring <application>GSview</application></title>
|
---|
| 87 |
|
---|
| 88 | <sect3><title>Config files</title>
|
---|
| 89 | <para><filename>/etc/gsview/*</filename></para>
|
---|
| 90 | </sect3>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2>
|
---|
| 95 | <title>Contents</title>
|
---|
| 96 |
|
---|
| 97 | <para>The <application>GSview</application> package contains
|
---|
| 98 | <command>epstool</command>, <command>gsview</command> and
|
---|
| 99 | <command>gsview-help</command>.</para>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2><title>Description</title>
|
---|
| 104 |
|
---|
| 105 | <sect3><title>epstool</title>
|
---|
| 106 | <para><command>epstool</command> is a tool for extracting preview
|
---|
| 107 | bitmaps in <acronym>EPS</acronym> files.</para></sect3>
|
---|
| 108 |
|
---|
| 109 | <sect3><title>gsview</title>
|
---|
| 110 | <para><command>gsview</command> is a viewer for PostScript
|
---|
| 111 | (<acronym>PS</acronym>) and
|
---|
| 112 | <acronym>PDF</acronym> files.</para></sect3>
|
---|
| 113 |
|
---|
| 114 | <sect3><title>gsview-help</title>
|
---|
| 115 | <para><command>gsview-help</command> is a script for displaying help
|
---|
| 116 | files in your chosen browser.</para></sect3>
|
---|
| 117 |
|
---|
| 118 | </sect2>
|
---|
[5fd03d2] | 119 |
|
---|
| 120 | </sect1>
|
---|