Poppler-0.12.0

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.

This package is known to build and work properly using an LFS-6.5 platform.

Package Information

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

  • Download MD5 sum: 399b25d9d71ad22bc9a2a9281769c49c

  • Download size: 1.5 MB

  • Estimated disk space required: 65 MB (without Qt3, additional 12 MB to install the encoding data package)

  • Estimated build time: 1.5 SBU (includes building with all dependencies except Qt3)

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

Fontconfig-2.7.3

Recommended

Optional

GTK+-2.18.3, Qt-3.3.8b, and Qt-4.4.3

If you're installing Poppler to support kdegraphics-3.5.10, 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.

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --enable-zlib &&
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.12.0 &&
install -v -m644 README* /usr/share/doc/poppler-0.12.0

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.

--disable-poppler-glib and --disable-gtk-test: These parameters disable building the GLib wrapper and GTK+ test program.

--disable-static: Prevent static libraries being built and installed.

--enable-xpdf-headers: Install old Xpdf headers required by certain programs. These are unsupported by Poppler.

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.12.0, /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 2009-09-16 16:25:18 +0000