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