glfs/archive/add/okular.xml
Xi Ruoyao 45ab6c70c2
more SVN prop clean up
Remove "$LastChanged$" everywhere, and also some unused $Date$
2021-04-20 19:12:02 +08:00

154 lines
4.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 okular-download-http "&kde-download-http;applications/&kde-apps-version;/src/okular-&kde-apps-version;.tar.xz">
<!ENTITY okular-download-ftp " ">
<!ENTITY okular-md5sum "43b50082de50dc1c1db607858a030c05">
<!ENTITY okular-size "1.7 MB">
<!ENTITY okular-buildsize "32 MB">
<!ENTITY okular-time "1.4 SBU">
]>
<sect1 id="okular" xreflabel="okular-&kde-apps-version;">
<?dbhtml filename="okular.html"?>
<sect1info>
<date>$Date$</date>
</sect1info>
<title>Okular-&kde-apps-version;</title>
<indexterm zone="okular">
<primary sortas="a-okular">okular</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Okular</title>
<para>Okular is a document viewer for KDE. It can view documents of many types
including PDF, PostScript, TIFF, Microsoft CHM, DjVu, DVI, XPS and ePub.</para>
&lfs79_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&okular-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&okular-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &okular-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &okular-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &okular-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &okular-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Okular Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="kdelibs"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="kactivities"/>,
<xref linkend="freetype2"/>,
<xref linkend="qimageblitz"/>,
<xref linkend="libtiff"/>,
<xref linkend="libjpeg"/>, and
<xref linkend="poppler"/> (required for PDF support)
</para>
<note><para>For PDF support in <application>Okular</application> you need to
configure <application>Poppler</application> using <option>--enable-xpdf-headers
</option>.</para></note>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libkexiv2"/>,
<ulink url="https://projects.kde.org/projects/extragear/base/plasma-mobile">ActiveApp</ulink>
(for developing applications for Plasma Active),
<ulink url="http://libspectre.freedesktop.org/">libspectre</ulink> (for PostScript support),
<ulink url="http://www.jedrea.com/chmlib">libchm</ulink>,
<ulink url="http://djvu.org/">DjVuLibre</ulink>,
<ulink url="http://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
<ulink url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket">Mobipocket</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/okular"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Okular</title>
<para>Install <application>Okular</application> by running
the following commands:</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
-Wno-dev .. &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>okular</seg>
<seg>libokularcore.so and several in &kde-dir;/lib/kde4</seg>
<seg>&kde-dir;/include/okular and several in &kde-dir;/lib and
&kde-dir;/share</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="okular-prog">
<term><command>okular</command></term>
<listitem>
<para>is the KDE document viewer.</para>
<indexterm zone="okular okular-prog">
<primary sortas="b-okular">okular</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>