1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 |
|
---|
7 | <!ENTITY okular-download-http "&kf6apps-download-http;/okular-&kf6apps-version;.tar.xz">
|
---|
8 | <!ENTITY okular-download-ftp " ">
|
---|
9 | <!ENTITY okular-md5sum "dc4d4a856f9f5224ce9cd214c6366010">
|
---|
10 | <!ENTITY okular-size "8.2 MB">
|
---|
11 | <!ENTITY okular-buildsize "93 MB">
|
---|
12 | <!ENTITY okular-time "1.2 SBU (using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="okular" xreflabel="Okular-&kf6apps-version;">
|
---|
16 | <?dbhtml filename="okular.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>Okular-&kf6apps-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="okular">
|
---|
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
|
---|
30 | including PDF, PostScript, TIFF, DjVu, DVI, XPS, and ePub.
|
---|
31 | </para>
|
---|
32 |
|
---|
33 | &lfs121_checked;
|
---|
34 |
|
---|
35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
36 | <itemizedlist spacing="compact">
|
---|
37 | <listitem>
|
---|
38 | <para>
|
---|
39 | Download (HTTP): <ulink url="&okular-download-http;"/>
|
---|
40 | </para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (FTP): <ulink url="&okular-download-ftp;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download MD5 sum: &okular-md5sum;
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download size: &okular-size;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Estimated disk space required: &okular-buildsize;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated build time: &okular-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">
|
---|
73 | <xref linkend="kf6-frameworks"/> and
|
---|
74 | <xref linkend="plasma-activities"/>
|
---|
75 | </para>
|
---|
76 |
|
---|
77 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
78 | <para role="recommended">
|
---|
79 | <xref linkend="libkexiv2"/>,
|
---|
80 | <xref linkend="libtiff"/>, and
|
---|
81 | <xref linkend="poppler"/> (built with Qt6, required for PDF support)
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="qca"/>,
|
---|
87 | <ulink url="https://www.pell.portland.or.us/~orc/Code/discount/">discount</ulink>,
|
---|
88 | <ulink url="https://djvu.sourceforge.net/">DjVuLibre</ulink>,
|
---|
89 | <ulink url="https://libspectre.freedesktop.org/">libspectre</ulink>
|
---|
90 | <ulink url="https://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
|
---|
91 | <ulink url="https://libzip.org">LibZip</ulink>
|
---|
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 |
|
---|
104 | <note>
|
---|
105 | <para>
|
---|
106 | If any of the optional dependencies are installed, remove the
|
---|
107 | associated reference in the SKIP_OPTIONAL environment variable.
|
---|
108 | </para>
|
---|
109 | </note>
|
---|
110 |
|
---|
111 | <screen><userinput>mkdir build &&
|
---|
112 | cd build &&
|
---|
113 |
|
---|
114 | SKIP_OPTIONAL='Discount;DjVuLibre;EPub;LibSpectre;LibZip'
|
---|
115 |
|
---|
116 | cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
|
---|
117 | -DCMAKE_BUILD_TYPE=Release \
|
---|
118 | -DBUILD_TESTING=OFF \
|
---|
119 | -DFORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
|
---|
120 | -Wno-dev .. &&
|
---|
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>
|
---|
148 | Okular6Core.so
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
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
|
---|
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 |
|
---|
165 | <varlistentry id="okular-prog">
|
---|
166 | <term><command>okular</command></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | is a document viewer
|
---|
170 | </para>
|
---|
171 | <indexterm zone="okular okular-prog">
|
---|
172 | <primary sortas="b-okular">okular</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 |
|
---|
177 | </variablelist>
|
---|
178 |
|
---|
179 | </sect2>
|
---|
180 |
|
---|
181 | </sect1>
|
---|