GSview-4.7

Introduction to GSview

GSview is a viewer for PostScript and PDF using X.

Package Information

Additional Downloads

GSview Dependencies

Required

GTK+-1.2.10 and AFPL Ghostscript-8.51 or ESP Ghostscript-7.07.1 (with libgs.so installed)

Installation of GSview

GSview uses netscape to browse through the online help. BLFS does not install Netscape, but has other browsers from which to choose. You can create a symlink from your preferred browser to /usr/bin/netscape, or simply edit srcunx/gvxreg.c using the following sed script with your browser's executable file name substituted for [browser]:

sed -i 's:netscape:[browser]:' srcunx/gvxreg.c

Install GSview by running the following commands:

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
    srcunx/unx.mak > Makefile &&
patch -Np1 -i ../gsview-4.7-pstotext-1.patch &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|': This command changes the default installation directory to /usr.

Configuring GSview

Config Files

/etc/gsview/*

Contents

Installed Programs: gsview and gsview-help
Installed Libraries: None
Installed Directories: /etc/gsview, /usr/share/doc/gsview-4.7

Short Descriptions

gsview

is a viewer for PostScript (PS) and PDF files.

gsview-help

is a script for displaying help files in your chosen browser.

Last updated on 2005-08-01 13:29:19 -0600