source: gnome/applications/evince.xml@ 2f2bfbd

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2f2bfbd was 2f2bfbd, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Fixes for building with meson 0.61+

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