ePDFView-gtk3 is a fork of the old ePDFView program. Although the github repository https://github.com/Flow-It/epdfview_old.git names it as 'old', it is the gtk3 fork. It is a lightweight replacement for Evince as it does not rely upon GNOME libraries and is more capable than MuPDF.
This package is known to build and work properly using an LFS 12.1 platform.
Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/epdfview-gtk3/epdfview-gtk3-20200814.tar.xz
Download MD5 sum: d222a3dc26c2faf6f862018bb478fb36
Download size: 184 KB
Estimated disk space required: 3.5 MB
Estimated build time: less than 0.1 SBU (using parallelism=4)
GTK+-3.24.41 and Poppler-24.02.0
Cups-2.4.7 (to access print queues), desktop-file-utils-0.27, and hicolor-icon-theme-0.17 (both for the icons this installs)
The home page of the project's repository mentions that there are optional dependencies, which are enabled by switches. These are for building the documentation and running the test suite, Doxygen-1.10.0 and Cppunit. Note that doxygen only installs a skeletal page about itself, which contains no package documentation, and the test code does not compile with recent versions of C++.
Install ePDFView-gtk3 by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr \ --buildtype=release \ -Denable-printing=true \ .. && ninja
This package does not come with a buildable test suite.
Now, as the root
user:
ninja install
This package installs icon files into the /usr/share/icons/hicolor
hierarchy and desktop
files into the /usr/share/applications
hierarchy. You can
improve system performance and memory usage by updating
/usr/share/icons/hicolor/index.theme
and
/usr/share/applications/mimeinfo.cache
. To
perform the update you must have GTK+-3.24.41 installed
(for the icon cache) and desktop-file-utils-0.27 (for the
desktop cache) and issue the following commands as the
root
user:
gtk-update-icon-cache -qtf /usr/share/icons/hicolor && update-desktop-database -q
-Denable-printing=true: builds the code to link to the cups print queue(s). Omit this if you have not installed cups.
ePDFView-gtk3 has several keyboard hotkeys for optional features. Most of them are 'off' by default, including the toolbar, and if it has been closed with the menu disabled, the program can start with all options not being visible until the relevant function keys are pressed.
[F6] - toggle toolbar
[F7] - toggle menu
[F8] - toggle invert-colors
[F9] - toggle show-index
[F11] - toggle fullscreen