[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 " ">
|
---|
[7d564a1] | 9 | <!ENTITY poppler-md5sum "a40fe96e1115f648ce4689e667743530">
|
---|
| 10 | <!ENTITY poppler-size "1.7 MB">
|
---|
| 11 | <!ENTITY poppler-buildsize "137 MB (without Qt, but including the encoding data)">
|
---|
| 12 | <!ENTITY poppler-time "1.3 SBU (includes building with most dependencies except Qt)">
|
---|
[8a1b4b52] | 13 |
|
---|
[7d564a1] | 14 | <!ENTITY poppler-data-version "0.4.3">
|
---|
[8a1b4b52] | 15 | <!ENTITY poppler-data-download-http "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
|
---|
[7d564a1] | 16 | <!ENTITY poppler-data-md5sum "2d648047e5d0b315df1571b460ee6a96">
|
---|
[8a1b4b52] | 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 |
|
---|
[7d564a1] | 42 | &lfs67_checked;
|
---|
[49f7d8b] | 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>
|
---|
[7d564a1] | 99 | <para role="optional"><xref linkend="gtk2"/>, <xref linkend="qt"/>
|
---|
| 100 | <xref linkend="qt4"/>
|
---|
| 101 | <xref linkend="curl"/>
|
---|
| 102 | <xref linkend="libxml2"/>, and
|
---|
| 103 | <xref linkend="lcms"/></para>
|
---|
[5474306] | 104 |
|
---|
[f379151] | 105 | <para>If you're installing <application>Poppler</application> to support
|
---|
[00904cb] | 106 | <xref linkend="kdegraphics"/>, you will need to have <xref linkend="qt"/>
|
---|
[f379151] | 107 | installed so that the <filename class='libraryfile'>libpoppler-qt</filename>
|
---|
| 108 | library is built.</para>
|
---|
| 109 |
|
---|
[1039de3] | 110 | <para condition="html" role="usernotes">User Notes:
|
---|
| 111 | <ulink url="&blfs-wiki;/poppler"/></para>
|
---|
| 112 |
|
---|
[5474306] | 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2 role="installation">
|
---|
| 116 | <title>Installation of Poppler</title>
|
---|
| 117 |
|
---|
[d931c7f] | 118 | <caution>
|
---|
| 119 | <para><application>Poppler</application> will overwrite command-line
|
---|
| 120 | utilities and man pages previously installed by the
|
---|
| 121 | <application>Xpdf</application> package. If you prefer to keep the
|
---|
| 122 | <application>Xpdf</application> versions of these files, pass the
|
---|
| 123 | <option>--disable-utils</option> parameter to the
|
---|
| 124 | <command>configure</command> command below.</para>
|
---|
| 125 | </caution>
|
---|
| 126 |
|
---|
[c1a4344] | 127 | <screen><userinput>./configure --prefix=/usr \
|
---|
[2c06b85] | 128 | --sysconfdir=/etc &&
|
---|
[5474306] | 129 | make</userinput></screen>
|
---|
| 130 |
|
---|
| 131 | <para>This package does not come with a test suite.</para>
|
---|
| 132 |
|
---|
| 133 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 134 |
|
---|
| 135 | <screen role="root"><userinput>make install &&
|
---|
[d931c7f] | 136 | install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &&
|
---|
| 137 | install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
|
---|
| 138 |
|
---|
| 139 | <para>If you downloaded the additional encoding data package, install
|
---|
[2c06b85] | 140 | it by issuing the following commands:</para>
|
---|
| 141 |
|
---|
| 142 | <screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &&
|
---|
| 143 | cd poppler-data-&poppler-data-version;</userinput></screen>
|
---|
| 144 |
|
---|
| 145 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d931c7f] | 146 |
|
---|
| 147 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[5474306] | 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="commands">
|
---|
| 152 | <title>Command Explanations</title>
|
---|
| 153 |
|
---|
[2c06b85] | 154 | <!-- This is discouraged by the authors. There is built-in decompression
|
---|
| 155 | and zlib is not needed
|
---|
| 156 | <para><parameter>-enable-zlib</parameter>: This parameter forces the build
|
---|
[a41f643] | 157 | to link with the system-installed
|
---|
[1ad729f] | 158 | <filename class='libraryfile'>libz</filename> library to enable compressed
|
---|
[2c06b85] | 159 | PDF functionality.</para> -->
|
---|
[1ad729f] | 160 |
|
---|
[5474306] | 161 | <para><parameter>--disable-cairo-output</parameter>: This parameter
|
---|
[cf1a2b8] | 162 | disables building the <application>cairo</application> graphics backend.</para>
|
---|
[5474306] | 163 |
|
---|
| 164 | <para><parameter>--disable-poppler-glib</parameter> and
|
---|
| 165 | <parameter>--disable-gtk-test</parameter>: These parameters disable
|
---|
| 166 | building the <application>GLib</application> wrapper and
|
---|
[cf1a2b8] | 167 | <application>GTK+</application> test program.</para>
|
---|
[5474306] | 168 |
|
---|
[35e21bf] | 169 | <para><parameter>--disable-static</parameter>: Prevent static libraries
|
---|
| 170 | being built and installed.</para>
|
---|
| 171 |
|
---|
[a41f643] | 172 | <para><parameter>--enable-xpdf-headers</parameter>: Install old
|
---|
| 173 | <application>Xpdf</application> headers required by certain programs. These
|
---|
[cf1a2b8] | 174 | are unsupported by <application>Poppler</application>.</para>
|
---|
| 175 |
|
---|
[5474306] | 176 | </sect2>
|
---|
| 177 |
|
---|
[7d564a1] | 178 | <!--<sect2 role="configuration">
|
---|
[5474306] | 179 | <title>Configuring Poppler</title>
|
---|
| 180 |
|
---|
| 181 | <sect3 id="poppler-config">
|
---|
| 182 | <title>Config Files</title>
|
---|
| 183 | <para><filename>/etc/xpdfrc</filename></para>
|
---|
| 184 |
|
---|
| 185 | <indexterm zone="poppler poppler-config">
|
---|
| 186 | <primary sortas="e-etc-xpdfrc">/etc/xpdfrc</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </sect3>
|
---|
| 189 |
|
---|
[7d564a1] | 190 | </sect2>-->
|
---|
[5474306] | 191 |
|
---|
| 192 | <sect2 role="content">
|
---|
| 193 | <title>Contents</title>
|
---|
| 194 |
|
---|
| 195 | <segmentedlist>
|
---|
| 196 | <segtitle>Installed Programs</segtitle>
|
---|
| 197 | <segtitle>Installed Libraries</segtitle>
|
---|
| 198 | <segtitle>Installed Directories</segtitle>
|
---|
| 199 |
|
---|
| 200 | <seglistitem>
|
---|
[7d564a1] | 201 | <seg><xref linkend="xpdf-content"/> for the pdf* programs</seg>
|
---|
| 202 | <seg>libpoppler.{so,a}, libpoppler-cpp.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a}
|
---|
[cf1a2b8] | 203 | and libpoppler-qt4.{so,a}</seg>
|
---|
[a41f643] | 204 | <seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
|
---|
[cf1a2b8] | 205 | /usr/share/gtk-doc/html/poppler and /usr/share/poppler</seg>
|
---|
[5474306] | 206 | </seglistitem>
|
---|
| 207 | </segmentedlist>
|
---|
| 208 |
|
---|
| 209 | <variablelist>
|
---|
| 210 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 211 | <?dbfo list-presentation="list"?>
|
---|
| 212 | <?dbhtml list-presentation="table"?>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="libpoppler">
|
---|
[1039de3] | 215 | <term><filename class='libraryfile'>libpoppler.{so,a}</filename></term>
|
---|
[5474306] | 216 | <listitem>
|
---|
| 217 | <para>contains the API functions to render PDF files.</para>
|
---|
| 218 | <indexterm zone="poppler libpoppler">
|
---|
[1039de3] | 219 | <primary sortas="c-libpoppler">libpoppler.{so,a}</primary>
|
---|
[5474306] | 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
[7d564a1] | 224 | <varlistentry id="libpoppler-cpp">
|
---|
| 225 | <term><filename class='libraryfile'>libpoppler-cpp.{so,a}</filename></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>is a C++ backend for rendering PDF files.</para>
|
---|
| 228 | <indexterm zone="poppler libpoppler-cpp">
|
---|
| 229 | <primary sortas="c-libpoppler-cpp">libpoppler-cpp.{so,a}</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
[5474306] | 234 | <varlistentry id="libpoppler-glib">
|
---|
[1039de3] | 235 | <term><filename class='libraryfile'>libpoppler-glib.{so,a}</filename></term>
|
---|
[5474306] | 236 | <listitem>
|
---|
| 237 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 238 | functions with <application>GTK+</application>.</para>
|
---|
| 239 | <indexterm zone="poppler libpoppler-glib">
|
---|
[1039de3] | 240 | <primary sortas="c-libpoppler-glib">libpoppler-glib.{so,a}</primary>
|
---|
[5474306] | 241 | </indexterm>
|
---|
| 242 | </listitem>
|
---|
| 243 | </varlistentry>
|
---|
| 244 |
|
---|
| 245 | <varlistentry id="libpoppler-qt">
|
---|
[1039de3] | 246 | <term><filename class='libraryfile'>libpoppler-qt.{so,a}</filename></term>
|
---|
[5474306] | 247 | <listitem>
|
---|
| 248 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 249 | functions with <application>Qt</application>.</para>
|
---|
| 250 | <indexterm zone="poppler libpoppler-qt">
|
---|
[1039de3] | 251 | <primary sortas="c-libpoppler-qt">libpoppler-qt.{so,a}</primary>
|
---|
[5474306] | 252 | </indexterm>
|
---|
| 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | <varlistentry id="libpoppler-qt4">
|
---|
[1039de3] | 257 | <term><filename class='libraryfile'>libpoppler-qt4.{so,a}</filename></term>
|
---|
[5474306] | 258 | <listitem>
|
---|
| 259 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 260 | functions with <application>Qt</application>-4.</para>
|
---|
| 261 | <indexterm zone="poppler libpoppler-qt4">
|
---|
[1039de3] | 262 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.{so,a}</primary>
|
---|
[5474306] | 263 | </indexterm>
|
---|
| 264 | </listitem>
|
---|
| 265 | </varlistentry>
|
---|
| 266 |
|
---|
| 267 | </variablelist>
|
---|
| 268 |
|
---|
| 269 | </sect2>
|
---|
| 270 |
|
---|
| 271 | </sect1>
|
---|