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.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): https://download.gnome.org/sources/evince/40/evince-40.1.tar.xz
Download (FTP): ftp://ftp.acc.umu.se/pub/gnome/sources/evince/40/evince-40.1.tar.xz
Download MD5 sum: 89b9c52d6fd03ffb244abc12a989d1ec
Download size: 2.8 MB
Estimated disk space required: 84 MB
Estimated build time: 0.4 SBU (Using parallelism=4)
adwaita-icon-theme-3.38.0, gsettings-desktop-schemas-40.0, GTK+-3.24.28, itstool-2.0.6, libhandy-1.2.0, libxml2-2.9.10, and OpenJPEG-2.4.0
gnome-keyring-40.0, gobject-introspection-1.68.0, libarchive-3.5.1, libsecret-0.20.4, Nautilus-40.0 (to build the plugin), and Poppler-21.03.0
Cups-2.3.3 (to enable printing if support is built into GTK+ 3), gnome-desktop-40.0, gspell-1.8.4, gst-plugins-base-1.18.4, GTK-Doc-1.33.2, libgxps-0.3.2, LibTIFF-4.2.0, texlive-20200406 (or install-tl-unx), DjVuLibre, libspectre, Synctex, and t1lib
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/evince
First, make sure that meson can find TeXLive if it is installed. This has no effect on systems without TeXLive installed.
export CPPFLAGS="-I/opt/texlive/2020/include" && export LDFLAGS="$LDFLAGS -L/opt/texlive/2020/lib"
Install Evince by running the following commands:
mkdir build && cd build && meson --prefix=/usr -Dgtk_doc=false -Dsystemduserunitdir=no .. && ninja
This package does not have a working testsuite.
Now, as the root
user:
ninja install
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
CPPFLAGS="..." LDFLAGS="$LDFLAGS
..."
: If TeXLive has
been installed in /opt/texlive-2020
the configure script will find libkpathsea.so
and enable the DVI backend, but
without this addition the compile will fail because it cannot find
the required headers. Adding this to a system where TeXLive has not been installed does not break
the build.
-Dgtk_doc=false
: This
switch disables generating the gtk-doc API reference documentation.
If you have GTK-Doc-1.33.2 installed and wish to generate
the API reference documentation, remove this switch.
-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.68.0
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.
Last updated on 2021-04-08 15:16:47 -0500