source: gnome/applications/evince.xml@ 3473835

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 3473835 was 3473835, checked in by Xi Ruoyao <xry111@…>, 17 months ago

evince: Drop nautilus dependency

The nautilus dependency was enabled by default to build the nautilus
extension, but in GNOME 43 (and 44) nautilus is GTK-4 while evince is
still GTK-3. The extension cannot be built properly with a GTK version
mismatch so the upstream has already disabled it.

  • Property mode set to 100644
File size: 9.3 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"/>, and
93 <xref linkend="poppler"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="cups"/> (to enable printing if support is built into
99 <application>GTK+ 3</application>),
100 <xref linkend="gnome-desktop"/>,
101 <xref linkend="gspell"/>,
102 <xref linkend="gst10-plugins-base"/>,
103 <xref linkend="gi-docgen"/>,
104 <xref linkend="gtk-doc"/>,
105 <xref linkend="libgxps"/>,
106 <xref linkend="libtiff"/>,
107 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
108 <ulink url="https://djvu.sourceforge.net/">DjVuLibre</ulink>,
109 <ulink url="https://www.freedesktop.org/wiki/Software/libspectre/">libspectre</ulink>,
110 <ulink url="https://github.com/jlaurens/synctex">Synctex</ulink>, and
111 <ulink url="https://www.t1lib.org/">t1lib</ulink>
112 </para>
113
114 <para condition="html" role="usernotes">User Notes:
115 <ulink url="&blfs-wiki;/evince"/>
116 </para>
117 </sect2>
118
119 <sect2 role="installation">
120 <title>Installation of Evince</title>
121
122 <para>
123 Install <application>Evince</application> by running the following
124 commands:
125 </para>
126
127<screen revision="sysv"><userinput>mkdir build &amp;&amp;
128cd build &amp;&amp;
129
130CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
131meson setup --prefix=/usr \
132 --buildtype=release \
133 -Dgtk_doc=false \
134 --wrap-mode=nodownload \
135 -Dsystemduserunitdir=no .. &amp;&amp;
136ninja</userinput></screen>
137
138<screen revision="systemd"><userinput>mkdir build &amp;&amp;
139cd build &amp;&amp;
140
141CPPFLAGS+=" -I/opt/texlive/&texlive-year;/include" \
142meson setup --prefix=/usr \
143 --buildtype=release \
144 -Dgtk_doc=false \
145 --wrap-mode=nodownload \
146 .. &amp;&amp;
147ninja</userinput></screen>
148
149 <para>
150 If you have <xref linkend='gi-docgen'/> installed and wish to build
151 the API documentation for this package, issue:
152 </para>
153
154<screen role='nodump'><userinput>sed "/fatal-warnings/d" -i ../help/reference/*/meson.build &amp;&amp;
155sed "/docs_dir/s@\$@ / 'evince-&evince-version;'@" -i ../help/meson.build &amp;&amp;
156meson configure -Dgtk_doc=true &amp;&amp;
157ninja</userinput></screen>
158
159 <para>
160 This package does not have a working test suite.
161 </para>
162
163 <para>
164 Now, as the <systemitem class="username">root</systemitem> user:
165 </para>
166
167<screen role="root"><userinput>ninja install</userinput></screen>
168
169 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
170 href="../../xincludes/gsettings-destdir.xml"/>
171
172 </sect2>
173
174 <sect2 role="commands">
175 <title>Command Explanations</title>
176
177 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
178 href="../../xincludes/meson-buildtype-release.xml"/>
179
180 <para>
181 <parameter>CPPFLAGS+=" -I/opt/texlive/..."</parameter>:
182 Make sure that meson can find libkpathsea headers from TeXLive if it
183 is installed. This has no effect on systems without TeXLive installed.
184 </para>
185
186 <para>
187 <parameter>--wrap-mode=nodownload</parameter>: This switch disables
188 fetching any dependency: the build system tries to fetch gi-docgen
189 even if <parameter>-Dgtk_doc=false</parameter> is passed.
190 </para>
191
192 <para>
193 <parameter>-Dgtk_doc=false</parameter>: &gi-doc-disable;
194 </para>
195
196 <para>
197 <option>-Dgspell=false</option>: This switch turns off support
198 for the spell checking plugin.
199 </para>
200
201 <para>
202 <option>-Dintrospection=false</option>: Use this option if you
203 don't have <xref role="nodep" linkend="gobject-introspection"/>
204 installed and don't wish to have introspection support built into Evince.
205 </para>
206
207 <para>
208 <option>-Dnautilus=false</option>: This switch disables building
209 the <application>Nautilus</application> Plugin. Use this switch
210 if <application>Nautilus</application> is not installed.
211 </para>
212
213 <para>
214 <option>-Dkeyring=false</option>: This switch disables the use of
215 <application>libsecret</application>. Use this switch
216 if <application>libsecret</application> is not installed.
217 </para>
218
219 <para>
220 <option>-Dps=enabled</option>: Use this switch if
221 <application>libspectre</application> is installed and you want to
222 view PostScript files with <application>Evince</application>.
223 </para>
224
225 </sect2>
226
227 <sect2 role="content">
228 <title>Contents</title>
229
230 <segmentedlist>
231 <segtitle>Installed Programs</segtitle>
232 <segtitle>Installed Libraries</segtitle>
233 <segtitle>Installed Directories</segtitle>
234
235 <seglistitem>
236 <seg>
237 evince, evince-previewer, and evince-thumbnailer
238 </seg>
239 <seg>
240 libevdocument3.so and
241 libevview3.so
242 </seg>
243 <seg>
244 /usr/{include,lib,share}/evince,
245 /usr/share/gtk-doc/html/{evince,libevdocument-3.0,libevview-3.0}
246 (optional), and
247 /usr/share/help/*/evince
248 </seg>
249 </seglistitem>
250 </segmentedlist>
251
252 <variablelist>
253 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
254 <?dbfo list-presentation="list"?>
255 <?dbhtml list-presentation="table"?>
256
257 <varlistentry id="evince-prog">
258 <term><command>evince</command></term>
259 <listitem>
260 <para>
261 is a multiple format document viewer
262 </para>
263 <indexterm zone="evince evince-prog">
264 <primary sortas="b-evince">evince</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="evince-previewer">
270 <term><command>evince-previewer</command></term>
271 <listitem>
272 <para>
273 is an application that implements the printing previewer
274 </para>
275 <indexterm zone="evince evince-previewer">
276 <primary sortas="b-evince-previewer">evince-previewer</primary>
277 </indexterm>
278 </listitem>
279 </varlistentry>
280
281 <varlistentry id="evince-thumbnailer">
282 <term><command>evince-thumbnailer</command></term>
283 <listitem>
284 <para>
285 is a simple program used to create thumbnail images of
286 supported documents
287 </para>
288 <indexterm zone="evince evince-thumbnailer">
289 <primary sortas="b-evince-thumbnailer">evince-thumbnailer</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 </variablelist>
295
296 </sect2>
297
298</sect1>
Note: See TracBrowser for help on using the repository browser.