source: general/graphlib/poppler.xml@ 140a74cd

10.0 10.1 11.0 11.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 140a74cd was 140a74cd, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to poppler-0.60.1.
Update to gobject-introspection-1.54.1.

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

  • Property mode set to 100644
File size: 14.8 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 "https://poppler.freedesktop.org/poppler-&poppler-version;.tar.xz">
8 <!ENTITY poppler-download-ftp " ">
9 <!ENTITY poppler-md5sum "7648416d51a6e9fbc4a75b6f8b53dd7c">
10 <!ENTITY poppler-size "1.4 MB">
11 <!ENTITY poppler-buildsize "58 MB (with Qt5 library and tests)">
12 <!ENTITY poppler-time "0.5 SBU (with parallelism=4, Qt5 library, and tests)">
13
14
15 <!ENTITY poppler-data-version "0.4.8">
16
17 <!ENTITY poppler-data-download-http "https://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
18 <!ENTITY poppler-data-md5sum "00f8989c804de84af0ba2ea629949980">
19 <!ENTITY poppler-data-size "4.1 MB">
20 <!ENTITY poppler-data-buildsize "24 MB">
21 <!ENTITY poppler-data-time "less than 0.1 SBU">
22]>
23
24<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
25 <?dbhtml filename="poppler.html"?>
26
27 <sect1info>
28 <othername>$LastChangedBy$</othername>
29 <date>$Date$</date>
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
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>
46
47 &lfs81_checked;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&poppler-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&poppler-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &poppler-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &poppler-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &poppler-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &poppler-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84
85 <itemizedlist spacing="compact">
86 <title>Poppler Encoding Data</title>
87 <listitem>
88 <para>
89 Download (HTTP): <ulink url="&poppler-data-download-http;"/>
90 </para>
91 </listitem>
92 <listitem>
93 <para>
94 Download MD5 sum: &poppler-data-md5sum;
95 </para>
96 </listitem>
97 <listitem>
98 <para>
99 Download size: &poppler-data-size;
100 </para>
101 </listitem>
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>
112 </itemizedlist>
113
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
122 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
123
124 <bridgehead renderas="sect4">Required</bridgehead>
125 <para role="required">
126 <xref linkend="cmake"/> and
127 <xref linkend="fontconfig"/>
128 </para>
129
130 <bridgehead renderas="sect4">Recommended</bridgehead>
131 <para role="recommended">
132 <xref linkend="cairo"/>,
133 <xref linkend="libjpeg"/>,
134 <xref linkend="libpng"/>,
135 <xref linkend="nss"/>, and
136 <xref linkend="openjpeg2"/>
137 </para>
138
139 <bridgehead renderas="sect4">Optional</bridgehead>
140 <para role="optional">
141 <xref linkend="curl"/>,
142 <xref linkend="gdk-pixbuf"/>,
143 <xref linkend="git"/> (for test files),
144 <xref linkend="gobject-introspection"/>,
145 <xref linkend="gtk-doc"/>,
146 <xref linkend="gtk3"/>,
147 <xref linkend="lcms2"/>,
148 <xref linkend="libtiff"/>,
149 <xref linkend="qt5"/>
150 (required for PDF support in <xref linkend="okular5"/>)
151 </para>
152
153 <para condition="html" role="usernotes">
154 User Notes: <ulink url="&blfs-wiki;/poppler"/>
155 </para>
156 </sect2>
157
158 <sect2 role="installation">
159 <title>Installation of Poppler</title>
160
161 <para>
162 Install <application>Poppler</application> by running the following
163 commands:
164 </para>
165
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 \
173 -DENABLE_GTK_DOC=ON \
174 .. &amp;&amp;
175
176make</userinput></screen>
177
178 <para>
179 In order to run the test suite, some testcases are needed and can
180 be obtained only from a git repository. The command to download
181 them is:
182<command>git clone git://git.freedesktop.org/git/poppler/test testfiles</command>.
183 Then issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
184 Only the Qt5 libraries are tested.
185 </para>
186
187 <para>
188 Now, as the <systemitem class="username">root</systemitem> user:
189 </para>
190
191<screen role="root"><userinput>
192make install &amp;&amp;
193make -C qt5 install &amp;&amp;
194
195install -m644 poppler-qt5.pc usr/lib/pkgconfig</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;
203cp -vr glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
204
205<!-- ==== Poppler Data ====== -->
206 <bridgehead renderas="sect3">Poppler Data</bridgehead>
207
208 <para>
209 If you downloaded the additional encoding data package, install it by
210 issuing the following commands:
211 </para>
212
213<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
214cd poppler-data-&poppler-data-version;</userinput></screen>
215
216 <para>
217 Now, as the <systemitem class="username">root</systemitem> user:
218 </para>
219
220<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
221
222 </sect2>
223
224 <sect2 role="commands">
225 <title>Command Explanations</title>
226
227 <para>
228 <option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used
229 to apply a higher level of compiler optimizations.
230 </para>
231
232 <para>
233 <option>-DTESTDATADIR=$PWD/testfiles</option>: Tell the test
234 programs where the auxiliary files are located.
235 </para>
236
237 <para>
238 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
239 GTK-Doc is installed and you wish to rebuild and install
240 the API documentation.
241 </para>
242
243 <para>
244 <command>LC_ALL=en_US.UTF-8 make check</command>: Run the test suite.
245 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
246 default locale does not include UTF-8.
247 </para>
248
249 </sect2>
250
251 <sect2 role="content">
252 <title>Contents</title>
253
254 <segmentedlist>
255 <segtitle>Installed Programs</segtitle>
256 <segtitle>Installed Libraries</segtitle>
257 <segtitle>Installed Directories</segtitle>
258
259 <seglistitem>
260 <seg>
261 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdfsig,
262 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
263 pdfunite
264 </seg>
265 <seg>
266 libpoppler.so,
267 libpoppler-cpp.so,
268 libpoppler-glib.so, and
269 libpoppler-qt5.so
270 </seg>
271 <seg>
272 /usr/include/poppler and
273 /usr/share/gtk-doc/poppler
274 </seg>
275 </seglistitem>
276 </segmentedlist>
277
278 <variablelist>
279 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
280 <?dbfo list-presentation="list"?>
281 <?dbhtml list-presentation="table"?>
282
283 <varlistentry id="pdfdetach">
284 <term><command>pdfdetach</command></term>
285 <listitem>
286 <para>
287 lists or extracts embedded files from PDF files.
288 </para>
289 <indexterm zone="poppler pdfdetach">
290 <primary sortas="b-pdfdetach">pdfdetach</primary>
291 </indexterm>
292 </listitem>
293 </varlistentry>
294
295 <varlistentry id="pdffonts">
296 <term><command>pdffonts</command></term>
297 <listitem>
298 <para>
299 lists the fonts used in a PDF file along with various information
300 for each font.
301 </para>
302 <indexterm zone="poppler pdffonts">
303 <primary sortas="b-pdffonts">pdffonts</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="pdfimages">
309 <term><command>pdfimages</command></term>
310 <listitem>
311 <para>
312 saves images from a PDF file as PPM, PBM, or JPEG files.
313 </para>
314 <indexterm zone="poppler pdfimages">
315 <primary sortas="b-pdfimages">pdfimages</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="pdfinfo">
321 <term><command>pdfinfo</command></term>
322 <listitem>
323 <para>
324 prints the contents of the 'Info' dictionary (plus some other useful
325 information) from a PDF file.
326 </para>
327 <indexterm zone="poppler pdfinfo">
328 <primary sortas="b-pdfinfo">pdfinfo</primary>
329 </indexterm>
330 </listitem>
331 </varlistentry>
332
333 <varlistentry id="pdfseparate">
334 <term><command>pdfseparate</command></term>
335 <listitem>
336 <para>
337 extracts single pages from a PDF file.
338 </para>
339 <indexterm zone="poppler pdfseparate">
340 <primary sortas="b-pdseparate">pdfseparate</primary>
341 </indexterm>
342 </listitem>
343 </varlistentry>
344
345 <varlistentry id="pdfsig">
346 <term><command>pdfsig</command></term>
347 <listitem>
348 <para>
349 verifies the digital signatures in a PDF document.
350 </para>
351 <indexterm zone="poppler pdfsig">
352 <primary sortas="b-pdseparate">pdfsig</primary>
353 </indexterm>
354 </listitem>
355 </varlistentry>
356
357 <varlistentry id="pdftocairo">
358 <term><command>pdftocairo</command></term>
359 <listitem>
360 <para>
361 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
362 EPS, SVG) using the cairo output device of the poppler library.
363 </para>
364 <indexterm zone="poppler pdftocairo">
365 <primary sortas="b-pdftocairo">pdftocairo</primary>
366 </indexterm>
367 </listitem>
368 </varlistentry>
369
370 <varlistentry id="pdftohtml">
371 <term><command>pdftohtml</command></term>
372 <listitem>
373 <para>
374 converts a PDF file to HTML.
375 </para>
376 <indexterm zone="poppler pdftohtml">
377 <primary sortas="b-pdftohtml">pdftohtml</primary>
378 </indexterm>
379 </listitem>
380 </varlistentry>
381
382 <varlistentry id="pdftoppm">
383 <term><command>pdftoppm</command></term>
384 <listitem>
385 <para>
386 converts PDF files to PBM, PGM and PPM formats.
387 </para>
388 <indexterm zone="poppler pdftoppm">
389 <primary sortas="b-pdftoppm">pdftoppm</primary>
390 </indexterm>
391 </listitem>
392 </varlistentry>
393
394 <varlistentry id="pdftops">
395 <term><command>pdftops</command></term>
396 <listitem>
397 <para>
398 converts PDF files to Postscript format.
399 </para>
400 <indexterm zone="poppler pdftops">
401 <primary sortas="b-pdftops">pdftops</primary>
402 </indexterm>
403 </listitem>
404 </varlistentry>
405
406 <varlistentry id="pdftotext">
407 <term><command>pdftotext</command></term>
408 <listitem>
409 <para>
410 converts PDF files to plain text.
411 </para>
412 <indexterm zone="poppler pdftotext">
413 <primary sortas="b-pdftotext">pdftotext</primary>
414 </indexterm>
415 </listitem>
416 </varlistentry>
417
418 <varlistentry id="pdfunite">
419 <term><command>pdfunite</command></term>
420 <listitem>
421 <para>
422 merges several PDF files, in the order of their occurrence on the
423 command line, to one PDF output file.
424 </para>
425 <indexterm zone="poppler pdfunite">
426 <primary sortas="b-pdfunite">pdfunite</primary>
427 </indexterm>
428 </listitem>
429 </varlistentry>
430
431 <varlistentry id="libpoppler">
432 <term><filename class="libraryfile">libpoppler.so</filename></term>
433 <listitem>
434 <para>
435 contains the API functions to render PDF files.
436 </para>
437 <indexterm zone="poppler libpoppler">
438 <primary sortas="c-libpoppler">libpoppler.so</primary>
439 </indexterm>
440 </listitem>
441 </varlistentry>
442
443 <varlistentry id="libpoppler-cpp">
444 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
445 <listitem>
446 <para>
447 is a C++ backend for rendering PDF files.
448 </para>
449 <indexterm zone="poppler libpoppler-cpp">
450 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
451 </indexterm>
452 </listitem>
453 </varlistentry>
454
455 <varlistentry id="libpoppler-glib">
456 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
457 <listitem>
458 <para>
459 is a wrapper library used to interface the PDF rendering functions
460 with <application>GTK+</application>.
461 </para>
462 <indexterm zone="poppler libpoppler-glib">
463 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467
468 <varlistentry id="libpoppler-qt5">
469 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
470 <listitem>
471 <para>
472 is a wrapper library used to interface the PDF rendering functions
473 with <application>Qt</application>5.
474 </para>
475 <indexterm zone="poppler libpoppler-qt5">
476 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
477 </indexterm>
478 </listitem>
479 </varlistentry>
480
481 </variablelist>
482
483 </sect2>
484
485</sect1>
Note: See TracBrowser for help on using the repository browser.