[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[01cd3461] | 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 |
|
---|
[be4bba9d] | 7 | <!ENTITY okular-download-http "&kf6apps-download-http;/okular-&kf6apps-version;.tar.xz">
|
---|
[f806bbf2] | 8 | <!ENTITY okular-download-ftp " ">
|
---|
[bbedebd] | 9 | <!ENTITY okular-md5sum "c216077cd98e25256a1a13e16eea5f11">
|
---|
| 10 | <!ENTITY okular-size "7.7 MB">
|
---|
[0005499] | 11 | <!ENTITY okular-buildsize "90 MB">
|
---|
[bbedebd] | 12 | <!ENTITY okular-time "0.8 SBU (using parallelism=4)">
|
---|
[01cd3461] | 13 | ]>
|
---|
| 14 |
|
---|
[0005499] | 15 | <sect1 id="okular" xreflabel="okular-&kf6apps-version;">
|
---|
[f806bbf2] | 16 | <?dbhtml filename="okular.html"?>
|
---|
[01cd3461] | 17 |
|
---|
| 18 |
|
---|
[0005499] | 19 | <title>okular-&kf6apps-version;</title>
|
---|
[01cd3461] | 20 |
|
---|
[f806bbf2] | 21 | <indexterm zone="okular">
|
---|
[01cd3461] | 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
|
---|
[f806bbf2] | 30 | including PDF, PostScript, TIFF, DjVu, DVI, XPS, and ePub.
|
---|
[01cd3461] | 31 | </para>
|
---|
| 32 |
|
---|
[bbedebd] | 33 | &lfs122_checked;
|
---|
[01cd3461] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
[f806bbf2] | 39 | Download (HTTP): <ulink url="&okular-download-http;"/>
|
---|
[01cd3461] | 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
[f806bbf2] | 44 | Download (FTP): <ulink url="&okular-download-ftp;"/>
|
---|
[01cd3461] | 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
[f806bbf2] | 49 | Download MD5 sum: &okular-md5sum;
|
---|
[01cd3461] | 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
[f806bbf2] | 54 | Download size: &okular-size;
|
---|
[01cd3461] | 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
[f806bbf2] | 59 | Estimated disk space required: &okular-buildsize;
|
---|
[01cd3461] | 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
[f806bbf2] | 64 | Estimated build time: &okular-time;
|
---|
[01cd3461] | 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">
|
---|
[5bfcd23e] | 73 | <xref linkend="kf6-frameworks"/> and
|
---|
[f806bbf2] | 74 | <xref linkend="plasma-activities"/>
|
---|
[01cd3461] | 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 78 | <para role="recommended">
|
---|
| 79 | <xref linkend="libkexiv2"/>,
|
---|
| 80 | <xref linkend="libtiff"/>, and
|
---|
[f806bbf2] | 81 | <xref linkend="poppler"/> (built with Qt6, required for PDF support)
|
---|
[01cd3461] | 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
| 86 | <xref linkend="qca"/>,
|
---|
[1f28e76c] | 87 | <ulink url="https://www.pell.portland.or.us/~orc/Code/discount/">discount</ulink>,
|
---|
| 88 | <ulink url="https://djvu.sourceforge.net/">DjVuLibre</ulink>,
|
---|
[cf063edb] | 89 | <ulink url="https://libspectre.freedesktop.org/">libspectre</ulink>,
|
---|
[c6b192c] | 90 | <ulink url="https://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
|
---|
[f806bbf2] | 91 | <ulink url="https://libzip.org">LibZip</ulink>
|
---|
[01cd3461] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of Okular</title>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | Install <application>Okular</application> by running the following
|
---|
| 101 | commands:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
[1f28e76c] | 104 | <note>
|
---|
| 105 | <para>
|
---|
[8159110a] | 106 | If any of the optional dependencies are installed, remove the
|
---|
[1f28e76c] | 107 | associated reference in the SKIP_OPTIONAL environment variable.
|
---|
| 108 | </para>
|
---|
| 109 | </note>
|
---|
| 110 |
|
---|
[01cd3461] | 111 | <screen><userinput>mkdir build &&
|
---|
| 112 | cd build &&
|
---|
| 113 |
|
---|
[f806bbf2] | 114 | SKIP_OPTIONAL='Discount;DjVuLibre;EPub;LibSpectre;LibZip'
|
---|
[1f28e76c] | 115 |
|
---|
[425e9e55] | 116 | cmake -D CMAKE_INSTALL_PREFIX=$KF6_PREFIX \
|
---|
[0005499] | 117 | -D CMAKE_BUILD_TYPE=Release \
|
---|
| 118 | -D BUILD_TESTING=OFF \
|
---|
| 119 | -D FORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
|
---|
| 120 | -W no-dev .. &&
|
---|
[01cd3461] | 121 | make</userinput></screen>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | This package does not come with a test suite.
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
| 127 | <para>
|
---|
| 128 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="content">
|
---|
| 136 | <title>Contents</title>
|
---|
| 137 |
|
---|
| 138 | <segmentedlist>
|
---|
| 139 | <segtitle>Installed Program</segtitle>
|
---|
| 140 | <segtitle>Installed Library</segtitle>
|
---|
| 141 | <segtitle>Installed Directories</segtitle>
|
---|
| 142 |
|
---|
| 143 | <seglistitem>
|
---|
| 144 | <seg>
|
---|
| 145 | okular
|
---|
| 146 | </seg>
|
---|
| 147 | <seg>
|
---|
[f806bbf2] | 148 | Okular6Core.so
|
---|
[01cd3461] | 149 | </seg>
|
---|
| 150 | <seg>
|
---|
[f806bbf2] | 151 | $KF6_PREFIX/include/okular,
|
---|
| 152 | $KF6_PREFIX/lib/cmake/Okular6,
|
---|
| 153 | $KF6_PREFIX/lib/plugins/okular,
|
---|
| 154 | $KF6_PREFIX/share/okular, and
|
---|
| 155 | $KF6_PREFIX/share/doc/HTML/*/okular
|
---|
[01cd3461] | 156 | </seg>
|
---|
| 157 | </seglistitem>
|
---|
| 158 | </segmentedlist>
|
---|
| 159 |
|
---|
| 160 | <variablelist>
|
---|
| 161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 162 | <?dbfo list-presentation="list"?>
|
---|
| 163 | <?dbhtml list-presentation="table"?>
|
---|
| 164 |
|
---|
[f806bbf2] | 165 | <varlistentry id="okular-prog">
|
---|
[01cd3461] | 166 | <term><command>okular</command></term>
|
---|
| 167 | <listitem>
|
---|
| 168 | <para>
|
---|
[4c24eb0a] | 169 | is a document viewer
|
---|
[01cd3461] | 170 | </para>
|
---|
[f806bbf2] | 171 | <indexterm zone="okular okular-prog">
|
---|
[01cd3461] | 172 | <primary sortas="b-okular">okular</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
| 180 |
|
---|
| 181 | </sect1>
|
---|