source: general/graphlib/poppler.xml@ c9035bab

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 c9035bab was c9035bab, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Finish updating to KDE 14.12.2 applications
More tags

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

  • Property mode set to 100644
File size: 16.3 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 "b631498668562ba47732785e54808468">
11 <!ENTITY poppler-size "1.5 MB">
12 <!ENTITY poppler-buildsize "163 MB (building Qt4 libraries, test suites, and poppler-data)">
13 <!ENTITY poppler-time "1.5 SBU (building Qt4 libraries and 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 &lfs77_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 testfiles &amp;&amp;
156git clone git://git.freedesktop.org/git/poppler/test testfiles</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 \
184 --with-testdatadir=$PWD/testfiles &amp;&amp;
185make</userinput></screen>
186
187 <para>
188 To test the results, issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
189 </para>
190
191 <para>
192 Now, as the <systemitem class="username">root</systemitem> user:
193 </para>
194
195<screen role="root"><userinput>make install</userinput></screen>
196
197 <para>
198 To install the documentation, run the following commands as
199 <systemitem class="username">root</systemitem>:
200 </para>
201
202<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
203install -v -m644 README* /usr/share/doc/poppler-&poppler-version; &amp;&amp;
204cp -vr glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
205
206<!-- ==== Poppler Data ====== -->
207 <bridgehead renderas="sect3">Poppler Data</bridgehead>
208
209 <para>
210 If you downloaded the additional encoding data package, install it by
211 issuing the following commands as the
212 <systemitem class="username">root</systemitem> user:
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 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
230 href="../../xincludes/static-libraries.xml"/>
231
232 <para>
233 <option>--enable-xpdf-headers</option>: Install some old
234 <application>Xpdf</application> headers required by certain programs (e.g.
235 <application>Okular</application>, <application>LibreOffice</application>
236 and <application>Inkscape</application>).
237 </para>
238
239 <para>
240 <option>--with-testdatadir=$PWD/testfiles</option>: Tell the test
241 programs where the auxillary files are located.
242 </para>
243
244 <para>
245 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
246 </para>
247
248 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
249 href="../../xincludes/gtk-doc-rebuild.xml"/>
250
251 <para>
252 <command>LC_ALL=en_US.UTF-8 make check</command>: Run the test suite.
253 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
254 default locale does not include UTF-8.
255 </para>
256
257 </sect2>
258
259 <sect2 role="content">
260 <title>Contents</title>
261
262 <segmentedlist>
263 <segtitle>Installed Programs</segtitle>
264 <segtitle>Installed Libraries</segtitle>
265 <segtitle>Installed Directories</segtitle>
266
267 <seglistitem>
268 <seg>
269 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
270 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
271 pdfunite, and poppler-glib-demo
272 </seg>
273 <seg>
274 libpoppler.so, libpoppler-cpp.so,
275 libpoppler-glib.so,
276 libpoppler-qt4.so, and
277 libpoppler-qt5.so
278 </seg>
279 <seg>
280 /usr/include/poppler,
281 /usr/share/doc/poppler-&poppler-version;,
282 /usr/share/gtk-doc/html/poppler, and
283 /usr/share/poppler
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="pdftocairo">
356 <term><command>pdftocairo</command></term>
357 <listitem>
358 <para>
359 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
360 EPS, SVG) using the cairo output device of the poppler library.
361 </para>
362 <indexterm zone="poppler pdftocairo">
363 <primary sortas="b-pdftocairo">pdftocairo</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="pdftohtml">
369 <term><command>pdftohtml</command></term>
370 <listitem>
371 <para>
372 converts a PDF file to HTML.
373 </para>
374 <indexterm zone="poppler pdftohtml">
375 <primary sortas="b-pdftohtml">pdftohtml</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="pdftoppm">
381 <term><command>pdftoppm</command></term>
382 <listitem>
383 <para>
384 converts PDF files to PBM, PGM and PPM formats.
385 </para>
386 <indexterm zone="poppler pdftoppm">
387 <primary sortas="b-pdftoppm">pdftoppm</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="pdftops">
393 <term><command>pdftops</command></term>
394 <listitem>
395 <para>
396 converts PDF files to Postscript format.
397 </para>
398 <indexterm zone="poppler pdftops">
399 <primary sortas="b-pdftops">pdftops</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="pdftotext">
405 <term><command>pdftotext</command></term>
406 <listitem>
407 <para>
408 converts PDF files to plain text.
409 </para>
410 <indexterm zone="poppler pdftotext">
411 <primary sortas="b-pdftotext">pdftotext</primary>
412 </indexterm>
413 </listitem>
414 </varlistentry>
415
416 <varlistentry id="pdfunite">
417 <term><command>pdfunite</command></term>
418 <listitem>
419 <para>
420 merges several PDF files, in the order of their occurrence on the
421 command line, to one PDF output file.
422 </para>
423 <indexterm zone="poppler pdfunite">
424 <primary sortas="b-pdfunite">pdfunite</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="poppler-glib-demo">
430 <term><command>poppler-glib-demo</command></term>
431 <listitem>
432 <para>
433 is a tool to demonstrate the API, and for use when debugging and
434 testing <application>Poppler</application>.
435 </para>
436 <indexterm zone="poppler poppler-glib-demo">
437 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
438 </indexterm>
439 </listitem>
440 </varlistentry>
441
442 <varlistentry id="libpoppler">
443 <term><filename class="libraryfile">libpoppler.so</filename></term>
444 <listitem>
445 <para>
446 contains the API functions to render PDF files.
447 </para>
448 <indexterm zone="poppler libpoppler">
449 <primary sortas="c-libpoppler">libpoppler.so</primary>
450 </indexterm>
451 </listitem>
452 </varlistentry>
453
454 <varlistentry id="libpoppler-cpp">
455 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
456 <listitem>
457 <para>
458 is a C++ backend for rendering PDF files.
459 </para>
460 <indexterm zone="poppler libpoppler-cpp">
461 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 <varlistentry id="libpoppler-glib">
467 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
468 <listitem>
469 <para>
470 is a wrapper library used to interface the PDF rendering functions
471 with <application>GTK+</application>.
472 </para>
473 <indexterm zone="poppler libpoppler-glib">
474 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="libpoppler-qt4">
480 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
481 <listitem>
482 <para>
483 is a wrapper library used to interface the PDF rendering functions
484 with <application>Qt</application>4.
485 </para>
486 <indexterm zone="poppler libpoppler-qt4">
487 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
492 <varlistentry id="libpoppler-qt5">
493 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
494 <listitem>
495 <para>
496 is a wrapper library used to interface the PDF rendering functions
497 with <application>Qt</application>5.
498 </para>
499 <indexterm zone="poppler libpoppler-qt5">
500 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
501 </indexterm>
502 </listitem>
503 </varlistentry>
504
505 </variablelist>
506
507 </sect2>
508
509</sect1>
Note: See TracBrowser for help on using the repository browser.