source: general/graphlib/poppler.xml@ 35e21bf

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 35e21bf was 35e21bf, checked in by Ken Moffat <ken@…>, 15 years ago

Update poppler.

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

  • Property mode set to 100644
File size: 9.3 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 "http://poppler.freedesktop.org/poppler-&poppler-version;.tar.gz">
8 <!ENTITY poppler-download-ftp " ">
9 <!ENTITY poppler-md5sum "f30dd49c74ee304c17ef6ef10a1d1a7c">
10 <!ENTITY poppler-size "1.5 MB">
11 <!ENTITY poppler-buildsize "25 MB (without static libraries or Qt3, additional 12 MB to install the encoding data package)">
12 <!ENTITY poppler-time "1.3 SBU (includes building with all dependencies except Qt3)">
13
14 <!ENTITY poppler-data-version "0.2.1">
15]>
16
17<sect1 id="poppler" xreflabel="Poppler-&poppler-version;">
18 <?dbhtml filename="poppler.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Poppler-&poppler-version;</title>
26
27 <indexterm zone="poppler">
28 <primary sortas="a-Poppler">Poppler</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Poppler</title>
33
34 <para>The <application>Poppler</application> package contains a PDF
35 rendering library and command line tools used to manipulate PDF files.
36 This is useful for providing PDF rendering functionality as a shared
37 library.</para>
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&poppler-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&poppler-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &poppler-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &poppler-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &poppler-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &poppler-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
64 <para>Poppler Encoding Data: <ulink
65 url="http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz"/></para>
66 </listitem>
67 </itemizedlist>
68
69 <para>The additional package consists of encoding files for use with
70 Poppler. The encoding files are optional and poppler will automatically
71 read them if they are present. When installed, they enable Poppler to
72 render CJK and Cyrillic properly.</para>
73
74 <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required"><xref linkend="pkgconfig"/> and
78 <xref linkend="fontconfig"/></para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional"><xref linkend="libjpeg"/>,
82 <xref linkend="cairo"/>,
83 <xref linkend="gtk2"/>,
84 <xref linkend="qt"/>, and
85 <ulink url="http://www.trolltech.com/download/opensource.html">Qt-4.x.x</ulink></para>
86
87 <para>If you're installing <application>Poppler</application> to support
88 <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
89 installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
90 library is built.</para>
91
92 <para condition="html" role="usernotes">User Notes:
93 <ulink url="&blfs-wiki;/poppler"/></para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of Poppler</title>
99
100 <caution>
101 <para><application>Poppler</application> will overwrite command-line
102 utilities and man pages previously installed by the
103 <application>Xpdf</application> package. If you prefer to keep the
104 <application>Xpdf</application> versions of these files, pass the
105 <option>--disable-utils</option> parameter to the
106 <command>configure</command> command below.</para>
107 </caution>
108
109 <para>The <command>configure</command> command below includes three
110 parameters which disable various rendering back-ends. Ensure you remove
111 any of the parameters for which you have the corresponding dependency
112 installed. Install <application>Poppler</application> by running the
113 following commands:</para>
114
115<screen><userinput>./configure --prefix=/usr \
116 --sysconfdir=/etc \
117 --enable-zlib \
118 --disable-cairo-output \
119 --disable-poppler-glib \
120 --disable-gtk-test &amp;&amp;
121make</userinput></screen>
122
123 <para>This package does not come with a test suite.</para>
124
125 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
126
127<screen role="root"><userinput>make install &amp;&amp;
128install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &amp;&amp;
129install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
130
131 <para>If you downloaded the additional encoding data package, install
132 it by issuing the following command after unpacking the tarball and
133 changing into the newly-created package source directory (as the
134 <systemitem class="username">root</systemitem> user):</para>
135
136<screen role="root"><userinput>make prefix=/usr install</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <para><parameter>--enable-zlib</parameter>: This parameter forces the build
144 to link with the system-installed
145 <filename class='libraryfile'>libz</filename> library to enable compressed
146 PDF functionality.</para>
147
148 <para><parameter>--disable-cairo-output</parameter>: This parameter
149 disables building the <application>cairo</application> graphics backend.
150 Remove this parameter if you have <application>cairo</application>
151 installed.</para>
152
153 <para><parameter>--disable-poppler-glib</parameter> and
154 <parameter>--disable-gtk-test</parameter>: These parameters disable
155 building the <application>GLib</application> wrapper and
156 <application>GTK+</application> test program. Remove these parameters if
157 you have <application>GTK+</application>-2 installed. Note that if you
158 plan on building <xref linkend="evince"/>, you must build the
159 <application>GLib</application> wrapper.</para>
160
161 <para><parameter>--disable-static</parameter>: Prevent static libraries
162 being built and installed.</para>
163
164 </sect2>
165
166 <sect2 role="configuration">
167 <title>Configuring Poppler</title>
168
169 <sect3 id="poppler-config">
170 <title>Config Files</title>
171 <para><filename>/etc/xpdfrc</filename></para>
172
173 <indexterm zone="poppler poppler-config">
174 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
175 </indexterm>
176 </sect3>
177
178 </sect2>
179
180 <sect2 role="content">
181 <title>Contents</title>
182
183 <segmentedlist>
184 <segtitle>Installed Programs</segtitle>
185 <segtitle>Installed Libraries</segtitle>
186 <segtitle>Installed Directories</segtitle>
187
188 <seglistitem>
189 <seg><xref linkend="xpdf-content"/></seg>
190 <seg>libpoppler.{so,a}, libpoppler-glib.{so,a},
191 libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}</seg>
192 <seg>/usr/include/poppler,
193 /usr/share/doc/poppler-&poppler-version;,
194 /usr/share/gtk-doc/html/poppler and
195 /usr/share/poppler</seg>
196 </seglistitem>
197 </segmentedlist>
198
199 <variablelist>
200 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
201 <?dbfo list-presentation="list"?>
202 <?dbhtml list-presentation="table"?>
203
204 <varlistentry id="libpoppler">
205 <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
206 <listitem>
207 <para>contains the API functions to render PDF files.</para>
208 <indexterm zone="poppler libpoppler">
209 <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="libpoppler-glib">
215 <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
216 <listitem>
217 <para>is a wrapper library used to interface the PDF rendering
218 functions with <application>GTK+</application>.</para>
219 <indexterm zone="poppler libpoppler-glib">
220 <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="libpoppler-qt">
226 <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
227 <listitem>
228 <para>is a wrapper library used to interface the PDF rendering
229 functions with <application>Qt</application>.</para>
230 <indexterm zone="poppler libpoppler-qt">
231 <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="libpoppler-qt4">
237 <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
238 <listitem>
239 <para>is a wrapper library used to interface the PDF rendering
240 functions with <application>Qt</application>-4.</para>
241 <indexterm zone="poppler libpoppler-qt4">
242 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
243 </indexterm>
244 </listitem>
245 </varlistentry>
246
247 </variablelist>
248
249 </sect2>
250
251</sect1>
Note: See TracBrowser for help on using the repository browser.