source: general/graphlib/poppler.xml@ 59f6a1f

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 59f6a1f was 59f6a1f, checked in by Douglas R. Reno <renodr@…>, 2 years ago

Package updates (with polkit being the largest)

Update to pipewire-0.3.39
Update to poppler-21.10.0
Update to links-2.25
Update to polkit-0.120

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