source: general/graphlib/poppler.xml@ 41067694

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 41067694 was 2511f83, checked in by Andrew Benton <andy@…>, 12 years ago

Poppler tweaks
commented out some references to xpdf as it is no longer in the book.
added --enable-xpdf-headers to the default options as it is required by 3 packages in the book
added an optional patch to use lcms2

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

  • Property mode set to 100644
File size: 14.4 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
8 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz">
9 <!ENTITY poppler-download-ftp " ">
10 <!ENTITY poppler-md5sum "12658f3308597e57f3faff538cc73baf">
11 <!ENTITY poppler-size "1.9 MB">
12 <!ENTITY poppler-buildsize "28 MB (excluding the encoding data) and
13 112 MB (including the encoding data)">
14 <!ENTITY poppler-time "1.3 SBU (includes building with most
15 dependencies)">
16
17 <!ENTITY poppler-data-version "0.4.5">
18 <!ENTITY poppler-data-download-http
19 "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
20 <!ENTITY poppler-data-md5sum "448dd7c5077570e340340706cef931aa">
21 <!ENTITY poppler-data-size "4.0 MB">
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 &lfs71_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 </itemizedlist>
103
104 <para>
105 The additional package consists of encoding files for use with
106 <application>Poppler</application>. The encoding files are optional and
107 <application>Poppler</application> will automatically read them if they
108 are present. When installed, they enable
109 <application>Poppler</application> to render CJK and Cyrillic properly.
110 </para>
111
112 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
113 <itemizedlist spacing="compact">
114 <listitem>
115 <para>
116 Optional patch (if you want to use <application>Lcms 2</application>):
117 <ulink url="&patch-root;/poppler-&poppler-version;-lcms2-1.patch"/>
118 </para>
119 </listitem>
120 </itemizedlist>
121
122 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
123
124 <bridgehead renderas="sect4">Required</bridgehead>
125 <para role="required">
126 <xref linkend="fontconfig"/> and
127 <xref linkend="pkgconfig"/>
128 </para>
129
130 <bridgehead renderas="sect4">Recommended</bridgehead>
131 <para role="recommended">
132 <xref linkend="libjpeg"/>,
133 <xref linkend="cairo"/> and
134 <xref linkend="openjpeg"/>.
135 </para>
136
137 <bridgehead renderas="sect4">Optional</bridgehead>
138 <para role="optional">
139 <xref linkend="curl"/>,
140 <xref linkend="gtk2"/>,
141 <xref linkend="lcms"/> or <xref linkend="lcms2"/>,
142 <xref linkend="libtiff"/>,
143 <xref linkend="libxml2"/> and
144 <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library
145 is needed for PDF support in <application>Okular</application>).
146 </para>
147
148 <para condition="html" role="usernotes">
149 User Notes: <ulink url="&blfs-wiki;/poppler"/>
150 </para>
151 </sect2>
152
153 <sect2 role="installation">
154 <title>Installation of Poppler</title>
155
156 <para>
157 If you have installed <xref linkend="lcms2"/> and would like
158 <application>Poppler</application> to use it, apply the
159 <application>Lcms 2</application> patch:
160 </para>
161
162<screen><userinput>patch -p1 &lt; ../poppler-&poppler-version;-lcms2-1.patch</userinput></screen>
163
164 <para>
165 Install <application>Poppler</application> by running the following
166 commands:
167 </para>
168
169<!-- Xpdf is no longer in the book
170 <caution>
171 <para>
172 <application>Poppler</application> will overwrite command-line utilities
173 and man pages previously installed by the
174 <application>Xpdf</application> package. If you prefer to keep the
175 <application>Xpdf</application> versions of these files, pass the
176 <option>-&#45;disable-utils</option> parameter to the
177 <command>configure</command> command below.
178 </para>
179 </caution>
180-->
181
182<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
183 --disable-static --enable-xpdf-headers &amp;&amp;
184make</userinput></screen>
185
186 <para>
187 This package does not come with a test suite.
188 </para>
189
190 <para>
191 Now, as the <systemitem class="username">root</systemitem> user:
192 </para>
193
194<screen role="root"><userinput>make install &amp;&amp;
195install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
196install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
197
198 <para>
199 If you downloaded the additional encoding data package, install it by
200 issuing the following commands:
201 </para>
202
203<screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &amp;&amp;
204cd poppler-data-&poppler-data-version;</userinput></screen>
205
206 <para>
207 Now, as the <systemitem class="username">root</systemitem> user:
208 </para>
209
210<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
211 </sect2>
212
213 <sect2 role="commands">
214 <title>Command Explanations</title>
215
216 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
217 href="../../xincludes/static-libraries.xml"/>
218
219 <para>
220 <option>--enable-xpdf-headers</option>: Install some old
221 <application>Xpdf</application> headers required by certain programs (e.g.
222 <application>Okular</application>, <application>Libre Office</application>
223 and <application>Inkscape</application>).
224 </para>
225
226 <para>
227 <parameter>-enable-zlib</parameter>: This parameter makes
228 <application>Poppler</application> link with the system-installed
229 <filename class='libraryfile'>libz</filename> library to enable compressed
230 PDF functionality.
231 </para>
232 </sect2>
233
234 <sect2 role="content">
235 <title>Contents</title>
236
237 <segmentedlist>
238 <segtitle>Installed Programs</segtitle>
239 <segtitle>Installed Libraries</segtitle>
240 <segtitle>Installed Directories</segtitle>
241
242 <seglistitem>
243 <seg>
244 pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml,
245 pdftoppm, pdftops, pdftotext, pdfunite and poppler-glib-demo
246 </seg>
247 <seg>
248 libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so and
249 libpoppler-qt4.so
250 </seg>
251 <seg>
252 /usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
253 /usr/share/gtk-doc/html/poppler and /usr/share/poppler
254 </seg>
255 </seglistitem>
256 </segmentedlist>
257
258 <variablelist>
259 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
260 <?dbfo list-presentation="list"?>
261 <?dbhtml list-presentation="table"?>
262
263 <varlistentry id="pdffonts">
264 <term><command>pdffonts</command></term>
265 <listitem>
266 <para>
267 lists the fonts used in a PDF file along with various information
268 for each font.
269 </para>
270 <indexterm zone="poppler pdffonts">
271 <primary sortas="b-pdffonts">pdffonts</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="pdfimages">
277 <term><command>pdfimages</command></term>
278 <listitem>
279 <para>
280 saves images from a PDF file as PPM, PBM, or JPEG files.
281 </para>
282 <indexterm zone="poppler pdfimages">
283 <primary sortas="b-pdfimages">pdfimages</primary>
284 </indexterm>
285 </listitem>
286 </varlistentry>
287
288 <varlistentry id="pdfinfo">
289 <term><command>pdfinfo</command></term>
290 <listitem>
291 <para>
292 prints the contents of the 'Info' dictionary (plus some other useful
293 information) from a PDF file.
294 </para>
295 <indexterm zone="poppler pdfinfo">
296 <primary sortas="b-pdfinfo">pdfinfo</primary>
297 </indexterm>
298 </listitem>
299 </varlistentry>
300
301 <varlistentry id="pdfseparate">
302 <term><command>pdfseparate</command></term>
303 <listitem>
304 <para>
305 extracts single pages from a PDF file.
306 </para>
307 <indexterm zone="poppler pdfseparate">
308 <primary sortas="b-pdseparate">pdfseparate</primary>
309 </indexterm>
310 </listitem>
311 </varlistentry>
312
313 <varlistentry id="pdftocairo">
314 <term><command>pdftocairo</command></term>
315 <listitem>
316 <para>
317 converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
318 EPS, SVG) using the cairo output device of the poppler library.
319 </para>
320 <indexterm zone="poppler pdftocairo">
321 <primary sortas="b-pdftocairo">pdftocairo</primary>
322 </indexterm>
323 </listitem>
324 </varlistentry>
325
326 <varlistentry id="pdftohtml">
327 <term><command>pdftohtml</command></term>
328 <listitem>
329 <para>
330 converts a PDF file to HTML.
331 </para>
332 <indexterm zone="poppler pdftohtml">
333 <primary sortas="b-pdftohtml">pdftohtml</primary>
334 </indexterm>
335 </listitem>
336 </varlistentry>
337
338 <varlistentry id="pdftoppm">
339 <term><command>pdftoppm</command></term>
340 <listitem>
341 <para>
342 converts PDF files to PBM, PGM and PPM formats.
343 </para>
344 <indexterm zone="poppler pdftoppm">
345 <primary sortas="b-pdftoppm">pdftoppm</primary>
346 </indexterm>
347 </listitem>
348 </varlistentry>
349
350 <varlistentry id="pdftops">
351 <term><command>pdftops</command></term>
352 <listitem>
353 <para>
354 converts PDF files to Postscript format.
355 </para>
356 <indexterm zone="poppler pdftops">
357 <primary sortas="b-pdftops">pdftops</primary>
358 </indexterm>
359 </listitem>
360 </varlistentry>
361
362 <varlistentry id="pdftotext">
363 <term><command>pdftotext</command></term>
364 <listitem>
365 <para>
366 converts PDF files to plain text.
367 </para>
368 <indexterm zone="poppler pdftotext">
369 <primary sortas="b-pdftotext">pdftotext</primary>
370 </indexterm>
371 </listitem>
372 </varlistentry>
373
374 <varlistentry id="pdfunite">
375 <term><command>pdfunite</command></term>
376 <listitem>
377 <para>
378 merges several PDF files, in the order of their occurrence on the
379 command line, to one PDF output file.
380 </para>
381 <indexterm zone="poppler pdfunite">
382 <primary sortas="b-pdfunite">pdfunite</primary>
383 </indexterm>
384 </listitem>
385 </varlistentry>
386
387 <varlistentry id="poppler-glib-demo">
388 <term><command>poppler-glib-demo</command></term>
389 <listitem>
390 <para>
391 is a tool to demonstrate the API, and for use when debugging and
392 testing <application>poppler</application>.
393 </para>
394 <indexterm zone="poppler poppler-glib-demo">
395 <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="libpoppler">
401 <term><filename class='libraryfile'>libpoppler.so</filename></term>
402 <listitem>
403 <para>
404 contains the API functions to render PDF files.
405 </para>
406 <indexterm zone="poppler libpoppler">
407 <primary sortas="c-libpoppler">libpoppler.so</primary>
408 </indexterm>
409 </listitem>
410 </varlistentry>
411
412 <varlistentry id="libpoppler-cpp">
413 <term><filename class='libraryfile'>libpoppler-cpp.so</filename></term>
414 <listitem>
415 <para>
416 is a C++ backend for rendering PDF files.
417 </para>
418 <indexterm zone="poppler libpoppler-cpp">
419 <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
420 </indexterm>
421 </listitem>
422 </varlistentry>
423
424 <varlistentry id="libpoppler-glib">
425 <term><filename class='libraryfile'>libpoppler-glib.so</filename></term>
426 <listitem>
427 <para>
428 is a wrapper library used to interface the PDF rendering functions
429 with <application>GTK+</application>.
430 </para>
431 <indexterm zone="poppler libpoppler-glib">
432 <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
433 </indexterm>
434 </listitem>
435 </varlistentry>
436
437 <varlistentry id="libpoppler-qt4">
438 <term><filename class='libraryfile'>libpoppler-qt4.so</filename></term>
439 <listitem>
440 <para>
441 is a wrapper library used to interface the PDF rendering functions
442 with <application>Qt</application>-4.
443 </para>
444 <indexterm zone="poppler libpoppler-qt4">
445 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449 </variablelist>
450 </sect2>
451</sect1>
Note: See TracBrowser for help on using the repository browser.