GSview is a viewer for PostScript and PDF using X.
Download (HTTP): http://gd.tuwien.ac.at/publishing/ghostscript/ghostgum/gsview-4.8.tar.gz
Download (FTP): ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/ghostgum/gsview-4.8.tar.gz
Download MD5 sum: 21c81819af0eeb42ac5ee6499f4a7116
Download size: 931 KB
Estimated disk space required: 11.4 MB
Estimated build time: 0.1 SBU
GTK+-1.2.10, and AFPL Ghostscript-8.53 or ESP Ghostscript-8.15.2
Note that you must build the shared libgs.so library during the Ghostscript installation else the gsview program will fail at run-time.
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/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
The GSview package has not been updated in quite a while and does not accomodate the recent versions of the ESP Ghostscript package. If you installed ESP Ghostscript-8.15.2 as your Ghostscript application, you must modify the maximum version of Ghostscript allowed. Make the modification using the following command:
sed -i 's:999:99999:' src/gvcver.h
Install GSview by running the following commands:
patch -Np1 -i ../gsview-4.8-pstotext-1.patch && sed 's:/local::' srcunx/unx.mak > Makefile && make
This package does not come with a test suite.
Now, as the root user:
make install
sed 's:/local::' srcunx/unx.mak > Makefile: This command changes the default installation directory to /usr during the creation of the Makefile.
Last updated on 2006-12-10 11:54:49 -0600