source: general/graphlib/poppler.xml@ 55781c2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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 55781c2 was 55781c2, checked in by Pierre Labastie <pieere@…>, 6 years ago

mariadb-10.2.10
icu4c-60.1
libdrm-2.4.88
udisks2-2.7.4
poppler-0.61.0
gnupg-2.2.2

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

  • Property mode set to 100644
File size: 15.4 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
[8dfc5c3]7 <!ENTITY poppler-download-http "https://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
8 <!ENTITY poppler-download-ftp " ">
[55781c2]9 <!ENTITY poppler-md5sum "9feff3fb5e2302bb915e9a55da182c57">
[140a74cd]10 <!ENTITY poppler-size "1.4 MB">
[55781c2]11 <!ENTITY poppler-buildsize "55 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.7 SBU (with parallelism=4, Qt5 library, and tests)">
[da8baac5]13
[8a1b4b52]14
[8a6f3bf]15 <!ENTITY poppler-data-version "0.4.8">
[e0fc156]16
[8dfc5c3]17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
[8a6f3bf]18 <!ENTITY poppler-data-md5sum "00f8989c804de84af0ba2ea629949980">
19 <!ENTITY poppler-data-size "4.1 MB">
[fa30d84]20 <!ENTITY poppler-data-buildsize "24 MB">
[da8baac5]21 <!ENTITY poppler-data-time "less than 0.1 SBU">
[5474306]22]>
23
24<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
25 <?dbhtml filename="poppler.html"?>
26
27 <sect1info>
[3ca3085]28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
[5474306]30 </sect1info>
31
32 <title>Poppler-&poppler-version;</title>
33
34 <indexterm zone="poppler">
35 <primary sortas="a-Poppler">Poppler</primary>
36 </indexterm>
37
38 <sect2 role="package">
39 <title>Introduction to Poppler</title>
40
[2511f83]41 <para>
42 The <application>Poppler</application> package contains a PDF rendering
43 library and command line tools used to manipulate PDF files. This is
44 useful for providing PDF rendering functionality as a shared library.
45 </para>
[5474306]46
[c0f80c2]47 &lfs81_checked;
[49f7d8b]48
[5474306]49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
[2511f83]52 <para>
53 Download (HTTP): <ulink url="&poppler-download-http;"/>
54 </para>
[5474306]55 </listitem>
56 <listitem>
[2511f83]57 <para>
58 Download (FTP): <ulink url="&poppler-download-ftp;"/>
59 </para>
[5474306]60 </listitem>
61 <listitem>
[2511f83]62 <para>
63 Download MD5 sum: &poppler-md5sum;
64 </para>
[5474306]65 </listitem>
66 <listitem>
[2511f83]67 <para>
68 Download size: &poppler-size;
69 </para>
[5474306]70 </listitem>
71 <listitem>
[2511f83]72 <para>
73 Estimated disk space required: &poppler-buildsize;
74 </para>
[5474306]75 </listitem>
76 <listitem>
[2511f83]77 <para>
78 Estimated build time: &poppler-time;
79 </para>
[5474306]80 </listitem>
81 </itemizedlist>
82
[d931c7f]83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[8a1b4b52]84
[d931c7f]85 <itemizedlist spacing="compact">
[8a1b4b52]86 <title>Poppler Encoding Data</title>
87 <listitem>
[2511f83]88 <para>
89 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
90 </para>
[8a1b4b52]91 </listitem>
92 <listitem>
[2511f83]93 <para>
94 Download MD5 sum: &poppler-data-md5sum;
95 </para>
[8a1b4b52]96 </listitem>
[d931c7f]97 <listitem>
[2511f83]98 <para>
99 Download size: &poppler-data-size;
100 </para>
[d931c7f]101 </listitem>
[da8baac5]102 <listitem>
103 <para>
104 Estimated disk space required: &poppler-data-buildsize;
105 </para>
106 </listitem>
107 <listitem>
108 <para>
109 Estimated build time: &poppler-data-time;
110 </para>
111 </listitem>
[d931c7f]112 </itemizedlist>
113
[2511f83]114 <para>
115 The additional package consists of encoding files for use with
116 <application>Poppler</application>. The encoding files are optional and
117 <application>Poppler</application> will automatically read them if they
118 are present. When installed, they enable
119 <application>Poppler</application> to render CJK and Cyrillic properly.
120 </para>
121
[5474306]122 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
123
[d931c7f]124 <bridgehead renderas="sect4">Required</bridgehead>
[e0fc156]125 <para role="required">
[140a74cd]126 <xref linkend="cmake"/> and
[e0fc156]127 <xref linkend="fontconfig"/>
128 </para>
[d931c7f]129
[cf1a2b8]130 <bridgehead renderas="sect4">Recommended</bridgehead>
[2511f83]131 <para role="recommended">
[8d32ac9]132 <xref linkend="cairo"/>,
[a25146f]133 <xref linkend="libjpeg"/>,
[c480c33]134 <xref linkend="libpng"/>,
135 <xref linkend="nss"/>, and
[140a74cd]136 <xref linkend="openjpeg2"/>
[cf1a2b8]137 </para>
138
[5474306]139 <bridgehead renderas="sect4">Optional</bridgehead>
[2511f83]140 <para role="optional">
141 <xref linkend="curl"/>,
[140a74cd]142 <xref linkend="gdk-pixbuf"/>,
[538d8db]143 <xref linkend="git"/> (for downloading test files),
[f6c00d7b]144 <xref linkend="gobject-introspection"/>,
[8c8fcaa7]145 <xref linkend="gtk-doc"/>,
[140a74cd]146 <xref linkend="gtk3"/>,
147 <xref linkend="lcms2"/>,
[2511f83]148 <xref linkend="libtiff"/>,
[f3a6abc9]149 <xref linkend="qt5"/>
[dd26d4d]150 (required for PDF support in <xref role="nodep" linkend="okular5"/>)
[2511f83]151 </para>
[1039de3]152
[2511f83]153 <para condition="html" role="usernotes">
154 User Notes: <ulink url="&blfs-wiki;/poppler"/>
155 </para>
[5474306]156 </sect2>
157
158 <sect2 role="installation">
159 <title>Installation of Poppler</title>
160
[5dab7b65]161 <para>
162 Install <application>Poppler</application> by running the following
163 commands:
164 </para>
165
[140a74cd]166<screen><userinput>mkdir build &amp;&amp;
167cd build &amp;&amp;
168
169cmake -DCMAKE_BUILD_TYPE=Release \
170 -DCMAKE_INSTALL_PREFIX=/usr \
171 -DTESTDATADIR=$PWD/testfiles \
172 -DENABLE_XPDF_HEADERS=ON \
[538d8db]173<!-- -DENABLE_GTK_DOC=ON \
174--> .. &amp;&amp;
[5dab7b65]175make</userinput></screen>
176
[697c45ec]177 <para>
178 In order to run the test suite, some testcases are needed and can
179 be obtained only from a git repository. The command to download
180 them is:
181<command>git clone git://git.freedesktop.org/git/poppler/test testfiles</command>.
[55781c2]182 Then issue: <command>LC_ALL=en_US.UTF-8 make test</command>.
[140a74cd]183 Only the Qt5 libraries are tested.
[697c45ec]184 </para>
[8aee9eb]185
[5dab7b65]186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
[93f15e1]190<screen role="root"><userinput>make install</userinput></screen>
[55781c2]191<!-- Seems makeinstall does the job now:
[93f15e1]192 <para>
[e6fb085]193 If you have Qt installed, again as the
[93f15e1]194 <systemitem class="username">root</systemitem> user:
195 </para>
196
197<screen role="root"><userinput>make -C qt5 install &amp;&amp;
[55781c2]198install -m644 poppler-qt5.pc /usr/lib/pkgconfig</userinput></screen>
199-->
[8aee9eb]200 <para>
[4881073]201 To install the documentation, run the following commands as
202 <systemitem class="username">root</systemitem>:
[8aee9eb]203 </para>
204
[2a5ad24]205<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
[55781c2]206cp -vr ../glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
[d931c7f]207
[5dab7b65]208<!-- ==== Poppler Data ====== -->
209 <bridgehead renderas="sect3">Poppler Data</bridgehead>
210
[2511f83]211 <para>
212 If you downloaded the additional encoding data package, install it by
[dac5077]213 issuing the following commands:
[2511f83]214 </para>
[2c06b85]215
[55781c2]216<screen><userinput>tar -xf ../../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
[2c06b85]217cd poppler-data-&poppler-data-version;</userinput></screen>
218
[2511f83]219 <para>
220 Now, as the <systemitem class="username">root</systemitem> user:
221 </para>
[d931c7f]222
223<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
[0c7d410]224
[5474306]225 </sect2>
226
227 <sect2 role="commands">
228 <title>Command Explanations</title>
229
[da8baac5]230 <para>
[538d8db]231 <parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is used
[140a74cd]232 to apply a higher level of compiler optimizations.
[2511f83]233 </para>
[cf1a2b8]234
[78c7ea98]235 <para>
[538d8db]236 <parameter>-DTESTDATADIR=$PWD/testfiles</parameter>: Tell the test
[77a6d25]237 programs where the auxiliary files are located.
[78c7ea98]238 </para>
239
[538d8db]240 <para>
241 <parameter>-DENABLE_XPDF_HEADERS=ON</parameter>: Install some old
242 <application>Xpdf</application> headers required by certain programs (e.g.
243 <application>Okular</application>, <application>LibreOffice</application>
244 and <application>Inkscape</application>).
245 </para>
246
[9f11d7f]247 <para>
[140a74cd]248 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
249 GTK-Doc is installed and you wish to rebuild and install
250 the API documentation.
[2cd6717]251 </para>
252
[78c7ea98]253 <para>
[55781c2]254 <command>LC_ALL=en_US.UTF-8 make test</command>: Run the test suite.
[da8baac5]255 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
[78c7ea98]256 default locale does not include UTF-8.
257 </para>
258
[5474306]259 </sect2>
260
261 <sect2 role="content">
262 <title>Contents</title>
263
264 <segmentedlist>
265 <segtitle>Installed Programs</segtitle>
266 <segtitle>Installed Libraries</segtitle>
267 <segtitle>Installed Directories</segtitle>
268
269 <seglistitem>
[2511f83]270 <seg>
[697c45ec]271 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdfsig,
[140a74cd]272 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
273 pdfunite
[2511f83]274 </seg>
275 <seg>
[f3429309]276 libpoppler.so,
[8538618]277 libpoppler-cpp.so,
[c480c33]278 libpoppler-glib.so, and
[f3a6abc9]279 libpoppler-qt5.so
[2511f83]280 </seg>
281 <seg>
[55781c2]282 /usr/include/poppler,
283 /usr/share/poppler, and
284 /usr/share/doc/poppler-&poppler-version;
[2511f83]285 </seg>
[5474306]286 </seglistitem>
287 </segmentedlist>
288
289 <variablelist>
290 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
291 <?dbfo list-presentation="list"?>
292 <?dbhtml list-presentation="table"?>
293
[95b1905]294 <varlistentry id="pdfdetach">
295 <term><command>pdfdetach</command></term>
296 <listitem>
297 <para>
298 lists or extracts embedded files from PDF files.
299 </para>
300 <indexterm zone="poppler pdfdetach">
301 <primary sortas="b-pdfdetach">pdfdetach</primary>
302 </indexterm>
303 </listitem>
[0d7900a]304 </varlistentry>
305
[2d1ea57b]306 <varlistentry id="pdffonts">
[a5dfefb2]307 <term><command>pdffonts</command></term>
308 <listitem>
[2511f83]309 <para>
310 lists the fonts used in a PDF file along with various information
311 for each font.
312 </para>
[a5dfefb2]313 <indexterm zone="poppler pdffonts">
314 <primary sortas="b-pdffonts">pdffonts</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
[2d1ea57b]319 <varlistentry id="pdfimages">
[a5dfefb2]320 <term><command>pdfimages</command></term>
321 <listitem>
[2511f83]322 <para>
323 saves images from a PDF file as PPM, PBM, or JPEG files.
324 </para>
[a5dfefb2]325 <indexterm zone="poppler pdfimages">
326 <primary sortas="b-pdfimages">pdfimages</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
[2d1ea57b]331 <varlistentry id="pdfinfo">
[a5dfefb2]332 <term><command>pdfinfo</command></term>
333 <listitem>
[2511f83]334 <para>
335 prints the contents of the 'Info' dictionary (plus some other useful
336 information) from a PDF file.
337 </para>
[a5dfefb2]338 <indexterm zone="poppler pdfinfo">
339 <primary sortas="b-pdfinfo">pdfinfo</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="pdfseparate">
345 <term><command>pdfseparate</command></term>
346 <listitem>
[2511f83]347 <para>
348 extracts single pages from a PDF file.
349 </para>
[a5dfefb2]350 <indexterm zone="poppler pdfseparate">
351 <primary sortas="b-pdseparate">pdfseparate</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
[697c45ec]356 <varlistentry id="pdfsig">
357 <term><command>pdfsig</command></term>
358 <listitem>
359 <para>
360 verifies the digital signatures in a PDF document.
361 </para>
362 <indexterm zone="poppler pdfsig">
363 <primary sortas="b-pdseparate">pdfsig</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
[a5dfefb2]368 <varlistentry id="pdftocairo">
369 <term><command>pdftocairo</command></term>
370 <listitem>
[2511f83]371 <para>
372 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
373 EPS, SVG) using the cairo output device of the poppler library.
374 </para>
[a5dfefb2]375 <indexterm zone="poppler pdftocairo">
376 <primary sortas="b-pdftocairo">pdftocairo</primary>
377 </indexterm>
378 </listitem>
379 </varlistentry>
380
381 <varlistentry id="pdftohtml">
382 <term><command>pdftohtml</command></term>
383 <listitem>
[2511f83]384 <para>
385 converts a PDF file to HTML.
386 </para>
[a5dfefb2]387 <indexterm zone="poppler pdftohtml">
388 <primary sortas="b-pdftohtml">pdftohtml</primary>
389 </indexterm>
390 </listitem>
391 </varlistentry>
392
[2d1ea57b]393 <varlistentry id="pdftoppm">
[a5dfefb2]394 <term><command>pdftoppm</command></term>
395 <listitem>
[2511f83]396 <para>
397 converts PDF files to PBM, PGM and PPM formats.
398 </para>
[a5dfefb2]399 <indexterm zone="poppler pdftoppm">
400 <primary sortas="b-pdftoppm">pdftoppm</primary>
401 </indexterm>
402 </listitem>
403 </varlistentry>
404
[2d1ea57b]405 <varlistentry id="pdftops">
[a5dfefb2]406 <term><command>pdftops</command></term>
407 <listitem>
[2511f83]408 <para>
409 converts PDF files to Postscript format.
410 </para>
[a5dfefb2]411 <indexterm zone="poppler pdftops">
412 <primary sortas="b-pdftops">pdftops</primary>
413 </indexterm>
414 </listitem>
415 </varlistentry>
416
[2d1ea57b]417 <varlistentry id="pdftotext">
[a5dfefb2]418 <term><command>pdftotext</command></term>
419 <listitem>
[2511f83]420 <para>
421 converts PDF files to plain text.
422 </para>
[a5dfefb2]423 <indexterm zone="poppler pdftotext">
424 <primary sortas="b-pdftotext">pdftotext</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="pdfunite">
430 <term><command>pdfunite</command></term>
431 <listitem>
[2511f83]432 <para>
433 merges several PDF files, in the order of their occurrence on the
434 command line, to one PDF output file.
435 </para>
[a5dfefb2]436 <indexterm zone="poppler pdfunite">
437 <primary sortas="b-pdfunite">pdfunite</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
[f3a6abc9]479 <varlistentry id="libpoppler-qt5">
480 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
481 <listitem>
482 <para>
483 is a wrapper library used to interface the PDF rendering functions
484 with <application>Qt</application>5.
485 </para>
486 <indexterm zone="poppler libpoppler-qt5">
487 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
488 </indexterm>
489 </listitem>
490 </varlistentry>
491
[5474306]492 </variablelist>
[6459a7e2]493
[5474306]494 </sect2>
[6459a7e2]495
[5474306]496</sect1>
Note: See TracBrowser for help on using the repository browser.