source: general/graphlib/poppler.xml@ eb31fb51

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 eb31fb51 was eb31fb51, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Fix systemd url and various spacing issues

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19306 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;
175make</userinput></screen>
176
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>.
182 Then issue: <command>LC_ALL=en_US.UTF-8 make check</command>.
183 Only the Qt5 libraries are tested.
184 </para>
185
186 <para>
187 Now, as the <systemitem class="username">root</systemitem> user:
188 </para>
189
190<screen role="root"><userinput>make install &amp;&amp;
191make -C qt5 install &amp;&amp;
192
193install -m644 poppler-qt5.pc usr/lib/pkgconfig</userinput></screen>
194
195 <para>
196 To install the documentation, run the following commands as
197 <systemitem class="username">root</systemitem>:
198 </para>
199
200<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
201cp -vr glib/reference/html /usr/share/doc/poppler-&poppler-version;</userinput></screen>
202
203<!-- ==== Poppler Data ====== -->
204 <bridgehead renderas="sect3">Poppler Data</bridgehead>
205
206 <para>
207 If you downloaded the additional encoding data package, install it by
208 issuing the following commands:
209 </para>
210
211<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
212cd poppler-data-&poppler-data-version;</userinput></screen>
213
214 <para>
215 Now, as the <systemitem class="username">root</systemitem> user:
216 </para>
217
218<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
219
220 </sect2>
221
222 <sect2 role="commands">
223 <title>Command Explanations</title>
224
225 <para>
226 <option>-DCMAKE_BUILD_TYPE=Release</option>: This switch is used
227 to apply a higher level of compiler optimizations.
228 </para>
229
230 <para>
231 <option>-DTESTDATADIR=$PWD/testfiles</option>: Tell the test
232 programs where the auxiliary files are located.
233 </para>
234
235 <para>
236 <option>-DENABLE_GTK_DOC=ON</option>: Use this parameter if
237 GTK-Doc is installed and you wish to rebuild and install
238 the API documentation.
239 </para>
240
241 <para>
242 <command>LC_ALL=en_US.UTF-8 make check</command>: Run the test suite.
243 The environment variable LC_ALL=en_US.UTF-8 is only needed if the
244 default locale does not include UTF-8.
245 </para>
246
247 </sect2>
248
249 <sect2 role="content">
250 <title>Contents</title>
251
252 <segmentedlist>
253 <segtitle>Installed Programs</segtitle>
254 <segtitle>Installed Libraries</segtitle>
255 <segtitle>Installed Directories</segtitle>
256
257 <seglistitem>
258 <seg>
259 pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdfsig,
260 pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, and
261 pdfunite
262 </seg>
263 <seg>
264 libpoppler.so,
265 libpoppler-cpp.so,
266 libpoppler-glib.so, and
267 libpoppler-qt5.so
268 </seg>
269 <seg>
270 /usr/include/poppler and
271 /usr/share/gtk-doc/poppler
272 </seg>
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
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>
291 </varlistentry>
292
293 <varlistentry id="pdffonts">
294 <term><command>pdffonts</command></term>
295 <listitem>
296 <para>
297 lists the fonts used in a PDF file along with various information
298 for each font.
299 </para>
300 <indexterm zone="poppler pdffonts">
301 <primary sortas="b-pdffonts">pdffonts</primary>
302 </indexterm>
303 </listitem>
304 </varlistentry>
305
306 <varlistentry id="pdfimages">
307 <term><command>pdfimages</command></term>
308 <listitem>
309 <para>
310 saves images from a PDF file as PPM, PBM, or JPEG files.
311 </para>
312 <indexterm zone="poppler pdfimages">
313 <primary sortas="b-pdfimages">pdfimages</primary>
314 </indexterm>
315 </listitem>
316 </varlistentry>
317
318 <varlistentry id="pdfinfo">
319 <term><command>pdfinfo</command></term>
320 <listitem>
321 <para>
322 prints the contents of the 'Info' dictionary (plus some other useful
323 information) from a PDF file.
324 </para>
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>
334 <para>
335 extracts single pages from a PDF file.
336 </para>
337 <indexterm zone="poppler pdfseparate">
338 <primary sortas="b-pdseparate">pdfseparate</primary>
339 </indexterm>
340 </listitem>
341 </varlistentry>
342
343 <varlistentry id="pdfsig">
344 <term><command>pdfsig</command></term>
345 <listitem>
346 <para>
347 verifies the digital signatures in a PDF document.
348 </para>
349 <indexterm zone="poppler pdfsig">
350 <primary sortas="b-pdseparate">pdfsig</primary>
351 </indexterm>
352 </listitem>
353 </varlistentry>
354
355 <varlistentry id="pdftocairo">
356 <term><command>pdftocairo</command></term>
357 <listitem>
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>
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>
371 <para>
372 converts a PDF file to HTML.
373 </para>
374 <indexterm zone="poppler pdftohtml">
375 <primary sortas="b-pdftohtml">pdftohtml</primary>
376 </indexterm>
377 </listitem>
378 </varlistentry>
379
380 <varlistentry id="pdftoppm">
381 <term><command>pdftoppm</command></term>
382 <listitem>
383 <para>
384 converts PDF files to PBM, PGM and PPM formats.
385 </para>
386 <indexterm zone="poppler pdftoppm">
387 <primary sortas="b-pdftoppm">pdftoppm</primary>
388 </indexterm>
389 </listitem>
390 </varlistentry>
391
392 <varlistentry id="pdftops">
393 <term><command>pdftops</command></term>
394 <listitem>
395 <para>
396 converts PDF files to Postscript format.
397 </para>
398 <indexterm zone="poppler pdftops">
399 <primary sortas="b-pdftops">pdftops</primary>
400 </indexterm>
401 </listitem>
402 </varlistentry>
403
404 <varlistentry id="pdftotext">
405 <term><command>pdftotext</command></term>
406 <listitem>
407 <para>
408 converts PDF files to plain text.
409 </para>
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>
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>
423 <indexterm zone="poppler pdfunite">
424 <primary sortas="b-pdfunite">pdfunite</primary>
425 </indexterm>
426 </listitem>
427 </varlistentry>
428
429 <varlistentry id="libpoppler">
430 <term><filename class="libraryfile">libpoppler.so</filename></term>
431 <listitem>
432 <para>
433 contains the API functions to render PDF files.
434 </para>
435 <indexterm zone="poppler libpoppler">
436 <primary sortas="c-libpoppler">libpoppler.so</primary>
437 </indexterm>
438 </listitem>
439 </varlistentry>
440
441 <varlistentry id="libpoppler-cpp">
442 <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
443 <listitem>
444 <para>
445 is a C++ backend for rendering PDF files.
446 </para>
447 <indexterm zone="poppler libpoppler-cpp">
448 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
449 </indexterm>
450 </listitem>
451 </varlistentry>
452
453 <varlistentry id="libpoppler-glib">
454 <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
455 <listitem>
456 <para>
457 is a wrapper library used to interface the PDF rendering functions
458 with <application>GTK+</application>.
459 </para>
460 <indexterm zone="poppler libpoppler-glib">
461 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
462 </indexterm>
463 </listitem>
464 </varlistentry>
465
466 <varlistentry id="libpoppler-qt5">
467 <term><filename class="libraryfile">libpoppler-qt5.so</filename></term>
468 <listitem>
469 <para>
470 is a wrapper library used to interface the PDF rendering functions
471 with <application>Qt</application>5.
472 </para>
473 <indexterm zone="poppler libpoppler-qt5">
474 <primary sortas="c-libpoppler-qt5">libpoppler-qt5.so</primary>
475 </indexterm>
476 </listitem>
477 </varlistentry>
478
479 </variablelist>
480
481 </sect2>
482
483</sect1>
Note: See TracBrowser for help on using the repository browser.