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