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