source: general/graphlib/poppler.xml@ 005d40fa

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 005d40fa was 706ba01, checked in by Douglas R. Reno <renodr@…>, 11 months ago

Update to poppler-23.08.0

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