source: general/graphlib/poppler.xml@ 9690524

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 9690524 was d931c7f, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to Poppler-0.5.4

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

  • Property mode set to 100644
File size: 9.1 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 "053fdfd70533ecce1a06353fa945f061">
10 <!ENTITY poppler-size "1.0 MB">
11 <!ENTITY poppler-buildsize "49 MB (additional 15 MB to install the encoding data package)">
12 <!ENTITY poppler-time "1.0 SBU (includes building with all dependencies)">
13
14 <!ENTITY poppler-data-version "0.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 </sect2>
162
163 <sect2 role="configuration">
164 <title>Configuring Poppler</title>
165
166 <sect3 id="poppler-config">
167 <title>Config Files</title>
168 <para><filename>/etc/xpdfrc</filename></para>
169
170 <indexterm zone="poppler poppler-config">
171 <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
172 </indexterm>
173 </sect3>
174
175 </sect2>
176
177 <sect2 role="content">
178 <title>Contents</title>
179
180 <segmentedlist>
181 <segtitle>Installed Programs</segtitle>
182 <segtitle>Installed Libraries</segtitle>
183 <segtitle>Installed Directories</segtitle>
184
185 <seglistitem>
186 <seg><xref linkend="xpdf-content"/></seg>
187 <seg>libpoppler.{so,a}, libpoppler-glib.{so,a},
188 libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}</seg>
189 <seg>/usr/include/poppler,
190 /usr/share/doc/poppler-&poppler-version;,
191 /usr/share/gtk-doc/html/poppler and
192 /usr/share/poppler</seg>
193 </seglistitem>
194 </segmentedlist>
195
196 <variablelist>
197 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
198 <?dbfo list-presentation="list"?>
199 <?dbhtml list-presentation="table"?>
200
201 <varlistentry id="libpoppler">
202 <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
203 <listitem>
204 <para>contains the API functions to render PDF files.</para>
205 <indexterm zone="poppler libpoppler">
206 <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="libpoppler-glib">
212 <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
213 <listitem>
214 <para>is a wrapper library used to interface the PDF rendering
215 functions with <application>GTK+</application>.</para>
216 <indexterm zone="poppler libpoppler-glib">
217 <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="libpoppler-qt">
223 <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
224 <listitem>
225 <para>is a wrapper library used to interface the PDF rendering
226 functions with <application>Qt</application>.</para>
227 <indexterm zone="poppler libpoppler-qt">
228 <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libpoppler-qt4">
234 <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
235 <listitem>
236 <para>is a wrapper library used to interface the PDF rendering
237 functions with <application>Qt</application>-4.</para>
238 <indexterm zone="poppler libpoppler-qt4">
239 <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect2>
247
248</sect1>
Note: See TracBrowser for help on using the repository browser.