source: gnome/applications/evince.xml@ f4302700

11.0 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f4302700 was f4302700, checked in by Xi Ruoyao <xry111@…>, 3 years ago

CFLAGS/CPPFLAGS cleanup

Move -I and -D into CPPFLAGS, and for others use ${CFLAGS:--O2 -g} to
prevent from building "non-optimized" binary.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24334 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 9.5 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-minor-38;/evince-&evince-version;.tar.xz">
9 <!ENTITY evince-download-ftp
10 "&gnome-download-ftp;/evince/&gnome-minor-38;/evince-&evince-version;.tar.xz">
11 <!ENTITY evince-md5sum "497863ba00e1b2906c846d6d6c90a8e7">
12 <!ENTITY evince-size "2.8 MB">
13 <!ENTITY evince-buildsize "85 MB">
14 <!ENTITY evince-time "0.4 SBU (Using parallelism=4)">
15]>
16
17<sect1 id="evince" xreflabel="Evince-&evince-version;">
18 <?dbhtml filename="evince.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Evince-&evince-version;</title>
26
27 <indexterm zone="evince">
28 <primary sortas="a-Evince">Evince</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Evince</title>
33
34 <para>
35 <application>Evince</application> is a document viewer for multiple
36 document formats. It supports PDF, Postscript, DjVu, TIFF and DVI.
37 It is useful for viewing documents of various types using one simple
38 application instead of the multiple document viewers that once existed
39 on the <application>GNOME</application> Desktop.
40 </para>
41
42 &lfs101_checked;
43
44 <bridgehead renderas="sect3">Package Information</bridgehead>
45 <itemizedlist spacing="compact">
46 <listitem>
47 <para>
48 Download (HTTP): <ulink url="&evince-download-http;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download (FTP): <ulink url="&evince-download-ftp;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download MD5 sum: &evince-md5sum;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download size: &evince-size;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated disk space required: &evince-buildsize;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated build time: &evince-time;
74 </para>
75 </listitem>
76 </itemizedlist>
77
78 <bridgehead renderas="sect3">Evince Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Required</bridgehead>
81 <para role="required">
82 <xref linkend="adwaita-icon-theme"/>,
83 <xref linkend="gsettings-desktop-schemas"/>,
84 <xref linkend="gtk3"/>,
85 <xref linkend="itstool"/>,
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 Install <application>Evince</application> by running the following
136 commands:
137 </para>
138
139<screen revision="sysv"><userinput>mkdir build &amp;&amp;
140cd build &amp;&amp;
141
142meson --prefix=/usr -Dgtk_doc=false -Dsystemduserunitdir=no .. &amp;&amp;
143ninja</userinput></screen>
144
145<screen revision="systemd"><userinput>mkdir build &amp;&amp;
146cd build &amp;&amp;
147
148meson --prefix=/usr -Dgtk_doc=false .. &amp;&amp;
149ninja</userinput></screen>
150
151 <para>
152 This package does not have a working testsuite.
153 </para>
154
155 <para>
156 Now, as the <systemitem class="username">root</systemitem> user:
157 </para>
158
159<screen role="root"><userinput>ninja install</userinput></screen>
160
161 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
162 href="../../xincludes/gsettings-destdir.xml"/>
163
164 </sect2>
165
166 <sect2 role="commands">
167 <title>Command Explanations</title>
168 <!--
169 <para>
170 <parameter>- -enable-compile-warnings=minimum</parameter>: This
171 switch prevents a warning about a date format being treated as an error by
172 <application>gcc-6.1</application>.
173 </para>
174 -->
175
176 <para>
177 <parameter>CPPFLAGS="..." LDFLAGS="$LDFLAGS ..."</parameter>: If
178 <application>TeXLive</application> has been installed in
179 <filename class="directory">/opt/texlive-&texlive-year;</filename> the
180 configure script will find <filename class='libraryfile'>libkpathsea.so</filename>
181 and enable the DVI backend, but without this addition the compile will fail
182 because it cannot find the required headers. Adding this to a system where
183 <application>TeXLive</application> has not been installed does not break the
184 build.
185 </para>
186
187 <para>
188 <parameter>-Dgtk_doc=false</parameter>: This switch disables generating
189 the gtk-doc API reference documentation. If you have
190 <xref role="nodep" linkend="gtk-doc"/> installed and wish to generate
191 the API reference documentation, remove this switch.
192 </para>
193
194 <para>
195 <option>-Dgspell=false</option>: This switch turns off support
196 for the spell checking plugin.
197 </para>
198
199 <para>
200 <option>-Dintrospection=false</option>: Use this option if you
201 don't have <xref role="nodep" linkend="gobject-introspection"/>
202 installed and don't wish to have introspection support built into Evince.
203 </para>
204
205<!--
206 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
207 href="../../xincludes/static-libraries.xml"/>
208
209 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
210 href="../../xincludes/gtk-doc-rebuild.xml"/>
211-->
212
213 <para>
214 <option>-Dnautilus=false</option>: This switch disables building
215 the <application>Nautilus</application> Plugin. Use this switch
216 if <application>Nautilus</application> is not installed.
217 </para>
218
219 <para>
220 <option>-Dkeyring=false</option>: This switch disables the use of
221 <application>libsecret</application>. Use this switch
222 if <application>libsecret</application> is not installed.
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,
241 libevview3.so, and
242 /usr/lib/nautilus/extensions-3.0/libevince-properties-page.so
243 </seg>
244 <seg>
245 /usr/{include,lib,share}/evince,
246 /usr/share/gtk-doc/html/{evince,libevdocument-3.0,libevview-3.0}, 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 applicaton 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.