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