source: general/graphlib/poppler.xml@ 50cbddce

10.0 10.1 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 50cbddce was 50cbddce, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Update to babl-0.1.76
Update to Net::DNS-1.24 (Perl Module)
Update to valgrind-3.16.0
Update to poppler-0.89.0
Update to cryptsetup-2.3.3
Update to cmake-3.17.3

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

  • 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 " ">
[50cbddce]9 <!ENTITY poppler-md5sum "92ac57f60ae8c3a1f8bfe01c9530b7b5">
[ab68492]10 <!ENTITY poppler-size "1.5 MB">
[50cbddce]11 <!ENTITY poppler-buildsize "91 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "1.2 SBU (with parallelism=4, Qt5 library, and tests)">
[8a1b4b52]13
[16dc2c74]14 <!ENTITY poppler-data-version "0.4.9">
[e0fc156]15
[8dfc5c3]16 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
[16dc2c74]17 <!ENTITY poppler-data-md5sum "35cc7beba00aa174631466f06732be40">
[8a6f3bf]18 <!ENTITY poppler-data-size "4.1 MB">
[16dc2c74]19 <!ENTITY poppler-data-buildsize "13 MB">
[da8baac5]20 <!ENTITY poppler-data-time "less than 0.1 SBU">
[5474306]21]>
22
23<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
24 <?dbhtml filename="poppler.html"?>
25
26 <sect1info>
[3ca3085]27 <othername>$LastChangedBy$</othername>
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
[90c883f]46 &lfs91_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"/>,
[140a74cd]147 <xref linkend="gtk3"/>,
[ab8d3ce5]148 <xref linkend="libtiff"/>, and
[f3a6abc9]149 <xref linkend="qt5"/>
[dd26d4d]150 (required for PDF support in <xref role="nodep" linkend="okular5"/>)
[2511f83]151 </para>
[1039de3]152
[2511f83]153 <para condition="html" role="usernotes">
154 User Notes: <ulink url="&blfs-wiki;/poppler"/>
155 </para>
[5474306]156 </sect2>
157
158 <sect2 role="installation">
159 <title>Installation of Poppler</title>
160
[5dab7b65]161 <para>
162 Install <application>Poppler</application> by running the following
163 commands:
164 </para>
165
[140a74cd]166<screen><userinput>mkdir build &amp;&amp;
167cd build &amp;&amp;
168
169cmake -DCMAKE_BUILD_TYPE=Release \
170 -DCMAKE_INSTALL_PREFIX=/usr \
171 -DTESTDATADIR=$PWD/testfiles \
[227b44ff]172 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
[538d8db]173<!-- -DENABLE_GTK_DOC=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:
181<command>git clone 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>
[538d8db]235 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tell the test
[77a6d25]236 programs where the auxiliary files are located.
[78c7ea98]237 </para>
238
[538d8db]239 <para>
[227b44ff]240 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Install some old
[538d8db]241 <application>Xpdf</application> headers required by certain programs (e.g.
[227b44ff]242 <application>Inkscape</application>).
[538d8db]243 </para>
[5eafafd6]244<!-- This was broken for me - Bruce
[f95e1c8d]245 Still broken with 0.69.0 - Doug
246 Seems to work with 0.73.0 - Pierre -->
[9f11d7f]247 <para>
[140a74cd]248 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
249 GTK-Doc is installed and you wish to rebuild and install
[f95e1c8d]250 the API documentation. If Python 2 is not installed, one script
251 needs to be changed: run <command>sed -i '1s/python/&amp;3/'
252 make-glib-api-docs</command> first.
[2cd6717]253 </para>
[f95e1c8d]254
[78c7ea98]255 <para>
[55781c2]256 <command>LC_ALL=en_US.UTF-8 make test</command>: Run the test suite.
[da8baac5]257 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
[78c7ea98]258 default locale does not include UTF-8.
259 </para>
260
[5474306]261 </sect2>
262
263 <sect2 role="content">
264 <title>Contents</title>
265
266 <segmentedlist>
267 <segtitle>Installed Programs</segtitle>
268 <segtitle>Installed Libraries</segtitle>
269 <segtitle>Installed Directories</segtitle>
270
271 <seglistitem>
[2511f83]272 <seg>
[ab68492]273 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
274 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
[140a74cd]275 pdfunite
[2511f83]276 </seg>
277 <seg>
[f3429309]278 libpoppler.so,
[8538618]279 libpoppler-cpp.so,
[c480c33]280 libpoppler-glib.so, and
[f3a6abc9]281 libpoppler-qt5.so
[2511f83]282 </seg>
283 <seg>
[55781c2]284 /usr/include/poppler,
285 /usr/share/poppler, and
286 /usr/share/doc/poppler-&poppler-version;
[2511f83]287 </seg>
[5474306]288 </seglistitem>
289 </segmentedlist>
290
291 <variablelist>
292 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
293 <?dbfo list-presentation="list"?>
294 <?dbhtml list-presentation="table"?>
295
[972729e]296 <varlistentry id="pdfattach">
297 <term><command>pdfattach</command></term>
298 <listitem>
299 <para>
300 adds a new embedded file to an existing PDF file.
301 </para>
302 <indexterm zone="poppler pdfattach">
303 <primary sortas="b-pdfattach">pdfattach</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
[95b1905]308 <varlistentry id="pdfdetach">
309 <term><command>pdfdetach</command></term>
310 <listitem>
311 <para>
312 lists or extracts embedded files from PDF files.
313 </para>
314 <indexterm zone="poppler pdfdetach">
315 <primary sortas="b-pdfdetach">pdfdetach</primary>
316 </indexterm>
317 </listitem>
[0d7900a]318 </varlistentry>
319
[2d1ea57b]320 <varlistentry id="pdffonts">
[a5dfefb2]321 <term><command>pdffonts</command></term>
322 <listitem>
[2511f83]323 <para>
324 lists the fonts used in a PDF file along with various information
325 for each font.
326 </para>
[a5dfefb2]327 <indexterm zone="poppler pdffonts">
328 <primary sortas="b-pdffonts">pdffonts</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
[2d1ea57b]333 <varlistentry id="pdfimages">
[a5dfefb2]334 <term><command>pdfimages</command></term>
335 <listitem>
[2511f83]336 <para>
337 saves images from a PDF file as PPM, PBM, or JPEG files.
338 </para>
[a5dfefb2]339 <indexterm zone="poppler pdfimages">
340 <primary sortas="b-pdfimages">pdfimages</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
[2d1ea57b]345 <varlistentry id="pdfinfo">
[a5dfefb2]346 <term><command>pdfinfo</command></term>
347 <listitem>
[2511f83]348 <para>
349 prints the contents of the 'Info' dictionary (plus some other useful
350 information) from a PDF file.
351 </para>
[a5dfefb2]352 <indexterm zone="poppler pdfinfo">
353 <primary sortas="b-pdfinfo">pdfinfo</primary>
354 </indexterm>
355 </listitem>
356 </varlistentry>
357
358 <varlistentry id="pdfseparate">
359 <term><command>pdfseparate</command></term>
360 <listitem>
[2511f83]361 <para>
362 extracts single pages from a PDF file.
363 </para>
[a5dfefb2]364 <indexterm zone="poppler pdfseparate">
365 <primary sortas="b-pdseparate">pdfseparate</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
[697c45ec]370 <varlistentry id="pdfsig">
371 <term><command>pdfsig</command></term>
372 <listitem>
373 <para>
374 verifies the digital signatures in a PDF document.
375 </para>
376 <indexterm zone="poppler pdfsig">
377 <primary sortas="b-pdseparate">pdfsig</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
[a5dfefb2]382 <varlistentry id="pdftocairo">
383 <term><command>pdftocairo</command></term>
384 <listitem>
[2511f83]385 <para>
386 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
387 EPS, SVG) using the cairo output device of the poppler library.
388 </para>
[a5dfefb2]389 <indexterm zone="poppler pdftocairo">
390 <primary sortas="b-pdftocairo">pdftocairo</primary>
391 </indexterm>
392 </listitem>
393 </varlistentry>
394
395 <varlistentry id="pdftohtml">
396 <term><command>pdftohtml</command></term>
397 <listitem>
[2511f83]398 <para>
399 converts a PDF file to HTML.
400 </para>
[a5dfefb2]401 <indexterm zone="poppler pdftohtml">
402 <primary sortas="b-pdftohtml">pdftohtml</primary>
403 </indexterm>
404 </listitem>
405 </varlistentry>
406
[2d1ea57b]407 <varlistentry id="pdftoppm">
[a5dfefb2]408 <term><command>pdftoppm</command></term>
409 <listitem>
[2511f83]410 <para>
411 converts PDF files to PBM, PGM and PPM formats.
412 </para>
[a5dfefb2]413 <indexterm zone="poppler pdftoppm">
414 <primary sortas="b-pdftoppm">pdftoppm</primary>
415 </indexterm>
416 </listitem>
417 </varlistentry>
418
[2d1ea57b]419 <varlistentry id="pdftops">
[a5dfefb2]420 <term><command>pdftops</command></term>
421 <listitem>
[2511f83]422 <para>
423 converts PDF files to Postscript format.
424 </para>
[a5dfefb2]425 <indexterm zone="poppler pdftops">
426 <primary sortas="b-pdftops">pdftops</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
[2d1ea57b]431 <varlistentry id="pdftotext">
[a5dfefb2]432 <term><command>pdftotext</command></term>
433 <listitem>
[2511f83]434 <para>
435 converts PDF files to plain text.
436 </para>
[a5dfefb2]437 <indexterm zone="poppler pdftotext">
438 <primary sortas="b-pdftotext">pdftotext</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="pdfunite">
444 <term><command>pdfunite</command></term>
445 <listitem>
[2511f83]446 <para>
447 merges several PDF files, in the order of their occurrence on the
448 command line, to one PDF output file.
449 </para>
[a5dfefb2]450 <indexterm zone="poppler pdfunite">
451 <primary sortas="b-pdfunite">pdfunite</primary>
452 </indexterm>
453 </listitem>
454 </varlistentry>
455
[5474306]456 <varlistentry id="libpoppler">
[6459a7e2]457 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]458 <listitem>
[2511f83]459 <para>
460 contains the API functions to render PDF files.
461 </para>
[5474306]462 <indexterm zone="poppler libpoppler">
[a5dfefb2]463 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]464 </indexterm>
465 </listitem>
466 </varlistentry>
467
[7d564a1]468 <varlistentry id="libpoppler-cpp">
[6459a7e2]469 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]470 <listitem>
[2511f83]471 <para>
472 is a C++ backend for rendering PDF files.
473 </para>
[7d564a1]474 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]475 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]476 </indexterm>
477 </listitem>
478 </varlistentry>
479
[5474306]480 <varlistentry id="libpoppler-glib">
[6459a7e2]481 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]482 <listitem>
[2511f83]483 <para>
484 is a wrapper library used to interface the PDF rendering functions
485 with <application>GTK+</application>.
486 </para>
[5474306]487 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]488 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]489 </indexterm>
490 </listitem>
491 </varlistentry>
492
[f3a6abc9]493 <varlistentry id="libpoppler-qt5">
494 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
495 <listitem>
496 <para>
497 is a wrapper library used to interface the PDF rendering functions
498 with <application>Qt</application>5.
499 </para>
500 <indexterm zone="poppler libpoppler-qt5">
501 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
502 </indexterm>
503 </listitem>
504 </varlistentry>
505
[5474306]506 </variablelist>
[6459a7e2]507
[5474306]508 </sect2>
[6459a7e2]509
[5474306]510</sect1>
Note: See TracBrowser for help on using the repository browser.