Skip to content

ThorbjoernSchulz/zathura

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zathura - a document viewer
===========================

zathura is a highly customizable and functional document viewer based on the
girara user interface library and several document libraries.

What is different in this fork?
-------------------------------
Zathura, or rather libmagic, has problems identifing polyglot pdfs correctly.
I added an option --force-type=TYPE so a user can enforce for example application/pdf,
in case the library fails to deliver.

Requirements
------------

meson (>= 0.47)
gtk3 (>= 3.22)
glib (>= 2.50)
girara (>= 0.3.2)
sqlite3 (optional, >= 3.5.9)
check (optional build dependency, for tests)
libmagic from file(1) (optional, for mime-type detection)
libsynctex from TeXLive (optional, for SyncTeX support)
libseccomp (optional, for sandbox support)
librvsg-bin (optional build dependency, for icons)
Sphinx (optional build dependency, for manpages and HTML documentation)
doxygen (optional build dependency, for HTML documentation)
breathe (optional build dependency, for HTML documentation)
sphinx_rtd_theme (optional build dependency, for HTML documentation)

Note that Sphinx is needed to build the manpages.  If it is not installed, the
man pages won't be built. For building the HTML documentation, doxygen, breathe
and sphinx_rtd_theme are needed in addition to Sphinx.

If you don't want to build with support for sqlite databases, you can configure
the build system with -Dsqlite=disabled and sqlite support won't be available.

The use of magic to detect mime types is optional and can be disabled by
configuring the build system with -Dmagic=disabled.

The use of seccomp to create a sandboxed environment is optional and can be
disabled by configure the build system with -Dseccomp=disabled. The sandbox
will by default be set to "normal" mode, which should not interfere with the
normal operation of zathura. For strict sandbox mode set "sandbox strict" in
zathurarc. Strict sandbox mode will reduce the available functionality of
zathura and provide a read only document viewer.

Installation
------------

To build and install zathura using meson's ninja backend:

  meson build
  cd build
  ninja
  ninja install

Note that the default backend for meson might vary based on the platform. Please
refer to the meson documentation for platform specific dependencies.

Bugs
----

Please report bugs at http://git.pwmt.org/pwmt/zathura.

About

a document viewer

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 95.6%
  • C++ 2.5%
  • Meson 1.8%
  • Vim Script 0.1%