Poppler-0.5.4

Introduction to Poppler

The Poppler package contains a PDF rendering library and command line tools used to manipulate PDF files. This is useful for providing PDF rendering functionality as a shared library.

Package Information

  • Download (HTTP): http://poppler.freedesktop.org/poppler-0.5.4.tar.gz

  • Download MD5 sum: 053fdfd70533ecce1a06353fa945f061

  • Download size: 1.0 MB

  • Estimated disk space required: 49 MB (additional 15 MB to install the encoding data package)

  • Estimated build time: 1.0 SBU (includes building with all dependencies)

Additional Downloads

The additional package consists of encoding files for use with Poppler. The encoding files are optional and poppler will automatically read them if they are present. When installed, they enable Poppler to render CJK and Cyrillic properly.

Poppler Dependencies

Required

pkg-config-0.22 and Fontconfig-2.4.2

Optional

libjpeg-6b, cairo-1.4.14, GTK+-2.10.13, Qt-3.3.8b, and Qt-4.x.x

If you're installing Poppler to support kdegraphics-3.5.9, you will need to have Qt-3.3.8b installed so that the libpoppler-qt library is built.

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/poppler

Installation of Poppler

[Caution]

Caution

Poppler will overwrite command-line utilities and man pages previously installed by the Xpdf package. If you prefer to keep the Xpdf versions of these files, pass the --disable-utils parameter to the configure command below.

The configure command below includes three parameters which disable various rendering back-ends. Ensure you remove any of the parameters for which you have the corresponding dependency installed. Install Poppler by running the following commands:

patch -Np1 -i ../poppler-0.5.4-security_fixes-1.patch &&
./configure --prefix=/usr \
            --sysconfdir=/etc \
            --enable-zlib \
            --disable-cairo-output \
            --disable-poppler-glib \
            --disable-gtk-test &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
install -v -m755 -d      /usr/share/doc/poppler-0.5.4 &&
install -v -m644 README* /usr/share/doc/poppler-0.5.4

If you downloaded the additional encoding data package, install it by issuing the following command after unpacking the tarball and changing into the newly-created package source directory (as the root user):

make prefix=/usr install

Command Explanations

--enable-zlib: This parameter forces the build to link with the system-installed libz library to enable compressed PDF functionality.

--disable-cairo-output: This parameter disables building the cairo graphics backend. Remove this parameter if you have cairo installed.

--disable-poppler-glib and --disable-gtk-test: These parameters disable building the GLib wrapper and GTK+ test program. Remove these parameters if you have GTK+-2 installed. Note that if you plan on building Evince-0.8.3, you must build the GLib wrapper.

Configuring Poppler

Config Files

/etc/xpdfrc

Contents

Installed Libraries: libpoppler.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}
Installed Directories: /usr/include/poppler, /usr/share/doc/poppler-0.5.4, /usr/share/gtk-doc/html/poppler and /usr/share/poppler

Short Descriptions

libpoppler.{so,a}

contains the API functions to render PDF files.

libpoppler-glib.{so,a}

is a wrapper library used to interface the PDF rendering functions with GTK+.

libpoppler-qt.{so,a}

is a wrapper library used to interface the PDF rendering functions with Qt.

libpoppler-qt4.{so,a}

is a wrapper library used to interface the PDF rendering functions with Qt-4.

Last updated on 2008-07-12 13:29:07 -0500