source: general/graphlib/poppler.xml@ 0131819

12.1 gimp3 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 0131819 was 3ca2fcd, checked in by Bruce Dubbs <bdubbs@…>, 8 months ago

Update to poppler-24.01.0.

  • Property mode set to 100644
File size: 16.9 KB
RevLine 
[5474306]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[5474306]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[8dfc5c3]7 <!ENTITY poppler-download-http "https://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
8 <!ENTITY poppler-download-ftp " ">
[3ca2fcd]9 <!ENTITY poppler-md5sum "dfbd19dc807ca0155f39009de4ffc044">
[faab1bd]10 <!ENTITY poppler-size "1.8 MB">
[3ca2fcd]11 <!ENTITY poppler-buildsize "92 MB (with Qt5 library; add 13 MB for tests)">
12 <!ENTITY poppler-time "0.8 SBU (with parallelism=4 and Qt5 library; add 3.8 SBU for tests)">
[9ade54a3]13 <!-- Time increase might be due to git.freedesktop.org -->
[8a1b4b52]14
[ba2138a]15 <!ENTITY poppler-data-version "0.4.12">
[e0fc156]16
[8dfc5c3]17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
[e5a4b48]18 <!ENTITY poppler-data-md5sum "67ee4a40aa830b1f6e2560ce5f6471ba">
[758f3f6]19 <!ENTITY poppler-data-size "4.3 MB">
[a560ac8]20 <!ENTITY poppler-data-buildsize "26 MB">
[da8baac5]21 <!ENTITY poppler-data-time "less than 0.1 SBU">
[5474306]22]>
23
24<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
25 <?dbhtml filename="poppler.html"?>
26
27
28 <title>Poppler-&poppler-version;</title>
29
30 <indexterm zone="poppler">
31 <primary sortas="a-Poppler">Poppler</primary>
32 </indexterm>
33
34 <sect2 role="package">
35 <title>Introduction to Poppler</title>
36
[2511f83]37 <para>
38 The <application>Poppler</application> package contains a PDF rendering
39 library and command line tools used to manipulate PDF files. This is
40 useful for providing PDF rendering functionality as a shared library.
41 </para>
[5474306]42
[9d86c703]43 &lfs120_checked;
[49f7d8b]44
[5474306]45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
[2511f83]48 <para>
49 Download (HTTP): <ulink url="&poppler-download-http;"/>
50 </para>
[5474306]51 </listitem>
52 <listitem>
[2511f83]53 <para>
54 Download (FTP): <ulink url="&poppler-download-ftp;"/>
55 </para>
[5474306]56 </listitem>
57 <listitem>
[2511f83]58 <para>
59 Download MD5 sum: &poppler-md5sum;
60 </para>
[5474306]61 </listitem>
62 <listitem>
[2511f83]63 <para>
64 Download size: &poppler-size;
65 </para>
[5474306]66 </listitem>
67 <listitem>
[2511f83]68 <para>
69 Estimated disk space required: &poppler-buildsize;
70 </para>
[5474306]71 </listitem>
72 <listitem>
[2511f83]73 <para>
74 Estimated build time: &poppler-time;
75 </para>
[5474306]76 </listitem>
77 </itemizedlist>
78
[d931c7f]79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[8a1b4b52]80
[d931c7f]81 <itemizedlist spacing="compact">
[8a1b4b52]82 <title>Poppler Encoding Data</title>
83 <listitem>
[2511f83]84 <para>
85 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
86 </para>
[8a1b4b52]87 </listitem>
88 <listitem>
[2511f83]89 <para>
90 Download MD5 sum: &poppler-data-md5sum;
91 </para>
[8a1b4b52]92 </listitem>
[d931c7f]93 <listitem>
[2511f83]94 <para>
95 Download size: &poppler-data-size;
96 </para>
[d931c7f]97 </listitem>
[da8baac5]98 <listitem>
99 <para>
100 Estimated disk space required: &poppler-data-buildsize;
101 </para>
102 </listitem>
103 <listitem>
104 <para>
105 Estimated build time: &poppler-data-time;
106 </para>
107 </listitem>
[d931c7f]108 </itemizedlist>
109
[2511f83]110 <para>
111 The additional package consists of encoding files for use with
112 <application>Poppler</application>. The encoding files are optional and
113 <application>Poppler</application> will automatically read them if they
114 are present. When installed, they enable
115 <application>Poppler</application> to render CJK and Cyrillic properly.
116 </para>
117
[5474306]118 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
119
[d931c7f]120 <bridgehead renderas="sect4">Required</bridgehead>
[e0fc156]121 <para role="required">
[4a91abc]122 <xref linkend="cmake"/>,
123 <xref linkend="fontconfig"/>, and
124 <xref linkend="gobject-introspection"/>
[e0fc156]125 </para>
[d931c7f]126
[cf1a2b8]127 <bridgehead renderas="sect4">Recommended</bridgehead>
[2511f83]128 <para role="recommended">
[6bcedc93]129 <xref linkend="boost"/>,
[8d32ac9]130 <xref linkend="cairo"/>,
[70f95334]131 <xref linkend="gpgme"/>,
[905e8ca]132 <xref linkend="lcms2"/>,
[a25146f]133 <xref linkend="libjpeg"/>,
[c480c33]134 <xref linkend="libpng"/>,
[70f95334]135 <xref linkend="libtiff"/>,
[65bce57f]136 <xref linkend="nss"/>,
137 <xref linkend="openjpeg2"/>, and
138 &qt5-deps;
139 (required for PDF support in <xref role="nodep" linkend="okular5"/>)
[cf1a2b8]140 </para>
141
[5474306]142 <bridgehead renderas="sect4">Optional</bridgehead>
[2511f83]143 <para role="optional">
144 <xref linkend="curl"/>,
[140a74cd]145 <xref linkend="gdk-pixbuf"/>,
[538d8db]146 <xref linkend="git"/> (for downloading test files),
[8c8fcaa7]147 <xref linkend="gtk-doc"/>,
[70f95334]148 <xref linkend="gtk3"/>, and
[4de66bc7]149 <xref linkend="qt6"/>
150 <!-- Nothing really uses this yet, but it will be used in KDE 6 -->
[2511f83]151 </para>
[1039de3]152
[5474306]153 </sect2>
154
155 <sect2 role="installation">
156 <title>Installation of Poppler</title>
157
[5dab7b65]158 <para>
159 Install <application>Poppler</application> by running the following
160 commands:
161 </para>
162
[140a74cd]163<screen><userinput>mkdir build &amp;&amp;
164cd build &amp;&amp;
165
166cmake -DCMAKE_BUILD_TYPE=Release \
167 -DCMAKE_INSTALL_PREFIX=/usr \
168 -DTESTDATADIR=$PWD/testfiles \
[df96e92]169 -DENABLE_QT6=OFF \
[034643f]170 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
171 .. &amp;&amp;
[5dab7b65]172make</userinput></screen>
173
[697c45ec]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:
[8bb50b80]178<command>git clone --depth 1 https://gitlab.freedesktop.org/poppler/test.git testfiles</command>.
[8558044]179 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
[697c45ec]180 </para>
[8aee9eb]181
[5dab7b65]182 <para>
183 Now, as the <systemitem class="username">root</systemitem> user:
184 </para>
185
[93f15e1]186<screen role="root"><userinput>make install</userinput></screen>
[8558044]187
[8aee9eb]188 <para>
[4881073]189 To install the documentation, run the following commands as
190 <systemitem class="username">root</systemitem>:
[8aee9eb]191 </para>
192
[5eafafd6]193<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
[55781c2]194cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
[d931c7f]195
[5dab7b65]196<!-- ==== Poppler Data ====== -->
197 <bridgehead renderas="sect3">Poppler Data</bridgehead>
198
[2511f83]199 <para>
200 If you downloaded the additional encoding data package, install it by
[dac5077]201 issuing the following commands:
[2511f83]202 </para>
[2c06b85]203
[55781c2]204<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
[2c06b85]205cd poppler-data-&poppler-data-version;</userinput></screen>
206
[2511f83]207 <para>
208 Now, as the <systemitem class="username">root</systemitem> user:
209 </para>
[d931c7f]210
211<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]212
[5474306]213 </sect2>
214
215 <sect2 role="commands">
216 <title>Command Explanations</title>
217
[da8baac5]218 <para>
[538d8db]219 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
[8558044]220 to apply a higher level of compiler optimizations.
[2511f83]221 </para>
[cf1a2b8]222
[78c7ea98]223 <para>
[a82b4c61]224 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
[77a6d25]225 programs where the auxiliary files are located.
[78c7ea98]226 </para>
227
[65bce57f]228 <para>
229 <parameter>-DENABLE_QT6=OFF</parameter>: This switch is needed to
230 prevent an error when Qt6 is not installed. Remove it if you
[4de66bc7]231 have installed <xref linkend="qt6" role="nodep"/>.
[65bce57f]232 </para>
233
[538d8db]234 <para>
[a82b4c61]235 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
[9ade54a3]236 <application>Xpdf</application> headers required by certain programs.
237 <!--(e.g. <application>Inkscape</application>).-->
[538d8db]238 </para>
[a82b4c61]239
[9f11d7f]240 <para>
[8558044]241 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
[a560ac8]242 GTK-Doc <!--and Pygments--> is installed and you wish to rebuild and
243 install the API documentation.
[2cd6717]244 </para>
[f95e1c8d]245
[df96e92]246 <para>
247 <option>-DENABLE_QT5=OFF</option>: Use this parameter if
248 &qt5-deps; is not installed.
249 </para>
250
[6bcedc93]251 <para>
252 <option>-DENABLE_BOOST=OFF</option>: Use this parameter if you have
253 not installed <application>boost</application> (the Splash backend for
254 Qt5 recommends boost).
255 </para>
256
[70f95334]257 <para>
258 <option>-DENABLE_NSS3=OFF</option>: Use this parameter if you have
259 not installed <application>nss</application>.
260 </para>
261
262 <para>
263 <option>-DENABLE_GPGME=OFF</option>: Use this parameter if you have
264 not installed <application>gpgme</application>.
265 </para>
266
267 <para>
268 <option>-DENABLE_LIBTIFF=OFF</option>: Use this parameter if you have
269 not installed <application>libtiff</application>.
270 </para>
271
[78c7ea98]272 <para>
[a82b4c61]273 <command>LC_ALL=en_US.UTF-8 make test</command>: Runs the test suite.
[da8baac5]274 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
[78c7ea98]275 default locale does not include UTF-8.
276 </para>
277
[5474306]278 </sect2>
279
280 <sect2 role="content">
281 <title>Contents</title>
282
283 <segmentedlist>
284 <segtitle>Installed Programs</segtitle>
285 <segtitle>Installed Libraries</segtitle>
286 <segtitle>Installed Directories</segtitle>
287
288 <seglistitem>
[2511f83]289 <seg>
[8558044]290 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
[ab68492]291 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
[140a74cd]292 pdfunite
[2511f83]293 </seg>
294 <seg>
[f3429309]295 libpoppler.so,
[8538618]296 libpoppler-cpp.so,
[c4c38247]297 libpoppler-glib.so,
298 libpoppler-qt5.so, and
299 (optionally) libpoppler-qt6.so
[2511f83]300 </seg>
301 <seg>
[55781c2]302 /usr/include/poppler,
303 /usr/share/poppler, and
304 /usr/share/doc/poppler-&poppler-version;
[2511f83]305 </seg>
[5474306]306 </seglistitem>
307 </segmentedlist>
308
309 <variablelist>
310 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
311 <?dbfo list-presentation="list"?>
312 <?dbhtml list-presentation="table"?>
313
[972729e]314 <varlistentry id="pdfattach">
315 <term><command>pdfattach</command></term>
316 <listitem>
317 <para>
[4c24eb0a]318 adds a new embedded file to an existing PDF file
[972729e]319 </para>
320 <indexterm zone="poppler pdfattach">
321 <primary sortas="b-pdfattach">pdfattach</primary>
322 </indexterm>
323 </listitem>
[8558044]324 </varlistentry>
[972729e]325
[95b1905]326 <varlistentry id="pdfdetach">
327 <term><command>pdfdetach</command></term>
328 <listitem>
329 <para>
[4c24eb0a]330 lists or extracts embedded files from PDF files
[95b1905]331 </para>
332 <indexterm zone="poppler pdfdetach">
333 <primary sortas="b-pdfdetach">pdfdetach</primary>
334 </indexterm>
335 </listitem>
[0d7900a]336 </varlistentry>
337
[2d1ea57b]338 <varlistentry id="pdffonts">
[a5dfefb2]339 <term><command>pdffonts</command></term>
340 <listitem>
[2511f83]341 <para>
342 lists the fonts used in a PDF file along with various information
[4c24eb0a]343 for each font
[2511f83]344 </para>
[a5dfefb2]345 <indexterm zone="poppler pdffonts">
346 <primary sortas="b-pdffonts">pdffonts</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
[2d1ea57b]351 <varlistentry id="pdfimages">
[a5dfefb2]352 <term><command>pdfimages</command></term>
353 <listitem>
[2511f83]354 <para>
[4c24eb0a]355 saves images from a PDF file as PPM, PBM, or JPEG files
[2511f83]356 </para>
[a5dfefb2]357 <indexterm zone="poppler pdfimages">
358 <primary sortas="b-pdfimages">pdfimages</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
[2d1ea57b]363 <varlistentry id="pdfinfo">
[a5dfefb2]364 <term><command>pdfinfo</command></term>
365 <listitem>
[2511f83]366 <para>
367 prints the contents of the 'Info' dictionary (plus some other useful
[4c24eb0a]368 information) from a PDF file
[2511f83]369 </para>
[a5dfefb2]370 <indexterm zone="poppler pdfinfo">
371 <primary sortas="b-pdfinfo">pdfinfo</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="pdfseparate">
377 <term><command>pdfseparate</command></term>
378 <listitem>
[2511f83]379 <para>
[4c24eb0a]380 extracts single pages from a PDF file
[2511f83]381 </para>
[a5dfefb2]382 <indexterm zone="poppler pdfseparate">
383 <primary sortas="b-pdseparate">pdfseparate</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[697c45ec]388 <varlistentry id="pdfsig">
389 <term><command>pdfsig</command></term>
390 <listitem>
391 <para>
[4c24eb0a]392 verifies the digital signatures in a PDF document
[697c45ec]393 </para>
394 <indexterm zone="poppler pdfsig">
395 <primary sortas="b-pdseparate">pdfsig</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[a5dfefb2]400 <varlistentry id="pdftocairo">
401 <term><command>pdftocairo</command></term>
402 <listitem>
[2511f83]403 <para>
404 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
[4c24eb0a]405 EPS, SVG) using the cairo output device of the poppler library
[2511f83]406 </para>
[a5dfefb2]407 <indexterm zone="poppler pdftocairo">
408 <primary sortas="b-pdftocairo">pdftocairo</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 <varlistentry id="pdftohtml">
414 <term><command>pdftohtml</command></term>
415 <listitem>
[2511f83]416 <para>
[4c24eb0a]417 converts a PDF file to HTML
[2511f83]418 </para>
[a5dfefb2]419 <indexterm zone="poppler pdftohtml">
420 <primary sortas="b-pdftohtml">pdftohtml</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
[2d1ea57b]425 <varlistentry id="pdftoppm">
[a5dfefb2]426 <term><command>pdftoppm</command></term>
427 <listitem>
[2511f83]428 <para>
[4c24eb0a]429 converts PDF files to PBM, PGM and PPM formats
[2511f83]430 </para>
[a5dfefb2]431 <indexterm zone="poppler pdftoppm">
432 <primary sortas="b-pdftoppm">pdftoppm</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
[2d1ea57b]437 <varlistentry id="pdftops">
[a5dfefb2]438 <term><command>pdftops</command></term>
439 <listitem>
[2511f83]440 <para>
[4c24eb0a]441 converts PDF files to Postscript format
[2511f83]442 </para>
[a5dfefb2]443 <indexterm zone="poppler pdftops">
444 <primary sortas="b-pdftops">pdftops</primary>
445 </indexterm>
446 </listitem>
447 </varlistentry>
448
[2d1ea57b]449 <varlistentry id="pdftotext">
[a5dfefb2]450 <term><command>pdftotext</command></term>
451 <listitem>
[2511f83]452 <para>
[4c24eb0a]453 converts PDF files to plain text
[2511f83]454 </para>
[a5dfefb2]455 <indexterm zone="poppler pdftotext">
456 <primary sortas="b-pdftotext">pdftotext</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="pdfunite">
462 <term><command>pdfunite</command></term>
463 <listitem>
[2511f83]464 <para>
465 merges several PDF files, in the order of their occurrence on the
[4c24eb0a]466 command line, to one PDF output file
[2511f83]467 </para>
[a5dfefb2]468 <indexterm zone="poppler pdfunite">
469 <primary sortas="b-pdfunite">pdfunite</primary>
470 </indexterm>
471 </listitem>
472 </varlistentry>
473
[5474306]474 <varlistentry id="libpoppler">
[6459a7e2]475 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]476 <listitem>
[2511f83]477 <para>
[4c24eb0a]478 contains the API functions to render PDF files
[2511f83]479 </para>
[5474306]480 <indexterm zone="poppler libpoppler">
[a5dfefb2]481 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]482 </indexterm>
483 </listitem>
484 </varlistentry>
485
[7d564a1]486 <varlistentry id="libpoppler-cpp">
[6459a7e2]487 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]488 <listitem>
[2511f83]489 <para>
[4c24eb0a]490 is a C++ backend for rendering PDF files
[2511f83]491 </para>
[7d564a1]492 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]493 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]494 </indexterm>
495 </listitem>
496 </varlistentry>
497
[5474306]498 <varlistentry id="libpoppler-glib">
[6459a7e2]499 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]500 <listitem>
[2511f83]501 <para>
502 is a wrapper library used to interface the PDF rendering functions
[4c24eb0a]503 with <application>GTK+</application>
[2511f83]504 </para>
[5474306]505 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]506 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]507 </indexterm>
508 </listitem>
509 </varlistentry>
510
[f3a6abc9]511 <varlistentry id="libpoppler-qt5">
512 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
513 <listitem>
514 <para>
515 is a wrapper library used to interface the PDF rendering functions
[4c24eb0a]516 with <application>Qt</application>5
[f3a6abc9]517 </para>
518 <indexterm zone="poppler libpoppler-qt5">
519 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
520 </indexterm>
521 </listitem>
522 </varlistentry>
523
[c4c38247]524 <varlistentry id="libpoppler-qt6">
525 <term><filename class="libraryfile">libpoppler-qt6.so</filename></term>
526 <listitem>
527 <para>
528 is a wrapper library used to interface the PDF rendering functions
529 with <application>Qt</application>6
530 </para>
531 <indexterm zone="poppler libpoppler-qt6">
532 <primary sortas="c-libpoppler-qt6">libpoppler-qt6.so</primary>
533 </indexterm>
534 </listitem>
535 </varlistentry>
536
[5474306]537 </variablelist>
[6459a7e2]538
[5474306]539 </sect2>
[6459a7e2]540
[5474306]541</sect1>
Note: See TracBrowser for help on using the repository browser.