[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 " ">
|
---|
[b9569f37] | 9 | <!ENTITY poppler-md5sum "12658f3308597e57f3faff538cc73baf">
|
---|
[a5dfefb2] | 10 | <!ENTITY poppler-size "1.9 MB">
|
---|
[b9569f37] | 11 | <!ENTITY poppler-buildsize "28 MB (excluding the encoding data) and 112 MB (including the encoding data)">
|
---|
| 12 | <!ENTITY poppler-time "1.3 SBU (includes building with most dependencies)">
|
---|
[8a1b4b52] | 13 |
|
---|
[a5dfefb2] | 14 | <!ENTITY poppler-data-version "0.4.5">
|
---|
[8a1b4b52] | 15 | <!ENTITY poppler-data-download-http "http://poppler.freedesktop.org/poppler-data-&poppler-data-version;.tar.gz">
|
---|
[a5dfefb2] | 16 | <!ENTITY poppler-data-md5sum "448dd7c5077570e340340706cef931aa">
|
---|
[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 |
|
---|
[a5dfefb2] | 42 | &lfs71_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>
|
---|
[8cf883c4] | 90 | <para role="required"><xref linkend="fontconfig"/> and
|
---|
| 91 | <xref linkend="pkgconfig"/></para>
|
---|
[d931c7f] | 92 |
|
---|
[cf1a2b8] | 93 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[9b39d50e] | 94 | <para role="recommended"><xref linkend="libjpeg"/>, <xref linkend="cairo"/>
|
---|
| 95 | and <xref linkend="openjpeg"/>
|
---|
[cf1a2b8] | 96 | </para>
|
---|
| 97 |
|
---|
[5474306] | 98 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a5dfefb2] | 99 | <para role="optional"><xref linkend="gtk2"/>,
|
---|
[b9569f37] | 100 | <xref linkend="qt4"/> (the <filename>libpoppler-qt4.so</filename> library is needed
|
---|
| 101 | for PDF support in <application>Okular</application>),
|
---|
| 102 | <xref linkend="curl"/>,
|
---|
[a5dfefb2] | 103 | <xref linkend="libtiff"/>,
|
---|
[b9569f37] | 104 | <xref linkend="libxml2"/> and
|
---|
[7d564a1] | 105 | <xref linkend="lcms"/></para>
|
---|
[5474306] | 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 \
|
---|
[9b39d50e] | 125 | --sysconfdir=/etc \
|
---|
| 126 | --disable-static &&
|
---|
[5474306] | 127 | make</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | <para>This package does not come with a test suite.</para>
|
---|
| 130 |
|
---|
| 131 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 132 |
|
---|
| 133 | <screen role="root"><userinput>make install &&
|
---|
[d931c7f] | 134 | install -v -m755 -d /usr/share/doc/poppler-&poppler-version; &&
|
---|
| 135 | install -v -m644 README* /usr/share/doc/poppler-&poppler-version;</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <para>If you downloaded the additional encoding data package, install
|
---|
[2c06b85] | 138 | it by issuing the following commands:</para>
|
---|
| 139 |
|
---|
| 140 | <screen><userinput>tar -xf ../poppler-data-&poppler-data-version;.tar.gz &&
|
---|
| 141 | cd poppler-data-&poppler-data-version;</userinput></screen>
|
---|
| 142 |
|
---|
| 143 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d931c7f] | 144 |
|
---|
| 145 | <screen role="root"><userinput>make prefix=/usr install</userinput></screen>
|
---|
[5474306] | 146 |
|
---|
| 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="commands">
|
---|
| 150 | <title>Command Explanations</title>
|
---|
| 151 |
|
---|
[2c06b85] | 152 | <!-- This is discouraged by the authors. There is built-in decompression
|
---|
| 153 | and zlib is not needed
|
---|
| 154 | <para><parameter>-enable-zlib</parameter>: This parameter forces the build
|
---|
[a41f643] | 155 | to link with the system-installed
|
---|
[1ad729f] | 156 | <filename class='libraryfile'>libz</filename> library to enable compressed
|
---|
[2c06b85] | 157 | PDF functionality.</para> -->
|
---|
[1ad729f] | 158 |
|
---|
[b9569f37] | 159 | <para><option>--disable-static</option>: Prevent static libraries
|
---|
[35e21bf] | 160 | being built and installed.</para>
|
---|
| 161 |
|
---|
[a5dfefb2] | 162 | <para><option>--disable-cairo-output</option>: This parameter
|
---|
| 163 | disables building the <application>cairo</application> graphics backend.</para>
|
---|
| 164 |
|
---|
| 165 | <para><option>--disable-poppler-glib</option>,
|
---|
| 166 | <option>--disable-poppler-qt4</option> and
|
---|
| 167 | <option>--disable-gtk-test</option>: These parameters disable
|
---|
[b9569f37] | 168 | building the <application>GLib</application> and <application>Qt4</application>
|
---|
[a5dfefb2] | 169 | wrappers and the <application>GTK+</application> test program.</para>
|
---|
| 170 |
|
---|
| 171 | <para><option>--enable-xpdf-headers</option>: Install old
|
---|
[b9569f37] | 172 | <application>Xpdf</application> headers required by certain programs (e.g. by
|
---|
| 173 | <application>Okular</application> for PDF support). These are unsupported by
|
---|
| 174 | <application>Poppler</application>.</para>
|
---|
[cf1a2b8] | 175 |
|
---|
[5474306] | 176 | </sect2>
|
---|
| 177 |
|
---|
| 178 | <sect2 role="content">
|
---|
| 179 | <title>Contents</title>
|
---|
| 180 |
|
---|
| 181 | <segmentedlist>
|
---|
| 182 | <segtitle>Installed Programs</segtitle>
|
---|
| 183 | <segtitle>Installed Libraries</segtitle>
|
---|
| 184 | <segtitle>Installed Directories</segtitle>
|
---|
| 185 |
|
---|
| 186 | <seglistitem>
|
---|
[a5dfefb2] | 187 | <seg>pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml,
|
---|
[b9569f37] | 188 | pdftoppm, pdftops, pdftotext, pdfunite and poppler-glib-demo</seg>
|
---|
[a5dfefb2] | 189 | <seg>libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so,
|
---|
| 190 | and libpoppler-qt4.so</seg>
|
---|
[a41f643] | 191 | <seg>/usr/include/poppler, /usr/share/doc/poppler-&poppler-version;,
|
---|
[cf1a2b8] | 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 |
|
---|
[a5dfefb2] | 201 | <varlistentry id="pdffonts-poppler">
|
---|
| 202 | <term><command>pdffonts</command></term>
|
---|
| 203 | <listitem>
|
---|
| 204 | <para>lists the fonts used in a PDF file along
|
---|
| 205 | with various information for each font.</para>
|
---|
| 206 | <indexterm zone="poppler pdffonts">
|
---|
| 207 | <primary sortas="b-pdffonts">pdffonts</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | <varlistentry id="pdfimages-poppler">
|
---|
| 213 | <term><command>pdfimages</command></term>
|
---|
| 214 | <listitem>
|
---|
| 215 | <para>saves images from a PDF file as PPM, PBM, or JPEG files.</para>
|
---|
| 216 | <indexterm zone="poppler pdfimages">
|
---|
| 217 | <primary sortas="b-pdfimages">pdfimages</primary>
|
---|
| 218 | </indexterm>
|
---|
| 219 | </listitem>
|
---|
| 220 | </varlistentry>
|
---|
| 221 |
|
---|
| 222 | <varlistentry id="pdfinfo-poppler">
|
---|
| 223 | <term><command>pdfinfo</command></term>
|
---|
| 224 | <listitem>
|
---|
| 225 | <para>prints the contents of the 'Info' dictionary (plus some
|
---|
| 226 | other useful information) from a PDF file.</para>
|
---|
| 227 | <indexterm zone="poppler pdfinfo">
|
---|
| 228 | <primary sortas="b-pdfinfo">pdfinfo</primary>
|
---|
| 229 | </indexterm>
|
---|
| 230 | </listitem>
|
---|
| 231 | </varlistentry>
|
---|
| 232 |
|
---|
| 233 | <varlistentry id="pdfseparate">
|
---|
| 234 | <term><command>pdfseparate</command></term>
|
---|
| 235 | <listitem>
|
---|
| 236 | <para>extracts single pages from a PDF file.</para>
|
---|
| 237 | <indexterm zone="poppler pdfseparate">
|
---|
| 238 | <primary sortas="b-pdseparate">pdfseparate</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="pdftocairo">
|
---|
| 244 | <term><command>pdftocairo</command></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>converts a PDF file to one of several formats (PNG, JPEG, PDF, PS,
|
---|
| 247 | EPS, SVG) using the cairo output device of the poppler library.</para>
|
---|
| 248 | <indexterm zone="poppler pdftocairo">
|
---|
| 249 | <primary sortas="b-pdftocairo">pdftocairo</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | <varlistentry id="pdftohtml">
|
---|
| 255 | <term><command>pdftohtml</command></term>
|
---|
| 256 | <listitem>
|
---|
| 257 | <para>converts a PDF file to HTML.</para>
|
---|
| 258 | <indexterm zone="poppler pdftohtml">
|
---|
| 259 | <primary sortas="b-pdftohtml">pdftohtml</primary>
|
---|
| 260 | </indexterm>
|
---|
| 261 | </listitem>
|
---|
| 262 | </varlistentry>
|
---|
| 263 |
|
---|
| 264 | <varlistentry id="pdftoppm-poppler">
|
---|
| 265 | <term><command>pdftoppm</command></term>
|
---|
| 266 | <listitem>
|
---|
| 267 | <para>converts PDF files to PBM, PGM and PPM formats.</para>
|
---|
| 268 | <indexterm zone="poppler pdftoppm">
|
---|
| 269 | <primary sortas="b-pdftoppm">pdftoppm</primary>
|
---|
| 270 | </indexterm>
|
---|
| 271 | </listitem>
|
---|
| 272 | </varlistentry>
|
---|
| 273 |
|
---|
| 274 | <varlistentry id="pdftops-poppler">
|
---|
| 275 | <term><command>pdftops</command></term>
|
---|
| 276 | <listitem>
|
---|
| 277 | <para> converts PDF files to Postscript format.</para>
|
---|
| 278 | <indexterm zone="poppler pdftops">
|
---|
| 279 | <primary sortas="b-pdftops">pdftops</primary>
|
---|
| 280 | </indexterm>
|
---|
| 281 | </listitem>
|
---|
| 282 | </varlistentry>
|
---|
| 283 |
|
---|
| 284 | <varlistentry id="pdftotext-poppler">
|
---|
| 285 | <term><command>pdftotext</command></term>
|
---|
| 286 | <listitem>
|
---|
| 287 | <para>converts PDF files to plain text.</para>
|
---|
| 288 | <indexterm zone="poppler pdftotext">
|
---|
| 289 | <primary sortas="b-pdftotext">pdftotext</primary>
|
---|
| 290 | </indexterm>
|
---|
| 291 | </listitem>
|
---|
| 292 | </varlistentry>
|
---|
| 293 |
|
---|
| 294 | <varlistentry id="pdfunite">
|
---|
| 295 | <term><command>pdfunite</command></term>
|
---|
| 296 | <listitem>
|
---|
| 297 | <para>merges several PDF files, in the order of their occurrence on the
|
---|
| 298 | command line, to one PDF output file.</para>
|
---|
| 299 | <indexterm zone="poppler pdfunite">
|
---|
| 300 | <primary sortas="b-pdfunite">pdfunite</primary>
|
---|
| 301 | </indexterm>
|
---|
| 302 | </listitem>
|
---|
| 303 | </varlistentry>
|
---|
| 304 |
|
---|
| 305 | <varlistentry id="poppler-glib-demo">
|
---|
| 306 | <term><command>poppler-glib-demo</command></term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>is a tool to demonstrate the API, and for use when debugging and
|
---|
| 309 | testing <application>poppler</application>.</para>
|
---|
| 310 | <indexterm zone="poppler poppler-glib-demo">
|
---|
| 311 | <primary sortas="b-poppler-glib-demo">poppler-glib-demo</primary>
|
---|
| 312 | </indexterm>
|
---|
| 313 | </listitem>
|
---|
| 314 | </varlistentry>
|
---|
| 315 |
|
---|
[5474306] | 316 | <varlistentry id="libpoppler">
|
---|
[a5dfefb2] | 317 | <term><filename class='libraryfile'>libpoppler.so</filename></term>
|
---|
[5474306] | 318 | <listitem>
|
---|
| 319 | <para>contains the API functions to render PDF files.</para>
|
---|
| 320 | <indexterm zone="poppler libpoppler">
|
---|
[a5dfefb2] | 321 | <primary sortas="c-libpoppler">libpoppler.so</primary>
|
---|
[5474306] | 322 | </indexterm>
|
---|
| 323 | </listitem>
|
---|
| 324 | </varlistentry>
|
---|
| 325 |
|
---|
[7d564a1] | 326 | <varlistentry id="libpoppler-cpp">
|
---|
[a5dfefb2] | 327 | <term><filename class='libraryfile'>libpoppler-cpp.so</filename></term>
|
---|
[7d564a1] | 328 | <listitem>
|
---|
| 329 | <para>is a C++ backend for rendering PDF files.</para>
|
---|
| 330 | <indexterm zone="poppler libpoppler-cpp">
|
---|
[a5dfefb2] | 331 | <primary sortas="c-libpoppler-cpp">libpoppler-cpp.so</primary>
|
---|
[7d564a1] | 332 | </indexterm>
|
---|
| 333 | </listitem>
|
---|
| 334 | </varlistentry>
|
---|
| 335 |
|
---|
[5474306] | 336 | <varlistentry id="libpoppler-glib">
|
---|
[a5dfefb2] | 337 | <term><filename class='libraryfile'>libpoppler-glib.so</filename></term>
|
---|
[5474306] | 338 | <listitem>
|
---|
| 339 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 340 | functions with <application>GTK+</application>.</para>
|
---|
| 341 | <indexterm zone="poppler libpoppler-glib">
|
---|
[a5dfefb2] | 342 | <primary sortas="c-libpoppler-glib">libpoppler-glib.so</primary>
|
---|
[5474306] | 343 | </indexterm>
|
---|
| 344 | </listitem>
|
---|
| 345 | </varlistentry>
|
---|
| 346 |
|
---|
| 347 | <varlistentry id="libpoppler-qt4">
|
---|
[a5dfefb2] | 348 | <term><filename class='libraryfile'>libpoppler-qt4.so</filename></term>
|
---|
[5474306] | 349 | <listitem>
|
---|
| 350 | <para>is a wrapper library used to interface the PDF rendering
|
---|
| 351 | functions with <application>Qt</application>-4.</para>
|
---|
| 352 | <indexterm zone="poppler libpoppler-qt4">
|
---|
[a5dfefb2] | 353 | <primary sortas="c-libpoppler-qt4">libpoppler-qt4.so</primary>
|
---|
[5474306] | 354 | </indexterm>
|
---|
| 355 | </listitem>
|
---|
| 356 | </varlistentry>
|
---|
| 357 |
|
---|
| 358 | </variablelist>
|
---|
| 359 |
|
---|
| 360 | </sect2>
|
---|
| 361 |
|
---|
| 362 | </sect1>
|
---|