[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 " ">
|
---|
[cf1a2b8] | 9 | <!ENTITY poppler-md5sum "ba120e49a82567d85d00e159011ebe67">
|
---|
[35e21bf] | 10 | <!ENTITY poppler-size "1.5 MB">
|
---|
[cf1a2b8] | 11 | <!ENTITY poppler-buildsize "56 MB (without Qt3, additional 12 MB to install the encoding data package)">
|
---|
[35e21bf] | 12 | <!ENTITY poppler-time "1.3 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 |
|
---|
[cf1a2b8] | 113 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
---|
| 114 | --enable-zlib &&
|
---|
[5474306] | 115 | make</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>This package does not come with a test suite.</para>
|
---|
| 118 |
|
---|
| 119 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"><userinput>make install &&
|
---|
[d931c7f] | 122 | install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &&
|
---|
| 123 | install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>If you downloaded the additional encoding data package, install
|
---|
| 126 | it by issuing the following command after unpacking the tarball and
|
---|
| 127 | changing into the newly-created package source directory (as the
|
---|
| 128 | <systemitem class="username">root</systemitem> user):</para>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[5474306] | 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2 role="commands">
|
---|
| 135 | <title>Command Explanations</title>
|
---|
| 136 |
|
---|
[1ad729f] | 137 | <para><parameter>--enable-zlib</parameter>: This parameter forces the build
|
---|
[cf1a2b8] | 138 | to link with the system-installed
|
---|
[1ad729f] | 139 | <filename class='libraryfile'>libz</filename> library to enable compressed
|
---|
| 140 | PDF functionality.</para>
|
---|
| 141 |
|
---|
[5474306] | 142 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
[cf1a2b8] | 143 | disables building the <application>cairo</application> graphics backend.</para>
|
---|
[5474306] | 144 |
|
---|
| 145 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 146 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 147 | building the <application>GLib</application> wrapper and
|
---|
[cf1a2b8] | 148 | <application>GTK+</application> test program.</para>
|
---|
[5474306] | 149 |
|
---|
[35e21bf] | 150 | <para><parameter>--disable-static</parameter>: Prevent static libraries
|
---|
| 151 | being built and installed.</para>
|
---|
| 152 |
|
---|
[cf1a2b8] | 153 | <para><parameter>--enable-xpdf-headers</parameter>: Install old
|
---|
| 154 | <application>Xpdf</application> headers required by certain programs. These
|
---|
| 155 | are unsupported by <application>Poppler</application>.</para>
|
---|
| 156 |
|
---|
[5474306] | 157 | </sect2>
|
---|
| 158 |
|
---|
| 159 | <sect2 role="configuration">
|
---|
| 160 | <title>Configuring Poppler</title>
|
---|
| 161 |
|
---|
| 162 | <sect3 id="poppler-config">
|
---|
| 163 | <title>Config Files</title>
|
---|
| 164 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 165 |
|
---|
| 166 | <indexterm zone="poppler poppler-config">
|
---|
| 167 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 168 | </indexterm>
|
---|
| 169 | </sect3>
|
---|
| 170 |
|
---|
| 171 | </sect2>
|
---|
| 172 |
|
---|
| 173 | <sect2 role="content">
|
---|
| 174 | <title>Contents</title>
|
---|
| 175 |
|
---|
| 176 | <segmentedlist>
|
---|
| 177 | <segtitle>Installed Programs</segtitle>
|
---|
| 178 | <segtitle>Installed Libraries</segtitle>
|
---|
| 179 | <segtitle>Installed Directories</segtitle>
|
---|
| 180 |
|
---|
| 181 | <seglistitem>
|
---|
[d931c7f] | 182 | <seg><xref linkend="xpdf-content"/></seg>
|
---|
[cf1a2b8] | 183 | <seg>libpoppler.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a}
|
---|
| 184 | and libpoppler-qt4.{so,a}</seg>
|
---|
| 185 | <seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
|
---|
| 186 | /usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg>
|
---|
[5474306] | 187 | </seglistitem>
|
---|
| 188 | </segmentedlist>
|
---|
| 189 |
|
---|
| 190 | <variablelist>
|
---|
| 191 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 192 | <?dbfo list-presentation="list"?>
|
---|
| 193 | <?dbhtml list-presentation="table"?>
|
---|
| 194 |
|
---|
| 195 | <varlistentry id="libpoppler">
|
---|
[1039de3] | 196 | <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
---|
[5474306] | 197 | <listitem>
|
---|
| 198 | <para>contains the API functions to render PDF files.</para>
|
---|
| 199 | <indexterm zone="poppler libpoppler">
|
---|
[1039de3] | 200 | <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
---|
[5474306] | 201 | </indexterm>
|
---|
| 202 | </listitem>
|
---|
| 203 | </varlistentry>
|
---|
| 204 |
|
---|
| 205 | <varlistentry id="libpoppler-glib">
|
---|
[1039de3] | 206 | <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
---|
[5474306] | 207 | <listitem>
|
---|
| 208 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 209 | functions with <application>GTK+</application>.</para>
|
---|
| 210 | <indexterm zone="poppler libpoppler-glib">
|
---|
[1039de3] | 211 | <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
---|
[5474306] | 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
| 216 | <varlistentry id="libpoppler-qt">
|
---|
[1039de3] | 217 | <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
---|
[5474306] | 218 | <listitem>
|
---|
| 219 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 220 | functions with <application>Qt</application>.</para>
|
---|
| 221 | <indexterm zone="poppler libpoppler-qt">
|
---|
[1039de3] | 222 | <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
---|
[5474306] | 223 | </indexterm>
|
---|
| 224 | </listitem>
|
---|
| 225 | </varlistentry>
|
---|
| 226 |
|
---|
| 227 | <varlistentry id="libpoppler-qt4">
|
---|
[1039de3] | 228 | <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
---|
[5474306] | 229 | <listitem>
|
---|
| 230 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 231 | functions with <application>Qt</application>-4.</para>
|
---|
| 232 | <indexterm zone="poppler libpoppler-qt4">
|
---|
[1039de3] | 233 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
---|
[5474306] | 234 | </indexterm>
|
---|
| 235 | </listitem>
|
---|
| 236 | </varlistentry>
|
---|
| 237 |
|
---|
| 238 | </variablelist>
|
---|
| 239 |
|
---|
| 240 | </sect2>
|
---|
| 241 |
|
---|
| 242 | </sect1>
|
---|