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