termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.01k stars 2.99k forks source link

[Package]: Evince Document Viewer #10887

Closed ghost closed 1 year ago

ghost commented 2 years ago

Package description

Evince is a PDF reader. Can also read PS if Ghostscript is inatalled. Will automatically refresh if the document is changed (this is great for use with TeXLive). Reads some other formats, but probably not needed.

Currently, Termux has xpdf reader. It works, but it does not honor HDPI, and does not display text as accurately as does Evince. I do not know why. Evince understands HDPI (I use xfce4) and can resolve text very finely.

Evince also shows some document metadata that xpdf does not show.

Home page URL

https://wiki.gnome.org/Apps/Evince

Source code URL

https://gitlab.gnome.org/GNOME/evince

Packaging policy acknowledgement

Additional information

Evince builds quickly. My device is 32-bit, and I use the xfce4 desktop.

In meson_options.txt, I enabled the viewer and previewer, but not the thumbnailer or nautilus. I believe the thumbnailer would work, if enabled.

In the formats, I enabled pdf, ps, and tiff. Note that ghostscript is required for ps. Although I have texlive, the dvi format does not seem to work properly, so I disabled dvi. Would have liked xps capability, but lacks support.

Enabled dbus, and auto synctex.

In meson.build, build type release. And of course the Termux prefix.

ghost commented 1 year ago

Just installed evince. Works. (32-bit ARM). Thanks. I see that the "About" and "Help" do not seem to work, but this is not a big deal.