[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 " ">
|
---|
[14e7e0b] | 9 | <!ENTITY okular5-md5sum "c0920c6d590f17b9520e471b1508f867">
|
---|
[3bffd5b] | 10 | <!ENTITY okular5-size "8.1 MB">
|
---|
[fde99eb] | 11 | <!ENTITY okular5-buildsize "84 MB">
|
---|
[14e7e0b] | 12 | <!ENTITY okular5-time "0.8 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 |
|
---|
[fde99eb] | 33 | &lfs120_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 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of Okular</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>Okular</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
[1f28e76c] | 108 | <note>
|
---|
| 109 | <para>
|
---|
[8159110a] | 110 | If any of the optional dependencies are installed, remove the
|
---|
[1f28e76c] | 111 | associated reference in the SKIP_OPTIONAL environment variable.
|
---|
| 112 | </para>
|
---|
| 113 | </note>
|
---|
| 114 |
|
---|
[01cd3461] | 115 | <screen><userinput>mkdir build &&
|
---|
| 116 | cd build &&
|
---|
| 117 |
|
---|
[1f28e76c] | 118 | SKIP_OPTIONAL='LibSpectre;CHM;LibZip;DjVuLibre;EPub;QMobipocket;Discount'
|
---|
| 119 |
|
---|
[01cd3461] | 120 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
| 121 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 122 | -DBUILD_TESTING=OFF \
|
---|
[1f28e76c] | 123 | -DFORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
|
---|
[01cd3461] | 124 | -Wno-dev .. &&
|
---|
| 125 | make</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | This package does not come with a test suite.
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Program</segtitle>
|
---|
| 144 | <segtitle>Installed Library</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>
|
---|
| 149 | okular
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | libOkular5Core.so
|
---|
| 153 | </seg>
|
---|
| 154 | <seg>
|
---|
| 155 | $KF5_PREFIX/include/okular,
|
---|
| 156 | $KF5_PREFIX/lib/cmake/Okular5,
|
---|
| 157 | $KF5_PREFIX/lib/plugins/okular,
|
---|
| 158 | $KF5_PREFIX/share/kxmlgui5/okular,
|
---|
| 159 | $KF5_PREFIX/share/okular,
|
---|
[d5e4154e] | 160 | $KF5_PREFIX/share/doc/HTML/*/okular, and
|
---|
[01cd3461] | 161 | </seg>
|
---|
| 162 | </seglistitem>
|
---|
| 163 | </segmentedlist>
|
---|
| 164 |
|
---|
| 165 | <variablelist>
|
---|
| 166 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 167 | <?dbfo list-presentation="list"?>
|
---|
| 168 | <?dbhtml list-presentation="table"?>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="okular5-prog">
|
---|
| 171 | <term><command>okular</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
[4c24eb0a] | 174 | is a document viewer
|
---|
[01cd3461] | 175 | </para>
|
---|
| 176 | <indexterm zone="okular5 okular5-prog">
|
---|
| 177 | <primary sortas="b-okular">okular</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | </variablelist>
|
---|
| 183 |
|
---|
| 184 | </sect2>
|
---|
| 185 |
|
---|
| 186 | </sect1>
|
---|