source: general/graphlib/poppler.xml@ 16dc2c74

10.0 10.1 11.0 11.1 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 16dc2c74 was 16dc2c74, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Update to poppler-data-0.4.9.
Update to libblockdev-2.17.
Update to LibRaw-0.18.9.

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

  • Property mode set to 100644
File size: 15.4 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 "f7f687ebb60004f8ad61994575018044">
10 <!ENTITY poppler-size "1.4 MB">
11 <!ENTITY poppler-buildsize "59 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.6 SBU (with parallelism=4, Qt5 library, and tests)">
13
14 <!ENTITY poppler-data-version "0.4.9">
15
16 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
17 <!ENTITY poppler-data-md5sum "35cc7beba00aa174631466f06732be40">
18 <!ENTITY poppler-data-size "4.1 MB">
19 <!ENTITY poppler-data-buildsize "13 MB">
20 <!ENTITY poppler-data-time "less than 0.1 SBU">
21]>
22
23<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
24 <?dbhtml filename="poppler.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
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 &lfs82_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="cairo"/>,
132 <xref linkend="lcms2"/>,
133 <xref linkend="libjpeg"/>,
134 <xref linkend="libpng"/>,
135 <xref linkend="nss"/>, and
136 <xref linkend="openjpeg2"/>
137 </para>
138
139 <bridgehead renderas="sect4">Optional</bridgehead>
140 <para role="optional">
141 <xref linkend="curl"/>,
142 <xref linkend="gdk-pixbuf"/>,
143 <xref linkend="git"/> (for downloading test files),
144 <xref linkend="gobject-introspection"/>,
145 <xref linkend="gtk-doc"/>,
146 <xref linkend="gtk3"/>,
147 <xref linkend="libtiff"/>,
148 <xref linkend="qt5"/>
149 (required for PDF support in <xref role="nodep" linkend="okular5"/>)
150 </para>
151
152 <para condition="html" role="usernotes">
153 User Notes: <ulink url="&blfs-wiki;/poppler"/>
154 </para>
155 </sect2>
156
157 <sect2 role="installation">
158 <title>Installation of Poppler</title>
159
160 <para>
161 Install <application>Poppler</application> by running the following
162 commands:
163 </para>
164
165<screen><userinput>mkdir build &amp;&amp;
166cd build &amp;&amp;
167
168cmake -DCMAKE_BUILD_TYPE=Release \
169 -DCMAKE_INSTALL_PREFIX=/usr \
170 -DTESTDATADIR=$PWD/testfiles \
171 -DENABLE_XPDF_HEADERS=ON \
172<!-- -DENABLE_GTK_DOC=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 git://git.freedesktop.org/git/poppler/test testfiles</command>.
181 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
182 Only the Qt5 libraries are tested.
183 </para>
184
185 <para>
186 Now, as the <systemitem class="username">root</systemitem> user:
187 </para>
188
189<screen role="root"><userinput>make install</userinput></screen>
190<!-- Seems makeinstall does the job now:
191 <para>
192 If you have Qt installed, again as the
193 <systemitem class="username">root</systemitem> user:
194 </para>
195
196<screen role="root"><userinput>make -C qt5 install &amp;&amp;
197install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
198-->
199 <para>
200 To install the documentation, run the following commands as
201 <systemitem class="username">root</systemitem>:
202 </para>
203
204<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
205cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
206
207<!-- ==== Poppler Data ====== -->
208 <bridgehead renderas="sect3">Poppler Data</bridgehead>
209
210 <para>
211 If you downloaded the additional encoding data package, install it by
212 issuing the following commands:
213 </para>
214
215<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
216cd poppler-data-&poppler-data-version;</userinput></screen>
217
218 <para>
219 Now, as the <systemitem class="username">root</systemitem> user:
220 </para>
221
222<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
223
224 </sect2>
225
226 <sect2 role="commands">
227 <title>Command Explanations</title>
228
229 <para>
230 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
231 to apply a higher level of compiler optimizations.
232 </para>
233
234 <para>
235 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tell the test
236 programs where the auxiliary files are located.
237 </para>
238
239 <para>
240 <parameter>-DENABLE_XPDF_HEADERS=ON</parameter>: Install some old
241 <application>Xpdf</application> headers required by certain programs (e.g.
242 <application>Okular</application>, <application>LibreOffice</application>
243 and <application>Inkscape</application>).
244 </para>
245<!-- This was broken for me - Bruce
246 <para>
247 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
248 GTK-Doc is installed and you wish to rebuild and install
249 the API documentation.
250 </para>
251-->
252 <para>
253 <command>LC_ALL=en_US.UTF-8 make test</command>: Run the test suite.
254 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
255 default locale does not include UTF-8.
256 </para>
257
258 </sect2>
259
260 <sect2 role="content">
261 <title>Contents</title>
262
263 <segmentedlist>
264 <segtitle>Installed Programs</segtitle>
265 <segtitle>Installed Libraries</segtitle>
266 <segtitle>Installed Directories</segtitle>
267
268 <seglistitem>
269 <seg>
270 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdfsig,
271 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
272 pdfunite
273 </seg>
274 <seg>
275 libpoppler.so,
276 libpoppler-cpp.so,
277 libpoppler-glib.so, and
278 libpoppler-qt5.so
279 </seg>
280 <seg>
281 /usr/include/poppler,
282 /usr/share/poppler, and
283 /usr/share/doc/poppler-&poppler-version;
284 </seg>
285 </seglistitem>
286 </segmentedlist>
287
288 <variablelist>
289 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
290 <?dbfo list-presentation="list"?>
291 <?dbhtml list-presentation="table"?>
292
293 <varlistentry id="pdfdetach">
294 <term><command>pdfdetach</command></term>
295 <listitem>
296 <para>
297 lists or extracts embedded files from PDF files.
298 </para>
299 <indexterm zone="poppler pdfdetach">
300 <primary sortas="b-pdfdetach">pdfdetach</primary>
301 </indexterm>
302 </listitem>
303 </varlistentry>
304
305 <varlistentry id="pdffonts">
306 <term><command>pdffonts</command></term>
307 <listitem>
308 <para>
309 lists the fonts used in a PDF file along with various information
310 for each font.
311 </para>
312 <indexterm zone="poppler pdffonts">
313 <primary sortas="b-pdffonts">pdffonts</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pdfimages">
319 <term><command>pdfimages</command></term>
320 <listitem>
321 <para>
322 saves images from a PDF file as PPM, PBM, or JPEG files.
323 </para>
324 <indexterm zone="poppler pdfimages">
325 <primary sortas="b-pdfimages">pdfimages</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
330 <varlistentry id="pdfinfo">
331 <term><command>pdfinfo</command></term>
332 <listitem>
333 <para>
334 prints the contents of the 'Info' dictionary (plus some other useful
335 information) from a PDF file.
336 </para>
337 <indexterm zone="poppler pdfinfo">
338 <primary sortas="b-pdfinfo">pdfinfo</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="pdfseparate">
344 <term><command>pdfseparate</command></term>
345 <listitem>
346 <para>
347 extracts single pages from a PDF file.
348 </para>
349 <indexterm zone="poppler pdfseparate">
350 <primary sortas="b-pdseparate">pdfseparate</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="pdfsig">
356 <term><command>pdfsig</command></term>
357 <listitem>
358 <para>
359 verifies the digital signatures in a PDF document.
360 </para>
361 <indexterm zone="poppler pdfsig">
362 <primary sortas="b-pdseparate">pdfsig</primary>
363 </indexterm>
364 </listitem>
365 </varlistentry>
366
367 <varlistentry id="pdftocairo">
368 <term><command>pdftocairo</command></term>
369 <listitem>
370 <para>
371 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
372 EPS, SVG) using the cairo output device of the poppler library.
373 </para>
374 <indexterm zone="poppler pdftocairo">
375 <primary sortas="b-pdftocairo">pdftocairo</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="pdftohtml">
381 <term><command>pdftohtml</command></term>
382 <listitem>
383 <para>
384 converts a PDF file to HTML.
385 </para>
386 <indexterm zone="poppler pdftohtml">
387 <primary sortas="b-pdftohtml">pdftohtml</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="pdftoppm">
393 <term><command>pdftoppm</command></term>
394 <listitem>
395 <para>
396 converts PDF files to PBM, PGM and PPM formats.
397 </para>
398 <indexterm zone="poppler pdftoppm">
399 <primary sortas="b-pdftoppm">pdftoppm</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="pdftops">
405 <term><command>pdftops</command></term>
406 <listitem>
407 <para>
408 converts PDF files to Postscript format.
409 </para>
410 <indexterm zone="poppler pdftops">
411 <primary sortas="b-pdftops">pdftops</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="pdftotext">
417 <term><command>pdftotext</command></term>
418 <listitem>
419 <para>
420 converts PDF files to plain text.
421 </para>
422 <indexterm zone="poppler pdftotext">
423 <primary sortas="b-pdftotext">pdftotext</primary>
424 </indexterm>
425 </listitem>
426 </varlistentry>
427
428 <varlistentry id="pdfunite">
429 <term><command>pdfunite</command></term>
430 <listitem>
431 <para>
432 merges several PDF files, in the order of their occurrence on the
433 command line, to one PDF output file.
434 </para>
435 <indexterm zone="poppler pdfunite">
436 <primary sortas="b-pdfunite">pdfunite</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="libpoppler">
442 <term><filename class="libraryfile">libpoppler.so</filename></term>
443 <listitem>
444 <para>
445 contains the API functions to render PDF files.
446 </para>
447 <indexterm zone="poppler libpoppler">
448 <primary sortas="c-libpoppler">libpoppler.so</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="libpoppler-cpp">
454 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
455 <listitem>
456 <para>
457 is a C++ backend for rendering PDF files.
458 </para>
459 <indexterm zone="poppler libpoppler-cpp">
460 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="libpoppler-glib">
466 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
467 <listitem>
468 <para>
469 is a wrapper library used to interface the PDF rendering functions
470 with <application>GTK+</application>.
471 </para>
472 <indexterm zone="poppler libpoppler-glib">
473 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
474 </indexterm>
475 </listitem>
476 </varlistentry>
477
478 <varlistentry id="libpoppler-qt5">
479 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
480 <listitem>
481 <para>
482 is a wrapper library used to interface the PDF rendering functions
483 with <application>Qt</application>5.
484 </para>
485 <indexterm zone="poppler libpoppler-qt5">
486 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
487 </indexterm>
488 </listitem>
489 </varlistentry>
490
491 </variablelist>
492
493 </sect2>
494
495</sect1>
Note: See TracBrowser for help on using the repository browser.