#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 50. PostScript

- Prev

  Enscript-1.6.6

- Next

  fop-2.11

- Up
- Home

# ePDFView-gtk3-20200814

## Introduction to ePDFView-gtk3

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.

### 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

- 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)

### ePDFView Dependencies

#### Required

GTK-3.24.52 and Poppler-26.04.0

#### Recommended

Cups-2.4.19 (to access print queues), desktop-file-utils-0.28, and hicolor-icon-theme-0.18 (both for the icons this installs)

#### Optional

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.17.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++.

## Installation of ePDFView-gtk3

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

### Note

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.52 installed (for the icon cache) and desktop-file-utils-0.28 (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

## Command Explanations

-D enable-printing=true: builds the code to link to the cups print queue(s). Omit this if you have not installed cups.

## Configuring ePDFView-gtk3

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

## Contents

Installed Program: epdfview
Installed Libraries: None
Installed Directory: /usr/share/epdfview

### Short Descriptions

epdfview | is a Gtk+-3 program for viewing PDF documents

- Prev

  Enscript-1.6.6

- Next

  fop-2.11

- Up
- Home