source: general/graphlib/poppler.xml@ a25146f

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 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 a25146f was a25146f, checked in by Pierre Labastie <pieere@…>, 9 years ago

Move openjpeg to recommended dep pf poppler

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

  • Property mode set to 100644
File size: 15.9 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 "fb0a9d82b5433c823421a123eb8e9789">
11 <!ENTITY poppler-size "1.6 MB">
12 <!ENTITY poppler-buildsize "148 MB (building Qt4 and Qt5 libraries, additional 47 MB for the test suites and 24 MB for poppler-data)">
13 <!ENTITY poppler-time "1.7 SBU (building Qt4 and Qt5 libraries, additional 0.4 SBU for the test suites)">
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"/>,
122 <xref linkend="libpng"/>, and
123 <xref linkend="openjpeg"/>
124 </para>
125
126 <bridgehead renderas="sect4">Optional</bridgehead>
127 <para role="optional">
128 <xref linkend="curl"/>,
129 <xref linkend="gobject-introspection"/>,
130 <xref linkend="gtk-doc"/>,
131 <xref linkend="gtk2"/>,
132 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
133 <xref linkend="libtiff"/>,
134 <xref linkend="openjpeg2"/>
135 (preference is for OpenJPEG1, due to regressions with OpenJPEG2),
136 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
137 is needed for PDF support in <application>Okular</application>), and
138 <xref linkend="qt5"/>
139 </para>
140
141 <para condition="html" role="usernotes">
142 User Notes: <ulink url="&blfs-wiki;/poppler"/>
143 </para>
144 </sect2>
145
146 <sect2 role="installation">
147 <title>Installation of Poppler</title>
148
149 <para>
150 In order to optionally run the test suite, an additional download of about
151 9 MB using <xref linkend="git"/> is necessary. Make sure that you do
152 not have the directory ../test.
153 </para>
154
155<screen><userinput>rm -rf ../test &amp;&amp;
156git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
157
158 <note><para>
159 This package can be optionally built with support for either the Qt4 or
160 Qt5 libraries, but it only builds with one of those at a time. If you
161 have both Qt versions installed, you will need to specify which one to
162 use before executing the <command>configure</command> command given
163 below. Use this command to link to Qt4:
164
165 <screen><userinput>source /usr/bin/setqt4</userinput></screen>
166
167 or use this to use Qt5:
168
169 <screen><userinput>source /usr/bin/setqt5</userinput></screen>
170
171 If you would like <application>Poppler</application> to link to both Qt
172 versions, you will need to build it twice.
173 </para></note>
174
175 <para>
176 Install <application>Poppler</application> by running the following
177 commands:
178 </para>
179
180<screen><userinput>./configure --prefix=/usr \
181 --sysconfdir=/etc \
182 --disable-static \
183 --enable-xpdf-headers &amp;&amp;
184make</userinput></screen>
185
186 <para>
187 To test the results, issue: <command>make check</command>.
188 </para>
189
190 <para>
191 Now, as the <systemitem class="username">root</systemitem> user:
192 </para>
193
194<screen role="root"><userinput>make install</userinput></screen>
195
196 <para>
197 To install the documentation, run the following commands as
198 <systemitem class="username">root</systemitem>:
199 </para>
200
201<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
202install -v -m644 README* /usr/share/doc/poppler-&poppler-version; &amp;&amp;
203cp -vr glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
204
205<!-- ==== Poppler Data ====== -->
206 <bridgehead renderas="sect3">Poppler Data</bridgehead>
207
208 <para>
209 If you downloaded the additional encoding data package, install it by
210 issuing the following commands as the
211 <systemitem class="username">root</systemitem> user:
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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
229 href="../../xincludes/static-libraries.xml"/>
230
231 <para>
232 <option>--enable-xpdf-headers</option>: Install some old
233 <application>Xpdf</application> headers required by certain programs (e.g.
234 <application>Okular</application>, <application>LibreOffice</application>
235 and <application>Inkscape</application>).
236 </para>
237
238 <para>
239 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
240 </para>
241
242 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
243 href="../../xincludes/gtk-doc-rebuild.xml"/>
244
245 </sect2>
246
247 <sect2 role="content">
248 <title>Contents</title>
249
250 <segmentedlist>
251 <segtitle>Installed Programs</segtitle>
252 <segtitle>Installed Libraries</segtitle>
253 <segtitle>Installed Directories</segtitle>
254
255 <seglistitem>
256 <seg>
257 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
258 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
259 pdfunite, and poppler-glib-demo
260 </seg>
261 <seg>
262 libpoppler.so, libpoppler-cpp.so,
263 libpoppler-glib.so,
264 libpoppler-qt4.so, and
265 libpoppler-qt5.so
266 </seg>
267 <seg>
268 /usr/include/poppler,
269 /usr/share/doc/poppler-&poppler-version;,
270 /usr/share/gtk-doc/html/poppler, and
271 /usr/share/poppler
272 </seg>
273 </seglistitem>
274 </segmentedlist>
275
276 <variablelist>
277 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
278 <?dbfo list-presentation="list"?>
279 <?dbhtml list-presentation="table"?>
280
281 <varlistentry id="pdfdetach">
282 <term><command>pdfdetach</command></term>
283 <listitem>
284 <para>
285 lists or extracts embedded files from PDF files.
286 </para>
287 <indexterm zone="poppler pdfdetach">
288 <primary sortas="b-pdfdetach">pdfdetach</primary>
289 </indexterm>
290 </listitem>
291 </varlistentry>
292
293 <varlistentry id="pdffonts">
294 <term><command>pdffonts</command></term>
295 <listitem>
296 <para>
297 lists the fonts used in a PDF file along with various information
298 for each font.
299 </para>
300 <indexterm zone="poppler pdffonts">
301 <primary sortas="b-pdffonts">pdffonts</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="pdfimages">
307 <term><command>pdfimages</command></term>
308 <listitem>
309 <para>
310 saves images from a PDF file as PPM, PBM, or JPEG files.
311 </para>
312 <indexterm zone="poppler pdfimages">
313 <primary sortas="b-pdfimages">pdfimages</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pdfinfo">
319 <term><command>pdfinfo</command></term>
320 <listitem>
321 <para>
322 prints the contents of the 'Info' dictionary (plus some other useful
323 information) from a PDF file.
324 </para>
325 <indexterm zone="poppler pdfinfo">
326 <primary sortas="b-pdfinfo">pdfinfo</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="pdfseparate">
332 <term><command>pdfseparate</command></term>
333 <listitem>
334 <para>
335 extracts single pages from a PDF file.
336 </para>
337 <indexterm zone="poppler pdfseparate">
338 <primary sortas="b-pdseparate">pdfseparate</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="pdftocairo">
344 <term><command>pdftocairo</command></term>
345 <listitem>
346 <para>
347 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
348 EPS, SVG) using the cairo output device of the poppler library.
349 </para>
350 <indexterm zone="poppler pdftocairo">
351 <primary sortas="b-pdftocairo">pdftocairo</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="pdftohtml">
357 <term><command>pdftohtml</command></term>
358 <listitem>
359 <para>
360 converts a PDF file to HTML.
361 </para>
362 <indexterm zone="poppler pdftohtml">
363 <primary sortas="b-pdftohtml">pdftohtml</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="pdftoppm">
369 <term><command>pdftoppm</command></term>
370 <listitem>
371 <para>
372 converts PDF files to PBM, PGM and PPM formats.
373 </para>
374 <indexterm zone="poppler pdftoppm">
375 <primary sortas="b-pdftoppm">pdftoppm</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="pdftops">
381 <term><command>pdftops</command></term>
382 <listitem>
383 <para>
384 converts PDF files to Postscript format.
385 </para>
386 <indexterm zone="poppler pdftops">
387 <primary sortas="b-pdftops">pdftops</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="pdftotext">
393 <term><command>pdftotext</command></term>
394 <listitem>
395 <para>
396 converts PDF files to plain text.
397 </para>
398 <indexterm zone="poppler pdftotext">
399 <primary sortas="b-pdftotext">pdftotext</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="pdfunite">
405 <term><command>pdfunite</command></term>
406 <listitem>
407 <para>
408 merges several PDF files, in the order of their occurrence on the
409 command line, to one PDF output file.
410 </para>
411 <indexterm zone="poppler pdfunite">
412 <primary sortas="b-pdfunite">pdfunite</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="poppler-glib-demo">
418 <term><command>poppler-glib-demo</command></term>
419 <listitem>
420 <para>
421 is a tool to demonstrate the API, and for use when debugging and
422 testing <application>Poppler</application>.
423 </para>
424 <indexterm zone="poppler poppler-glib-demo">
425 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
430 <varlistentry id="libpoppler">
431 <term><filename class="libraryfile">libpoppler.so</filename></term>
432 <listitem>
433 <para>
434 contains the API functions to render PDF files.
435 </para>
436 <indexterm zone="poppler libpoppler">
437 <primary sortas="c-libpoppler">libpoppler.so</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
442 <varlistentry id="libpoppler-cpp">
443 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
444 <listitem>
445 <para>
446 is a C++ backend for rendering PDF files.
447 </para>
448 <indexterm zone="poppler libpoppler-cpp">
449 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="libpoppler-glib">
455 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
456 <listitem>
457 <para>
458 is a wrapper library used to interface the PDF rendering functions
459 with <application>GTK+</application>.
460 </para>
461 <indexterm zone="poppler libpoppler-glib">
462 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="libpoppler-qt4">
468 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
469 <listitem>
470 <para>
471 is a wrapper library used to interface the PDF rendering functions
472 with <application>Qt</application>4.
473 </para>
474 <indexterm zone="poppler libpoppler-qt4">
475 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
476 </indexterm>
477 </listitem>
478 </varlistentry>
479
480 <varlistentry id="libpoppler-qt5">
481 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
482 <listitem>
483 <para>
484 is a wrapper library used to interface the PDF rendering functions
485 with <application>Qt</application>5.
486 </para>
487 <indexterm zone="poppler libpoppler-qt5">
488 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
489 </indexterm>
490 </listitem>
491 </varlistentry>
492
493 </variablelist>
494
495 </sect2>
496
497</sect1>
Note: See TracBrowser for help on using the repository browser.