[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 " ">
|
---|
[2c06b85] | 9 | <!ENTITY poppler-md5sum "4155346f9369b192569ce9184ff73e43">
|
---|
| 10 | <!ENTITY poppler-size "1.6 MB">
|
---|
| 11 | <!ENTITY poppler-buildsize "65 MB (without Qt, additional 25 MB to install the encoding data)">
|
---|
| 12 | <!ENTITY poppler-time "1.3 SBU (includes building with all dependencies except Qt)">
|
---|
[d931c7f] | 13 |
|
---|
[2c06b85] | 14 | <!ENTITY poppler-data-version "0.4.0">
|
---|
[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
|
---|
[2c06b85] | 72 | <application>Poppler</application>. The encoding files are optional and
|
---|
| 73 | <application>Poppler</application> will automatically read them if they are
|
---|
| 74 | present. When installed, they enable <application>Poppler</application> to
|
---|
[d931c7f] | 75 | render CJK and Cyrillic properly.</para>
|
---|
| 76 |
|
---|
[5474306] | 77 | <bridgehead renderas="sect3">Poppler Dependencies</bridgehead>
|
---|
| 78 |
|
---|
[d931c7f] | 79 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[358241d1] | 80 | <para role="required"><!-- <xref linkend="pkgconfig"/> and -->
|
---|
[d931c7f] | 81 | <xref linkend="fontconfig"/></para>
|
---|
| 82 |
|
---|
[cf1a2b8] | 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended"><xref linkend="libjpeg"/>, <xref linkend="cairo"/>,
|
---|
[b3067411] | 85 | <xref linkend="glib2"/>, and <ulink url="http://www.openjpeg.org">OpenJPEG</ulink>
|
---|
[cf1a2b8] | 86 | </para>
|
---|
| 87 |
|
---|
[5474306] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[cf1a2b8] | 89 | <para role="optional"><xref linkend="gtk2"/>, <xref linkend="qt"/>, and
|
---|
[00904cb] | 90 | <xref linkend="qt4"/></para>
|
---|
[5474306] | 91 |
|
---|
[f379151] | 92 | <para>If you're installing <application>Poppler</application> to support
|
---|
[00904cb] | 93 | <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
---|
[f379151] | 94 | installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
---|
| 95 | library is built.</para>
|
---|
| 96 |
|
---|
[1039de3] | 97 | <para condition="html" role="usernotes">User Notes:
|
---|
| 98 | <ulink url="&blfs-wiki;/poppler"/></para>
|
---|
| 99 |
|
---|
[5474306] | 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="installation">
|
---|
| 103 | <title>Installation of Poppler</title>
|
---|
| 104 |
|
---|
[d931c7f] | 105 | <caution>
|
---|
| 106 | <para><application>Poppler</application> will overwrite command-line
|
---|
| 107 | utilities and man pages previously installed by the
|
---|
| 108 | <application>Xpdf</application> package. If you prefer to keep the
|
---|
| 109 | <application>Xpdf</application> versions of these files, pass the
|
---|
| 110 | <option>--disable-utils</option> parameter to the
|
---|
| 111 | <command>configure</command> command below.</para>
|
---|
| 112 | </caution>
|
---|
| 113 |
|
---|
[c1a4344] | 114 | <screen><userinput>./configure --prefix=/usr \
|
---|
[2c06b85] | 115 | --sysconfdir=/etc &&
|
---|
[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
|
---|
[2c06b85] | 127 | it by issuing the following commands:</para>
|
---|
| 128 |
|
---|
| 129 | <screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &&
|
---|
| 130 | cd poppler-data-&poppler-data-version;</userinput></screen>
|
---|
| 131 |
|
---|
| 132 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d931c7f] | 133 |
|
---|
| 134 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[5474306] | 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | <sect2 role="commands">
|
---|
| 139 | <title>Command Explanations</title>
|
---|
| 140 |
|
---|
[2c06b85] | 141 | <!-- This is discouraged by the authors. There is built-in decompression
|
---|
| 142 | and zlib is not needed
|
---|
| 143 | <para><parameter>-enable-zlib</parameter>: This parameter forces the build
|
---|
[cf1a2b8] | 144 | to link with the system-installed
|
---|
[1ad729f] | 145 | <filename class='libraryfile'>libz</filename> library to enable compressed
|
---|
[2c06b85] | 146 | PDF functionality.</para> -->
|
---|
[1ad729f] | 147 |
|
---|
[5474306] | 148 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
[cf1a2b8] | 149 | disables building the <application>cairo</application> graphics backend.</para>
|
---|
[5474306] | 150 |
|
---|
| 151 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 152 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 153 | building the <application>GLib</application> wrapper and
|
---|
[cf1a2b8] | 154 | <application>GTK+</application> test program.</para>
|
---|
[5474306] | 155 |
|
---|
[35e21bf] | 156 | <para><parameter>--disable-static</parameter>: Prevent static libraries
|
---|
| 157 | being built and installed.</para>
|
---|
| 158 |
|
---|
[cf1a2b8] | 159 | <para><parameter>--enable-xpdf-headers</parameter>: Install old
|
---|
| 160 | <application>Xpdf</application> headers required by certain programs. These
|
---|
| 161 | are unsupported by <application>Poppler</application>.</para>
|
---|
| 162 |
|
---|
[5474306] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="configuration">
|
---|
| 166 | <title>Configuring Poppler</title>
|
---|
| 167 |
|
---|
| 168 | <sect3 id="poppler-config">
|
---|
| 169 | <title>Config Files</title>
|
---|
| 170 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 171 |
|
---|
| 172 | <indexterm zone="poppler poppler-config">
|
---|
| 173 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 174 | </indexterm>
|
---|
| 175 | </sect3>
|
---|
| 176 |
|
---|
| 177 | </sect2>
|
---|
| 178 |
|
---|
| 179 | <sect2 role="content">
|
---|
| 180 | <title>Contents</title>
|
---|
| 181 |
|
---|
| 182 | <segmentedlist>
|
---|
| 183 | <segtitle>Installed Programs</segtitle>
|
---|
| 184 | <segtitle>Installed Libraries</segtitle>
|
---|
| 185 | <segtitle>Installed Directories</segtitle>
|
---|
| 186 |
|
---|
| 187 | <seglistitem>
|
---|
[d931c7f] | 188 | <seg><xref linkend="xpdf-content"/></seg>
|
---|
[cf1a2b8] | 189 | <seg>libpoppler.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a}
|
---|
| 190 | and libpoppler-qt4.{so,a}</seg>
|
---|
| 191 | <seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
|
---|
| 192 | /usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg>
|
---|
[5474306] | 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">
|
---|
[1039de3] | 202 | <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
---|
[5474306] | 203 | <listitem>
|
---|
| 204 | <para>contains the API functions to render PDF files.</para>
|
---|
| 205 | <indexterm zone="poppler libpoppler">
|
---|
[1039de3] | 206 | <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
---|
[5474306] | 207 | </indexterm>
|
---|
| 208 | </listitem>
|
---|
| 209 | </varlistentry>
|
---|
| 210 |
|
---|
| 211 | <varlistentry id="libpoppler-glib">
|
---|
[1039de3] | 212 | <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
---|
[5474306] | 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">
|
---|
[1039de3] | 217 | <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
---|
[5474306] | 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="libpoppler-qt">
|
---|
[1039de3] | 223 | <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
---|
[5474306] | 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">
|
---|
[1039de3] | 228 | <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
---|
[5474306] | 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="libpoppler-qt4">
|
---|
[1039de3] | 234 | <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
---|
[5474306] | 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">
|
---|
[1039de3] | 239 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
---|
[5474306] | 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
| 244 | </variablelist>
|
---|
| 245 |
|
---|
| 246 | </sect2>
|
---|
| 247 |
|
---|
| 248 | </sect1>
|
---|