glfs/pst/ps/epdfview.xml
Ken Moffat a7dc6d1b46 Tag.
2024-02-19 17:53:38 +00:00

208 lines
6.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY epdfview-download-http "&sources-anduin-http;/epdfview-gtk3/epdfview-&epdfview-version;.tar.xz">
<!ENTITY epdfview-download-ftp " ">
<!ENTITY epdfview-md5sum "d222a3dc26c2faf6f862018bb478fb36">
<!ENTITY epdfview-size "184 KB">
<!ENTITY epdfview-buildsize "3.5 MB">
<!ENTITY epdfview-time "less than 0.1 SBU (using parallelism=4)">
]>
<sect1 id="epdfview" xreflabel="epdfview-&epdfview-version;">
<?dbhtml filename="epdfview.html"?>
<title>ePDFView-&epdfview-version;</title>
<indexterm zone="epdfview">
<primary sortas="a-epdfview">epdfview</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to ePDFView-gtk3</title>
<para>
<application>ePDFView-gtk3</application> is a fork of the old
<application>ePDFView</application> program. Although the github repository
<ulink url="https://github.com/Flow-It/epdfview_old.git"/> names it as
'old', it is the gtk3 fork. It is a lightweight replacement for
<application>Evince</application> as it does not rely upon
<application>GNOME</application> libraries and is more capable than
<application>MuPDF</application>.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&epdfview-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&epdfview-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &epdfview-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &epdfview-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &epdfview-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &epdfview-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">ePDFView Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gtk3"/> and
<xref linkend="poppler"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="Recommended">
<xref linkend="cups"/> (to access print queues),
<xref linkend="desktop-file-utils"/>, and
<xref linkend="hicolor-icon-theme"/> (both for the icons this installs)
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="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,
<xref linkend="doxygen"/> and
<ulink url='https://freedesktop.org/wiki/Software/cppunit/'>Cppunit</ulink>.
Note that <application>doxygen</application> only installs a skeletal
page about itself, which contains no package documentation, and the test
code does not compile with recent versions of C++.
</para>
</sect2>
<sect2 role="installation">
<title>Installation of ePDFView-gtk3</title>
<para>
Install <application>ePDFView-gtk3</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup --prefix=/usr \
--buildtype=release \
-Denable-printing=true \
.. &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a buildable test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/update-icons-and-desktop.xml"/>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>-Denable-printing=true</command>: builds the code to link to the
<application>cups</application> print queue(s). Omit this if you have not
installed <application>cups</application>.
</para>
</sect2>
<sect2 role="configuration">
<title>Configuring ePDFView-gtk3</title>
<para>
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.
<itemizedlist>
<listitem>
<para>[F6] - toggle toolbar</para>
</listitem>
<listitem>
<para>[F7] - toggle menu</para>
</listitem>
<listitem>
<para>[F8] - toggle invert-colors</para>
</listitem>
<listitem>
<para>[F9] - toggle show-index</para>
</listitem>
<listitem>
<para>[F11] - toggle fullscreen</para>
</listitem>
</itemizedlist>
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>epdfview</seg>
<seg>None</seg>
<seg>/usr/share/epdfview</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="epdfview-prog">
<term><command>epdfview</command></term>
<listitem>
<para>
is a <application>Gtk+-3</application> program for viewing PDF
documents
</para>
<indexterm zone="epdfview epdfview-prog">
<primary sortas="b-epdfview">epdfview</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>