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