source: general/graphlib/poppler.xml@ 7b88d5a

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 7b88d5a was 03da570f, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Update to openssl-1.0.2d.
Update to bluez-5.32.
Update to poppler-0.34.0.

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

  • Property mode set to 100644
File size: 16.5 KB
RevLine 
[5474306]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[5474306]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[2511f83]7 <!ENTITY poppler-download-http
[2217b13]8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
[8a1b4b52]9 <!ENTITY poppler-download-ftp " ">
[03da570f]10 <!ENTITY poppler-md5sum "7d788f85bca1c03d71773af0b902e203">
11 <!ENTITY poppler-size "1.5 MB">
12 <!ENTITY poppler-buildsize "185 MB (building Qt4 and 5 libraries, add'l 63 MB for tests)">
13 <!ENTITY poppler-time "1.4 SBU (building Qt4 and 5 libraries, add'l 0.4 SBU for tests)">
[8a1b4b52]14
[af21cbe2]15 <!ENTITY poppler-data-version "0.4.7">
[e0fc156]16
[2511f83]17 <!ENTITY poppler-data-download-http
[e0fc156]18 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
[af21cbe2]19 <!ENTITY poppler-data-md5sum "636a8f2b9f6df9e7ced8ec0946961eaf">
[8a1b4b52]20 <!ENTITY poppler-data-size "4.0 MB">
[5474306]21]>
22
23<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
24 <?dbhtml filename="poppler.html"?>
25
26 <sect1info>
[3ca3085]27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
[5474306]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
[2511f83]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>
[5474306]45
[550d24aa]46 &lfs77_checked; &gcc5_checked;
[49f7d8b]47
[5474306]48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
[2511f83]51 <para>
52 Download (HTTP): <ulink url="&poppler-download-http;"/>
53 </para>
[5474306]54 </listitem>
55 <listitem>
[2511f83]56 <para>
57 Download (FTP): <ulink url="&poppler-download-ftp;"/>
58 </para>
[5474306]59 </listitem>
60 <listitem>
[2511f83]61 <para>
62 Download MD5 sum: &poppler-md5sum;
63 </para>
[5474306]64 </listitem>
65 <listitem>
[2511f83]66 <para>
67 Download size: &poppler-size;
68 </para>
[5474306]69 </listitem>
70 <listitem>
[2511f83]71 <para>
72 Estimated disk space required: &poppler-buildsize;
73 </para>
[5474306]74 </listitem>
75 <listitem>
[2511f83]76 <para>
77 Estimated build time: &poppler-time;
78 </para>
[5474306]79 </listitem>
80 </itemizedlist>
81
[d931c7f]82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[8a1b4b52]83
[d931c7f]84 <itemizedlist spacing="compact">
[8a1b4b52]85 <title>Poppler Encoding Data</title>
86 <listitem>
[2511f83]87 <para>
88 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
89 </para>
[8a1b4b52]90 </listitem>
91 <listitem>
[2511f83]92 <para>
93 Download MD5 sum: &poppler-data-md5sum;
94 </para>
[8a1b4b52]95 </listitem>
[d931c7f]96 <listitem>
[2511f83]97 <para>
98 Download size: &poppler-data-size;
99 </para>
[d931c7f]100 </listitem>
101 </itemizedlist>
102
[2511f83]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
[5474306]111 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
112
[d931c7f]113 <bridgehead renderas="sect4">Required</bridgehead>
[e0fc156]114 <para role="required">
115 <xref linkend="fontconfig"/>
116 </para>
[d931c7f]117
[cf1a2b8]118 <bridgehead renderas="sect4">Recommended</bridgehead>
[2511f83]119 <para role="recommended">
[8d32ac9]120 <xref linkend="cairo"/>,
[a25146f]121 <xref linkend="libjpeg"/>,
122 <xref linkend="libpng"/>, and
123 <xref linkend="openjpeg"/>
[cf1a2b8]124 </para>
125
[5474306]126 <bridgehead renderas="sect4">Optional</bridgehead>
[2511f83]127 <para role="optional">
128 <xref linkend="curl"/>,
[f6c00d7b]129 <xref linkend="gobject-introspection"/>,
[8c8fcaa7]130 <xref linkend="gtk-doc"/>,
[2511f83]131 <xref linkend="gtk2"/>,
132 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
133 <xref linkend="libtiff"/>,
[9b6d8fc]134 <xref linkend="openjpeg2"/>
[a25146f]135 (preference is for OpenJPEG1, due to regressions with OpenJPEG2),
[7af92fe5]136 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
[4529754]137 is needed for PDF support in <application>Okular</application>), and
[f3a6abc9]138 <xref linkend="qt5"/>
[2511f83]139 </para>
[1039de3]140
[2511f83]141 <para condition="html" role="usernotes">
142 User Notes: <ulink url="&blfs-wiki;/poppler"/>
143 </para>
[5474306]144 </sect2>
145
146 <sect2 role="installation">
147 <title>Installation of Poppler</title>
148
[b1a8aad7]149 <para>
[4881073]150 In order to optionally run the test suite, an additional download of about
[a6ff6760]151 9 MB using <xref linkend="git"/> is necessary.
[b1a8aad7]152 </para>
153
[78c7ea98]154<screen><userinput>rm -rf testfiles &amp;&amp;
155git clone git://git.freedesktop.org/git/poppler/test testfiles</userinput></screen>
[b1a8aad7]156
[4881073]157 <note><para>
[a6ff6760]158
159 This package can be optionally built with support for only one version of
160 Qt4 or Qt5. If you have only one, no modification is necessary. If both
161 are installed, and you wish support for only one, before executing the
162 <command>configure</command> command given below, use this command to
163 select Qt4:
[4881073]164
165 <screen><userinput>source /usr/bin/setqt4</userinput></screen>
[38489d2e]166
[a6ff6760]167 or this to select Qt5:
[a544789]168
[4881073]169 <screen><userinput>source /usr/bin/setqt5</userinput></screen>
170 </para></note>
[5dab7b65]171
172 <para>
173 Install <application>Poppler</application> by running the following
174 commands:
175 </para>
176
[a6ff6760]177<screen><userinput>MOCQT4=$QT4DIR/bin/moc \
178MOCQT5=$QT5DIR/bin/moc \
179./configure --prefix=/usr \
[78c7ea98]180 --sysconfdir=/etc \
181 --disable-static \
182 --enable-xpdf-headers \
183 --with-testdatadir=$PWD/testfiles &amp;&amp;
[5dab7b65]184make</userinput></screen>
185
[8aee9eb]186 <para>
[78c7ea98]187 To test the results, issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
[8aee9eb]188 </para>
189
[5dab7b65]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
[8aee9eb]196 <para>
[4881073]197 To install the documentation, run the following commands as
198 <systemitem class="username">root</systemitem>:
[8aee9eb]199 </para>
200
[2a5ad24]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>
[d931c7f]204
[5dab7b65]205<!-- ==== Poppler Data ====== -->
206 <bridgehead renderas="sect3">Poppler Data</bridgehead>
207
[2511f83]208 <para>
209 If you downloaded the additional encoding data package, install it by
[8aee9eb]210 issuing the following commands as the
211 <systemitem class="username">root</systemitem> user:
[2511f83]212 </para>
[2c06b85]213
214<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
215cd poppler-data-&poppler-data-version;</userinput></screen>
216
[2511f83]217 <para>
218 Now, as the <systemitem class="username">root</systemitem> user:
219 </para>
[d931c7f]220
221<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]222
[5474306]223 </sect2>
224
225 <sect2 role="commands">
226 <title>Command Explanations</title>
227
[a6ff6760]228 <para>
229 <envar>MOCQT4=$QT4DIR/bin/moc</envar> and
230 <envar>MOCQT5=$QT5DIR/bin/moc</envar>:
231 These environment variables are necessary, for linking with the two Qt
232 versions, if both are installed. If only one Qt version is installed or
233 you wish to link to only one version, you can remove them, although this
234 is not necessary.
235 </para>
236
[2511f83]237 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
238 href="../../xincludes/static-libraries.xml"/>
[35e21bf]239
[2511f83]240 <para>
241 <option>--enable-xpdf-headers</option>: Install some old
242 <application>Xpdf</application> headers required by certain programs (e.g.
[6459a7e2]243 <application>Okular</application>, <application>LibreOffice</application>
[2511f83]244 and <application>Inkscape</application>).
245 </para>
[cf1a2b8]246
[78c7ea98]247 <para>
248 <option>--with-testdatadir=$PWD/testfiles</option>: Tell the test
249 programs where the auxillary files are located.
250 </para>
251
[9f11d7f]252 <para>
253 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
254 </para>
255
[8c8fcaa7]256 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
257 href="../../xincludes/gtk-doc-rebuild.xml"/>
258
[78c7ea98]259 <para>
260 <command>LC_ALL=en_US.UTF-8 make check</command>: Run the test suite.
261 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
262 default locale does not include UTF-8.
263 </para>
264
[5474306]265 </sect2>
266
267 <sect2 role="content">
268 <title>Contents</title>
269
270 <segmentedlist>
271 <segtitle>Installed Programs</segtitle>
272 <segtitle>Installed Libraries</segtitle>
273 <segtitle>Installed Directories</segtitle>
274
275 <seglistitem>
[2511f83]276 <seg>
[6459a7e2]277 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
278 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
[b4c7420]279 pdfunite, and poppler-glib-demo
[2511f83]280 </seg>
281 <seg>
[6459a7e2]282 libpoppler.so, libpoppler-cpp.so,
[f3a6abc9]283 libpoppler-glib.so,
284 libpoppler-qt4.so, and
285 libpoppler-qt5.so
[2511f83]286 </seg>
287 <seg>
[8d32ac9]288 /usr/include/poppler,
289 /usr/share/doc/poppler-&poppler-version;,
[b4c7420]290 /usr/share/gtk-doc/html/poppler, and
[8d32ac9]291 /usr/share/poppler
[2511f83]292 </seg>
[5474306]293 </seglistitem>
294 </segmentedlist>
295
296 <variablelist>
297 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
298 <?dbfo list-presentation="list"?>
299 <?dbhtml list-presentation="table"?>
300
[95b1905]301 <varlistentry id="pdfdetach">
302 <term><command>pdfdetach</command></term>
303 <listitem>
304 <para>
305 lists or extracts embedded files from PDF files.
306 </para>
307 <indexterm zone="poppler pdfdetach">
308 <primary sortas="b-pdfdetach">pdfdetach</primary>
309 </indexterm>
310 </listitem>
[0d7900a]311 </varlistentry>
312
[2d1ea57b]313 <varlistentry id="pdffonts">
[a5dfefb2]314 <term><command>pdffonts</command></term>
315 <listitem>
[2511f83]316 <para>
317 lists the fonts used in a PDF file along with various information
318 for each font.
319 </para>
[a5dfefb2]320 <indexterm zone="poppler pdffonts">
321 <primary sortas="b-pdffonts">pdffonts</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
[2d1ea57b]326 <varlistentry id="pdfimages">
[a5dfefb2]327 <term><command>pdfimages</command></term>
328 <listitem>
[2511f83]329 <para>
330 saves images from a PDF file as PPM, PBM, or JPEG files.
331 </para>
[a5dfefb2]332 <indexterm zone="poppler pdfimages">
333 <primary sortas="b-pdfimages">pdfimages</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
[2d1ea57b]338 <varlistentry id="pdfinfo">
[a5dfefb2]339 <term><command>pdfinfo</command></term>
340 <listitem>
[2511f83]341 <para>
342 prints the contents of the 'Info' dictionary (plus some other useful
343 information) from a PDF file.
344 </para>
[a5dfefb2]345 <indexterm zone="poppler pdfinfo">
346 <primary sortas="b-pdfinfo">pdfinfo</primary>
347 </indexterm>
348 </listitem>
349 </varlistentry>
350
351 <varlistentry id="pdfseparate">
352 <term><command>pdfseparate</command></term>
353 <listitem>
[2511f83]354 <para>
355 extracts single pages from a PDF file.
356 </para>
[a5dfefb2]357 <indexterm zone="poppler pdfseparate">
358 <primary sortas="b-pdseparate">pdfseparate</primary>
359 </indexterm>
360 </listitem>
361 </varlistentry>
362
363 <varlistentry id="pdftocairo">
364 <term><command>pdftocairo</command></term>
365 <listitem>
[2511f83]366 <para>
367 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
368 EPS, SVG) using the cairo output device of the poppler library.
369 </para>
[a5dfefb2]370 <indexterm zone="poppler pdftocairo">
371 <primary sortas="b-pdftocairo">pdftocairo</primary>
372 </indexterm>
373 </listitem>
374 </varlistentry>
375
376 <varlistentry id="pdftohtml">
377 <term><command>pdftohtml</command></term>
378 <listitem>
[2511f83]379 <para>
380 converts a PDF file to HTML.
381 </para>
[a5dfefb2]382 <indexterm zone="poppler pdftohtml">
383 <primary sortas="b-pdftohtml">pdftohtml</primary>
384 </indexterm>
385 </listitem>
386 </varlistentry>
387
[2d1ea57b]388 <varlistentry id="pdftoppm">
[a5dfefb2]389 <term><command>pdftoppm</command></term>
390 <listitem>
[2511f83]391 <para>
392 converts PDF files to PBM, PGM and PPM formats.
393 </para>
[a5dfefb2]394 <indexterm zone="poppler pdftoppm">
395 <primary sortas="b-pdftoppm">pdftoppm</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
[2d1ea57b]400 <varlistentry id="pdftops">
[a5dfefb2]401 <term><command>pdftops</command></term>
402 <listitem>
[2511f83]403 <para>
404 converts PDF files to Postscript format.
405 </para>
[a5dfefb2]406 <indexterm zone="poppler pdftops">
407 <primary sortas="b-pdftops">pdftops</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
[2d1ea57b]412 <varlistentry id="pdftotext">
[a5dfefb2]413 <term><command>pdftotext</command></term>
414 <listitem>
[2511f83]415 <para>
416 converts PDF files to plain text.
417 </para>
[a5dfefb2]418 <indexterm zone="poppler pdftotext">
419 <primary sortas="b-pdftotext">pdftotext</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="pdfunite">
425 <term><command>pdfunite</command></term>
426 <listitem>
[2511f83]427 <para>
428 merges several PDF files, in the order of their occurrence on the
429 command line, to one PDF output file.
430 </para>
[a5dfefb2]431 <indexterm zone="poppler pdfunite">
432 <primary sortas="b-pdfunite">pdfunite</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="poppler-glib-demo">
438 <term><command>poppler-glib-demo</command></term>
439 <listitem>
[2511f83]440 <para>
441 is a tool to demonstrate the API, and for use when debugging and
[6459a7e2]442 testing <application>Poppler</application>.
[2511f83]443 </para>
[a5dfefb2]444 <indexterm zone="poppler poppler-glib-demo">
445 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449
[5474306]450 <varlistentry id="libpoppler">
[6459a7e2]451 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]452 <listitem>
[2511f83]453 <para>
454 contains the API functions to render PDF files.
455 </para>
[5474306]456 <indexterm zone="poppler libpoppler">
[a5dfefb2]457 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]458 </indexterm>
459 </listitem>
460 </varlistentry>
461
[7d564a1]462 <varlistentry id="libpoppler-cpp">
[6459a7e2]463 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]464 <listitem>
[2511f83]465 <para>
466 is a C++ backend for rendering PDF files.
467 </para>
[7d564a1]468 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]469 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]470 </indexterm>
471 </listitem>
472 </varlistentry>
473
[5474306]474 <varlistentry id="libpoppler-glib">
[6459a7e2]475 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]476 <listitem>
[2511f83]477 <para>
478 is a wrapper library used to interface the PDF rendering functions
479 with <application>GTK+</application>.
480 </para>
[5474306]481 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]482 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]483 </indexterm>
484 </listitem>
485 </varlistentry>
486
487 <varlistentry id="libpoppler-qt4">
[6459a7e2]488 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
[5474306]489 <listitem>
[2511f83]490 <para>
491 is a wrapper library used to interface the PDF rendering functions
[f3a6abc9]492 with <application>Qt</application>4.
[2511f83]493 </para>
[5474306]494 <indexterm zone="poppler libpoppler-qt4">
[a5dfefb2]495 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
[5474306]496 </indexterm>
497 </listitem>
498 </varlistentry>
[6459a7e2]499
[f3a6abc9]500 <varlistentry id="libpoppler-qt5">
501 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
502 <listitem>
503 <para>
504 is a wrapper library used to interface the PDF rendering functions
505 with <application>Qt</application>5.
506 </para>
507 <indexterm zone="poppler libpoppler-qt5">
508 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
509 </indexterm>
510 </listitem>
511 </varlistentry>
512
[5474306]513 </variablelist>
[6459a7e2]514
[5474306]515 </sect2>
[6459a7e2]516
[5474306]517</sect1>
Note: See TracBrowser for help on using the repository browser.