source: general/graphlib/poppler.xml@ 2efaf2a7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules 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 2efaf2a7 was 0835608, checked in by Igor Živković <igor@…>, 10 years ago

fix poppler md5 checksum

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

  • Property mode set to 100644
File size: 17.0 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
8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
9 <!ENTITY poppler-download-ftp " ">
10 <!ENTITY poppler-md5sum "786c943eee550e3a977c181e7778b1c8">
11 <!ENTITY poppler-size "1.6 MB">
12 <!ENTITY poppler-buildsize "145 MB (building Qt4 and Qt5 libraries, additional 46 MB for the test suite and 24 MB for poppler-data)">
13 <!ENTITY poppler-time "1.8 SBU (building Qt4 and Qt5 libraries, additional 0.2 SBU for the test suite for each Qt)">
14
15 <!ENTITY poppler-data-version "0.4.7">
16
17 <!ENTITY poppler-data-download-http
18 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
19 <!ENTITY poppler-data-md5sum "636a8f2b9f6df9e7ced8ec0946961eaf">
20 <!ENTITY poppler-data-size "4.0 MB">
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 &lfs76_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 </itemizedlist>
102
103 <para>
104 The additional package consists of encoding files for use with
105 <application>Poppler</application>. The encoding files are optional and
106 <application>Poppler</application> will automatically read them if they
107 are present. When installed, they enable
108 <application>Poppler</application> to render CJK and Cyrillic properly.
109 </para>
110
111 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
112
113 <bridgehead renderas="sect4">Required</bridgehead>
114 <para role="required">
115 <xref linkend="fontconfig"/>
116 </para>
117
118 <bridgehead renderas="sect4">Recommended</bridgehead>
119 <para role="recommended">
120 <xref linkend="cairo"/>,
121 <xref linkend="libjpeg"/>, and
122 <xref linkend="libpng"/>
123 </para>
124
125 <bridgehead renderas="sect4">Optional</bridgehead>
126 <para role="optional">
127 <xref linkend="curl"/>,
128 <xref linkend="gobject-introspection"/>,
129 <xref linkend="gtk2"/>,
130 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
131 <xref linkend="libtiff"/>,
132 <xref linkend="openjpeg"/>,
133 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
134 is needed for PDF support in <application>Okular</application>), and
135 <xref linkend="qt5"/>
136 </para>
137
138 <para condition="html" role="usernotes">
139 User Notes: <ulink url="&blfs-wiki;/poppler"/>
140 </para>
141 </sect2>
142
143 <sect2 role="installation">
144 <title>Installation of Poppler</title>
145
146 <para>
147 In order to optionally run the test suite, additional download of about
148 9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
149 not have the directory ../test.
150 </para>
151
152<screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
153
154 <para>
155 This package may be built either without <application>Qt</application>
156 library, or with one or both versions of <application>Qt4 and
157 5</application> libraries. In order to build the
158 <application>Qt4</application> and <application>Qt5</application>
159 libraries, you need to run the install commands twice, because, although
160 both are detected, only the wrapper for the the first
161 <application>Qt</application> version in the PATH is built.
162 </para>
163
164 <para>
165 The instructions are divided into four parts: first, build with
166 <application>Qt4 or 5</application> at <filename
167 class="directory">/user</filename>, without <application>Qt</application>
168 or with <application>Qt4</application> under <filename
169 class="directory">/opt</filename>; second, build with
170 <application>Qt5</application> under <filename
171 class="directory">/opt</filename>; third, install the common documents
172 (optional); and fourth, install the additional encoding data package.
173 </para>
174
175<!-- ==== With Qt4 or 5 at /user, without Qt or with Qt4 under /opt ====== -->
176 <bridgehead renderas="sect3">With Qt4 or 5 at /user, without Qt or with Qt4
177 under /opt</bridgehead>
178
179 <para>
180 Install <application>Poppler</application> by running the following
181 commands:
182 </para>
183
184<!-- Warning: Using zlib is not totally safe -->
185<screen><userinput>[ -e /usr/bin/setqt4 ] &amp;&amp; source setqt4 || [ ! -e /usr/bin/setqt5 ] &amp;&amp;
186./configure --prefix=/usr \
187 --sysconfdir=/etc \
188 --disable-static \
189 --enable-xpdf-headers &amp;&amp;
190make</userinput></screen>
191
192 <para>
193 To test the results, issue: <command>make check</command>.
194 </para>
195
196 <para>
197 Now, as the <systemitem class="username">root</systemitem> user:
198 </para>
199
200<screen role="root"><userinput>make install</userinput></screen>
201
202<!-- ==== With Qt5 under /opt ====== -->
203 <bridgehead renderas="sect3">With Qt5 under /opt </bridgehead>
204
205 <para>
206 Install <application>Poppler</application> by running the following
207 commands:
208 </para>
209
210<!-- Warning: Using zlib is not totally safe -->
211<screen><userinput>[ -e /usr/bin/setqt5 ] &amp;&amp; source setqt5 &amp;&amp;
212./configure --prefix=/usr \
213 --sysconfdir=/etc \
214 --disable-static \
215 --enable-xpdf-headers &amp;&amp;
216make</userinput></screen>
217
218 <para>
219 To test the results, issue: <command>make check</command>.
220 </para>
221
222 <para>
223 Now, as the <systemitem class="username">root</systemitem> user:
224 </para>
225
226<screen role="root"><userinput>make install</userinput></screen>
227
228<!-- ==== Documents ====== -->
229 <bridgehead renderas="sect3">Documents</bridgehead>
230
231 <para>
232 The documents are installed using the following commands:
233 </para>
234
235<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
236install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
237
238<!-- ==== Poppler Data ====== -->
239 <bridgehead renderas="sect3">Poppler Data</bridgehead>
240
241 <para>
242 If you downloaded the additional encoding data package, install it by
243 issuing the following commands as the
244 <systemitem class="username">root</systemitem> user:
245 </para>
246
247<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
248cd poppler-data-&poppler-data-version;</userinput></screen>
249
250 <para>
251 Now, as the <systemitem class="username">root</systemitem> user:
252 </para>
253
254<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
255
256 </sect2>
257
258 <sect2 role="commands">
259 <title>Command Explanations</title>
260
261 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
262 href="../../xincludes/static-libraries.xml"/>
263
264 <para>
265 <option>--enable-xpdf-headers</option>: Install some old
266 <application>Xpdf</application> headers required by certain programs (e.g.
267 <application>Okular</application>, <application>LibreOffice</application>
268 and <application>Inkscape</application>).
269 </para>
270
271 <para>
272 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
273 </para>
274
275 </sect2>
276
277 <sect2 role="content">
278 <title>Contents</title>
279
280 <segmentedlist>
281 <segtitle>Installed Programs</segtitle>
282 <segtitle>Installed Libraries</segtitle>
283 <segtitle>Installed Directories</segtitle>
284
285 <seglistitem>
286 <seg>
287 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
288 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
289 pdfunite, and poppler-glib-demo
290 </seg>
291 <seg>
292 libpoppler.so, libpoppler-cpp.so,
293 libpoppler-glib.so,
294 libpoppler-qt4.so, and
295 libpoppler-qt5.so
296 </seg>
297 <seg>
298 /usr/include/poppler,
299 /usr/share/doc/poppler-&poppler-version;,
300 /usr/share/gtk-doc/html/poppler, and
301 /usr/share/poppler
302 </seg>
303 </seglistitem>
304 </segmentedlist>
305
306 <variablelist>
307 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
308 <?dbfo list-presentation="list"?>
309 <?dbhtml list-presentation="table"?>
310
311 <varlistentry id="pdfdetach">
312 <term><command>pdfdetach</command></term>
313 <listitem>
314 <para>
315 lists or extracts embedded files from PDF files.
316 </para>
317 <indexterm zone="poppler pdfdetach">
318 <primary sortas="b-pdfdetach">pdfdetach</primary>
319 </indexterm>
320 </listitem>
321 </varlistentry>
322
323 <varlistentry id="pdffonts">
324 <term><command>pdffonts</command></term>
325 <listitem>
326 <para>
327 lists the fonts used in a PDF file along with various information
328 for each font.
329 </para>
330 <indexterm zone="poppler pdffonts">
331 <primary sortas="b-pdffonts">pdffonts</primary>
332 </indexterm>
333 </listitem>
334 </varlistentry>
335
336 <varlistentry id="pdfimages">
337 <term><command>pdfimages</command></term>
338 <listitem>
339 <para>
340 saves images from a PDF file as PPM, PBM, or JPEG files.
341 </para>
342 <indexterm zone="poppler pdfimages">
343 <primary sortas="b-pdfimages">pdfimages</primary>
344 </indexterm>
345 </listitem>
346 </varlistentry>
347
348 <varlistentry id="pdfinfo">
349 <term><command>pdfinfo</command></term>
350 <listitem>
351 <para>
352 prints the contents of the 'Info' dictionary (plus some other useful
353 information) from a PDF file.
354 </para>
355 <indexterm zone="poppler pdfinfo">
356 <primary sortas="b-pdfinfo">pdfinfo</primary>
357 </indexterm>
358 </listitem>
359 </varlistentry>
360
361 <varlistentry id="pdfseparate">
362 <term><command>pdfseparate</command></term>
363 <listitem>
364 <para>
365 extracts single pages from a PDF file.
366 </para>
367 <indexterm zone="poppler pdfseparate">
368 <primary sortas="b-pdseparate">pdfseparate</primary>
369 </indexterm>
370 </listitem>
371 </varlistentry>
372
373 <varlistentry id="pdftocairo">
374 <term><command>pdftocairo</command></term>
375 <listitem>
376 <para>
377 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
378 EPS, SVG) using the cairo output device of the poppler library.
379 </para>
380 <indexterm zone="poppler pdftocairo">
381 <primary sortas="b-pdftocairo">pdftocairo</primary>
382 </indexterm>
383 </listitem>
384 </varlistentry>
385
386 <varlistentry id="pdftohtml">
387 <term><command>pdftohtml</command></term>
388 <listitem>
389 <para>
390 converts a PDF file to HTML.
391 </para>
392 <indexterm zone="poppler pdftohtml">
393 <primary sortas="b-pdftohtml">pdftohtml</primary>
394 </indexterm>
395 </listitem>
396 </varlistentry>
397
398 <varlistentry id="pdftoppm">
399 <term><command>pdftoppm</command></term>
400 <listitem>
401 <para>
402 converts PDF files to PBM, PGM and PPM formats.
403 </para>
404 <indexterm zone="poppler pdftoppm">
405 <primary sortas="b-pdftoppm">pdftoppm</primary>
406 </indexterm>
407 </listitem>
408 </varlistentry>
409
410 <varlistentry id="pdftops">
411 <term><command>pdftops</command></term>
412 <listitem>
413 <para>
414 converts PDF files to Postscript format.
415 </para>
416 <indexterm zone="poppler pdftops">
417 <primary sortas="b-pdftops">pdftops</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421
422 <varlistentry id="pdftotext">
423 <term><command>pdftotext</command></term>
424 <listitem>
425 <para>
426 converts PDF files to plain text.
427 </para>
428 <indexterm zone="poppler pdftotext">
429 <primary sortas="b-pdftotext">pdftotext</primary>
430 </indexterm>
431 </listitem>
432 </varlistentry>
433
434 <varlistentry id="pdfunite">
435 <term><command>pdfunite</command></term>
436 <listitem>
437 <para>
438 merges several PDF files, in the order of their occurrence on the
439 command line, to one PDF output file.
440 </para>
441 <indexterm zone="poppler pdfunite">
442 <primary sortas="b-pdfunite">pdfunite</primary>
443 </indexterm>
444 </listitem>
445 </varlistentry>
446
447 <varlistentry id="poppler-glib-demo">
448 <term><command>poppler-glib-demo</command></term>
449 <listitem>
450 <para>
451 is a tool to demonstrate the API, and for use when debugging and
452 testing <application>Poppler</application>.
453 </para>
454 <indexterm zone="poppler poppler-glib-demo">
455 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
456 </indexterm>
457 </listitem>
458 </varlistentry>
459
460 <varlistentry id="libpoppler">
461 <term><filename class="libraryfile">libpoppler.so</filename></term>
462 <listitem>
463 <para>
464 contains the API functions to render PDF files.
465 </para>
466 <indexterm zone="poppler libpoppler">
467 <primary sortas="c-libpoppler">libpoppler.so</primary>
468 </indexterm>
469 </listitem>
470 </varlistentry>
471
472 <varlistentry id="libpoppler-cpp">
473 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
474 <listitem>
475 <para>
476 is a C++ backend for rendering PDF files.
477 </para>
478 <indexterm zone="poppler libpoppler-cpp">
479 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
480 </indexterm>
481 </listitem>
482 </varlistentry>
483
484 <varlistentry id="libpoppler-glib">
485 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
486 <listitem>
487 <para>
488 is a wrapper library used to interface the PDF rendering functions
489 with <application>GTK+</application>.
490 </para>
491 <indexterm zone="poppler libpoppler-glib">
492 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
493 </indexterm>
494 </listitem>
495 </varlistentry>
496
497 <varlistentry id="libpoppler-qt4">
498 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
499 <listitem>
500 <para>
501 is a wrapper library used to interface the PDF rendering functions
502 with <application>Qt</application>4.
503 </para>
504 <indexterm zone="poppler libpoppler-qt4">
505 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
506 </indexterm>
507 </listitem>
508 </varlistentry>
509
510 <varlistentry id="libpoppler-qt5">
511 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
512 <listitem>
513 <para>
514 is a wrapper library used to interface the PDF rendering functions
515 with <application>Qt</application>5.
516 </para>
517 <indexterm zone="poppler libpoppler-qt5">
518 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
519 </indexterm>
520 </listitem>
521 </varlistentry>
522
523 </variablelist>
524
525 </sect2>
526
527</sect1>
Note: See TracBrowser for help on using the repository browser.