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.
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.
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.43 and Poppler-24.09.0
Cups-2.4.10 (to access print queues), desktop-file-utils-0.27, and hicolor-icon-theme-0.18 (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.12.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 \ -D enable-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.43 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
-D enable-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