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 12.2 platform.
Download (HTTP): https://download.gnome.org/sources/evince/46/evince-46.3.1.tar.xz
Download MD5 sum: e017e3544751c2442020f4d10a39e24d
Download size: 2.8 MB
Estimated disk space required: 49 MB
Estimated build time: 0.2 SBU (Using parallelism=4)
adwaita-icon-theme-46.2, gsettings-desktop-schemas-46.1, GTK+-3.24.43, itstool-2.0.7, libhandy-1.8.3, libxml2-2.13.3, and OpenJPEG-2.5.2
gnome-keyring-46.2, GLib-2.80.4 (with GObject Introspection), libarchive-3.7.4, libsecret-0.21.4, and Poppler-24.08.0
Cups-2.4.10 (to enable printing if support is built into GTK+ 3), gnome-desktop-44.1, gspell-1.12.2, gst-plugins-base-1.24.7, Gi-DocGen-2024.1, libgxps-0.3.2, libtiff-4.6.0, texlive-20240312 (or install-tl-unx), DjVuLibre, libspectre, and Synctex
Install Evince by running the following commands:
mkdir build &&
cd    build &&
CPPFLAGS+=" -I/opt/texlive/2024/include" \
meson setup --prefix=/usr                \
            --buildtype=release          \
            -D gtk_doc=false             \
            --wrap-mode=nodownload       \
            -D systemduserunitdir=no ..  &&
ninja
        If you have Gi-DocGen-2024.1 installed and wish to build the API documentation for this package, issue:
sed "/docs_dir/s@\$@ / 'evince-46.3.1'@" -i ../help/meson.build && meson configure -D gtk_doc=true && ninja
This package does not have a working test suite.
          Now, as the root user:
        
ninja install
![[Note]](../images/note.png) 
          
            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
          --buildtype=release:
          Specify a buildtype suitable for stable releases of the package, as
          the default may produce unoptimized binaries.
        
          CPPFLAGS+="
          -I/opt/texlive/2024/include": 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 -D
          gtk_doc=false is passed.
        
          -D gtk_doc=false: Allow
          building this package without Gi-DocGen-2024.1 installed. If you have
          Gi-DocGen-2024.1 installed and you
          wish to rebuild and install the API documentation, a meson configure command will
          reset this option.
        
          -D gspell=false: This switch turns off
          support for the spell checking plugin.
        
          -D introspection=false: Use this option
          if you don't have built GLib-2.80.4 with
          GObject Introspection and don't wish to have introspection support
          built into Evince.
        
          -D nautilus=false: This switch disables
          building the Nautilus Plugin. Use
          this switch if Nautilus is not
          installed.
        
          -D keyring=false: This switch disables
          the use of libsecret. Use this
          switch if libsecret is not
          installed.
        
          -D ps=enabled: Use this switch if
          libspectre is installed and you
          want to view PostScript files with Evince.