1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY poppler-download-http "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz">
|
---|
8 | <!ENTITY poppler-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/poppler-&poppler-version;.tar.gz">
|
---|
9 | <!ENTITY poppler-md5sum "791dc78d8366eb05580183fe85174555">
|
---|
10 | <!ENTITY poppler-size "779 KB">
|
---|
11 | <!ENTITY poppler-buildsize "35.4 MB">
|
---|
12 | <!ENTITY poppler-time "0.8 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
|
---|
16 | <?dbhtml filename="poppler.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">poppler-&poppler-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">poppler</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>Poppler-&poppler-version;</title>
|
---|
28 |
|
---|
29 | <indexterm zone="poppler">
|
---|
30 | <primary sortas="a-Poppler">Poppler</primary>
|
---|
31 | </indexterm>
|
---|
32 |
|
---|
33 | <sect2 role="package">
|
---|
34 | <title>Introduction to Poppler</title>
|
---|
35 |
|
---|
36 | <para>The <application>Poppler</application> package contains a PDF
|
---|
37 | rendering library. This is useful for providing PDF rendering
|
---|
38 | functionality as a shared library.</para>
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>Download (HTTP): <ulink url="&poppler-download-http;"/></para>
|
---|
44 | </listitem>
|
---|
45 | <listitem>
|
---|
46 | <para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>Download MD5 sum: &poppler-md5sum;</para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>Download size: &poppler-size;</para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>Estimated disk space required: &poppler-buildsize;</para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>Estimated build time: &poppler-time;</para>
|
---|
59 | </listitem>
|
---|
60 | </itemizedlist>
|
---|
61 |
|
---|
62 | <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para role="optional"><xref linkend="pkgconfig"/>,
|
---|
66 | <xref linkend="libjpeg"/>,
|
---|
67 | <xref linkend="fontconfig"/>,
|
---|
68 | <xref linkend="cairo"/>,
|
---|
69 | <xref linkend="gtk2"/>,
|
---|
70 | <xref linkend="qt"/> and
|
---|
71 | <ulink url="http://www.trolltech.com/download/opensource.html">Qt-4.x.x</ulink></para>
|
---|
72 |
|
---|
73 | <para>If you're installing <application>Poppler</application> to support
|
---|
74 | <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
---|
75 | installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
---|
76 | library is built.</para>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2 role="installation">
|
---|
81 | <title>Installation of Poppler</title>
|
---|
82 |
|
---|
83 | <para>Install <application>Poppler</application> by running the following
|
---|
84 | commands:</para>
|
---|
85 |
|
---|
86 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --enable-opi \
|
---|
87 | --disable-splash-output \
|
---|
88 | --disable-cairo-output \
|
---|
89 | --disable-poppler-glib --disable-gtk-test &&
|
---|
90 | make</userinput></screen>
|
---|
91 |
|
---|
92 | <para>This package does not come with a test suite.</para>
|
---|
93 |
|
---|
94 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
95 |
|
---|
96 | <screen role="root"><userinput>make install &&
|
---|
97 | install -v -m644 -D README /usr/share/doc/poppler-&poppler-version;/README</userinput></screen>
|
---|
98 |
|
---|
99 | </sect2>
|
---|
100 |
|
---|
101 | <sect2 role="commands">
|
---|
102 | <title>Command Explanations</title>
|
---|
103 |
|
---|
104 | <para><parameter>--enable-opi</parameter>: This parameter forces the build
|
---|
105 | to include support for OPI comments.</para>
|
---|
106 |
|
---|
107 | <para><parameter>--disable-splash-output</parameter>: This parameter
|
---|
108 | disables building the Splash graphics backend. Remove this parameter if
|
---|
109 | you have <application>Fontconfig</application> installed.</para>
|
---|
110 |
|
---|
111 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
112 | disables building the <application>cairo</application> graphics backend.
|
---|
113 | Remove this parameter if you have <application>cairo</application>
|
---|
114 | installed.</para>
|
---|
115 |
|
---|
116 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
117 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
118 | building the <application>GLib</application> wrapper and
|
---|
119 | <application>GTK+</application> test program. Remove these parameters if
|
---|
120 | you have <application>GTK+</application>-2 installed. Note that if you
|
---|
121 | plan on building <xref linkend="evince"/>, you must build the
|
---|
122 | <application>GLib</application> wrapper.</para>
|
---|
123 |
|
---|
124 | </sect2>
|
---|
125 |
|
---|
126 | <sect2 role="configuration">
|
---|
127 | <title>Configuring Poppler</title>
|
---|
128 |
|
---|
129 | <sect3 id="poppler-config">
|
---|
130 | <title>Config Files</title>
|
---|
131 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
132 |
|
---|
133 | <indexterm zone="poppler poppler-config">
|
---|
134 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
135 | </indexterm>
|
---|
136 | </sect3>
|
---|
137 |
|
---|
138 | <sect3><title>Configuration Information</title>
|
---|
139 |
|
---|
140 | <para>No specific configuration is required.</para>
|
---|
141 |
|
---|
142 | </sect3>
|
---|
143 |
|
---|
144 | </sect2>
|
---|
145 |
|
---|
146 | <sect2 role="content">
|
---|
147 | <title>Contents</title>
|
---|
148 |
|
---|
149 | <segmentedlist>
|
---|
150 | <segtitle>Installed Programs</segtitle>
|
---|
151 | <segtitle>Installed Libraries</segtitle>
|
---|
152 | <segtitle>Installed Directories</segtitle>
|
---|
153 |
|
---|
154 | <seglistitem>
|
---|
155 | <seg>None</seg>
|
---|
156 | <seg>libpoppler.[so,a], libpoppler-glib.[so,a],
|
---|
157 | libpoppler-qt.[so,a] and libpoppler-qt4.[so,a]</seg>
|
---|
158 | <seg>/usr/include/poppler and
|
---|
159 | /usr/share/doc/poppler-&poppler-version;</seg>
|
---|
160 | </seglistitem>
|
---|
161 | </segmentedlist>
|
---|
162 |
|
---|
163 | <variablelist>
|
---|
164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
165 | <?dbfo list-presentation="list"?>
|
---|
166 | <?dbhtml list-presentation="table"?>
|
---|
167 |
|
---|
168 | <varlistentry id="libpoppler">
|
---|
169 | <term><filename class='libraryfile'>libpoppler.[so,a]</filename></term>
|
---|
170 | <listitem>
|
---|
171 | <para>contains the API functions to render PDF files.</para>
|
---|
172 | <indexterm zone="poppler libpoppler">
|
---|
173 | <primary sortas="c-libpoppler">libpoppler.[so,a]</primary>
|
---|
174 | </indexterm>
|
---|
175 | </listitem>
|
---|
176 | </varlistentry>
|
---|
177 |
|
---|
178 | <varlistentry id="libpoppler-glib">
|
---|
179 | <term><filename class='libraryfile'>libpoppler-glib.[so,a]</filename></term>
|
---|
180 | <listitem>
|
---|
181 | <para>is a wrapper library used to interface the PDF rendering
|
---|
182 | functions with <application>GTK+</application>.</para>
|
---|
183 | <indexterm zone="poppler libpoppler-glib">
|
---|
184 | <primary sortas="c-libpoppler-glib">libpoppler-glib.[so,a]</primary>
|
---|
185 | </indexterm>
|
---|
186 | </listitem>
|
---|
187 | </varlistentry>
|
---|
188 |
|
---|
189 | <varlistentry id="libpoppler-qt">
|
---|
190 | <term><filename class='libraryfile'>libpoppler-qt.[so,a]</filename></term>
|
---|
191 | <listitem>
|
---|
192 | <para>is a wrapper library used to interface the PDF rendering
|
---|
193 | functions with <application>Qt</application>.</para>
|
---|
194 | <indexterm zone="poppler libpoppler-qt">
|
---|
195 | <primary sortas="c-libpoppler-qt">libpoppler-qt.[so,a]</primary>
|
---|
196 | </indexterm>
|
---|
197 | </listitem>
|
---|
198 | </varlistentry>
|
---|
199 |
|
---|
200 | <varlistentry id="libpoppler-qt4">
|
---|
201 | <term><filename class='libraryfile'>libpoppler-qt4.[so,a]</filename></term>
|
---|
202 | <listitem>
|
---|
203 | <para>is a wrapper library used to interface the PDF rendering
|
---|
204 | functions with <application>Qt</application>-4.</para>
|
---|
205 | <indexterm zone="poppler libpoppler-qt4">
|
---|
206 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.[so,a]</primary>
|
---|
207 | </indexterm>
|
---|
208 | </listitem>
|
---|
209 | </varlistentry>
|
---|
210 |
|
---|
211 | </variablelist>
|
---|
212 |
|
---|
213 | </sect2>
|
---|
214 |
|
---|
215 | </sect1>
|
---|