source: general/graphlib/poppler.xml@ 43530e1c

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 43530e1c was 43530e1c, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to poppler-21.05.0

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