[0bbe3715] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[c9035bab] | 7 | <!ENTITY okular-download-http "&kde-download-http;applications/&kde-apps-version;/src/okular-&kde-apps-version;.tar.xz">
|
---|
[2bb2521] | 8 | <!ENTITY okular-download-ftp " ">
|
---|
[d203119] | 9 | <!ENTITY okular-md5sum "43b50082de50dc1c1db607858a030c05">
|
---|
[7e8964e] | 10 | <!ENTITY okular-size "1.7 MB">
|
---|
[d203119] | 11 | <!ENTITY okular-buildsize "32 MB">
|
---|
[b22a51fa] | 12 | <!ENTITY okular-time "1.4 SBU">
|
---|
[0bbe3715] | 13 | ]>
|
---|
| 14 |
|
---|
[c9035bab] | 15 | <sect1 id="okular" xreflabel="okular-&kde-apps-version;">
|
---|
[0bbe3715] | 16 | <?dbhtml filename="okular.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[c9035bab] | 19 | <title>Okular-&kde-apps-version;</title>
|
---|
[0bbe3715] | 20 |
|
---|
| 21 | <indexterm zone="okular">
|
---|
| 22 | <primary sortas="a-okular">okular</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Okular</title>
|
---|
| 27 |
|
---|
[0d7900a] | 28 | <para>Okular is a document viewer for KDE. It can view documents of many types
|
---|
| 29 | including PDF, PostScript, TIFF, Microsoft CHM, DjVu, DVI, XPS and ePub.</para>
|
---|
[0bbe3715] | 30 |
|
---|
[1cc5345] | 31 | &lfs79_checked;
|
---|
[0bbe3715] | 32 |
|
---|
| 33 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 34 | <itemizedlist spacing="compact">
|
---|
| 35 | <listitem>
|
---|
| 36 | <para>Download (HTTP): <ulink url="&okular-download-http;"/></para>
|
---|
| 37 | </listitem>
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (FTP): <ulink url="&okular-download-ftp;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download MD5 sum: &okular-md5sum;</para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download size: &okular-size;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Estimated disk space required: &okular-buildsize;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated build time: &okular-time;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | </itemizedlist>
|
---|
| 54 |
|
---|
| 55 | <bridgehead renderas="sect3">Okular Dependencies</bridgehead>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 58 | <para role="required">
|
---|
[c9df31a] | 59 | <xref linkend="kdelibs"/>
|
---|
[0bbe3715] | 60 | </para>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 63 | <para role="recommended">
|
---|
[cd6d455] | 64 | <xref linkend="kactivities"/>,
|
---|
[0d7900a] | 65 | <xref linkend="freetype2"/>,
|
---|
| 66 | <xref linkend="qimageblitz"/>,
|
---|
| 67 | <xref linkend="libtiff"/>,
|
---|
[18c9ee54] | 68 | <xref linkend="libjpeg"/>, and
|
---|
[cd6d455] | 69 | <xref linkend="poppler"/> (required for PDF support)
|
---|
[0bbe3715] | 70 | </para>
|
---|
[0d7900a] | 71 |
|
---|
| 72 | <note><para>For PDF support in <application>Okular</application> you need to
|
---|
[0bbe3715] | 73 | configure <application>Poppler</application> using <option>--enable-xpdf-headers
|
---|
| 74 | </option>.</para></note>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="optional">
|
---|
[d7c3ac85] | 78 | <xref linkend="libkexiv2"/>,
|
---|
[cd6d455] | 79 | <ulink url="https://projects.kde.org/projects/extragear/base/plasma-mobile">ActiveApp</ulink>
|
---|
| 80 | (for developing applications for Plasma Active),
|
---|
[0d7900a] | 81 | <ulink url="http://libspectre.freedesktop.org/">libspectre</ulink> (for PostScript support),
|
---|
| 82 | <ulink url="http://www.jedrea.com/chmlib">libchm</ulink>,
|
---|
[d7c3ac85] | 83 | <ulink url="http://djvu.org/">DjVuLibre</ulink>,
|
---|
[7031a69] | 84 | <ulink url="http://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
|
---|
[d7c3ac85] | 85 | <ulink url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket">Mobipocket</ulink>
|
---|
[0bbe3715] | 86 | </para>
|
---|
| 87 |
|
---|
| 88 | <para condition="html" role="usernotes">User Notes:
|
---|
| 89 | <ulink url="&blfs-wiki;/okular"/>
|
---|
| 90 | </para>
|
---|
| 91 |
|
---|
| 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Okular</title>
|
---|
| 96 |
|
---|
| 97 | <para>Install <application>Okular</application> by running
|
---|
| 98 | the following commands:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>mkdir build &&
|
---|
[18c9ee54] | 101 | cd build &&
|
---|
| 102 |
|
---|
[b22a51fa] | 103 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
| 104 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 105 | -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
|
---|
[43bb741] | 106 | -Wno-dev .. &&
|
---|
[0bbe3715] | 107 | make</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
| 111 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
| 120 | <segtitle>Installed Libraries</segtitle>
|
---|
| 121 | <segtitle>Installed Directories</segtitle>
|
---|
| 122 |
|
---|
| 123 | <seglistitem>
|
---|
| 124 | <seg>okular</seg>
|
---|
[028759b] | 125 | <seg>libokularcore.so and several in &kde-dir;/lib/kde4</seg>
|
---|
[cd6d455] | 126 | <seg>&kde-dir;/include/okular and several in &kde-dir;/lib and
|
---|
| 127 | &kde-dir;/share</seg>
|
---|
[0bbe3715] | 128 | </seglistitem>
|
---|
| 129 | </segmentedlist>
|
---|
[69138677] | 130 |
|
---|
[0bbe3715] | 131 | <variablelist>
|
---|
| 132 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 133 | <?dbfo list-presentation="list"?>
|
---|
| 134 | <?dbhtml list-presentation="table"?>
|
---|
| 135 |
|
---|
[69138677] | 136 | <varlistentry id="okular-prog">
|
---|
[0bbe3715] | 137 | <term><command>okular</command></term>
|
---|
| 138 | <listitem>
|
---|
[69138677] | 139 | <para>is the KDE document viewer.</para>
|
---|
| 140 | <indexterm zone="okular okular-prog">
|
---|
[0bbe3715] | 141 | <primary sortas="b-okular">okular</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | </variablelist>
|
---|
[69138677] | 147 |
|
---|
[0bbe3715] | 148 | </sect2>
|
---|
| 149 |
|
---|
| 150 | </sect1>
|
---|