source: general/graphlib/poppler.xml@ 7cca0f5

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

Remove the 32-bit sed from poppler.

I just tested it and it was applied in 23.07.0

  • Property mode set to 100644
File size: 16.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY poppler-download-http "https://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
8 <!ENTITY poppler-download-ftp " ">
9 <!ENTITY poppler-md5sum "c85c6640ac0b0e974887c41df9639e2e">
10 <!ENTITY poppler-size "1.8 MB">
11 <!ENTITY poppler-buildsize "91 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.7 SBU (with parallelism=4, Qt5 library, and tests)">
13 <!-- Time increase might be due to git.freedesktop.org -->
14
15 <!ENTITY poppler-data-version "0.4.12">
16
17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
18 <!ENTITY poppler-data-md5sum "67ee4a40aa830b1f6e2560ce5f6471ba">
19 <!ENTITY poppler-data-size "4.3 MB">
20 <!ENTITY poppler-data-buildsize "26 MB">
21 <!ENTITY poppler-data-time "less than 0.1 SBU">
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
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>
42
43 &lfs113_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&poppler-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&poppler-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &poppler-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &poppler-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &poppler-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &poppler-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
80
81 <itemizedlist spacing="compact">
82 <title>Poppler Encoding Data</title>
83 <listitem>
84 <para>
85 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
86 </para>
87 </listitem>
88 <listitem>
89 <para>
90 Download MD5 sum: &poppler-data-md5sum;
91 </para>
92 </listitem>
93 <listitem>
94 <para>
95 Download size: &poppler-data-size;
96 </para>
97 </listitem>
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>
108 </itemizedlist>
109
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
118 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
119
120 <bridgehead renderas="sect4">Required</bridgehead>
121 <para role="required">
122 <xref linkend="cmake"/>,
123 <xref linkend="fontconfig"/>, and
124 <xref linkend="gobject-introspection"/>
125 </para>
126
127 <bridgehead renderas="sect4">Recommended</bridgehead>
128 <para role="recommended">
129 <xref linkend="boost"/>,
130 <xref linkend="cairo"/>,
131 <xref linkend="lcms2"/>,
132 <xref linkend="libjpeg"/>,
133 <xref linkend="libpng"/>,
134 <xref linkend="nss"/>, and
135 <xref linkend="openjpeg2"/>
136 </para>
137
138 <bridgehead renderas="sect4">Optional</bridgehead>
139 <para role="optional">
140 <xref linkend="curl"/>,
141 <xref linkend="gdk-pixbuf"/>,
142 <xref linkend="git"/> (for downloading test files),
143 <xref linkend="gpgme"/>,
144 <xref linkend="gtk-doc"/>,
145 <xref linkend="gtk3"/>,
146 <xref linkend="libtiff"/>,
147 <xref linkend="qt5"/>
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
151 </para>
152
153 </sect2>
154
155 <sect2 role="installation">
156 <title>Installation of Poppler</title>
157
158 <para>
159 Install <application>Poppler</application> by running the following
160 commands:
161 </para>
162
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 \
169 -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
170 .. &amp;&amp;
171make</userinput></screen>
172
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:
177<command>git clone --depth 1 https://gitlab.freedesktop.org/poppler/test.git testfiles</command>.
178 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
179 </para>
180
181 <para>
182 Now, as the <systemitem class="username">root</systemitem> user:
183 </para>
184
185<screen role="root"><userinput>make install</userinput></screen>
186<!-- Seems makeinstall does the job now:
187 <para>
188 If you have Qt installed, again as the
189 <systemitem class="username">root</systemitem> user:
190 </para>
191
192<screen role="root"><userinput>make -C qt5 install &amp;&amp;
193install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
194-->
195 <para>
196 To install the documentation, run the following commands as
197 <systemitem class="username">root</systemitem>:
198 </para>
199
200<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
201cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
202
203<!-- ==== Poppler Data ====== -->
204 <bridgehead renderas="sect3">Poppler Data</bridgehead>
205
206 <para>
207 If you downloaded the additional encoding data package, install it by
208 issuing the following commands:
209 </para>
210
211<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
212cd poppler-data-&poppler-data-version;</userinput></screen>
213
214 <para>
215 Now, as the <systemitem class="username">root</systemitem> user:
216 </para>
217
218<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
219
220 </sect2>
221
222 <sect2 role="commands">
223 <title>Command Explanations</title>
224
225 <para>
226 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
227 to apply a higher level of compiler optimizations.
228 </para>
229
230 <para>
231 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tells the test
232 programs where the auxiliary files are located.
233 </para>
234
235 <para>
236 <parameter>-DENABLE_UNSTABLE_API_ABI_HEADERS=ON</parameter>: Installs some old
237 <application>Xpdf</application> headers required by certain programs.
238 <!--(e.g. <application>Inkscape</application>).-->
239 </para>
240
241<!-- This was broken for me - Bruce
242 Still broken with 0.69.0 - Doug
243 Seems to work with 0.73.0 - Pierre
244 Works with 20.09.0 but without the
245 sed -i '1s/python/&3/' make-glib-api-docs
246 and pygments is required - Thomas
247-->
248 <para>
249 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
250 GTK-Doc <!--and Pygments--> is installed and you wish to rebuild and
251 install the API documentation.
252 </para>
253
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
260 <para>
261 <command>LC_ALL=en_US.UTF-8 make test</command>: Runs the test suite.
262 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
263 default locale does not include UTF-8.
264 </para>
265
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>
277 <seg>
278 pdfattach, pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
279 pdfsig, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
280 pdfunite
281 </seg>
282 <seg>
283 libpoppler.so,
284 libpoppler-cpp.so,
285 libpoppler-glib.so, and
286 libpoppler-qt5.so
287 </seg>
288 <seg>
289 /usr/include/poppler,
290 /usr/share/poppler, and
291 /usr/share/doc/poppler-&poppler-version;
292 </seg>
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
301 <varlistentry id="pdfattach">
302 <term><command>pdfattach</command></term>
303 <listitem>
304 <para>
305 adds a new embedded file to an existing PDF file
306 </para>
307 <indexterm zone="poppler pdfattach">
308 <primary sortas="b-pdfattach">pdfattach</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="pdfdetach">
314 <term><command>pdfdetach</command></term>
315 <listitem>
316 <para>
317 lists or extracts embedded files from PDF files
318 </para>
319 <indexterm zone="poppler pdfdetach">
320 <primary sortas="b-pdfdetach">pdfdetach</primary>
321 </indexterm>
322 </listitem>
323 </varlistentry>
324
325 <varlistentry id="pdffonts">
326 <term><command>pdffonts</command></term>
327 <listitem>
328 <para>
329 lists the fonts used in a PDF file along with various information
330 for each font
331 </para>
332 <indexterm zone="poppler pdffonts">
333 <primary sortas="b-pdffonts">pdffonts</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="pdfimages">
339 <term><command>pdfimages</command></term>
340 <listitem>
341 <para>
342 saves images from a PDF file as PPM, PBM, or JPEG files
343 </para>
344 <indexterm zone="poppler pdfimages">
345 <primary sortas="b-pdfimages">pdfimages</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="pdfinfo">
351 <term><command>pdfinfo</command></term>
352 <listitem>
353 <para>
354 prints the contents of the 'Info' dictionary (plus some other useful
355 information) from a PDF file
356 </para>
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>
366 <para>
367 extracts single pages from a PDF file
368 </para>
369 <indexterm zone="poppler pdfseparate">
370 <primary sortas="b-pdseparate">pdfseparate</primary>
371 </indexterm>
372 </listitem>
373 </varlistentry>
374
375 <varlistentry id="pdfsig">
376 <term><command>pdfsig</command></term>
377 <listitem>
378 <para>
379 verifies the digital signatures in a PDF document
380 </para>
381 <indexterm zone="poppler pdfsig">
382 <primary sortas="b-pdseparate">pdfsig</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="pdftocairo">
388 <term><command>pdftocairo</command></term>
389 <listitem>
390 <para>
391 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
392 EPS, SVG) using the cairo output device of the poppler library
393 </para>
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>
403 <para>
404 converts a PDF file to HTML
405 </para>
406 <indexterm zone="poppler pdftohtml">
407 <primary sortas="b-pdftohtml">pdftohtml</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="pdftoppm">
413 <term><command>pdftoppm</command></term>
414 <listitem>
415 <para>
416 converts PDF files to PBM, PGM and PPM formats
417 </para>
418 <indexterm zone="poppler pdftoppm">
419 <primary sortas="b-pdftoppm">pdftoppm</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="pdftops">
425 <term><command>pdftops</command></term>
426 <listitem>
427 <para>
428 converts PDF files to Postscript format
429 </para>
430 <indexterm zone="poppler pdftops">
431 <primary sortas="b-pdftops">pdftops</primary>
432 </indexterm>
433 </listitem>
434 </varlistentry>
435
436 <varlistentry id="pdftotext">
437 <term><command>pdftotext</command></term>
438 <listitem>
439 <para>
440 converts PDF files to plain text
441 </para>
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>
451 <para>
452 merges several PDF files, in the order of their occurrence on the
453 command line, to one PDF output file
454 </para>
455 <indexterm zone="poppler pdfunite">
456 <primary sortas="b-pdfunite">pdfunite</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460
461 <varlistentry id="libpoppler">
462 <term><filename class="libraryfile">libpoppler.so</filename></term>
463 <listitem>
464 <para>
465 contains the API functions to render PDF files
466 </para>
467 <indexterm zone="poppler libpoppler">
468 <primary sortas="c-libpoppler">libpoppler.so</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472
473 <varlistentry id="libpoppler-cpp">
474 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
475 <listitem>
476 <para>
477 is a C++ backend for rendering PDF files
478 </para>
479 <indexterm zone="poppler libpoppler-cpp">
480 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
481 </indexterm>
482 </listitem>
483 </varlistentry>
484
485 <varlistentry id="libpoppler-glib">
486 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
487 <listitem>
488 <para>
489 is a wrapper library used to interface the PDF rendering functions
490 with <application>GTK+</application>
491 </para>
492 <indexterm zone="poppler libpoppler-glib">
493 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
494 </indexterm>
495 </listitem>
496 </varlistentry>
497
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
503 with <application>Qt</application>5
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
511 </variablelist>
512
513 </sect2>
514
515</sect1>
Note: See TracBrowser for help on using the repository browser.