source: general/graphlib/poppler.xml@ d441522d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d441522d was a25146f, checked in by Pierre Labastie <pieere@…>, 10 years ago

Move openjpeg to recommended dep pf poppler

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

  • Property mode set to 100644
File size: 15.9 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 " ">
[626321c]10 <!ENTITY poppler-md5sum "fb0a9d82b5433c823421a123eb8e9789">
[420c072]11 <!ENTITY poppler-size "1.6 MB">
[626321c]12 <!ENTITY poppler-buildsize "148 MB (building Qt4 and Qt5 libraries, additional 47 MB for the test suites and 24 MB for poppler-data)">
13 <!ENTITY poppler-time "1.7 SBU (building Qt4 and Qt5 libraries, additional 0.4 SBU for the 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
[4116c85]46 &lfs76_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
[4881073]155<screen><userinput>rm -rf ../test &amp;&amp;
156git clone git://git.freedesktop.org/git/poppler/test ../test</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
[4881073]180<screen><userinput>./configure --prefix=/usr \
[5dab7b65]181 --sysconfdir=/etc \
182 --disable-static \
183 --enable-xpdf-headers &amp;&amp;
184make</userinput></screen>
185
[8aee9eb]186 <para>
[5dab7b65]187 To test the results, issue: <command>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
[2511f83]228 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
229 href="../../xincludes/static-libraries.xml"/>
[35e21bf]230
[2511f83]231 <para>
232 <option>--enable-xpdf-headers</option>: Install some old
233 <application>Xpdf</application> headers required by certain programs (e.g.
[6459a7e2]234 <application>Okular</application>, <application>LibreOffice</application>
[2511f83]235 and <application>Inkscape</application>).
236 </para>
[cf1a2b8]237
[9f11d7f]238 <para>
239 <option>--enable-libcurl</option>: Use libcurl for HTTP support.
240 </para>
241
[8c8fcaa7]242 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
243 href="../../xincludes/gtk-doc-rebuild.xml"/>
244
[5474306]245 </sect2>
246
247 <sect2 role="content">
248 <title>Contents</title>
249
250 <segmentedlist>
251 <segtitle>Installed Programs</segtitle>
252 <segtitle>Installed Libraries</segtitle>
253 <segtitle>Installed Directories</segtitle>
254
255 <seglistitem>
[2511f83]256 <seg>
[6459a7e2]257 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
258 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
[b4c7420]259 pdfunite, and poppler-glib-demo
[2511f83]260 </seg>
261 <seg>
[6459a7e2]262 libpoppler.so, libpoppler-cpp.so,
[f3a6abc9]263 libpoppler-glib.so,
264 libpoppler-qt4.so, and
265 libpoppler-qt5.so
[2511f83]266 </seg>
267 <seg>
[8d32ac9]268 /usr/include/poppler,
269 /usr/share/doc/poppler-&poppler-version;,
[b4c7420]270 /usr/share/gtk-doc/html/poppler, and
[8d32ac9]271 /usr/share/poppler
[2511f83]272 </seg>
[5474306]273 </seglistitem>
274 </segmentedlist>
275
276 <variablelist>
277 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
278 <?dbfo list-presentation="list"?>
279 <?dbhtml list-presentation="table"?>
280
[95b1905]281 <varlistentry id="pdfdetach">
282 <term><command>pdfdetach</command></term>
283 <listitem>
284 <para>
285 lists or extracts embedded files from PDF files.
286 </para>
287 <indexterm zone="poppler pdfdetach">
288 <primary sortas="b-pdfdetach">pdfdetach</primary>
289 </indexterm>
290 </listitem>
[0d7900a]291 </varlistentry>
292
[2d1ea57b]293 <varlistentry id="pdffonts">
[a5dfefb2]294 <term><command>pdffonts</command></term>
295 <listitem>
[2511f83]296 <para>
297 lists the fonts used in a PDF file along with various information
298 for each font.
299 </para>
[a5dfefb2]300 <indexterm zone="poppler pdffonts">
301 <primary sortas="b-pdffonts">pdffonts</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
[2d1ea57b]306 <varlistentry id="pdfimages">
[a5dfefb2]307 <term><command>pdfimages</command></term>
308 <listitem>
[2511f83]309 <para>
310 saves images from a PDF file as PPM, PBM, or JPEG files.
311 </para>
[a5dfefb2]312 <indexterm zone="poppler pdfimages">
313 <primary sortas="b-pdfimages">pdfimages</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
[2d1ea57b]318 <varlistentry id="pdfinfo">
[a5dfefb2]319 <term><command>pdfinfo</command></term>
320 <listitem>
[2511f83]321 <para>
322 prints the contents of the 'Info' dictionary (plus some other useful
323 information) from a PDF file.
324 </para>
[a5dfefb2]325 <indexterm zone="poppler pdfinfo">
326 <primary sortas="b-pdfinfo">pdfinfo</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="pdfseparate">
332 <term><command>pdfseparate</command></term>
333 <listitem>
[2511f83]334 <para>
335 extracts single pages from a PDF file.
336 </para>
[a5dfefb2]337 <indexterm zone="poppler pdfseparate">
338 <primary sortas="b-pdseparate">pdfseparate</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="pdftocairo">
344 <term><command>pdftocairo</command></term>
345 <listitem>
[2511f83]346 <para>
347 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
348 EPS, SVG) using the cairo output device of the poppler library.
349 </para>
[a5dfefb2]350 <indexterm zone="poppler pdftocairo">
351 <primary sortas="b-pdftocairo">pdftocairo</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="pdftohtml">
357 <term><command>pdftohtml</command></term>
358 <listitem>
[2511f83]359 <para>
360 converts a PDF file to HTML.
361 </para>
[a5dfefb2]362 <indexterm zone="poppler pdftohtml">
363 <primary sortas="b-pdftohtml">pdftohtml</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
[2d1ea57b]368 <varlistentry id="pdftoppm">
[a5dfefb2]369 <term><command>pdftoppm</command></term>
370 <listitem>
[2511f83]371 <para>
372 converts PDF files to PBM, PGM and PPM formats.
373 </para>
[a5dfefb2]374 <indexterm zone="poppler pdftoppm">
375 <primary sortas="b-pdftoppm">pdftoppm</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
[2d1ea57b]380 <varlistentry id="pdftops">
[a5dfefb2]381 <term><command>pdftops</command></term>
382 <listitem>
[2511f83]383 <para>
384 converts PDF files to Postscript format.
385 </para>
[a5dfefb2]386 <indexterm zone="poppler pdftops">
387 <primary sortas="b-pdftops">pdftops</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
[2d1ea57b]392 <varlistentry id="pdftotext">
[a5dfefb2]393 <term><command>pdftotext</command></term>
394 <listitem>
[2511f83]395 <para>
396 converts PDF files to plain text.
397 </para>
[a5dfefb2]398 <indexterm zone="poppler pdftotext">
399 <primary sortas="b-pdftotext">pdftotext</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="pdfunite">
405 <term><command>pdfunite</command></term>
406 <listitem>
[2511f83]407 <para>
408 merges several PDF files, in the order of their occurrence on the
409 command line, to one PDF output file.
410 </para>
[a5dfefb2]411 <indexterm zone="poppler pdfunite">
412 <primary sortas="b-pdfunite">pdfunite</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
417 <varlistentry id="poppler-glib-demo">
418 <term><command>poppler-glib-demo</command></term>
419 <listitem>
[2511f83]420 <para>
421 is a tool to demonstrate the API, and for use when debugging and
[6459a7e2]422 testing <application>Poppler</application>.
[2511f83]423 </para>
[a5dfefb2]424 <indexterm zone="poppler poppler-glib-demo">
425 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
426 </indexterm>
427 </listitem>
428 </varlistentry>
429
[5474306]430 <varlistentry id="libpoppler">
[6459a7e2]431 <term><filename class="libraryfile">libpoppler.so</filename></term>
[5474306]432 <listitem>
[2511f83]433 <para>
434 contains the API functions to render PDF files.
435 </para>
[5474306]436 <indexterm zone="poppler libpoppler">
[a5dfefb2]437 <primary sortas="c-libpoppler">libpoppler.so</primary>
[5474306]438 </indexterm>
439 </listitem>
440 </varlistentry>
441
[7d564a1]442 <varlistentry id="libpoppler-cpp">
[6459a7e2]443 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
[7d564a1]444 <listitem>
[2511f83]445 <para>
446 is a C++ backend for rendering PDF files.
447 </para>
[7d564a1]448 <indexterm zone="poppler libpoppler-cpp">
[a5dfefb2]449 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
[7d564a1]450 </indexterm>
451 </listitem>
452 </varlistentry>
453
[5474306]454 <varlistentry id="libpoppler-glib">
[6459a7e2]455 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
[5474306]456 <listitem>
[2511f83]457 <para>
458 is a wrapper library used to interface the PDF rendering functions
459 with <application>GTK+</application>.
460 </para>
[5474306]461 <indexterm zone="poppler libpoppler-glib">
[a5dfefb2]462 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
[5474306]463 </indexterm>
464 </listitem>
465 </varlistentry>
466
467 <varlistentry id="libpoppler-qt4">
[6459a7e2]468 <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
[5474306]469 <listitem>
[2511f83]470 <para>
471 is a wrapper library used to interface the PDF rendering functions
[f3a6abc9]472 with <application>Qt</application>4.
[2511f83]473 </para>
[5474306]474 <indexterm zone="poppler libpoppler-qt4">
[a5dfefb2]475 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
[5474306]476 </indexterm>
477 </listitem>
478 </varlistentry>
[6459a7e2]479
[f3a6abc9]480 <varlistentry id="libpoppler-qt5">
481 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
482 <listitem>
483 <para>
484 is a wrapper library used to interface the PDF rendering functions
485 with <application>Qt</application>5.
486 </para>
487 <indexterm zone="poppler libpoppler-qt5">
488 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
489 </indexterm>
490 </listitem>
491 </varlistentry>
492
[5474306]493 </variablelist>
[6459a7e2]494
[5474306]495 </sect2>
[6459a7e2]496
[5474306]497</sect1>
Note: See TracBrowser for help on using the repository browser.