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

11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 5d2965c was 5d2965c, checked in by Douglas R. Reno <renodr@…>, 8 months ago

Update to ModemManager-1.16.2
Update to qpdf-10.2.0
Update to libgxps-0.3.2
Update to babl-0.1.86
Update to libqmi-1.28.2
Update to poppler-21.03.0
Update to URI-5.09 (Perl Module)
Update to gtksourceview4-4.8.1
Update to OpenSSH-8.5p1 (and ssh-askpass-8.5p1)
libwacom: Correct version number
libwacom: Add libwacom-show-stylus
bluez: Drop the patch

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

  • Property mode set to 100644
File size: 16.0 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 "641a9f382c4166d5728f1f28f163de58">
10 <!ENTITY poppler-size "1.6 MB">
11 <!ENTITY poppler-buildsize "97 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.8 SBU (with parallelism=4, Qt5 library, and tests)">
13 <!-- Time increase might be due to git.freedesktop.org -->
14
15 <!ENTITY poppler-data-version "0.4.10">
16
17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
18 <!ENTITY poppler-data-md5sum "a7f15fb2f26c60a7a92093cfdf2378d5">
19 <!ENTITY poppler-data-size "4.3 MB">
20 <!ENTITY poppler-data-buildsize "25 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 &lfs101_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="cmake"/> and
127 <xref linkend="fontconfig"/>
128 </para>
129
130 <bridgehead renderas="sect4">Recommended</bridgehead>
131 <para role="recommended">
132 <xref linkend="cairo"/>,
133 <xref linkend="lcms2"/>,
134 <xref linkend="libjpeg"/>,
135 <xref linkend="libpng"/>,
136 <xref linkend="nss"/>, and
137 <xref linkend="openjpeg2"/>
138 </para>
139
140 <bridgehead renderas="sect4">Optional</bridgehead>
141 <para role="optional">
142 <xref linkend="boost"/>,
143 <xref linkend="curl"/>,
144 <xref linkend="gdk-pixbuf"/>,
145 <xref linkend="git"/> (for downloading test files),
146 <xref linkend="gobject-introspection"/>,
147 <xref linkend="gtk-doc"/>,
148 <xref linkend="pygments"/>,
149 <xref linkend="gtk3"/>,
150 <xref linkend="libtiff"/>, and
151 <xref linkend="qt5"/>
152 (required for PDF support in <xref role="nodep" linkend="okular5"/>)
153 </para>
154
155 <para condition="html" role="usernotes">
156 User Notes: <ulink url="&blfs-wiki;/poppler"/>
157 </para>
158 </sect2>
159
160 <sect2 role="installation">
161 <title>Installation of Poppler</title>
162
163 <para>
164 Install <application>Poppler</application> by running the following
165 commands:
166 </para>
167
168<screen><userinput>mkdir build &amp;&amp;
169cd build &amp;&amp;
170
171cmake -DCMAKE_BUILD_TYPE=Release \
172 -DCMAKE_INSTALL_PREFIX=/usr \
173 -DTESTDATADIR=$PWD/testfiles \
174 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
175 .. &amp;&amp;
176make</userinput></screen>
177
178 <para>
179 In order to run the test suite, some testcases are needed and can
180 be obtained only from a git repository. The command to download
181 them is:
182<command>git clone git://git.freedesktop.org/git/poppler/test testfiles</command>.
183 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
184 </para>
185
186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
190<screen role="root"><userinput>make install</userinput></screen>
191<!-- Seems makeinstall does the job now:
192 <para>
193 If you have Qt installed, again as the
194 <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>make -C qt5 install &amp;&amp;
198install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
199-->
200 <para>
201 To install the documentation, run the following commands as
202 <systemitem class="username">root</systemitem>:
203 </para>
204
205<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
206cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
207
208<!-- ==== Poppler Data ====== -->
209 <bridgehead renderas="sect3">Poppler Data</bridgehead>
210
211 <para>
212 If you downloaded the additional encoding data package, install it by
213 issuing the following commands:
214 </para>
215
216<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
217cd poppler-data-&poppler-data-version;</userinput></screen>
218
219 <para>
220 Now, as the <systemitem class="username">root</systemitem> user:
221 </para>
222
223<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
224
225 </sect2>
226
227 <sect2 role="commands">
228 <title>Command Explanations</title>
229
230 <para>
231 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
232 to apply a higher level of compiler optimizations.
233 </para>
234
235 <para>
236 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
237 programs where the auxiliary files are located.
238 </para>
239
240 <para>
241 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
242 <application>Xpdf</application> headers required by certain programs.
243 <!--(e.g. <application>Inkscape</application>).-->
244 </para>
245
246<!-- This was broken for me - Bruce
247 Still broken with 0.69.0 - Doug
248 Seems to work with 0.73.0 - Pierre
249 Works with 20.09.0 but without the
250 sed -i '1s/python/&3/' make-glib-api-docs
251 and pygments is required - Thomas
252-->
253 <para>
254 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
255 GTK-Doc and Pygments is installed and you wish to rebuild and install
256 the API documentation.
257 </para>
258
259 <para>
260 <command>LC_ALL=en_US.UTF-8 make test</command>: Runs 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 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
278 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
279 pdfunite
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/poppler,
289 /usr/share/poppler, and
290 /usr/share/doc/poppler-&poppler-version;
291 </seg>
292 </seglistitem>
293 </segmentedlist>
294
295 <variablelist>
296 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
297 <?dbfo list-presentation="list"?>
298 <?dbhtml list-presentation="table"?>
299
300 <varlistentry id="pdfattach">
301 <term><command>pdfattach</command></term>
302 <listitem>
303 <para>
304 adds a new embedded file to an existing PDF file
305 </para>
306 <indexterm zone="poppler pdfattach">
307 <primary sortas="b-pdfattach">pdfattach</primary>
308 </indexterm>
309 </listitem>
310 </varlistentry>
311
312 <varlistentry id="pdfdetach">
313 <term><command>pdfdetach</command></term>
314 <listitem>
315 <para>
316 lists or extracts embedded files from PDF files
317 </para>
318 <indexterm zone="poppler pdfdetach">
319 <primary sortas="b-pdfdetach">pdfdetach</primary>
320 </indexterm>
321 </listitem>
322 </varlistentry>
323
324 <varlistentry id="pdffonts">
325 <term><command>pdffonts</command></term>
326 <listitem>
327 <para>
328 lists the fonts used in a PDF file along with various information
329 for each font
330 </para>
331 <indexterm zone="poppler pdffonts">
332 <primary sortas="b-pdffonts">pdffonts</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
337 <varlistentry id="pdfimages">
338 <term><command>pdfimages</command></term>
339 <listitem>
340 <para>
341 saves images from a PDF file as PPM, PBM, or JPEG files
342 </para>
343 <indexterm zone="poppler pdfimages">
344 <primary sortas="b-pdfimages">pdfimages</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
349 <varlistentry id="pdfinfo">
350 <term><command>pdfinfo</command></term>
351 <listitem>
352 <para>
353 prints the contents of the 'Info' dictionary (plus some other useful
354 information) from a PDF file
355 </para>
356 <indexterm zone="poppler pdfinfo">
357 <primary sortas="b-pdfinfo">pdfinfo</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="pdfseparate">
363 <term><command>pdfseparate</command></term>
364 <listitem>
365 <para>
366 extracts single pages from a PDF file
367 </para>
368 <indexterm zone="poppler pdfseparate">
369 <primary sortas="b-pdseparate">pdfseparate</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="pdfsig">
375 <term><command>pdfsig</command></term>
376 <listitem>
377 <para>
378 verifies the digital signatures in a PDF document
379 </para>
380 <indexterm zone="poppler pdfsig">
381 <primary sortas="b-pdseparate">pdfsig</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="pdftocairo">
387 <term><command>pdftocairo</command></term>
388 <listitem>
389 <para>
390 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
391 EPS, SVG) using the cairo output device of the poppler library
392 </para>
393 <indexterm zone="poppler pdftocairo">
394 <primary sortas="b-pdftocairo">pdftocairo</primary>
395 </indexterm>
396 </listitem>
397 </varlistentry>
398
399 <varlistentry id="pdftohtml">
400 <term><command>pdftohtml</command></term>
401 <listitem>
402 <para>
403 converts a PDF file to HTML
404 </para>
405 <indexterm zone="poppler pdftohtml">
406 <primary sortas="b-pdftohtml">pdftohtml</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
411 <varlistentry id="pdftoppm">
412 <term><command>pdftoppm</command></term>
413 <listitem>
414 <para>
415 converts PDF files to PBM, PGM and PPM formats
416 </para>
417 <indexterm zone="poppler pdftoppm">
418 <primary sortas="b-pdftoppm">pdftoppm</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
423 <varlistentry id="pdftops">
424 <term><command>pdftops</command></term>
425 <listitem>
426 <para>
427 converts PDF files to Postscript format
428 </para>
429 <indexterm zone="poppler pdftops">
430 <primary sortas="b-pdftops">pdftops</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
435 <varlistentry id="pdftotext">
436 <term><command>pdftotext</command></term>
437 <listitem>
438 <para>
439 converts PDF files to plain text
440 </para>
441 <indexterm zone="poppler pdftotext">
442 <primary sortas="b-pdftotext">pdftotext</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="pdfunite">
448 <term><command>pdfunite</command></term>
449 <listitem>
450 <para>
451 merges several PDF files, in the order of their occurrence on the
452 command line, to one PDF output file
453 </para>
454 <indexterm zone="poppler pdfunite">
455 <primary sortas="b-pdfunite">pdfunite</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 <varlistentry id="libpoppler-qt5">
498 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
499 <listitem>
500 <para>
501 is a wrapper library used to interface the PDF rendering functions
502 with <application>Qt</application>5
503 </para>
504 <indexterm zone="poppler libpoppler-qt5">
505 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 </variablelist>
511
512 </sect2>
513
514</sect1>
Note: See TracBrowser for help on using the repository browser.