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.xz">
|
---|
9 | <!ENTITY poppler-download-ftp " ">
|
---|
10 | <!ENTITY poppler-md5sum "891000481f639e996d000d767d953a7f">
|
---|
11 | <!ENTITY poppler-size "1.4 MB">
|
---|
12 | <!ENTITY poppler-buildsize "123 MB (excluding the encoding data) and
|
---|
13 | 122 MB (including the encoding data)">
|
---|
14 | <!ENTITY poppler-time "1.5 SBU">
|
---|
15 |
|
---|
16 | <!ENTITY poppler-data-version "0.4.6">
|
---|
17 |
|
---|
18 | <!ENTITY poppler-data-download-http
|
---|
19 | "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
|
---|
20 | <!ENTITY poppler-data-md5sum "a8a7ca808827dd674faba6e4fc73b471">
|
---|
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 | &lfs73_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="qt4"/> (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 | <!-- Warning: Using zlib is not totally safe -->
|
---|
152 | <screen><userinput>./configure --prefix=/usr \
|
---|
153 | --sysconfdir=/etc \
|
---|
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 |
|
---|
184 | </sect2>
|
---|
185 |
|
---|
186 | <sect2 role="commands">
|
---|
187 | <title>Command Explanations</title>
|
---|
188 |
|
---|
189 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
190 | href="../../xincludes/static-libraries.xml"/>
|
---|
191 |
|
---|
192 | <para>
|
---|
193 | <option>--enable-xpdf-headers</option>: Install some old
|
---|
194 | <application>Xpdf</application> headers required by certain programs (e.g.
|
---|
195 | <application>Okular</application>, <application>LibreOffice</application>
|
---|
196 | and <application>Inkscape</application>).
|
---|
197 | </para>
|
---|
198 |
|
---|
199 | <para>
|
---|
200 | <option>--enable-libcurl</option>: Use libcurl for HTTP support.
|
---|
201 | </para>
|
---|
202 |
|
---|
203 | </sect2>
|
---|
204 |
|
---|
205 | <sect2 role="content">
|
---|
206 | <title>Contents</title>
|
---|
207 |
|
---|
208 | <segmentedlist>
|
---|
209 | <segtitle>Installed Programs</segtitle>
|
---|
210 | <segtitle>Installed Libraries</segtitle>
|
---|
211 | <segtitle>Installed Directories</segtitle>
|
---|
212 |
|
---|
213 | <seglistitem>
|
---|
214 | <seg>
|
---|
215 | pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate,
|
---|
216 | pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext,
|
---|
217 | pdfunite, and poppler-glib-demo
|
---|
218 | </seg>
|
---|
219 | <seg>
|
---|
220 | libpoppler.so, libpoppler-cpp.so,
|
---|
221 | libpoppler-glib.so, and
|
---|
222 | libpoppler-qt4.so
|
---|
223 | </seg>
|
---|
224 | <seg>
|
---|
225 | /usr/include/poppler,
|
---|
226 | /usr/share/doc/poppler-&poppler-version;,
|
---|
227 | /usr/share/gtk-doc/html/poppler, and
|
---|
228 | /usr/share/poppler
|
---|
229 | </seg>
|
---|
230 | </seglistitem>
|
---|
231 | </segmentedlist>
|
---|
232 |
|
---|
233 | <variablelist>
|
---|
234 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
235 | <?dbfo list-presentation="list"?>
|
---|
236 | <?dbhtml list-presentation="table"?>
|
---|
237 |
|
---|
238 | <varlistentry id="pdfdetach">
|
---|
239 | <term><command>pdfdetach</command></term>
|
---|
240 | <listitem>
|
---|
241 | <para>
|
---|
242 | lists or extracts embedded files from PDF files.
|
---|
243 | </para>
|
---|
244 | <indexterm zone="poppler pdfdetach">
|
---|
245 | <primary sortas="b-pdfdetach">pdfdetach</primary>
|
---|
246 | </indexterm>
|
---|
247 | </listitem>
|
---|
248 | </varlistentry>
|
---|
249 |
|
---|
250 | <varlistentry id="pdffonts">
|
---|
251 | <term><command>pdffonts</command></term>
|
---|
252 | <listitem>
|
---|
253 | <para>
|
---|
254 | lists the fonts used in a PDF file along with various information
|
---|
255 | for each font.
|
---|
256 | </para>
|
---|
257 | <indexterm zone="poppler pdffonts">
|
---|
258 | <primary sortas="b-pdffonts">pdffonts</primary>
|
---|
259 | </indexterm>
|
---|
260 | </listitem>
|
---|
261 | </varlistentry>
|
---|
262 |
|
---|
263 | <varlistentry id="pdfimages">
|
---|
264 | <term><command>pdfimages</command></term>
|
---|
265 | <listitem>
|
---|
266 | <para>
|
---|
267 | saves images from a PDF file as PPM, PBM, or JPEG files.
|
---|
268 | </para>
|
---|
269 | <indexterm zone="poppler pdfimages">
|
---|
270 | <primary sortas="b-pdfimages">pdfimages</primary>
|
---|
271 | </indexterm>
|
---|
272 | </listitem>
|
---|
273 | </varlistentry>
|
---|
274 |
|
---|
275 | <varlistentry id="pdfinfo">
|
---|
276 | <term><command>pdfinfo</command></term>
|
---|
277 | <listitem>
|
---|
278 | <para>
|
---|
279 | prints the contents of the 'Info' dictionary (plus some other useful
|
---|
280 | information) from a PDF file.
|
---|
281 | </para>
|
---|
282 | <indexterm zone="poppler pdfinfo">
|
---|
283 | <primary sortas="b-pdfinfo">pdfinfo</primary>
|
---|
284 | </indexterm>
|
---|
285 | </listitem>
|
---|
286 | </varlistentry>
|
---|
287 |
|
---|
288 | <varlistentry id="pdfseparate">
|
---|
289 | <term><command>pdfseparate</command></term>
|
---|
290 | <listitem>
|
---|
291 | <para>
|
---|
292 | extracts single pages from a PDF file.
|
---|
293 | </para>
|
---|
294 | <indexterm zone="poppler pdfseparate">
|
---|
295 | <primary sortas="b-pdseparate">pdfseparate</primary>
|
---|
296 | </indexterm>
|
---|
297 | </listitem>
|
---|
298 | </varlistentry>
|
---|
299 |
|
---|
300 | <varlistentry id="pdftocairo">
|
---|
301 | <term><command>pdftocairo</command></term>
|
---|
302 | <listitem>
|
---|
303 | <para>
|
---|
304 | converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
|
---|
305 | EPS, SVG) using the cairo output device of the poppler library.
|
---|
306 | </para>
|
---|
307 | <indexterm zone="poppler pdftocairo">
|
---|
308 | <primary sortas="b-pdftocairo">pdftocairo</primary>
|
---|
309 | </indexterm>
|
---|
310 | </listitem>
|
---|
311 | </varlistentry>
|
---|
312 |
|
---|
313 | <varlistentry id="pdftohtml">
|
---|
314 | <term><command>pdftohtml</command></term>
|
---|
315 | <listitem>
|
---|
316 | <para>
|
---|
317 | converts a PDF file to HTML.
|
---|
318 | </para>
|
---|
319 | <indexterm zone="poppler pdftohtml">
|
---|
320 | <primary sortas="b-pdftohtml">pdftohtml</primary>
|
---|
321 | </indexterm>
|
---|
322 | </listitem>
|
---|
323 | </varlistentry>
|
---|
324 |
|
---|
325 | <varlistentry id="pdftoppm">
|
---|
326 | <term><command>pdftoppm</command></term>
|
---|
327 | <listitem>
|
---|
328 | <para>
|
---|
329 | converts PDF files to PBM, PGM and PPM formats.
|
---|
330 | </para>
|
---|
331 | <indexterm zone="poppler pdftoppm">
|
---|
332 | <primary sortas="b-pdftoppm">pdftoppm</primary>
|
---|
333 | </indexterm>
|
---|
334 | </listitem>
|
---|
335 | </varlistentry>
|
---|
336 |
|
---|
337 | <varlistentry id="pdftops">
|
---|
338 | <term><command>pdftops</command></term>
|
---|
339 | <listitem>
|
---|
340 | <para>
|
---|
341 | converts PDF files to Postscript format.
|
---|
342 | </para>
|
---|
343 | <indexterm zone="poppler pdftops">
|
---|
344 | <primary sortas="b-pdftops">pdftops</primary>
|
---|
345 | </indexterm>
|
---|
346 | </listitem>
|
---|
347 | </varlistentry>
|
---|
348 |
|
---|
349 | <varlistentry id="pdftotext">
|
---|
350 | <term><command>pdftotext</command></term>
|
---|
351 | <listitem>
|
---|
352 | <para>
|
---|
353 | converts PDF files to plain text.
|
---|
354 | </para>
|
---|
355 | <indexterm zone="poppler pdftotext">
|
---|
356 | <primary sortas="b-pdftotext">pdftotext</primary>
|
---|
357 | </indexterm>
|
---|
358 | </listitem>
|
---|
359 | </varlistentry>
|
---|
360 |
|
---|
361 | <varlistentry id="pdfunite">
|
---|
362 | <term><command>pdfunite</command></term>
|
---|
363 | <listitem>
|
---|
364 | <para>
|
---|
365 | merges several PDF files, in the order of their occurrence on the
|
---|
366 | command line, to one PDF output file.
|
---|
367 | </para>
|
---|
368 | <indexterm zone="poppler pdfunite">
|
---|
369 | <primary sortas="b-pdfunite">pdfunite</primary>
|
---|
370 | </indexterm>
|
---|
371 | </listitem>
|
---|
372 | </varlistentry>
|
---|
373 |
|
---|
374 | <varlistentry id="poppler-glib-demo">
|
---|
375 | <term><command>poppler-glib-demo</command></term>
|
---|
376 | <listitem>
|
---|
377 | <para>
|
---|
378 | is a tool to demonstrate the API, and for use when debugging and
|
---|
379 | testing <application>Poppler</application>.
|
---|
380 | </para>
|
---|
381 | <indexterm zone="poppler poppler-glib-demo">
|
---|
382 | <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
|
---|
383 | </indexterm>
|
---|
384 | </listitem>
|
---|
385 | </varlistentry>
|
---|
386 |
|
---|
387 | <varlistentry id="libpoppler">
|
---|
388 | <term><filename class="libraryfile">libpoppler.so</filename></term>
|
---|
389 | <listitem>
|
---|
390 | <para>
|
---|
391 | contains the API functions to render PDF files.
|
---|
392 | </para>
|
---|
393 | <indexterm zone="poppler libpoppler">
|
---|
394 | <primary sortas="c-libpoppler">libpoppler.so</primary>
|
---|
395 | </indexterm>
|
---|
396 | </listitem>
|
---|
397 | </varlistentry>
|
---|
398 |
|
---|
399 | <varlistentry id="libpoppler-cpp">
|
---|
400 | <term><filename class="libraryfile">libpoppler-cpp.so</filename></term>
|
---|
401 | <listitem>
|
---|
402 | <para>
|
---|
403 | is a C++ backend for rendering PDF files.
|
---|
404 | </para>
|
---|
405 | <indexterm zone="poppler libpoppler-cpp">
|
---|
406 | <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
|
---|
407 | </indexterm>
|
---|
408 | </listitem>
|
---|
409 | </varlistentry>
|
---|
410 |
|
---|
411 | <varlistentry id="libpoppler-glib">
|
---|
412 | <term><filename class="libraryfile">libpoppler-glib.so</filename></term>
|
---|
413 | <listitem>
|
---|
414 | <para>
|
---|
415 | is a wrapper library used to interface the PDF rendering functions
|
---|
416 | with <application>GTK+</application>.
|
---|
417 | </para>
|
---|
418 | <indexterm zone="poppler libpoppler-glib">
|
---|
419 | <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
|
---|
420 | </indexterm>
|
---|
421 | </listitem>
|
---|
422 | </varlistentry>
|
---|
423 |
|
---|
424 | <varlistentry id="libpoppler-qt4">
|
---|
425 | <term><filename class="libraryfile">libpoppler-qt4.so</filename></term>
|
---|
426 | <listitem>
|
---|
427 | <para>
|
---|
428 | is a wrapper library used to interface the PDF rendering functions
|
---|
429 | with <application>Qt</application>-4.
|
---|
430 | </para>
|
---|
431 | <indexterm zone="poppler libpoppler-qt4">
|
---|
432 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
|
---|
433 | </indexterm>
|
---|
434 | </listitem>
|
---|
435 | </varlistentry>
|
---|
436 |
|
---|
437 | </variablelist>
|
---|
438 |
|
---|
439 | </sect2>
|
---|
440 |
|
---|
441 | </sect1>
|
---|