Introduction to Evince
The Evince package contains a
document viewer for multiple document formats. It currently
supports PDF, Postscript, DjVu, TIFF and DVI. This is useful for
viewing documents of various types using one simple application
instead of the multiple document viewers that once existed on the
GNOME Desktop.
This package is known to build using an LFS 6.5 platform but has
not been tested.
Package Information
Evince Dependencies
Required
GNOME Doc Utils-0.20.2, GNOME Icon Theme-2.30.3, gtk+-2.24.8,
and which-2.20
Required (Runtime)
shared-mime-info-0.91
Optional
GConf-2.28.1, libgnome-keyring-2.30.1, GTK-Doc-1.18, LibTIFF-4.0.0,
TeX Live-20110705 (required to build the
DVI viewer), Nautilus-2.30.1 (required to build the
Nautilus plugin), Poppler-0.14.4 (required for PDF support and
must be built with GTK+ support),
libspectre (required
for Postscript ability from Evince), DjVuLibre (required for DjVu
graphics from Evince), and
t1lib (required for
Type1 font support in the DVI viewer)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/evince
Installation of Evince
Install Evince by running the
following commands:
./configure --prefix=$(pkg-config --variable=prefix ORBit-2.0) \
--sysconfdir=/etc/gnome/2.30.2 \
--localstatedir=/var/lib \
--libexecdir=$(pkg-config \
--variable=prefix ORBit-2.0)/lib/evince \
--mandir=$(pkg-config \
--variable=prefix ORBit-2.0)/share/man \
--enable-pixbuf \
--without-keyring \
--without-gconf \
--disable-nautilus \
--disable-pdf &&
make
The test suite for this package requires a functional dogtail installation. Requirements and
download information can be found at http://people.redhat.com/zcerza/dogtail/.
The test suite is invoked by issuing make check.
Now, as the root
user:
make install
Command Explanations
--prefix=$(pkg-config --variable=prefix
ORBit-2.0)
: Setting the prefix using this parameter
instead of with $GNOME_PREFIX
will
ensure that the prefix is consistent with the installation
environment and the package will be installed in the correct
location.
--sysconfdir=/etc/gnome/2.30.2
: This
parameter causes the configuration files to be installed in
/etc/gnome/2.30.2
instead of
$GNOME_PREFIX/etc
. Additionally (if
applicable), the parameter ensures that the GConf-2 database is correctly updated.
--libexecdir=$(pkg-config
--variable=prefix ORBit-2.0)/lib/evince
: This parameter
is used so that the Evince
internal support programs are installed in the preferred location
of $GNOME_PREFIX/lib/evince
instead
of $GNOME_PREFIX/libexec
.
--localstatedir=/var/lib
:
This parameter is used so that all ScrollKeeper files are installed in, and the
ScrollKeeper database is properly
updated in /var/lib/scrollkeeper
instead of some files being installed in $GNOME_PREFIX/var/scrollkeeper
.
--mandir=$(pkg-config --variable=prefix
ORBit-2.0)/share/man
: This parameter causes the
man.(X)
files to be installed in
$GNOME_PREFIX/share/man/man(X)
instead of $GNOME_PREFIX/man/man(X)
.
--enable-pixbuf
: This
parameter enables the Pixbuf Backend.
--without-keyring
: This
parameter disables the use of gnome-keyring. Remove parameter if
gnome-keyring is installed.
--without-gconf
: This
parameter disables GConf Support.
Remove parameter if GConf is
installed.
--disable-nautilus
: This
parameter disables the Nautilus
Plugin. Remove parameter if Nautilus is installed.
--disable-pdf
: This
parameter disables the PDF Backend. Remove parameter if
Poppler is installed.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
--enable-introspection
: Use this
parameter if you have the gobject-introspection package installed and
you wish to enable GObject introspection.
--enable-impress
: Use this parameter if
you wish to compile with support for impress presentations.
--enable-dvi
: Use this parameter if you
have the teTeX or TeX Live package installed and you wish to
build support to view DVI files.
--enable-t1lib
: Use this parameter if
you have the t1lib package
installed and you wish to build support for Type1 fonts in the DVI
viewer.