source: gnome/applications/evince.xml@ 1483e0c

10.0 10.1 11.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 1483e0c was 1483e0c, checked in by Xi Ruoyao <xry111@…>, 22 months ago

evince: add LDFLAGS for libkpathsea

BTW, add a missing punctuation :)

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

  • Property mode set to 100644
File size: 9.9 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-34;/evince-&evince-version;.tar.xz">
9 <!ENTITY evince-download-ftp
10 "&gnome-download-ftp;/evince/&gnome-minor-34;/evince-&evince-version;.tar.xz">
11 <!ENTITY evince-md5sum "9e9e82fa8f6045ad7817157d9335d185">
12 <!ENTITY evince-size "2.4 MB">
13 <!ENTITY evince-buildsize "71 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 &lfs90_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="libsecret"/>,
95 <xref linkend="nautilus"/> (to build the plugin), and
96 <xref linkend="poppler"/>
97 </para>
98
99 <bridgehead renderas="sect4">Optional</bridgehead>
100 <para role="optional">
101 <xref linkend="cups"/> (to enable printing if support is built into
102 <application>GTK+ 3</application>),
103 <xref linkend="gnome-desktop"/>,
104 <xref linkend="gspell"/>,
105 <xref linkend="gst10-plugins-base"/>,
106 <xref linkend="gtk-doc"/>,
107 <xref linkend="libgxps"/>,
108 <xref linkend="libtiff"/>,
109 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>),
110 <ulink url="http://djvu.sourceforge.net/">DjVuLibre</ulink>,
111 <!--<ulink url="http://ftp.gnome.org/pub/gnome/sources/gspell">gspell</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.ibiblio.org/pub/Linux/libs/graphics/!INDEX.html">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 Install <application>Evince</application> by running the following
128 commands:
129 </para>
130
131<screen revision="sysv"><userinput>CFLAGS="$CFLAGS -I/opt/texlive/&texlive-year;/include " \
132CXXFLAGS="$CXXFLAGS -I/opt/texlive/&texlive-year;/include" \
133./configure --prefix=/usr \
134 --enable-introspection \
135 --without-gspell \
136 --disable-static \
137 --with-systemduserunitdir=no &amp;&amp;
138make</userinput></screen>
139
140<screen revision="systemd"><userinput>CFLAGS="$CFLAGS -I/opt/texlive/&texlive-year;/include" \
141CXXFLAGS="$CXXFLAGS -I/opt/texlive/&texlive-year;/include" \
142LDFLAGS="$LDFLAGS -L/opt/texlive/&texlive-year;/lib"
143./configure --prefix=/usr \
144 --enable-introspection \
145 --without-gspell \
146 --disable-static &amp;&amp;
147make</userinput></screen>
148
149 <para>
150 This package does not have a working testsuite.
151 </para>
152
153 <para>
154 Now, as the <systemitem class="username">root</systemitem> user:
155 </para>
156
157<screen role="root"><userinput>make install</userinput></screen>
158
159 <note>
160 <para>If you installed the package to your system using a "DESTDIR"
161 method,
162 <filename>/usr/share/glib-2.0/schemas/gschemas.compiled</filename>
163 was not updated/created. Create (or update) the file using the following
164 command as the <systemitem class="username">root</systemitem> user:</para>
165
166<screen role="root"><userinput>glib-compile-schemas /usr/share/glib-2.0/schemas</userinput></screen></note>
167
168
169 </sect2>
170
171 <sect2 role="commands">
172 <title>Command Explanations</title>
173 <!--
174 <para>
175 <parameter>- -enable-compile-warnings=minimum</parameter>: This
176 switch prevents a warning about a date format being treated as an error by
177 <application>gcc-6.1</application>.
178 </para>
179 -->
180
181 <para>
182 <parameter>CFLAGS="$CFLAGS ..." CXXFLAGS="$CXXFLAGS ..." LDFLAGS="$LDFLAGS ..."</parameter>: If
183 <application>TeXLive</application> has been installed in
184 <filename class="directory">/opt/texlive-&texlive-year;</filename> the
185 configure script will find <filename class='libraryfile'>libkpathsea.so</filename>
186 and enable the DVI backend, but without this addition the compile will fail
187 because it cannot find the required headers. Adding this to a system where
188 <application>TeXLive</application> has not been installed does not break the
189 build.
190 </para>
191
192 <para>
193 <parameter>--without-gspell</parameter>: This switch turns off support
194 for the spell checking plugin. Remove this if you have gspell installed.
195 </para>
196
197 <para>
198 <parameter>--enable-introspection</parameter>: By default, the
199 <application>Gobject Introspection</application> support is
200 turned off, even though that package is an expected component
201 of the <application>GNOME</application> Desktop.
202 </para>
203
204 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
205 href="../../xincludes/static-libraries.xml"/>
206
207 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
208 href="../../xincludes/gtk-doc-rebuild.xml"/>
209
210 <para>
211 <option>--disable-nautilus</option>: This switch disables building
212 the <application>Nautilus</application> Plugin. Use this switch
213 if <application>Nautilus</application> is not installed.
214 </para>
215
216 <para>
217 <option>--without-keyring</option>: This switch disables the use of
218 <application>libsecret</application>. Use this switch
219 if <application>libsecret</application> is not installed.
220 </para>
221
222 </sect2>
223
224 <sect2 role="content">
225 <title>Contents</title>
226
227 <segmentedlist>
228 <segtitle>Installed Programs</segtitle>
229 <segtitle>Installed Libraries</segtitle>
230 <segtitle>Installed Directories</segtitle>
231
232 <seglistitem>
233 <seg>
234 evince, evince-previewer, and evince-thumbnailer
235 </seg>
236 <seg>
237 libevdocument3.so,
238 libevview3.so, and
239 /usr/lib/nautilus/extensions-3.0/libevince-properties-page.so
240 </seg>
241 <seg>
242 /usr/{include,lib,share}/evince,
243 /usr/share/gtk-doc/html/{evince,libevdocument-3.0,libevview-3.0}, and
244 /usr/share/help/*/evince
245 </seg>
246 </seglistitem>
247 </segmentedlist>
248
249 <variablelist>
250 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
251 <?dbfo list-presentation="list"?>
252 <?dbhtml list-presentation="table"?>
253
254 <varlistentry id="evince-prog">
255 <term><command>evince</command></term>
256 <listitem>
257 <para>
258 is a multiple format document viewer.
259 </para>
260 <indexterm zone="evince evince-prog">
261 <primary sortas="b-evince">evince</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="evince-previewer">
267 <term><command>evince-previewer</command></term>
268 <listitem>
269 <para>
270 is an applicaton that implements the printing previewer.
271 </para>
272 <indexterm zone="evince evince-previewer">
273 <primary sortas="b-evince-previewer">evince-previewer</primary>
274 </indexterm>
275 </listitem>
276 </varlistentry>
277
278 <varlistentry id="evince-thumbnailer">
279 <term><command>evince-thumbnailer</command></term>
280 <listitem>
281 <para>
282 is a simple program used to create thumbnail images of
283 supported documents.
284 </para>
285 <indexterm zone="evince evince-thumbnailer">
286 <primary sortas="b-evince-thumbnailer">evince-thumbnailer</primary>
287 </indexterm>
288 </listitem>
289 </varlistentry>
290
291 </variablelist>
292
293 </sect2>
294
295</sect1>
Note: See TracBrowser for help on using the repository browser.