[01cd3461] | 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 |
|
---|
[16b2baf] | 7 | <!ENTITY okular5-download-http "&kf5apps-download-http;/okular-&kf5apps-version;.tar.xz">
|
---|
[01cd3461] | 8 | <!ENTITY okular5-download-ftp " ">
|
---|
[3bffd5b] | 9 | <!ENTITY okular5-md5sum "cbb5c9f0125beaeb7875c1eba5c5dd33">
|
---|
| 10 | <!ENTITY okular5-size "8.1 MB">
|
---|
[2402feb] | 11 | <!ENTITY okular5-buildsize "82 MB">
|
---|
[1f28e76c] | 12 | <!ENTITY okular5-time "0.7 SBU (using parallelism=4)">
|
---|
[01cd3461] | 13 | ]>
|
---|
| 14 |
|
---|
[16b2baf] | 15 | <sect1 id="okular5" xreflabel="Okular-&kf5apps-version;">
|
---|
[01cd3461] | 16 | <?dbhtml filename="okular5.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[16b2baf] | 19 | <title>Okular-&kf5apps-version;</title>
|
---|
[01cd3461] | 20 |
|
---|
| 21 | <indexterm zone="okular5">
|
---|
| 22 | <primary sortas="a-Okular">Okular</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Okular</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | Okular is a document viewer for KDE. It can view documents of many types
|
---|
[8558044] | 30 | including PDF, PostScript, TIFF, Microsoft CHM, DjVu, DVI, XPS and ePub.
|
---|
[01cd3461] | 31 | </para>
|
---|
| 32 |
|
---|
[30faaf30] | 33 | &lfs113_checked;
|
---|
[01cd3461] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&okular5-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&okular5-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &okular5-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &okular5-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &okular5-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &okular5-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">Okular Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[68c91fb] | 73 | <xref linkend="kf5-frameworks"/>
|
---|
[01cd3461] | 74 | </para>
|
---|
| 75 |
|
---|
| 76 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 77 | <para role="recommended">
|
---|
| 78 | <xref linkend="libkexiv2"/>,
|
---|
| 79 | <xref linkend="libtiff"/>, and
|
---|
| 80 | <xref linkend="poppler"/> (built with Qt5, required for PDF support)
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
| 85 | <xref linkend="qca"/>,
|
---|
[1f28e76c] | 86 | <ulink url="https://www.pell.portland.or.us/~orc/Code/discount/">discount</ulink>,
|
---|
| 87 | <ulink url="https://djvu.sourceforge.net/">DjVuLibre</ulink>,
|
---|
[c6b192c] | 88 | <ulink url="https://download.kde.org/stable/release-service/&kf5apps-version;/src/">
|
---|
[01cd3461] | 89 | kpimtextedit</ulink>,
|
---|
[75b1a338] | 90 | <ulink url="https://libspectre.freedesktop.org/">libspectre</ulink>
|
---|
[01cd3461] | 91 | (for PostScript support),
|
---|
| 92 | <ulink url="http://www.jedrea.com/chmlib">libchm</ulink>,
|
---|
[c6b192c] | 93 | <ulink url="https://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
|
---|
[01cd3461] | 94 | <ulink url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket">
|
---|
| 95 | Mobipocket</ulink>
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <para condition="html" role="usernotes">
|
---|
| 99 | User Notes: <ulink url="&blfs-wiki;/okular5"/>
|
---|
| 100 | </para>
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | <sect2 role="installation">
|
---|
| 104 | <title>Installation of Okular</title>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | Install <application>Okular</application> by running the following
|
---|
| 108 | commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
[1f28e76c] | 111 | <note>
|
---|
| 112 | <para>
|
---|
[8159110a] | 113 | If any of the optional dependencies are installed, remove the
|
---|
[1f28e76c] | 114 | associated reference in the SKIP_OPTIONAL environment variable.
|
---|
| 115 | </para>
|
---|
| 116 | </note>
|
---|
| 117 |
|
---|
[01cd3461] | 118 | <screen><userinput>mkdir build &&
|
---|
| 119 | cd build &&
|
---|
| 120 |
|
---|
[1f28e76c] | 121 | SKIP_OPTIONAL='LibSpectre;CHM;LibZip;DjVuLibre;EPub;QMobipocket;Discount'
|
---|
| 122 |
|
---|
[01cd3461] | 123 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 124 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 125 | -DBUILD_TESTING=OFF \
|
---|
[1f28e76c] | 126 | -DFORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
|
---|
[01cd3461] | 127 | -Wno-dev .. &&
|
---|
| 128 | make</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | This package does not come with a test suite.
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
| 134 | <para>
|
---|
| 135 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Program</segtitle>
|
---|
| 147 | <segtitle>Installed Library</segtitle>
|
---|
| 148 | <segtitle>Installed Directories</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
| 152 | okular
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | libOkular5Core.so
|
---|
| 156 | </seg>
|
---|
| 157 | <seg>
|
---|
| 158 | $KF5_PREFIX/include/okular,
|
---|
| 159 | $KF5_PREFIX/lib/cmake/Okular5,
|
---|
| 160 | $KF5_PREFIX/lib/plugins/okular,
|
---|
| 161 | $KF5_PREFIX/share/kxmlgui5/okular,
|
---|
| 162 | $KF5_PREFIX/share/okular,
|
---|
[d5e4154e] | 163 | $KF5_PREFIX/share/doc/HTML/*/okular, and
|
---|
[01cd3461] | 164 | </seg>
|
---|
| 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="okular5-prog">
|
---|
| 174 | <term><command>okular</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
[4c24eb0a] | 177 | is a document viewer
|
---|
[01cd3461] | 178 | </para>
|
---|
| 179 | <indexterm zone="okular5 okular5-prog">
|
---|
| 180 | <primary sortas="b-okular">okular</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | </variablelist>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | </sect1>
|
---|