source: gnome/applications/evince.xml@ aea714c

qt5new
Last change on this file since aea714c was 6d28de3, checked in by Xi Ruoyao <xry111@…>, 17 months ago

evince: Take the advantage of /usr/lib/libkpathsea.so symlink

So we can simply the instruction. Also remove a stale command
explanation referring to "configure script" (we are using meson now).

Simply the explanation for libkpathsea.so symlink in texlive too as we
don't distinguish "old" and "new" evince installations anymore. The
original explanation emphasizing "old" evince installation also does not
make sense to me: we have /etc/ld.so.conf addition which should be
enough for ld.so to find libkpathsea.so.6 when evince is used; and ld.so
only searches for "libkpathsea.so.6" (which is a DT_NEEDED entry in
evince libdvidocument.so), not unversioned libkpathsea.so.

  • Property mode set to 100644
File size: 9.4 KB
Line 
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 evince-download-http
8 "&gnome-download-http;/evince/&gnome-43;/evince-&evince-version;.tar.xz">
9 <!ENTITY evince-download-ftp
10 "&gnome-download-ftp;/evince/&gnome-43;/evince-&evince-version;.tar.xz">
11 <!ENTITY evince-md5sum "8b50f6b1fbd707656452a759bd7364e7">
12 <!ENTITY evince-size "2.8 MB">
13 <!ENTITY evince-buildsize "44 MB">
14 <!ENTITY evince-time "0.2 SBU (Using parallelism=4)">
15]>
16
17<sect1 id="evince" xreflabel="Evince-&evince-version;">
18 <?dbhtml filename="evince.html"?>
19
20
21 <title>Evince-&evince-version;</title>
22
23 <indexterm zone="evince">
24 <primary sortas="a-Evince">Evince</primary>
25 </indexterm>
26
27 <sect2 role="package">
28 <title>Introduction to Evince</title>
29
30 <para>
31 <application>Evince</application> is a document viewer for multiple
32 document formats. It supports PDF, Postscript, DjVu, TIFF and DVI.
33 It is useful for viewing documents of various types using one simple
34 application instead of the multiple document viewers that once existed
35 on the <application>GNOME</application> Desktop.
36 </para>
37
38 &lfs113_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&evince-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&evince-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &evince-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &evince-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &evince-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &evince-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Evince Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="adwaita-icon-theme"/>,
79 <xref linkend="gsettings-desktop-schemas"/>,
80 <xref linkend="gtk3"/>,
81 <xref linkend="itstool"/>,
82 <xref linkend="libhandy1"/>,
83 <xref linkend="libxml2"/>, and
84 <xref linkend="openjpeg2"/>
85 </para>
86
87 <bridgehead renderas="sect4">Recommended</bridgehead>
88 <para role="recommended">
89 <xref linkend="gnome-keyring"/>,
90 <xref linkend="gobject-introspection"/>,
91 <xref linkend="libarchive"/>,
92 <xref linkend="libsecret"/>,
93 <xref linkend="nautilus"/> (to build the plugin), and
94 <xref linkend="poppler"/>
95 </para>
96
97 <bridgehead renderas="sect4">Optional</bridgehead>
98 <para role="optional">
99 <xref linkend="cups"/> (to enable printing if support is built into
100 <application>GTK+ 3</application>),
101 <xref linkend="gnome-desktop"/>,
102 <xref linkend="gspell"/>,
103 <xref linkend="gst10-plugins-base"/>,
104 <xref linkend="gi-docgen"/>,
105 <xref linkend="gtk-doc"/>,
106 <xref linkend="libgxps"/>,
107 <xref linkend="libtiff"/>,
108 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
109 <ulink url="https://djvu.sourceforge.net/">DjVuLibre</ulink>,
110 <ulink url="https://www.freedesktop.org/wiki/Software/libspectre/">libspectre</ulink>,
111 <ulink url="https://github.com/jlaurens/synctex">Synctex</ulink>, and
112 <ulink url="https://www.t1lib.org/">t1lib</ulink>
113 </para>
114
115 <para condition="html" role="usernotes">User Notes:
116 <ulink url="&blfs-wiki;/evince"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of Evince</title>
122
123 <para>
124 Install <application>Evince</application> by running the following
125 commands:
126 </para>
127
128<screen revision="sysv"><userinput>mkdir build &amp;&amp;
129cd build &amp;&amp;
130
131CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
132meson setup --prefix=/usr \
133 --buildtype=release \
134 -Dgtk_doc=false \
135 --wrap-mode=nodownload \
136 -Dsystemduserunitdir=no .. &amp;&amp;
137ninja</userinput></screen>
138
139<screen revision="systemd"><userinput>mkdir build &amp;&amp;
140cd build &amp;&amp;
141
142CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
143meson setup --prefix=/usr \
144 --buildtype=release \
145 -Dgtk_doc=false \
146 --wrap-mode=nodownload \
147 .. &amp;&amp;
148ninja</userinput></screen>
149
150 <para>
151 If you have <xref linkend='gi-docgen'/> installed and wish to build
152 the API documentation for this package, issue:
153 </para>
154
155<screen role='nodump'><userinput>sed "/fatal-warnings/d" -i ../help/reference/*/meson.build &amp;&amp;
156sed "/docs_dir/s@\$@ / 'evince-&evince-version;'@" -i ../help/meson.build &amp;&amp;
157meson configure -Dgtk_doc=true &amp;&amp;
158ninja</userinput></screen>
159
160 <para>
161 This package does not have a working test suite.
162 </para>
163
164 <para>
165 Now, as the <systemitem class="username">root</systemitem> user:
166 </para>
167
168<screen role="root"><userinput>ninja install</userinput></screen>
169
170 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
171 href="../../xincludes/gsettings-destdir.xml"/>
172
173 </sect2>
174
175 <sect2 role="commands">
176 <title>Command Explanations</title>
177
178 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
179 href="../../xincludes/meson-buildtype-release.xml"/>
180
181 <para>
182 <parameter>CPPFLAGS+=" -I/opt/texlive/..."</parameter>:
183 Make sure that meson can find libkpathsea headers from TeXLive if it
184 is installed. This has no effect on systems without TeXLive installed.
185 </para>
186
187 <para>
188 <parameter>--wrap-mode=nodownload</parameter>: This switch disables
189 fetching any dependency: the build system tries to fetch gi-docgen
190 even if <parameter>-Dgtk_doc=false</parameter> is passed.
191 </para>
192
193 <para>
194 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
195 </para>
196
197 <para>
198 <option>-Dgspell=false</option>: This switch turns off support
199 for the spell checking plugin.
200 </para>
201
202 <para>
203 <option>-Dintrospection=false</option>: Use this option if you
204 don't have <xref role="nodep" linkend="gobject-introspection"/>
205 installed and don't wish to have introspection support built into Evince.
206 </para>
207
208 <para>
209 <option>-Dnautilus=false</option>: This switch disables building
210 the <application>Nautilus</application> Plugin. Use this switch
211 if <application>Nautilus</application> is not installed.
212 </para>
213
214 <para>
215 <option>-Dkeyring=false</option>: This switch disables the use of
216 <application>libsecret</application>. Use this switch
217 if <application>libsecret</application> is not installed.
218 </para>
219
220 <para>
221 <option>-Dps=enabled</option>: Use this switch if
222 <application>libspectre</application> is installed and you want to
223 view PostScript files with <application>Evince</application>.
224 </para>
225
226 </sect2>
227
228 <sect2 role="content">
229 <title>Contents</title>
230
231 <segmentedlist>
232 <segtitle>Installed Programs</segtitle>
233 <segtitle>Installed Libraries</segtitle>
234 <segtitle>Installed Directories</segtitle>
235
236 <seglistitem>
237 <seg>
238 evince, evince-previewer, and evince-thumbnailer
239 </seg>
240 <seg>
241 libevdocument3.so and
242 libevview3.so
243 </seg>
244 <seg>
245 /usr/{include,lib,share}/evince,
246 /usr/share/gtk-doc/html/{evince,libevdocument-3.0,libevview-3.0}
247 (optional), and
248 /usr/share/help/*/evince
249 </seg>
250 </seglistitem>
251 </segmentedlist>
252
253 <variablelist>
254 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
255 <?dbfo list-presentation="list"?>
256 <?dbhtml list-presentation="table"?>
257
258 <varlistentry id="evince-prog">
259 <term><command>evince</command></term>
260 <listitem>
261 <para>
262 is a multiple format document viewer
263 </para>
264 <indexterm zone="evince evince-prog">
265 <primary sortas="b-evince">evince</primary>
266 </indexterm>
267 </listitem>
268 </varlistentry>
269
270 <varlistentry id="evince-previewer">
271 <term><command>evince-previewer</command></term>
272 <listitem>
273 <para>
274 is an application that implements the printing previewer
275 </para>
276 <indexterm zone="evince evince-previewer">
277 <primary sortas="b-evince-previewer">evince-previewer</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="evince-thumbnailer">
283 <term><command>evince-thumbnailer</command></term>
284 <listitem>
285 <para>
286 is a simple program used to create thumbnail images of
287 supported documents
288 </para>
289 <indexterm zone="evince evince-thumbnailer">
290 <primary sortas="b-evince-thumbnailer">evince-thumbnailer</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 </variablelist>
296
297 </sect2>
298
299</sect1>
Note: See TracBrowser for help on using the repository browser.