source: general/graphlib/poppler.xml@ b1a8aad7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 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 systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since b1a8aad7 was b1a8aad7, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

NetworkManager-0.9.8.10, network-manager-applet-0.9.8.10 and poppler-0.26.0.

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

  • 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
8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
9 <!ENTITY poppler-download-ftp " ">
10 <!ENTITY poppler-md5sum "76c3b2f18002a0f1e2bbbc7cccd1b957">
11 <!ENTITY poppler-size "1.6 MB">
12 <!ENTITY poppler-buildsize "175 MB (building qt4 and qt5 libraries, additional 51 MB for the test suite)">
13 <!ENTITY poppler-time "1.7 SBU (building qt4 and qt5 libraries, additional 0.3 SBU for the test suite)">
14
15 <!ENTITY poppler-data-version "0.4.6">
16
17 <!ENTITY poppler-data-download-http
18 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
19 <!ENTITY poppler-data-md5sum "a8a7ca808827dd674faba6e4fc73b471">
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 &lfs75_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 If you are building <application>Qt5</application> library, fix
156 <application>Qt5</application> detection by running the
157 following command:
158 </para>
159
160<screen><userinput>sed -i -e "s:grep \"Qt 5\":grep \" 5\\\\.\":g" configure</userinput></screen>
161
162 <para>
163 If you are not building both <application>Qt</application> libraries,
164 jump to the following paragraph. In order to build both
165 <application>Qt4</application> and <application>Qt5</application>
166 libraries, you need to run the install commands twice, because although
167 both are detected, only wrapper for the first
168 <application>Qt</application> version in PATH is built. Either can be
169 built first, but to facilitate the explanation, we choose first the
170 <application>Qt4</application> library. You can do this using
171 <command>source setqt4</command> (script from <xref linkend="qt4"/>).
172 </para>
173
174 <para>
175 Install <application>Poppler</application> by running the following
176 commands:
177 </para>
178
179<!-- Warning: Using zlib is not totally safe -->
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 If you are not building both <application>Qt</application> libraries,
198 jump to the following paragraph. If you want to build both
199 <application>Qt</application> libraries, first switch back to
200 unpriviledged user, run <command>source setqt5</command>, from
201 <xref linkend="qt5"/>, and repeat the instructions from configuration
202 until install. After that, proceed to install the documents until the end.
203 </para>
204
205 <para>
206 The documents are installed using the following commands:
207 </para>
208
209<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
210install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
211
212 <para>
213 If you downloaded the additional encoding data package, install it by
214 issuing the following commands as the
215 <systemitem class="username">root</systemitem> user:
216 </para>
217
218<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
219cd poppler-data-&poppler-data-version;</userinput></screen>
220
221 <para>
222 Now, as the <systemitem class="username">root</systemitem> user:
223 </para>
224
225<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
226
227 </sect2>
228
229 <sect2 role="commands">
230 <title>Command Explanations</title>
231
232 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
233 href="../../xincludes/static-libraries.xml"/>
234
235 <para>
236 <option>--enable-xpdf-headers</option>: Install some old
237 <application>Xpdf</application> headers required by certain programs (e.g.
238 <application>Okular</application>, <application>LibreOffice</application>
239 and <application>Inkscape</application>).
240 </para>
241
242 <para>
243 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
244 </para>
245
246 </sect2>
247
248 <sect2 role="content">
249 <title>Contents</title>
250
251 <segmentedlist>
252 <segtitle>Installed Programs</segtitle>
253 <segtitle>Installed Libraries</segtitle>
254 <segtitle>Installed Directories</segtitle>
255
256 <seglistitem>
257 <seg>
258 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
259 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
260 pdfunite, and poppler-glib-demo
261 </seg>
262 <seg>
263 libpoppler.so, libpoppler-cpp.so,
264 libpoppler-glib.so,
265 libpoppler-qt4.so, and
266 libpoppler-qt5.so
267 </seg>
268 <seg>
269 /usr/include/poppler,
270 /usr/share/doc/poppler-&poppler-version;,
271 /usr/share/gtk-doc/html/poppler, and
272 /usr/share/poppler
273 </seg>
274 </seglistitem>
275 </segmentedlist>
276
277 <variablelist>
278 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
279 <?dbfo list-presentation="list"?>
280 <?dbhtml list-presentation="table"?>
281
282 <varlistentry id="pdfdetach">
283 <term><command>pdfdetach</command></term>
284 <listitem>
285 <para>
286 lists or extracts embedded files from PDF files.
287 </para>
288 <indexterm zone="poppler pdfdetach">
289 <primary sortas="b-pdfdetach">pdfdetach</primary>
290 </indexterm>
291 </listitem>
292 </varlistentry>
293
294 <varlistentry id="pdffonts">
295 <term><command>pdffonts</command></term>
296 <listitem>
297 <para>
298 lists the fonts used in a PDF file along with various information
299 for each font.
300 </para>
301 <indexterm zone="poppler pdffonts">
302 <primary sortas="b-pdffonts">pdffonts</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="pdfimages">
308 <term><command>pdfimages</command></term>
309 <listitem>
310 <para>
311 saves images from a PDF file as PPM, PBM, or JPEG files.
312 </para>
313 <indexterm zone="poppler pdfimages">
314 <primary sortas="b-pdfimages">pdfimages</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="pdfinfo">
320 <term><command>pdfinfo</command></term>
321 <listitem>
322 <para>
323 prints the contents of the 'Info' dictionary (plus some other useful
324 information) from a PDF file.
325 </para>
326 <indexterm zone="poppler pdfinfo">
327 <primary sortas="b-pdfinfo">pdfinfo</primary>
328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 <varlistentry id="pdfseparate">
333 <term><command>pdfseparate</command></term>
334 <listitem>
335 <para>
336 extracts single pages from a PDF file.
337 </para>
338 <indexterm zone="poppler pdfseparate">
339 <primary sortas="b-pdseparate">pdfseparate</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="pdftocairo">
345 <term><command>pdftocairo</command></term>
346 <listitem>
347 <para>
348 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
349 EPS, SVG) using the cairo output device of the poppler library.
350 </para>
351 <indexterm zone="poppler pdftocairo">
352 <primary sortas="b-pdftocairo">pdftocairo</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="pdftohtml">
358 <term><command>pdftohtml</command></term>
359 <listitem>
360 <para>
361 converts a PDF file to HTML.
362 </para>
363 <indexterm zone="poppler pdftohtml">
364 <primary sortas="b-pdftohtml">pdftohtml</primary>
365 </indexterm>
366 </listitem>
367 </varlistentry>
368
369 <varlistentry id="pdftoppm">
370 <term><command>pdftoppm</command></term>
371 <listitem>
372 <para>
373 converts PDF files to PBM, PGM and PPM formats.
374 </para>
375 <indexterm zone="poppler pdftoppm">
376 <primary sortas="b-pdftoppm">pdftoppm</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="pdftops">
382 <term><command>pdftops</command></term>
383 <listitem>
384 <para>
385 converts PDF files to Postscript format.
386 </para>
387 <indexterm zone="poppler pdftops">
388 <primary sortas="b-pdftops">pdftops</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
393 <varlistentry id="pdftotext">
394 <term><command>pdftotext</command></term>
395 <listitem>
396 <para>
397 converts PDF files to plain text.
398 </para>
399 <indexterm zone="poppler pdftotext">
400 <primary sortas="b-pdftotext">pdftotext</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
405 <varlistentry id="pdfunite">
406 <term><command>pdfunite</command></term>
407 <listitem>
408 <para>
409 merges several PDF files, in the order of their occurrence on the
410 command line, to one PDF output file.
411 </para>
412 <indexterm zone="poppler pdfunite">
413 <primary sortas="b-pdfunite">pdfunite</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="poppler-glib-demo">
419 <term><command>poppler-glib-demo</command></term>
420 <listitem>
421 <para>
422 is a tool to demonstrate the API, and for use when debugging and
423 testing <application>Poppler</application>.
424 </para>
425 <indexterm zone="poppler poppler-glib-demo">
426 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="libpoppler">
432 <term><filename class="libraryfile">libpoppler.so</filename></term>
433 <listitem>
434 <para>
435 contains the API functions to render PDF files.
436 </para>
437 <indexterm zone="poppler libpoppler">
438 <primary sortas="c-libpoppler">libpoppler.so</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="libpoppler-cpp">
444 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
445 <listitem>
446 <para>
447 is a C++ backend for rendering PDF files.
448 </para>
449 <indexterm zone="poppler libpoppler-cpp">
450 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="libpoppler-glib">
456 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
457 <listitem>
458 <para>
459 is a wrapper library used to interface the PDF rendering functions
460 with <application>GTK+</application>.
461 </para>
462 <indexterm zone="poppler libpoppler-glib">
463 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="libpoppler-qt4">
469 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
470 <listitem>
471 <para>
472 is a wrapper library used to interface the PDF rendering functions
473 with <application>Qt</application>4.
474 </para>
475 <indexterm zone="poppler libpoppler-qt4">
476 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 <varlistentry id="libpoppler-qt5">
482 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
483 <listitem>
484 <para>
485 is a wrapper library used to interface the PDF rendering functions
486 with <application>Qt</application>5.
487 </para>
488 <indexterm zone="poppler libpoppler-qt5">
489 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
490 </indexterm>
491 </listitem>
492 </varlistentry>
493
494 </variablelist>
495
496 </sect2>
497
498</sect1>
Note: See TracBrowser for help on using the repository browser.