source: general/graphlib/poppler.xml@ 550d24aa

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 550d24aa was 550d24aa, checked in by Ken Moffat <ken@…>, 9 years ago

more tags

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

  • Property mode set to 100644
File size: 16.3 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 " ">
[9a0022bf]10 <!ENTITY poppler-md5sum "a97985f7af6c388e42a53dead85d4ef4">
[78c7ea98]11 <!ENTITY poppler-size "1.5 MB">
12 <!ENTITY poppler-buildsize "163 MB (building Qt4 libraries, test suites, and poppler-data)">
[9a0022bf]13 <!ENTITY poppler-time "1.2 SBU (building Qt4 libraries and test suites)">
[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
151 9 MB using <xref linkend="git"/> is necessary. Make sure that you do
[b1a8aad7]152 not have the directory ../test.
153 </para>
154
[78c7ea98]155<screen><userinput>rm -rf testfiles &amp;&amp;
156git clone git://git.freedesktop.org/git/poppler/test testfiles</userinput></screen>
[b1a8aad7]157
[4881073]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>
[38489d2e]166
[4881073]167 or use this to use Qt5:
[a544789]168
[4881073]169 <screen><userinput>source /usr/bin/setqt5</userinput></screen>
[5dab7b65]170
[4881073]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>
[5dab7b65]174
175 <para>
176 Install <application>Poppler</application> by running the following
177 commands:
178 </para>
179
[78c7ea98]180<screen><userinput>./configure --prefix=/usr \
181 --sysconfdir=/etc \
182 --disable-static \
183 --enable-xpdf-headers \
184 --with-testdatadir=$PWD/testfiles &amp;&amp;
[5dab7b65]185make</userinput></screen>
186
[8aee9eb]187 <para>
[78c7ea98]188 To test the results, issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
[8aee9eb]189 </para>
190
[5dab7b65]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
[8aee9eb]197 <para>
[4881073]198 To install the documentation, run the following commands as
199 <systemitem class="username">root</systemitem>:
[8aee9eb]200 </para>
201
[2a5ad24]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>
[d931c7f]205
[5dab7b65]206<!-- ==== Poppler Data ====== -->
207 <bridgehead renderas="sect3">Poppler Data</bridgehead>
208
[2511f83]209 <para>
210 If you downloaded the additional encoding data package, install it by
[8aee9eb]211 issuing the following commands as the
212 <systemitem class="username">root</systemitem> user:
[2511f83]213 </para>
[2c06b85]214
215<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
216cd poppler-data-&poppler-data-version;</userinput></screen>
217
[2511f83]218 <para>
219 Now, as the <systemitem class="username">root</systemitem> user:
220 </para>
[d931c7f]221
222<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]223
[5474306]224 </sect2>
225
226 <sect2 role="commands">
227 <title>Command Explanations</title>
228
[2511f83]229 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
230 href="../../xincludes/static-libraries.xml"/>
[35e21bf]231
[2511f83]232 <para>
233 <option>--enable-xpdf-headers</option>: Install some old
234 <application>Xpdf</application> headers required by certain programs (e.g.
[6459a7e2]235 <application>Okular</application>, <application>LibreOffice</application>
[2511f83]236 and <application>Inkscape</application>).
237 </para>
[cf1a2b8]238
[78c7ea98]239 <para>
240 <option>--with-testdatadir=$PWD/testfiles</option>: Tell the test
241 programs where the auxillary files are located.
242 </para>
243
[9f11d7f]244 <para>
245 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
246 </para>
247
[8c8fcaa7]248 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
249 href="../../xincludes/gtk-doc-rebuild.xml"/>
250
[78c7ea98]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
[5474306]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>
[2511f83]268 <seg>
[6459a7e2]269 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
270 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
[b4c7420]271 pdfunite, and poppler-glib-demo
[2511f83]272 </seg>
273 <seg>
[6459a7e2]274 libpoppler.so, libpoppler-cpp.so,
[f3a6abc9]275 libpoppler-glib.so,
276 libpoppler-qt4.so, and
277 libpoppler-qt5.so
[2511f83]278 </seg>
279 <seg>
[8d32ac9]280 /usr/include/poppler,
281 /usr/share/doc/poppler-&poppler-version;,
[b4c7420]282 /usr/share/gtk-doc/html/poppler, and
[8d32ac9]283 /usr/share/poppler
[2511f83]284 </seg>
[5474306]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
[95b1905]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>
[0d7900a]303 </varlistentry>
304
[2d1ea57b]305 <varlistentry id="pdffonts">
[a5dfefb2]306 <term><command>pdffonts</command></term>
307 <listitem>
[2511f83]308 <para>
309 lists the fonts used in a PDF file along with various information
310 for each font.
311 </para>
[a5dfefb2]312 <indexterm zone="poppler pdffonts">
313 <primary sortas="b-pdffonts">pdffonts</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
[2d1ea57b]318 <varlistentry id="pdfimages">
[a5dfefb2]319 <term><command>pdfimages</command></term>
320 <listitem>
[2511f83]321 <para>
322 saves images from a PDF file as PPM, PBM, or JPEG files.
323 </para>
[a5dfefb2]324 <indexterm zone="poppler pdfimages">
325 <primary sortas="b-pdfimages">pdfimages</primary>
326 </indexterm>
327 </listitem>
328 </varlistentry>
329
[2d1ea57b]330 <varlistentry id="pdfinfo">
[a5dfefb2]331 <term><command>pdfinfo</command></term>
332 <listitem>
[2511f83]333 <para>
334 prints the contents of the 'Info' dictionary (plus some other useful
335 information) from a PDF file.
336 </para>
[a5dfefb2]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>
[2511f83]346 <para>
347 extracts single pages from a PDF file.
348 </para>
[a5dfefb2]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>
[2511f83]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>
[a5dfefb2]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>
[2511f83]371 <para>
372 converts a PDF file to HTML.
373 </para>
[a5dfefb2]374 <indexterm zone="poppler pdftohtml">
375 <primary sortas="b-pdftohtml">pdftohtml</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
[2d1ea57b]380 <varlistentry id="pdftoppm">
[a5dfefb2]381 <term><command>pdftoppm</command></term>
382 <listitem>
[2511f83]383 <para>
384 converts PDF files to PBM, PGM and PPM formats.
385 </para>
[a5dfefb2]386 <indexterm zone="poppler pdftoppm">
387 <primary sortas="b-pdftoppm">pdftoppm</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
[2d1ea57b]392 <varlistentry id="pdftops">
[a5dfefb2]393 <term><command>pdftops</command></term>
394 <listitem>
[2511f83]395 <para>
396 converts PDF files to Postscript format.
397 </para>
[a5dfefb2]398 <indexterm zone="poppler pdftops">
399 <primary sortas="b-pdftops">pdftops</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
[2d1ea57b]404 <varlistentry id="pdftotext">
[a5dfefb2]405 <term><command>pdftotext</command></term>
406 <listitem>
[2511f83]407 <para>
408 converts PDF files to plain text.
409 </para>
[a5dfefb2]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>
[2511f83]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>
[a5dfefb2]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>
[2511f83]432 <para>
433 is a tool to demonstrate the API, and for use when debugging and
[6459a7e2]434 testing <application>Poppler</application>.
[2511f83]435 </para>
[a5dfefb2]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
[5474306]442 <varlistentry id="libpoppler">
[6459a7e2]443 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]444 <listitem>
[2511f83]445 <para>
446 contains the API functions to render PDF files.
447 </para>
[5474306]448 <indexterm zone="poppler libpoppler">
[a5dfefb2]449 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]450 </indexterm>
451 </listitem>
452 </varlistentry>
453
[7d564a1]454 <varlistentry id="libpoppler-cpp">
[6459a7e2]455 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]456 <listitem>
[2511f83]457 <para>
458 is a C++ backend for rendering PDF files.
459 </para>
[7d564a1]460 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]461 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]462 </indexterm>
463 </listitem>
464 </varlistentry>
465
[5474306]466 <varlistentry id="libpoppler-glib">
[6459a7e2]467 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]468 <listitem>
[2511f83]469 <para>
470 is a wrapper library used to interface the PDF rendering functions
471 with <application>GTK+</application>.
472 </para>
[5474306]473 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]474 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 <varlistentry id="libpoppler-qt4">
[6459a7e2]480 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
[5474306]481 <listitem>
[2511f83]482 <para>
483 is a wrapper library used to interface the PDF rendering functions
[f3a6abc9]484 with <application>Qt</application>4.
[2511f83]485 </para>
[5474306]486 <indexterm zone="poppler libpoppler-qt4">
[a5dfefb2]487 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
[5474306]488 </indexterm>
489 </listitem>
490 </varlistentry>
[6459a7e2]491
[f3a6abc9]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
[5474306]505 </variablelist>
[6459a7e2]506
[5474306]507 </sect2>
[6459a7e2]508
[5474306]509</sect1>
Note: See TracBrowser for help on using the repository browser.