gsview-4.3

Introduction to gsview

Download location (HTTP):       http://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/old/gsview-4.3.tar.gz
Download location (FTP):        ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/old/gsview-4.3.tar.gz
Version used:                   4.3
Package size:                   711 kb
Estimated Disk space required:  3.1 MB

gsview is a viewer for Postscript and PDF using X.

gsview depends on:
xfree86-4.3.0, GTK+-1.2.10 and GhostScript-8.00 (with libgs.so installed)

Installation of gsview

gsview is an almost typical autoconf based package, but tries to install to unusual directories.

gsview uses netscape to browse through the online help. The usual LFS user doesn't want to install netscape, but uses mozilla or another browser. So simply edit srcunx/gvxreg.c using the following sed script:

mv srcunx/gvxreg.c srcunx/gvxreg.old &&
cat srcunx/gvxreg.old | sed s/netscape/<browser>/ > srcunx/gvxreg.c

Note: Replace <browser> with the executable name of the browser you intend to use.

Install gsview by running the following commands:

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
��srcunx/unx.mak >  Makefile &&
make &&
make install

Installation command explanations

sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|'
Change default installation directory to /usr.

Contents

gsview is a viewer for Postscript and PDF files.