GSview-4.4

Introduction to GSview

GSview is a viewer for PostScript and PDF using X.

Package information

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. Simply edit srcunx/gvxreg.c using the following sed script with your browsers executable file name substituting for [browser]:

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

Install GSview by running the following commands:

patch -Np1 -i ../gsview-4.4-gvx.patch &&
sed 's|GSVIEW_ROOT=/usr/local|GSVIEW_ROOT=/usr|' \
  srcunx/unx.mak >  Makefile &&
make &&
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

The GSview package contains epstool , gsview and gsview-help.

Description

epstool

epstool is a tool for extracting preview bitmaps in EPS files.

gsview

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

gsview-help

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