source: general/graphlib/poppler.xml@ 5dab7b65

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules 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 5dab7b65 was 5dab7b65, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Update to poppler-0.26.5.

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

  • Property mode set to 100644
File size: 16.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 "e58cdddfc7dc01f00bf7394e0e4f21ce">
11 <!ENTITY poppler-size "1.6 MB">
12 <!ENTITY poppler-buildsize "145 MB (building Qt4 and Qt5 libraries, additional 46 MB for the test suite and 24 MB for poppler-data)">
13 <!ENTITY poppler-time "1.8 SBU (building Qt4 and Qt5 libraries, additional 0.2 SBU for the test suite for each Qt)">
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="gtk2"/>,
130 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
131 <xref linkend="libtiff"/>,
132 <xref linkend="openjpeg"/>,
133 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
134 is needed for PDF support in <application>Okular</application>), and
135 <xref linkend="qt5"/>
136 </para>
137
138 <para condition="html" role="usernotes">
139 User Notes: <ulink url="&blfs-wiki;/poppler"/>
140 </para>
141 </sect2>
142
143 <sect2 role="installation">
144 <title>Installation of Poppler</title>
145
146 <para>
147 In order to optionally run the test suite, additional download of about
148 9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
149 not have the directory ../test.
150 </para>
151
152<screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
153
154 <para>
155 This package may be built either without <application>Qt</application>
156 library, or with one or both versions of <application>Qt4 and
157 5</application> libraries. In order to build the
158 <application>Qt4</application> and <application>Qt5</application>
159 libraries, you need to run the install commands twice, because, although
160 both are detected, only the wrapper for the the first
161 <application>Qt</application> version in the PATH is built. The
162 instructions are divided into four parts: first, build without
163 <application>Qt</application> or with <application>Qt4</application>;
164 second, build with <application>Qt4</application>; third, install the
165 common documents, and fourth, install the additional encoding data
166 package.
167 </para>
168
169<!-- ==== Without Qt or with Qt4 ====== -->
170 <bridgehead renderas="sect3">Without Qt or with Qt4</bridgehead>
171
172 <para>
173 Install <application>Poppler</application> by running the following
174 commands:
175 </para>
176
177<!-- Warning: Using zlib is not totally safe -->
178<screen><userinput>[ -e /usr/bin/setqt4 ] &amp;&amp; source setqt4 || [ ! -e /usr/bin/setqt5 ] &amp;&amp;
179./configure --prefix=/usr \
180 --sysconfdir=/etc \
181 --disable-static \
182 --enable-xpdf-headers &amp;&amp;
183make</userinput></screen>
184
185 <para>
186 To test the results, issue: <command>make check</command>.
187 </para>
188
189 <para>
190 Now, as the <systemitem class="username">root</systemitem> user:
191 </para>
192
193<screen role="root"><userinput>make install</userinput></screen>
194
195<!-- ==== With Qt5 ====== -->
196 <bridgehead renderas="sect3">With Qt5</bridgehead>
197
198 <para>
199 Install <application>Poppler</application> by running the following
200 commands:
201 </para>
202
203<!-- Warning: Using zlib is not totally safe -->
204<screen><userinput>[ -e /usr/bin/setqt5 ] &amp;&amp; source setqt5 &amp;&amp;
205./configure --prefix=/usr \
206 --sysconfdir=/etc \
207 --disable-static \
208 --enable-xpdf-headers &amp;&amp;
209make</userinput></screen>
210
211 <para>
212 To test the results, issue: <command>make check</command>.
213 </para>
214
215 <para>
216 Now, as the <systemitem class="username">root</systemitem> user:
217 </para>
218
219<screen role="root"><userinput>make install</userinput></screen>
220
221<!-- ==== Documents ====== -->
222 <bridgehead renderas="sect3">Documents</bridgehead>
223
224 <para>
225 The documents are installed using the following commands:
226 </para>
227
228<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
229install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
230
231<!-- ==== Poppler Data ====== -->
232 <bridgehead renderas="sect3">Poppler Data</bridgehead>
233
234 <para>
235 If you downloaded the additional encoding data package, install it by
236 issuing the following commands as the
237 <systemitem class="username">root</systemitem> user:
238 </para>
239
240<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
241cd poppler-data-&poppler-data-version;</userinput></screen>
242
243 <para>
244 Now, as the <systemitem class="username">root</systemitem> user:
245 </para>
246
247<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
248
249 </sect2>
250
251 <sect2 role="commands">
252 <title>Command Explanations</title>
253
254 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
255 href="../../xincludes/static-libraries.xml"/>
256
257 <para>
258 <option>--enable-xpdf-headers</option>: Install some old
259 <application>Xpdf</application> headers required by certain programs (e.g.
260 <application>Okular</application>, <application>LibreOffice</application>
261 and <application>Inkscape</application>).
262 </para>
263
264 <para>
265 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
266 </para>
267
268 </sect2>
269
270 <sect2 role="content">
271 <title>Contents</title>
272
273 <segmentedlist>
274 <segtitle>Installed Programs</segtitle>
275 <segtitle>Installed Libraries</segtitle>
276 <segtitle>Installed Directories</segtitle>
277
278 <seglistitem>
279 <seg>
280 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
281 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
282 pdfunite, and poppler-glib-demo
283 </seg>
284 <seg>
285 libpoppler.so, libpoppler-cpp.so,
286 libpoppler-glib.so,
287 libpoppler-qt4.so, and
288 libpoppler-qt5.so
289 </seg>
290 <seg>
291 /usr/include/poppler,
292 /usr/share/doc/poppler-&poppler-version;,
293 /usr/share/gtk-doc/html/poppler, and
294 /usr/share/poppler
295 </seg>
296 </seglistitem>
297 </segmentedlist>
298
299 <variablelist>
300 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
301 <?dbfo list-presentation="list"?>
302 <?dbhtml list-presentation="table"?>
303
304 <varlistentry id="pdfdetach">
305 <term><command>pdfdetach</command></term>
306 <listitem>
307 <para>
308 lists or extracts embedded files from PDF files.
309 </para>
310 <indexterm zone="poppler pdfdetach">
311 <primary sortas="b-pdfdetach">pdfdetach</primary>
312 </indexterm>
313 </listitem>
314 </varlistentry>
315
316 <varlistentry id="pdffonts">
317 <term><command>pdffonts</command></term>
318 <listitem>
319 <para>
320 lists the fonts used in a PDF file along with various information
321 for each font.
322 </para>
323 <indexterm zone="poppler pdffonts">
324 <primary sortas="b-pdffonts">pdffonts</primary>
325 </indexterm>
326 </listitem>
327 </varlistentry>
328
329 <varlistentry id="pdfimages">
330 <term><command>pdfimages</command></term>
331 <listitem>
332 <para>
333 saves images from a PDF file as PPM, PBM, or JPEG files.
334 </para>
335 <indexterm zone="poppler pdfimages">
336 <primary sortas="b-pdfimages">pdfimages</primary>
337 </indexterm>
338 </listitem>
339 </varlistentry>
340
341 <varlistentry id="pdfinfo">
342 <term><command>pdfinfo</command></term>
343 <listitem>
344 <para>
345 prints the contents of the 'Info' dictionary (plus some other useful
346 information) from a PDF file.
347 </para>
348 <indexterm zone="poppler pdfinfo">
349 <primary sortas="b-pdfinfo">pdfinfo</primary>
350 </indexterm>
351 </listitem>
352 </varlistentry>
353
354 <varlistentry id="pdfseparate">
355 <term><command>pdfseparate</command></term>
356 <listitem>
357 <para>
358 extracts single pages from a PDF file.
359 </para>
360 <indexterm zone="poppler pdfseparate">
361 <primary sortas="b-pdseparate">pdfseparate</primary>
362 </indexterm>
363 </listitem>
364 </varlistentry>
365
366 <varlistentry id="pdftocairo">
367 <term><command>pdftocairo</command></term>
368 <listitem>
369 <para>
370 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
371 EPS, SVG) using the cairo output device of the poppler library.
372 </para>
373 <indexterm zone="poppler pdftocairo">
374 <primary sortas="b-pdftocairo">pdftocairo</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="pdftohtml">
380 <term><command>pdftohtml</command></term>
381 <listitem>
382 <para>
383 converts a PDF file to HTML.
384 </para>
385 <indexterm zone="poppler pdftohtml">
386 <primary sortas="b-pdftohtml">pdftohtml</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="pdftoppm">
392 <term><command>pdftoppm</command></term>
393 <listitem>
394 <para>
395 converts PDF files to PBM, PGM and PPM formats.
396 </para>
397 <indexterm zone="poppler pdftoppm">
398 <primary sortas="b-pdftoppm">pdftoppm</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="pdftops">
404 <term><command>pdftops</command></term>
405 <listitem>
406 <para>
407 converts PDF files to Postscript format.
408 </para>
409 <indexterm zone="poppler pdftops">
410 <primary sortas="b-pdftops">pdftops</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="pdftotext">
416 <term><command>pdftotext</command></term>
417 <listitem>
418 <para>
419 converts PDF files to plain text.
420 </para>
421 <indexterm zone="poppler pdftotext">
422 <primary sortas="b-pdftotext">pdftotext</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="pdfunite">
428 <term><command>pdfunite</command></term>
429 <listitem>
430 <para>
431 merges several PDF files, in the order of their occurrence on the
432 command line, to one PDF output file.
433 </para>
434 <indexterm zone="poppler pdfunite">
435 <primary sortas="b-pdfunite">pdfunite</primary>
436 </indexterm>
437 </listitem>
438 </varlistentry>
439
440 <varlistentry id="poppler-glib-demo">
441 <term><command>poppler-glib-demo</command></term>
442 <listitem>
443 <para>
444 is a tool to demonstrate the API, and for use when debugging and
445 testing <application>Poppler</application>.
446 </para>
447 <indexterm zone="poppler poppler-glib-demo">
448 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="libpoppler">
454 <term><filename class="libraryfile">libpoppler.so</filename></term>
455 <listitem>
456 <para>
457 contains the API functions to render PDF files.
458 </para>
459 <indexterm zone="poppler libpoppler">
460 <primary sortas="c-libpoppler">libpoppler.so</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="libpoppler-cpp">
466 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
467 <listitem>
468 <para>
469 is a C++ backend for rendering PDF files.
470 </para>
471 <indexterm zone="poppler libpoppler-cpp">
472 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="libpoppler-glib">
478 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
479 <listitem>
480 <para>
481 is a wrapper library used to interface the PDF rendering functions
482 with <application>GTK+</application>.
483 </para>
484 <indexterm zone="poppler libpoppler-glib">
485 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
486 </indexterm>
487 </listitem>
488 </varlistentry>
489
490 <varlistentry id="libpoppler-qt4">
491 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
492 <listitem>
493 <para>
494 is a wrapper library used to interface the PDF rendering functions
495 with <application>Qt</application>4.
496 </para>
497 <indexterm zone="poppler libpoppler-qt4">
498 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
499 </indexterm>
500 </listitem>
501 </varlistentry>
502
503 <varlistentry id="libpoppler-qt5">
504 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
505 <listitem>
506 <para>
507 is a wrapper library used to interface the PDF rendering functions
508 with <application>Qt</application>5.
509 </para>
510 <indexterm zone="poppler libpoppler-qt5">
511 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
512 </indexterm>
513 </listitem>
514 </varlistentry>
515
516 </variablelist>
517
518 </sect2>
519
520</sect1>
Note: See TracBrowser for help on using the repository browser.