source: general/graphlib/poppler.xml@ 48771ae

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 48771ae was 7dcc145, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

Update to poppler-22.12.0.

  • Property mode set to 100644
File size: 16.2 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 " ">
[7dcc145]9 <!ENTITY poppler-md5sum "39b6a69eceba6adb8afbcee8d47385fd">
[faab1bd]10 <!ENTITY poppler-size "1.8 MB">
[4a91abc]11 <!ENTITY poppler-buildsize "88 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.8 SBU (with parallelism=4, Qt5 library, and tests)">
[9ade54a3]13 <!-- Time increase might be due to git.freedesktop.org -->
[8a1b4b52]14
[a560ac8]15 <!ENTITY poppler-data-version "0.4.11">
[e0fc156]16
[8dfc5c3]17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
[a560ac8]18 <!ENTITY poppler-data-md5sum "506eeed773f3ed8684d8c45961c025d4">
[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
[516c374]43 &lfs112_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"/>,
[905e8ca]131 <xref linkend="lcms2"/>,
[a25146f]132 <xref linkend="libjpeg"/>,
[c480c33]133 <xref linkend="libpng"/>,
[f95e1c8d]134 <xref linkend="nss"/>, and
135 <xref linkend="openjpeg2"/>
[cf1a2b8]136 </para>
137
[5474306]138 <bridgehead renderas="sect4">Optional</bridgehead>
[2511f83]139 <para role="optional">
140 <xref linkend="curl"/>,
[140a74cd]141 <xref linkend="gdk-pixbuf"/>,
[538d8db]142 <xref linkend="git"/> (for downloading test files),
[8c8fcaa7]143 <xref linkend="gtk-doc"/>,
[140a74cd]144 <xref linkend="gtk3"/>,
[c30de44]145 <xref linkend="libtiff"/>,
[f3a6abc9]146 <xref linkend="qt5"/>
[c30de44]147 (required for PDF support in <xref role="nodep" linkend="okular5"/>), and
148 <ulink url="https://download.qt.io/archive/qt/">Qt-6.1 or later</ulink>.
149
[2511f83]150 </para>
[1039de3]151
[2511f83]152 <para condition="html" role="usernotes">
153 User Notes: <ulink url="&blfs-wiki;/poppler"/>
154 </para>
[5474306]155 </sect2>
156
157 <sect2 role="installation">
158 <title>Installation of Poppler</title>
159
[5dab7b65]160 <para>
161 Install <application>Poppler</application> by running the following
162 commands:
163 </para>
164
[140a74cd]165<screen><userinput>mkdir build &amp;&amp;
166cd build &amp;&amp;
167
168cmake -DCMAKE_BUILD_TYPE=Release \
169 -DCMAKE_INSTALL_PREFIX=/usr \
170 -DTESTDATADIR=$PWD/testfiles \
[034643f]171 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
172 .. &amp;&amp;
[5dab7b65]173make</userinput></screen>
174
[697c45ec]175 <para>
176 In order to run the test suite, some testcases are needed and can
177 be obtained only from a git repository. The command to download
178 them is:
[8bb50b80]179<command>git clone --depth 1 https://gitlab.freedesktop.org/poppler/test.git testfiles</command>.
[8558044]180 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
[697c45ec]181 </para>
[8aee9eb]182
[5dab7b65]183 <para>
184 Now, as the <systemitem class="username">root</systemitem> user:
185 </para>
186
[93f15e1]187<screen role="root"><userinput>make install</userinput></screen>
[55781c2]188<!-- Seems makeinstall does the job now:
[93f15e1]189 <para>
[8558044]190 If you have Qt installed, again as the
[93f15e1]191 <systemitem class="username">root</systemitem> user:
192 </para>
[8558044]193
[93f15e1]194<screen role="root"><userinput>make -C qt5 install &amp;&amp;
[55781c2]195install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
196-->
[8aee9eb]197 <para>
[4881073]198 To install the documentation, run the following commands as
199 <systemitem class="username">root</systemitem>:
[8aee9eb]200 </para>
201
[5eafafd6]202<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
[55781c2]203cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
[d931c7f]204
[5dab7b65]205<!-- ==== Poppler Data ====== -->
206 <bridgehead renderas="sect3">Poppler Data</bridgehead>
207
[2511f83]208 <para>
209 If you downloaded the additional encoding data package, install it by
[dac5077]210 issuing the following commands:
[2511f83]211 </para>
[2c06b85]212
[55781c2]213<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
[2c06b85]214cd poppler-data-&poppler-data-version;</userinput></screen>
215
[2511f83]216 <para>
217 Now, as the <systemitem class="username">root</systemitem> user:
218 </para>
[d931c7f]219
220<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]221
[5474306]222 </sect2>
223
224 <sect2 role="commands">
225 <title>Command Explanations</title>
226
[da8baac5]227 <para>
[538d8db]228 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
[8558044]229 to apply a higher level of compiler optimizations.
[2511f83]230 </para>
[cf1a2b8]231
[78c7ea98]232 <para>
[a82b4c61]233 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
[77a6d25]234 programs where the auxiliary files are located.
[78c7ea98]235 </para>
236
[538d8db]237 <para>
[a82b4c61]238 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
[9ade54a3]239 <application>Xpdf</application> headers required by certain programs.
240 <!--(e.g. <application>Inkscape</application>).-->
[538d8db]241 </para>
[a82b4c61]242
[5eafafd6]243<!-- This was broken for me - Bruce
[f95e1c8d]244 Still broken with 0.69.0 - Doug
[e162f3d]245 Seems to work with 0.73.0 - Pierre
[8558044]246 Works with 20.09.0 but without the
[e162f3d]247 sed -i '1s/python/&3/' make-glib-api-docs
248 and pygments is required - Thomas
249-->
[9f11d7f]250 <para>
[8558044]251 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
[a560ac8]252 GTK-Doc <!--and Pygments--> is installed and you wish to rebuild and
253 install the API documentation.
[2cd6717]254 </para>
[f95e1c8d]255
[6bcedc93]256 <para>
257 <option>-DENABLE_BOOST=OFF</option>: Use this parameter if you have
258 not installed <application>boost</application> (the Splash backend for
259 Qt5 recommends boost).
260 </para>
261
[78c7ea98]262 <para>
[a82b4c61]263 <command>LC_ALL=en_US.UTF-8 make test</command>: Runs the test suite.
[da8baac5]264 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
[78c7ea98]265 default locale does not include UTF-8.
266 </para>
267
[5474306]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>
[2511f83]279 <seg>
[8558044]280 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
[ab68492]281 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
[140a74cd]282 pdfunite
[2511f83]283 </seg>
284 <seg>
[f3429309]285 libpoppler.so,
[8538618]286 libpoppler-cpp.so,
[c480c33]287 libpoppler-glib.so, and
[f3a6abc9]288 libpoppler-qt5.so
[2511f83]289 </seg>
290 <seg>
[55781c2]291 /usr/include/poppler,
292 /usr/share/poppler, and
293 /usr/share/doc/poppler-&poppler-version;
[2511f83]294 </seg>
[5474306]295 </seglistitem>
296 </segmentedlist>
297
298 <variablelist>
299 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
300 <?dbfo list-presentation="list"?>
301 <?dbhtml list-presentation="table"?>
302
[972729e]303 <varlistentry id="pdfattach">
304 <term><command>pdfattach</command></term>
305 <listitem>
306 <para>
[4c24eb0a]307 adds a new embedded file to an existing PDF file
[972729e]308 </para>
309 <indexterm zone="poppler pdfattach">
310 <primary sortas="b-pdfattach">pdfattach</primary>
311 </indexterm>
312 </listitem>
[8558044]313 </varlistentry>
[972729e]314
[95b1905]315 <varlistentry id="pdfdetach">
316 <term><command>pdfdetach</command></term>
317 <listitem>
318 <para>
[4c24eb0a]319 lists or extracts embedded files from PDF files
[95b1905]320 </para>
321 <indexterm zone="poppler pdfdetach">
322 <primary sortas="b-pdfdetach">pdfdetach</primary>
323 </indexterm>
324 </listitem>
[0d7900a]325 </varlistentry>
326
[2d1ea57b]327 <varlistentry id="pdffonts">
[a5dfefb2]328 <term><command>pdffonts</command></term>
329 <listitem>
[2511f83]330 <para>
331 lists the fonts used in a PDF file along with various information
[4c24eb0a]332 for each font
[2511f83]333 </para>
[a5dfefb2]334 <indexterm zone="poppler pdffonts">
335 <primary sortas="b-pdffonts">pdffonts</primary>
336 </indexterm>
337 </listitem>
338 </varlistentry>
339
[2d1ea57b]340 <varlistentry id="pdfimages">
[a5dfefb2]341 <term><command>pdfimages</command></term>
342 <listitem>
[2511f83]343 <para>
[4c24eb0a]344 saves images from a PDF file as PPM, PBM, or JPEG files
[2511f83]345 </para>
[a5dfefb2]346 <indexterm zone="poppler pdfimages">
347 <primary sortas="b-pdfimages">pdfimages</primary>
348 </indexterm>
349 </listitem>
350 </varlistentry>
351
[2d1ea57b]352 <varlistentry id="pdfinfo">
[a5dfefb2]353 <term><command>pdfinfo</command></term>
354 <listitem>
[2511f83]355 <para>
356 prints the contents of the 'Info' dictionary (plus some other useful
[4c24eb0a]357 information) from a PDF file
[2511f83]358 </para>
[a5dfefb2]359 <indexterm zone="poppler pdfinfo">
360 <primary sortas="b-pdfinfo">pdfinfo</primary>
361 </indexterm>
362 </listitem>
363 </varlistentry>
364
365 <varlistentry id="pdfseparate">
366 <term><command>pdfseparate</command></term>
367 <listitem>
[2511f83]368 <para>
[4c24eb0a]369 extracts single pages from a PDF file
[2511f83]370 </para>
[a5dfefb2]371 <indexterm zone="poppler pdfseparate">
372 <primary sortas="b-pdseparate">pdfseparate</primary>
373 </indexterm>
374 </listitem>
375 </varlistentry>
376
[697c45ec]377 <varlistentry id="pdfsig">
378 <term><command>pdfsig</command></term>
379 <listitem>
380 <para>
[4c24eb0a]381 verifies the digital signatures in a PDF document
[697c45ec]382 </para>
383 <indexterm zone="poppler pdfsig">
384 <primary sortas="b-pdseparate">pdfsig</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
[a5dfefb2]389 <varlistentry id="pdftocairo">
390 <term><command>pdftocairo</command></term>
391 <listitem>
[2511f83]392 <para>
393 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
[4c24eb0a]394 EPS, SVG) using the cairo output device of the poppler library
[2511f83]395 </para>
[a5dfefb2]396 <indexterm zone="poppler pdftocairo">
397 <primary sortas="b-pdftocairo">pdftocairo</primary>
398 </indexterm>
399 </listitem>
400 </varlistentry>
401
402 <varlistentry id="pdftohtml">
403 <term><command>pdftohtml</command></term>
404 <listitem>
[2511f83]405 <para>
[4c24eb0a]406 converts a PDF file to HTML
[2511f83]407 </para>
[a5dfefb2]408 <indexterm zone="poppler pdftohtml">
409 <primary sortas="b-pdftohtml">pdftohtml</primary>
410 </indexterm>
411 </listitem>
412 </varlistentry>
413
[2d1ea57b]414 <varlistentry id="pdftoppm">
[a5dfefb2]415 <term><command>pdftoppm</command></term>
416 <listitem>
[2511f83]417 <para>
[4c24eb0a]418 converts PDF files to PBM, PGM and PPM formats
[2511f83]419 </para>
[a5dfefb2]420 <indexterm zone="poppler pdftoppm">
421 <primary sortas="b-pdftoppm">pdftoppm</primary>
422 </indexterm>
423 </listitem>
424 </varlistentry>
425
[2d1ea57b]426 <varlistentry id="pdftops">
[a5dfefb2]427 <term><command>pdftops</command></term>
428 <listitem>
[2511f83]429 <para>
[4c24eb0a]430 converts PDF files to Postscript format
[2511f83]431 </para>
[a5dfefb2]432 <indexterm zone="poppler pdftops">
433 <primary sortas="b-pdftops">pdftops</primary>
434 </indexterm>
435 </listitem>
436 </varlistentry>
437
[2d1ea57b]438 <varlistentry id="pdftotext">
[a5dfefb2]439 <term><command>pdftotext</command></term>
440 <listitem>
[2511f83]441 <para>
[4c24eb0a]442 converts PDF files to plain text
[2511f83]443 </para>
[a5dfefb2]444 <indexterm zone="poppler pdftotext">
445 <primary sortas="b-pdftotext">pdftotext</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
450 <varlistentry id="pdfunite">
451 <term><command>pdfunite</command></term>
452 <listitem>
[2511f83]453 <para>
454 merges several PDF files, in the order of their occurrence on the
[4c24eb0a]455 command line, to one PDF output file
[2511f83]456 </para>
[a5dfefb2]457 <indexterm zone="poppler pdfunite">
458 <primary sortas="b-pdfunite">pdfunite</primary>
459 </indexterm>
460 </listitem>
461 </varlistentry>
462
[5474306]463 <varlistentry id="libpoppler">
[6459a7e2]464 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]465 <listitem>
[2511f83]466 <para>
[4c24eb0a]467 contains the API functions to render PDF files
[2511f83]468 </para>
[5474306]469 <indexterm zone="poppler libpoppler">
[a5dfefb2]470 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]471 </indexterm>
472 </listitem>
473 </varlistentry>
474
[7d564a1]475 <varlistentry id="libpoppler-cpp">
[6459a7e2]476 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]477 <listitem>
[2511f83]478 <para>
[4c24eb0a]479 is a C++ backend for rendering PDF files
[2511f83]480 </para>
[7d564a1]481 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]482 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]483 </indexterm>
484 </listitem>
485 </varlistentry>
486
[5474306]487 <varlistentry id="libpoppler-glib">
[6459a7e2]488 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]489 <listitem>
[2511f83]490 <para>
491 is a wrapper library used to interface the PDF rendering functions
[4c24eb0a]492 with <application>GTK+</application>
[2511f83]493 </para>
[5474306]494 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]495 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]496 </indexterm>
497 </listitem>
498 </varlistentry>
499
[f3a6abc9]500 <varlistentry id="libpoppler-qt5">
501 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
502 <listitem>
503 <para>
504 is a wrapper library used to interface the PDF rendering functions
[4c24eb0a]505 with <application>Qt</application>5
[f3a6abc9]506 </para>
507 <indexterm zone="poppler libpoppler-qt5">
508 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
[5474306]513 </variablelist>
[6459a7e2]514
[5474306]515 </sect2>
[6459a7e2]516
[5474306]517</sect1>
Note: See TracBrowser for help on using the repository browser.