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 |
|
---|
7 | <!ENTITY okular-download-http "&kde-download-http;applications/&kde-apps-version;/src/okular-&kde-apps-version;.tar.xz">
|
---|
8 | <!ENTITY okular-download-ftp " ">
|
---|
9 | <!ENTITY okular-md5sum "43b50082de50dc1c1db607858a030c05">
|
---|
10 | <!ENTITY okular-size "1.7 MB">
|
---|
11 | <!ENTITY okular-buildsize "32 MB">
|
---|
12 | <!ENTITY okular-time "1.4 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="okular" xreflabel="okular-&kde-apps-version;">
|
---|
16 | <?dbhtml filename="okular.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>Okular-&kde-apps-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="okular">
|
---|
26 | <primary sortas="a-okular">okular</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to Okular</title>
|
---|
31 |
|
---|
32 | <para>Okular is a document viewer for KDE. It can view documents of many types
|
---|
33 | including PDF, PostScript, TIFF, Microsoft CHM, DjVu, DVI, XPS and ePub.</para>
|
---|
34 |
|
---|
35 | &lfs79_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>Download (HTTP): <ulink url="&okular-download-http;"/></para>
|
---|
41 | </listitem>
|
---|
42 | <listitem>
|
---|
43 | <para>Download (FTP): <ulink url="&okular-download-ftp;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download MD5 sum: &okular-md5sum;</para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download size: &okular-size;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Estimated disk space required: &okular-buildsize;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated build time: &okular-time;</para>
|
---|
56 | </listitem>
|
---|
57 | </itemizedlist>
|
---|
58 |
|
---|
59 | <bridgehead renderas="sect3">Okular Dependencies</bridgehead>
|
---|
60 |
|
---|
61 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
62 | <para role="required">
|
---|
63 | <xref linkend="kdelibs"/>
|
---|
64 | </para>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
67 | <para role="recommended">
|
---|
68 | <xref linkend="kactivities"/>,
|
---|
69 | <xref linkend="freetype2"/>,
|
---|
70 | <xref linkend="qimageblitz"/>,
|
---|
71 | <xref linkend="libtiff"/>,
|
---|
72 | <xref linkend="libjpeg"/>, and
|
---|
73 | <xref linkend="poppler"/> (required for PDF support)
|
---|
74 | </para>
|
---|
75 |
|
---|
76 | <note><para>For PDF support in <application>Okular</application> you need to
|
---|
77 | configure <application>Poppler</application> using <option>--enable-xpdf-headers
|
---|
78 | </option>.</para></note>
|
---|
79 |
|
---|
80 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
81 | <para role="optional">
|
---|
82 | <xref linkend="libkexiv2"/>,
|
---|
83 | <ulink url="https://projects.kde.org/projects/extragear/base/plasma-mobile">ActiveApp</ulink>
|
---|
84 | (for developing applications for Plasma Active),
|
---|
85 | <ulink url="http://libspectre.freedesktop.org/">libspectre</ulink> (for PostScript support),
|
---|
86 | <ulink url="http://www.jedrea.com/chmlib">libchm</ulink>,
|
---|
87 | <ulink url="http://djvu.org/">DjVuLibre</ulink>,
|
---|
88 | <ulink url="http://sourceforge.net/projects/ebook-tools">libepub</ulink>, and
|
---|
89 | <ulink url="https://projects.kde.org/projects/kde/kdegraphics/kdegraphics-mobipocket">Mobipocket</ulink>
|
---|
90 | </para>
|
---|
91 |
|
---|
92 | <para condition="html" role="usernotes">User Notes:
|
---|
93 | <ulink url="&blfs-wiki;/okular"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | </sect2>
|
---|
97 |
|
---|
98 | <sect2 role="installation">
|
---|
99 | <title>Installation of Okular</title>
|
---|
100 |
|
---|
101 | <para>Install <application>Okular</application> by running
|
---|
102 | the following commands:</para>
|
---|
103 |
|
---|
104 | <screen><userinput>mkdir build &&
|
---|
105 | cd build &&
|
---|
106 |
|
---|
107 | cmake -DCMAKE_INSTALL_PREFIX=&kde-dir; \
|
---|
108 | -DCMAKE_BUILD_TYPE=Release \
|
---|
109 | -DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
|
---|
110 | -Wno-dev .. &&
|
---|
111 | make</userinput></screen>
|
---|
112 |
|
---|
113 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
114 |
|
---|
115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | <sect2 role="content">
|
---|
120 | <title>Contents</title>
|
---|
121 |
|
---|
122 | <segmentedlist>
|
---|
123 | <segtitle>Installed Programs</segtitle>
|
---|
124 | <segtitle>Installed Libraries</segtitle>
|
---|
125 | <segtitle>Installed Directories</segtitle>
|
---|
126 |
|
---|
127 | <seglistitem>
|
---|
128 | <seg>okular</seg>
|
---|
129 | <seg>libokularcore.so and several in &kde-dir;/lib/kde4</seg>
|
---|
130 | <seg>&kde-dir;/include/okular and several in &kde-dir;/lib and
|
---|
131 | &kde-dir;/share</seg>
|
---|
132 | </seglistitem>
|
---|
133 | </segmentedlist>
|
---|
134 |
|
---|
135 | <variablelist>
|
---|
136 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
137 | <?dbfo list-presentation="list"?>
|
---|
138 | <?dbhtml list-presentation="table"?>
|
---|
139 |
|
---|
140 | <varlistentry id="okular-prog">
|
---|
141 | <term><command>okular</command></term>
|
---|
142 | <listitem>
|
---|
143 | <para>is the KDE document viewer.</para>
|
---|
144 | <indexterm zone="okular okular-prog">
|
---|
145 | <primary sortas="b-okular">okular</primary>
|
---|
146 | </indexterm>
|
---|
147 | </listitem>
|
---|
148 | </varlistentry>
|
---|
149 |
|
---|
150 | </variablelist>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | </sect1>
|
---|