source: general/graphlib/poppler.xml@ c0f80c2

10.0 10.1 11.0 11.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since c0f80c2 was c0f80c2, checked in by Ken Moffat <ken@…>, 5 years ago

tags

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

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