source: general/graphlib/poppler.xml@ 8c8fcaa7

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 8c8fcaa7 was 8c8fcaa7, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

Fix docs intsllation in Poppler-0.26.5.

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

  • Property mode set to 100644
File size: 17.2 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="gtk-doc"/>,
130 <xref linkend="gtk2"/>,
131 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
132 <xref linkend="libtiff"/>,
133 <xref linkend="openjpeg"/>,
134 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
135 is needed for PDF support in <application>Okular</application>), and
136 <xref linkend="qt5"/>
137 </para>
138
139 <para condition="html" role="usernotes">
140 User Notes: <ulink url="&blfs-wiki;/poppler"/>
141 </para>
142 </sect2>
143
144 <sect2 role="installation">
145 <title>Installation of Poppler</title>
146
147 <para>
148 In order to optionally run the test suite, additional download of about
149 9 MB, using <xref linkend="git"/>, is necessary. Make sure that you do
150 not have the directory ../test.
151 </para>
152
153<screen><userinput>git clone git://git.freedesktop.org/git/poppler/test ../test</userinput></screen>
154
155 <para>
156 This package may be built either without <application>Qt</application>
157 library, or with one or both versions of <application>Qt4 and
158 5</application> libraries. In order to build the
159 <application>Qt4</application> and <application>Qt5</application>
160 libraries, you need to run the install commands twice, because, although
161 both are detected, only the wrapper for the the first
162 <application>Qt</application> version in the PATH is built.
163 </para>
164
165 <para>
166 The instructions are divided into four parts: first, build with
167 <application>Qt4 or 5</application> at <filename
168 class="directory">/user</filename>, without <application>Qt</application>
169 or with <application>Qt4</application> under <filename
170 class="directory">/opt</filename>; second, build with
171 <application>Qt5</application> under <filename
172 class="directory">/opt</filename>; third, install the common documents
173 (optional); and fourth, install the additional encoding data package.
174 </para>
175
176<!-- ==== With Qt4 or 5 at /user, without Qt or with Qt4 under /opt ====== -->
177 <bridgehead renderas="sect3">With Qt4 or 5 at /user, without Qt or with Qt4
178 under /opt</bridgehead>
179
180 <para>
181 Install <application>Poppler</application> by running the following
182 commands:
183 </para>
184
185<!-- Warning: Using zlib is not totally safe -->
186<screen><userinput>[ -e /usr/bin/setqt4 ] &amp;&amp; source setqt4 || [ ! -e /usr/bin/setqt5 ] &amp;&amp;
187./configure --prefix=/usr \
188 --sysconfdir=/etc \
189 --disable-static \
190 --enable-xpdf-headers &amp;&amp;
191make</userinput></screen>
192
193 <para>
194 To test the results, issue: <command>make check</command>.
195 </para>
196
197 <para>
198 Now, as the <systemitem class="username">root</systemitem> user:
199 </para>
200
201<screen role="root"><userinput>make install</userinput></screen>
202
203<!-- ==== With Qt5 under /opt ====== -->
204 <bridgehead renderas="sect3">With Qt5 under /opt </bridgehead>
205
206 <para>
207 Install <application>Poppler</application> by running the following
208 commands:
209 </para>
210
211<!-- Warning: Using zlib is not totally safe -->
212<screen><userinput>[ -e /usr/bin/setqt5 ] &amp;&amp; source setqt5 &amp;&amp;
213./configure --prefix=/usr \
214 --sysconfdir=/etc \
215 --disable-static \
216 --enable-xpdf-headers &amp;&amp;
217make</userinput></screen>
218
219 <para>
220 To test the results, issue: <command>make check</command>.
221 </para>
222
223 <para>
224 Now, as the <systemitem class="username">root</systemitem> user:
225 </para>
226
227<screen role="root"><userinput>make install</userinput></screen>
228
229<!-- ==== Documents ====== -->
230 <bridgehead renderas="sect3">Documents</bridgehead>
231
232 <para>
233 The documents are installed using the following commands:
234 </para>
235
236<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
237install -v -m644 README* /usr/share/doc/poppler-&poppler-version; &amp;&amp;
238cp -vr lib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
239
240<!-- ==== Poppler Data ====== -->
241 <bridgehead renderas="sect3">Poppler Data</bridgehead>
242
243 <para>
244 If you downloaded the additional encoding data package, install it by
245 issuing the following commands as the
246 <systemitem class="username">root</systemitem> user:
247 </para>
248
249<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
250cd poppler-data-&poppler-data-version;</userinput></screen>
251
252 <para>
253 Now, as the <systemitem class="username">root</systemitem> user:
254 </para>
255
256<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
257
258 </sect2>
259
260 <sect2 role="commands">
261 <title>Command Explanations</title>
262
263 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
264 href="../../xincludes/static-libraries.xml"/>
265
266 <para>
267 <option>--enable-xpdf-headers</option>: Install some old
268 <application>Xpdf</application> headers required by certain programs (e.g.
269 <application>Okular</application>, <application>LibreOffice</application>
270 and <application>Inkscape</application>).
271 </para>
272
273 <para>
274 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
275 </para>
276
277 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
278 href="../../xincludes/gtk-doc-rebuild.xml"/>
279
280 </sect2>
281
282 <sect2 role="content">
283 <title>Contents</title>
284
285 <segmentedlist>
286 <segtitle>Installed Programs</segtitle>
287 <segtitle>Installed Libraries</segtitle>
288 <segtitle>Installed Directories</segtitle>
289
290 <seglistitem>
291 <seg>
292 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
293 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
294 pdfunite, and poppler-glib-demo
295 </seg>
296 <seg>
297 libpoppler.so, libpoppler-cpp.so,
298 libpoppler-glib.so,
299 libpoppler-qt4.so, and
300 libpoppler-qt5.so
301 </seg>
302 <seg>
303 /usr/include/poppler,
304 /usr/share/doc/poppler-&poppler-version;,
305 /usr/share/gtk-doc/html/poppler, and
306 /usr/share/poppler
307 </seg>
308 </seglistitem>
309 </segmentedlist>
310
311 <variablelist>
312 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
313 <?dbfo list-presentation="list"?>
314 <?dbhtml list-presentation="table"?>
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="pdftocairo">
379 <term><command>pdftocairo</command></term>
380 <listitem>
381 <para>
382 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
383 EPS, SVG) using the cairo output device of the poppler library.
384 </para>
385 <indexterm zone="poppler pdftocairo">
386 <primary sortas="b-pdftocairo">pdftocairo</primary>
387 </indexterm>
388 </listitem>
389 </varlistentry>
390
391 <varlistentry id="pdftohtml">
392 <term><command>pdftohtml</command></term>
393 <listitem>
394 <para>
395 converts a PDF file to HTML.
396 </para>
397 <indexterm zone="poppler pdftohtml">
398 <primary sortas="b-pdftohtml">pdftohtml</primary>
399 </indexterm>
400 </listitem>
401 </varlistentry>
402
403 <varlistentry id="pdftoppm">
404 <term><command>pdftoppm</command></term>
405 <listitem>
406 <para>
407 converts PDF files to PBM, PGM and PPM formats.
408 </para>
409 <indexterm zone="poppler pdftoppm">
410 <primary sortas="b-pdftoppm">pdftoppm</primary>
411 </indexterm>
412 </listitem>
413 </varlistentry>
414
415 <varlistentry id="pdftops">
416 <term><command>pdftops</command></term>
417 <listitem>
418 <para>
419 converts PDF files to Postscript format.
420 </para>
421 <indexterm zone="poppler pdftops">
422 <primary sortas="b-pdftops">pdftops</primary>
423 </indexterm>
424 </listitem>
425 </varlistentry>
426
427 <varlistentry id="pdftotext">
428 <term><command>pdftotext</command></term>
429 <listitem>
430 <para>
431 converts PDF files to plain text.
432 </para>
433 <indexterm zone="poppler pdftotext">
434 <primary sortas="b-pdftotext">pdftotext</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438
439 <varlistentry id="pdfunite">
440 <term><command>pdfunite</command></term>
441 <listitem>
442 <para>
443 merges several PDF files, in the order of their occurrence on the
444 command line, to one PDF output file.
445 </para>
446 <indexterm zone="poppler pdfunite">
447 <primary sortas="b-pdfunite">pdfunite</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
451
452 <varlistentry id="poppler-glib-demo">
453 <term><command>poppler-glib-demo</command></term>
454 <listitem>
455 <para>
456 is a tool to demonstrate the API, and for use when debugging and
457 testing <application>Poppler</application>.
458 </para>
459 <indexterm zone="poppler poppler-glib-demo">
460 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
461 </indexterm>
462 </listitem>
463 </varlistentry>
464
465 <varlistentry id="libpoppler">
466 <term><filename class="libraryfile">libpoppler.so</filename></term>
467 <listitem>
468 <para>
469 contains the API functions to render PDF files.
470 </para>
471 <indexterm zone="poppler libpoppler">
472 <primary sortas="c-libpoppler">libpoppler.so</primary>
473 </indexterm>
474 </listitem>
475 </varlistentry>
476
477 <varlistentry id="libpoppler-cpp">
478 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
479 <listitem>
480 <para>
481 is a C++ backend for rendering PDF files.
482 </para>
483 <indexterm zone="poppler libpoppler-cpp">
484 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
485 </indexterm>
486 </listitem>
487 </varlistentry>
488
489 <varlistentry id="libpoppler-glib">
490 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
491 <listitem>
492 <para>
493 is a wrapper library used to interface the PDF rendering functions
494 with <application>GTK+</application>.
495 </para>
496 <indexterm zone="poppler libpoppler-glib">
497 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
498 </indexterm>
499 </listitem>
500 </varlistentry>
501
502 <varlistentry id="libpoppler-qt4">
503 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
504 <listitem>
505 <para>
506 is a wrapper library used to interface the PDF rendering functions
507 with <application>Qt</application>4.
508 </para>
509 <indexterm zone="poppler libpoppler-qt4">
510 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
511 </indexterm>
512 </listitem>
513 </varlistentry>
514
515 <varlistentry id="libpoppler-qt5">
516 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
517 <listitem>
518 <para>
519 is a wrapper library used to interface the PDF rendering functions
520 with <application>Qt</application>5.
521 </para>
522 <indexterm zone="poppler libpoppler-qt5">
523 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
524 </indexterm>
525 </listitem>
526 </varlistentry>
527
528 </variablelist>
529
530 </sect2>
531
532</sect1>
Note: See TracBrowser for help on using the repository browser.