glfs/pst/ps/epdfview.xml
Ken Moffat c6fc0cb5b7 Tags.
2023-08-22 14:07:40 +01:00

196 lines
5.9 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/epdfview-&epdfview-version;.tar.bz2">
<!ENTITY epdfview-download-ftp " ">
<!ENTITY epdfview-md5sum "e50285b01612169b2594fea375f53ae4">
<!ENTITY epdfview-size "456 KB">
<!ENTITY epdfview-buildsize "6 MB">
<!ENTITY epdfview-time "less than 0.1 SBU">
]>
<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</title>
<para>
<application>ePDFView</application> is a free standalone lightweight PDF
document viewer using <application>Poppler</application> and
<application>GTK+</application> libraries. It is a good replacement for
<application>Evince</application> as it does not rely upon
<application>GNOME</application> libraries.
</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">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>
Required patch: <ulink url=
"&patch-root;/epdfview-&epdfview-version;-fixes-2.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">ePDFView Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="gtk2"/> and
<xref linkend="poppler"/>
</para>
<bridgehead renderas="sect4">Recommended (mainly for
Desktop Environments)</bridgehead>
<para role="Recommended">
<xref linkend="desktop-file-utils"/> and
<xref linkend="hicolor-icon-theme"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="cups"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of ePDFView</title>
<para>
Install <application>ePDFView</application> by running the following
commands:
</para>
<screen><userinput>patch -Np1 -i ../epdfview-&epdfview-version;-fixes-2.patch &amp;&amp;
./configure --prefix=/usr &amp;&amp;
make</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>
For Desktop Environment users, further (optional) instructions are necessary for properly displaying <filename>epdfview.desktop</filename> in the menu. As <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>for size in 24 32 48; do
ln -svf ../../../../epdfview/pixmaps/icon_epdfview-$size.png \
/usr/share/icons/hicolor/${size}x${size}/apps
done &amp;&amp;
unset size &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>
<!-- keep this in case the patch breaks builds without cups
<para>
<command>sed -i 's#/gmacros##' src/gtk/StockIcons.h</command>: This sed
fixes compiling with <application>glib-2.32</application> or greater.
</para> -->
<para>
<command>patch -Np1 -i ../epdfview-&epdfview-version;-fixes-2.patch</command>
The patch does four things: fixes compiling with
<application>glib-2.32</application> or greater, corrects red appearing as
blue with recent versions of <application>poppler</application>, allows
the application to compile when <xref linkend="cups"/> has been installed,
and fixes the display of embedded png images.
</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+-2</application> program for viewing PDF
documents
</para>
<indexterm zone="epdfview epdfview-prog">
<primary sortas="b-epdfview">epdfview</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>