source: general/graphlib/poppler.xml@ 1e6c9b3

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 1e6c9b3 was 1e6c9b3, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to php-7.4.11.
Update to poppler-20.10.0.
Update to glib-2.66.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23786 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 " ">
[1e6c9b3]9 <!ENTITY poppler-md5sum "1103acc31277936a138613c97b38b82c">
10 <!ENTITY poppler-size "1.6 MB">
11 <!ENTITY poppler-buildsize "85 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.7 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
[7ebcf19]46 &lfs10_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 \
[227b44ff]173 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
[538d8db]174<!-- -DENABLE_GTK_DOC=ON \
175--> .. &amp;&amp;
[5dab7b65]176make</userinput></screen>
177
[697c45ec]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>.
[55781c2]183 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
[697c45ec]184 </para>
[8aee9eb]185
[5dab7b65]186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
[93f15e1]190<screen role="root"><userinput>make install</userinput></screen>
[55781c2]191<!-- Seems makeinstall does the job now:
[93f15e1]192 <para>
[e6fb085]193 If you have Qt installed, again as the
[93f15e1]194 <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>make -C qt5 install &amp;&amp;
[55781c2]198install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
199-->
[8aee9eb]200 <para>
[4881073]201 To install the documentation, run the following commands as
202 <systemitem class="username">root</systemitem>:
[8aee9eb]203 </para>
204
[5eafafd6]205<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
[55781c2]206cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
[d931c7f]207
[5dab7b65]208<!-- ==== Poppler Data ====== -->
209 <bridgehead renderas="sect3">Poppler Data</bridgehead>
210
[2511f83]211 <para>
212 If you downloaded the additional encoding data package, install it by
[dac5077]213 issuing the following commands:
[2511f83]214 </para>
[2c06b85]215
[55781c2]216<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
[2c06b85]217cd poppler-data-&poppler-data-version;</userinput></screen>
218
[2511f83]219 <para>
220 Now, as the <systemitem class="username">root</systemitem> user:
221 </para>
[d931c7f]222
223<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]224
[5474306]225 </sect2>
226
227 <sect2 role="commands">
228 <title>Command Explanations</title>
229
[da8baac5]230 <para>
[538d8db]231 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
[140a74cd]232 to apply a higher level of compiler optimizations.
[2511f83]233 </para>
[cf1a2b8]234
[78c7ea98]235 <para>
[a82b4c61]236 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
[77a6d25]237 programs where the auxiliary files are located.
[78c7ea98]238 </para>
239
[538d8db]240 <para>
[a82b4c61]241 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
[538d8db]242 <application>Xpdf</application> headers required by certain programs (e.g.
[227b44ff]243 <application>Inkscape</application>).
[538d8db]244 </para>
[a82b4c61]245
[5eafafd6]246<!-- This was broken for me - Bruce
[f95e1c8d]247 Still broken with 0.69.0 - Doug
[e162f3d]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-->
[9f11d7f]253 <para>
[140a74cd]254 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
[e162f3d]255 GTK-Doc and Pygments is installed and you wish to rebuild and install
256 the API documentation.
[2cd6717]257 </para>
[f95e1c8d]258
[78c7ea98]259 <para>
[a82b4c61]260 <command>LC_ALL=en_US.UTF-8 make test</command>: Runs the test suite.
[da8baac5]261 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
[78c7ea98]262 default locale does not include UTF-8.
263 </para>
264
[5474306]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>
[2511f83]276 <seg>
[ab68492]277 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
278 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
[140a74cd]279 pdfunite
[2511f83]280 </seg>
281 <seg>
[f3429309]282 libpoppler.so,
[8538618]283 libpoppler-cpp.so,
[c480c33]284 libpoppler-glib.so, and
[f3a6abc9]285 libpoppler-qt5.so
[2511f83]286 </seg>
287 <seg>
[55781c2]288 /usr/include/poppler,
289 /usr/share/poppler, and
290 /usr/share/doc/poppler-&poppler-version;
[2511f83]291 </seg>
[5474306]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
[972729e]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
[95b1905]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>
[0d7900a]322 </varlistentry>
323
[2d1ea57b]324 <varlistentry id="pdffonts">
[a5dfefb2]325 <term><command>pdffonts</command></term>
326 <listitem>
[2511f83]327 <para>
328 lists the fonts used in a PDF file along with various information
329 for each font.
330 </para>
[a5dfefb2]331 <indexterm zone="poppler pdffonts">
332 <primary sortas="b-pdffonts">pdffonts</primary>
333 </indexterm>
334 </listitem>
335 </varlistentry>
336
[2d1ea57b]337 <varlistentry id="pdfimages">
[a5dfefb2]338 <term><command>pdfimages</command></term>
339 <listitem>
[2511f83]340 <para>
341 saves images from a PDF file as PPM, PBM, or JPEG files.
342 </para>
[a5dfefb2]343 <indexterm zone="poppler pdfimages">
344 <primary sortas="b-pdfimages">pdfimages</primary>
345 </indexterm>
346 </listitem>
347 </varlistentry>
348
[2d1ea57b]349 <varlistentry id="pdfinfo">
[a5dfefb2]350 <term><command>pdfinfo</command></term>
351 <listitem>
[2511f83]352 <para>
353 prints the contents of the 'Info' dictionary (plus some other useful
354 information) from a PDF file.
355 </para>
[a5dfefb2]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>
[2511f83]365 <para>
366 extracts single pages from a PDF file.
367 </para>
[a5dfefb2]368 <indexterm zone="poppler pdfseparate">
369 <primary sortas="b-pdseparate">pdfseparate</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
[697c45ec]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
[a5dfefb2]386 <varlistentry id="pdftocairo">
387 <term><command>pdftocairo</command></term>
388 <listitem>
[2511f83]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>
[a5dfefb2]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>
[2511f83]402 <para>
403 converts a PDF file to HTML.
404 </para>
[a5dfefb2]405 <indexterm zone="poppler pdftohtml">
406 <primary sortas="b-pdftohtml">pdftohtml</primary>
407 </indexterm>
408 </listitem>
409 </varlistentry>
410
[2d1ea57b]411 <varlistentry id="pdftoppm">
[a5dfefb2]412 <term><command>pdftoppm</command></term>
413 <listitem>
[2511f83]414 <para>
415 converts PDF files to PBM, PGM and PPM formats.
416 </para>
[a5dfefb2]417 <indexterm zone="poppler pdftoppm">
418 <primary sortas="b-pdftoppm">pdftoppm</primary>
419 </indexterm>
420 </listitem>
421 </varlistentry>
422
[2d1ea57b]423 <varlistentry id="pdftops">
[a5dfefb2]424 <term><command>pdftops</command></term>
425 <listitem>
[2511f83]426 <para>
427 converts PDF files to Postscript format.
428 </para>
[a5dfefb2]429 <indexterm zone="poppler pdftops">
430 <primary sortas="b-pdftops">pdftops</primary>
431 </indexterm>
432 </listitem>
433 </varlistentry>
434
[2d1ea57b]435 <varlistentry id="pdftotext">
[a5dfefb2]436 <term><command>pdftotext</command></term>
437 <listitem>
[2511f83]438 <para>
439 converts PDF files to plain text.
440 </para>
[a5dfefb2]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>
[2511f83]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>
[a5dfefb2]454 <indexterm zone="poppler pdfunite">
455 <primary sortas="b-pdfunite">pdfunite</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
[5474306]460 <varlistentry id="libpoppler">
[6459a7e2]461 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]462 <listitem>
[2511f83]463 <para>
464 contains the API functions to render PDF files.
465 </para>
[5474306]466 <indexterm zone="poppler libpoppler">
[a5dfefb2]467 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]468 </indexterm>
469 </listitem>
470 </varlistentry>
471
[7d564a1]472 <varlistentry id="libpoppler-cpp">
[6459a7e2]473 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]474 <listitem>
[2511f83]475 <para>
476 is a C++ backend for rendering PDF files.
477 </para>
[7d564a1]478 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]479 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]480 </indexterm>
481 </listitem>
482 </varlistentry>
483
[5474306]484 <varlistentry id="libpoppler-glib">
[6459a7e2]485 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]486 <listitem>
[2511f83]487 <para>
488 is a wrapper library used to interface the PDF rendering functions
489 with <application>GTK+</application>.
490 </para>
[5474306]491 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]492 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]493 </indexterm>
494 </listitem>
495 </varlistentry>
496
[f3a6abc9]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
[5474306]510 </variablelist>
[6459a7e2]511
[5474306]512 </sect2>
[6459a7e2]513
[5474306]514</sect1>
Note: See TracBrowser for help on using the repository browser.