Evince-45.0

Introduction to Evince

Evince is a document viewer for multiple document formats. It supports PDF, Postscript, DjVu, TIFF and DVI. It 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.

[Note]

Note

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

Package Information

Evince Dependencies

Required

adwaita-icon-theme-45.0, gsettings-desktop-schemas-45.0, GTK+-3.24.38, itstool-2.0.7, libhandy-1.8.2, libxml2-2.12.1, and OpenJPEG-2.5.0

Recommended

Optional

Cups-2.4.7 (to enable printing if support is built into GTK+ 3), gnome-desktop-44.0, gspell-1.12.2, gst-plugins-base-1.22.7, Gi-DocGen-2023.3, libgxps-0.3.2, libtiff-4.6.0, texlive-20230313 (or install-tl-unx), DjVuLibre, libspectre, and Synctex

Installation of Evince

Install Evince by running the following commands:

mkdir build &&
cd    build &&

CPPFLAGS+=" -I/opt/texlive/2023/include" \
meson setup --prefix=/usr          \
            --buildtype=release    \
            -Dgtk_doc=false        \
            --wrap-mode=nodownload \
            ..                     &&
ninja

If you have Gi-DocGen-2023.3 installed and wish to build the API documentation for this package, issue:

sed "/docs_dir/s@\$@ / 'evince-45.0'@" -i ../help/meson.build &&
meson configure -Dgtk_doc=true                                &&
ninja

This package does not have a working test suite.

Now, as the root user:

ninja install
[Note]

Note

If you installed the package to your system using a DESTDIR method, /usr/share/glib-2.0/schemas/gschemas.compiled was not updated/created. Create (or update) the file using the following command as the root user:

glib-compile-schemas /usr/share/glib-2.0/schemas

Command Explanations

--buildtype=release: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

CPPFLAGS+=" -I/opt/texlive/...": Make sure that meson can find libkpathsea headers from TeXLive if it is installed. This has no effect on systems without TeXLive installed.

--wrap-mode=nodownload: This switch disables fetching any dependency: the build system tries to fetch gi-docgen even if -Dgtk_doc=false is passed.

-Dgtk_doc=false: Allow building this package without Gi-DocGen-2023.3 installed. If you have Gi-DocGen-2023.3 installed and you wish to rebuild and install the API documentation, a meson configure command will reset this option.

-Dgspell=false: This switch turns off support for the spell checking plugin.

-Dintrospection=false: Use this option if you don't have gobject-introspection-1.78.1 installed and don't wish to have introspection support built into Evince.

-Dnautilus=false: This switch disables building the Nautilus Plugin. Use this switch if Nautilus is not installed.

-Dkeyring=false: This switch disables the use of libsecret. Use this switch if libsecret is not installed.

-Dps=enabled: Use this switch if libspectre is installed and you want to view PostScript files with Evince.

Contents

Installed Programs: evince, evince-previewer, and evince-thumbnailer
Installed Libraries: libevdocument3.so and libevview3.so
Installed Directories: /usr/{include,lib,share}/evince, /usr/share/gtk-doc/html/{evince,libevdocument-3.0,libevview-3.0} (optional), and /usr/share/help/*/evince

Short Descriptions

evince

is a multiple format document viewer

evince-previewer

is an application that implements the printing previewer

evince-thumbnailer

is a simple program used to create thumbnail images of supported documents