source: kde/kf5-apps/okular5.xml

trunk
Last change on this file was be4bba9d, checked in by Bruce Dubbs <bdubbs@…>, 12 days ago

Update to kde-gear-24.02.2

  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[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 " ">
[be4bba9d]9 <!ENTITY okular-md5sum "dc4d4a856f9f5224ce9cd214c6366010">
[f806bbf2]10 <!ENTITY okular-size "8.2 MB">
11 <!ENTITY okular-buildsize "93 MB">
[be4bba9d]12 <!ENTITY okular-time "1.2 SBU (using parallelism=4)">
[01cd3461]13]>
14
[be4bba9d]15<sect1 id="okular" xreflabel="Okular-&kf6apps-version;">
[f806bbf2]16 <?dbhtml filename="okular.html"?>
[01cd3461]17
18
[be4bba9d]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
[f67c5c8]33 &lfs121_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>,
[75b1a338]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 &amp;&amp;
112cd build &amp;&amp;
113
[f806bbf2]114SKIP_OPTIONAL='Discount;DjVuLibre;EPub;LibSpectre;LibZip'
[1f28e76c]115
[01cd3461]116cmake -DCMAKE_INSTALL_PREFIX=$KF5_PREFIX \
117 -DCMAKE_BUILD_TYPE=Release \
118 -DBUILD_TESTING=OFF \
[1f28e76c]119 -DFORCE_NOT_REQUIRED_DEPENDENCIES="$SKIP_OPTIONAL" \
[01cd3461]120 -Wno-dev .. &amp;&amp;
121make</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>
Note: See TracBrowser for help on using the repository browser.