mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
d5e4154e46
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24037 af4574ff-66df-0310-9fd7-8a98e5e911e0
183 lines
5.1 KiB
XML
183 lines
5.1 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 okular5-download-http "&kf5apps-download-http;/okular-&kf5apps-version;.tar.xz">
|
|
<!ENTITY okular5-download-ftp " ">
|
|
<!ENTITY okular5-md5sum "11b99d966ad2e11fde67f9e651771b05">
|
|
<!ENTITY okular5-size "7.5 MB">
|
|
<!ENTITY okular5-buildsize "87 MB">
|
|
<!ENTITY okular5-time "0.8 SBU (using parallelism=4)">
|
|
]>
|
|
|
|
<sect1 id="okular5" xreflabel="Okular-&kf5apps-version;">
|
|
<?dbhtml filename="okular5.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>Okular-&kf5apps-version;</title>
|
|
|
|
<indexterm zone="okular5">
|
|
<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>
|
|
|
|
&lfs10_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&okular5-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&okular5-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &okular5-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &okular5-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &okular5-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &okular5-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Okular Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="kf5-frameworks"/>,
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Recommended</bridgehead>
|
|
<para role="recommended">
|
|
<xref linkend="libkexiv2"/>,
|
|
<xref linkend="libtiff"/>, and
|
|
<xref linkend="poppler"/> (built with Qt5, required for PDF support)
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="qca"/>,
|
|
<ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
|
|
<ulink url="http://download.kde.org/stable/release-service/&kf5apps-version;/src/">
|
|
kpimtextedit</ulink>,
|
|
<ulink url="http://libspectre.freedesktop.org/">libspectre</ulink>
|
|
(for PostScript support),
|
|
<ulink url="http://www.jedrea.com/chmlib">libchm</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;/okular5"/>
|
|
</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 &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DBUILD_TESTING=OFF \
|
|
-Wno-dev .. &&
|
|
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>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Library</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
okular
|
|
</seg>
|
|
<seg>
|
|
libOkular5Core.so
|
|
</seg>
|
|
<seg>
|
|
$KF5_PREFIX/include/okular,
|
|
$KF5_PREFIX/lib/cmake/Okular5,
|
|
$KF5_PREFIX/lib/plugins/okular,
|
|
$KF5_PREFIX/share/kxmlgui5/okular,
|
|
$KF5_PREFIX/share/okular,
|
|
$KF5_PREFIX/share/doc/HTML/*/okular, and
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="okular5-prog">
|
|
<term><command>okular</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a document viewer.
|
|
</para>
|
|
<indexterm zone="okular5 okular5-prog">
|
|
<primary sortas="b-okular">okular</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|