glfs/pst/ps/epdfview.xml
2023-09-27 00:39:07 +01:00

208 lines
6.5 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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 indeed 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>
&lfs120_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, enabled by switches, for building the documentation and testsuite,
<xref linkend="doxygen"/> and
<ulink url='https://freedesktop.org/wiki/Software/cppunit/'>Cppunit</ulink>.
Unfortunately <application>doxygen</application> only installs a skeletal
page about itself, not any package documentation, and the test code does not
compile with tecent 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 &amp;&amp;
update-desktop-database &amp;&amp;
gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para>
<command>--Denable-printing=true</command>: build 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 toggles for optional features, most 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 visible
until the relevant function-key toggles 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>