source: general/graphlib/poppler-systemd.xml@ 6e8b058

krejzi/svn
Last change on this file since 6e8b058 was 2281fabd, checked in by Krejzi <krejzi@…>, 10 years ago

systemd additions and changes for graphical libraries section.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd-ng@14746 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 14.7 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 poppler-download-http
8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
9 <!ENTITY poppler-download-ftp " ">
10 <!ENTITY poppler-md5sum "786c943eee550e3a977c181e7778b1c8">
11 <!ENTITY poppler-size "1.6 MB">
12 <!ENTITY poppler-buildsize "145 MB">
13 <!ENTITY poppler-time "2.1 SBU">
14
15 <!ENTITY poppler-data-version "0.4.7">
16
17 <!ENTITY poppler-data-download-http
18 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
19 <!ENTITY poppler-data-md5sum "636a8f2b9f6df9e7ced8ec0946961eaf">
20 <!ENTITY poppler-data-size "4.0 MB">
21]>
22
23<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
24 <?dbhtml filename="poppler.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>Poppler-&poppler-version;</title>
32
33 <indexterm zone="poppler">
34 <primary sortas="a-Poppler">Poppler</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to Poppler</title>
39
40 <para>
41 The <application>Poppler</application> package contains a PDF rendering
42 library and command line tools used to manipulate PDF files. This is
43 useful for providing PDF rendering functionality as a shared library.
44 </para>
45
46 &lfs76_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&poppler-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&poppler-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &poppler-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &poppler-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &poppler-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &poppler-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83
84 <itemizedlist spacing="compact">
85 <title>Poppler Encoding Data</title>
86 <listitem>
87 <para>
88 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
89 </para>
90 </listitem>
91 <listitem>
92 <para>
93 Download MD5 sum: &poppler-data-md5sum;
94 </para>
95 </listitem>
96 <listitem>
97 <para>
98 Download size: &poppler-data-size;
99 </para>
100 </listitem>
101 </itemizedlist>
102
103 <para>
104 The additional package consists of encoding files for use with
105 <application>Poppler</application>. The encoding files are optional and
106 <application>Poppler</application> will automatically read them if they
107 are present. When installed, they enable
108 <application>Poppler</application> to render CJK and Cyrillic properly.
109 </para>
110
111 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
112
113 <bridgehead renderas="sect4">Required</bridgehead>
114 <para role="required">
115 <xref linkend="fontconfig"/>
116 </para>
117
118 <bridgehead renderas="sect4">Recommended</bridgehead>
119 <para role="recommended">
120 <xref linkend="cairo"/>,
121 <xref linkend="libjpeg"/>, and
122 <xref linkend="libpng"/>
123 </para>
124
125 <bridgehead renderas="sect4">Optional</bridgehead>
126 <para role="optional">
127 <xref linkend="curl"/>,
128 <xref linkend="gobject-introspection"/>,
129 <xref linkend="gtk-doc"/>,
130 <xref linkend="gtk2"/>,
131 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
132 <xref linkend="libtiff"/>,
133 <xref linkend="openjpeg"/>,
134 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
135 is needed for PDF support in <application>Okular</application>), and
136 <xref linkend="qt5"/>
137 </para>
138
139 <para condition="html" role="usernotes">
140 User Notes: <ulink url="&blfs-wiki;/poppler"/>
141 </para>
142 </sect2>
143
144 <sect2 role="installation">
145 <title>Installation of Poppler</title>
146
147 <para>
148 In order to optionally run the test suite, additional download of about
149 9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
150 not have the directory ../test.
151 </para>
152
153<screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
154
155 <para>
156 Install <application>Poppler</application> by running the following
157 commands:
158 </para>
159
160<!-- Warning: Using zlib is not totally safe -->
161<screen><userinput>./configure --prefix=/usr \
162 --sysconfdir=/etc \
163 --disable-static \
164 --enable-xpdf-headers &amp;&amp;
165make</userinput></screen>
166
167 <para>
168 To test the results, issue: <command>make check</command>.
169 </para>
170
171 <para>
172 Now, as the <systemitem class="username">root</systemitem> user:
173 </para>
174
175<screen role="root"><userinput>make install</userinput></screen>
176
177 <para>
178 The documents are installed using the following commands:
179 </para>
180
181<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
182install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
183
184 <para>
185 If you downloaded the additional encoding data package, install it by
186 issuing the following commands as the
187 <systemitem class="username">root</systemitem> user:
188 </para>
189
190<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
191cd poppler-data-&poppler-data-version;</userinput></screen>
192
193 <para>
194 Now, as the <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
198
199 </sect2>
200
201 <sect2 role="commands">
202 <title>Command Explanations</title>
203
204 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
205 href="../../xincludes/static-libraries.xml"/>
206
207 <para>
208 <option>--enable-xpdf-headers</option>: Install some old
209 <application>Xpdf</application> headers required by certain programs (e.g.
210 <application>Okular</application>, <application>LibreOffice</application>
211 and <application>Inkscape</application>).
212 </para>
213
214 <para>
215 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
216 </para>
217
218 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
219 href="../../xincludes/gtk-doc-rebuild.xml"/>
220
221 </sect2>
222
223 <sect2 role="content">
224 <title>Contents</title>
225
226 <segmentedlist>
227 <segtitle>Installed Programs</segtitle>
228 <segtitle>Installed Libraries</segtitle>
229 <segtitle>Installed Directories</segtitle>
230
231 <seglistitem>
232 <seg>
233 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
234 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
235 pdfunite, and poppler-glib-demo
236 </seg>
237 <seg>
238 libpoppler.so, libpoppler-cpp.so,
239 libpoppler-glib.so,
240 libpoppler-qt4.so, and
241 libpoppler-qt5.so
242 </seg>
243 <seg>
244 /usr/include/poppler,
245 /usr/share/doc/poppler-&poppler-version;,
246 /usr/share/gtk-doc/html/poppler, and
247 /usr/share/poppler
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="pdfdetach">
258 <term><command>pdfdetach</command></term>
259 <listitem>
260 <para>
261 lists or extracts embedded files from PDF files.
262 </para>
263 <indexterm zone="poppler pdfdetach">
264 <primary sortas="b-pdfdetach">pdfdetach</primary>
265 </indexterm>
266 </listitem>
267 </varlistentry>
268
269 <varlistentry id="pdffonts">
270 <term><command>pdffonts</command></term>
271 <listitem>
272 <para>
273 lists the fonts used in a PDF file along with various information
274 for each font.
275 </para>
276 <indexterm zone="poppler pdffonts">
277 <primary sortas="b-pdffonts">pdffonts</primary>
278 </indexterm>
279 </listitem>
280 </varlistentry>
281
282 <varlistentry id="pdfimages">
283 <term><command>pdfimages</command></term>
284 <listitem>
285 <para>
286 saves images from a PDF file as PPM, PBM, or JPEG files.
287 </para>
288 <indexterm zone="poppler pdfimages">
289 <primary sortas="b-pdfimages">pdfimages</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="pdfinfo">
295 <term><command>pdfinfo</command></term>
296 <listitem>
297 <para>
298 prints the contents of the 'Info' dictionary (plus some other useful
299 information) from a PDF file.
300 </para>
301 <indexterm zone="poppler pdfinfo">
302 <primary sortas="b-pdfinfo">pdfinfo</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="pdfseparate">
308 <term><command>pdfseparate</command></term>
309 <listitem>
310 <para>
311 extracts single pages from a PDF file.
312 </para>
313 <indexterm zone="poppler pdfseparate">
314 <primary sortas="b-pdseparate">pdfseparate</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="pdftocairo">
320 <term><command>pdftocairo</command></term>
321 <listitem>
322 <para>
323 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
324 EPS, SVG) using the cairo output device of the poppler library.
325 </para>
326 <indexterm zone="poppler pdftocairo">
327 <primary sortas="b-pdftocairo">pdftocairo</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="pdftohtml">
333 <term><command>pdftohtml</command></term>
334 <listitem>
335 <para>
336 converts a PDF file to HTML.
337 </para>
338 <indexterm zone="poppler pdftohtml">
339 <primary sortas="b-pdftohtml">pdftohtml</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="pdftoppm">
345 <term><command>pdftoppm</command></term>
346 <listitem>
347 <para>
348 converts PDF files to PBM, PGM and PPM formats.
349 </para>
350 <indexterm zone="poppler pdftoppm">
351 <primary sortas="b-pdftoppm">pdftoppm</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="pdftops">
357 <term><command>pdftops</command></term>
358 <listitem>
359 <para>
360 converts PDF files to Postscript format.
361 </para>
362 <indexterm zone="poppler pdftops">
363 <primary sortas="b-pdftops">pdftops</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="pdftotext">
369 <term><command>pdftotext</command></term>
370 <listitem>
371 <para>
372 converts PDF files to plain text.
373 </para>
374 <indexterm zone="poppler pdftotext">
375 <primary sortas="b-pdftotext">pdftotext</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="pdfunite">
381 <term><command>pdfunite</command></term>
382 <listitem>
383 <para>
384 merges several PDF files, in the order of their occurrence on the
385 command line, to one PDF output file.
386 </para>
387 <indexterm zone="poppler pdfunite">
388 <primary sortas="b-pdfunite">pdfunite</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="poppler-glib-demo">
394 <term><command>poppler-glib-demo</command></term>
395 <listitem>
396 <para>
397 is a tool to demonstrate the API, and for use when debugging and
398 testing <application>Poppler</application>.
399 </para>
400 <indexterm zone="poppler poppler-glib-demo">
401 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="libpoppler">
407 <term><filename class="libraryfile">libpoppler.so</filename></term>
408 <listitem>
409 <para>
410 contains the API functions to render PDF files.
411 </para>
412 <indexterm zone="poppler libpoppler">
413 <primary sortas="c-libpoppler">libpoppler.so</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="libpoppler-cpp">
419 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
420 <listitem>
421 <para>
422 is a C++ backend for rendering PDF files.
423 </para>
424 <indexterm zone="poppler libpoppler-cpp">
425 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="libpoppler-glib">
431 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
432 <listitem>
433 <para>
434 is a wrapper library used to interface the PDF rendering functions
435 with <application>GTK+</application>.
436 </para>
437 <indexterm zone="poppler libpoppler-glib">
438 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="libpoppler-qt4">
444 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
445 <listitem>
446 <para>
447 is a wrapper library used to interface the PDF rendering functions
448 with <application>Qt</application>4.
449 </para>
450 <indexterm zone="poppler libpoppler-qt4">
451 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
452 </indexterm>
453 </listitem>
454 </varlistentry>
455
456 <varlistentry id="libpoppler-qt5">
457 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
458 <listitem>
459 <para>
460 is a wrapper library used to interface the PDF rendering functions
461 with <application>Qt</application>5.
462 </para>
463 <indexterm zone="poppler libpoppler-qt5">
464 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
465 </indexterm>
466 </listitem>
467 </varlistentry>
468
469 </variablelist>
470
471 </sect2>
472
473</sect1>
Note: See TracBrowser for help on using the repository browser.