Poppler-0.4.5

Introduction to Poppler

The Poppler package contains a PDF rendering library. This is useful for providing PDF rendering functionality as a shared library.

Package Information

Poppler Dependencies

Optional

pkg-config-0.20, libjpeg-6b, Fontconfig-2.3.2, cairo-1.2.4, GTK+-2.8.20, Qt-3.3.7, and Qt-4.x.x

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

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

Installation of Poppler

[Note]

Note

If you are installing a version of Poppler >= 5.1 to support an installation of Evince-0.5.3, note that command-line utilities and man pages are installed which will overwrite these same files installed by the Xpdf package. If you'd prefer to keep the Xpdf versions of these files, use the --bindir= and --mandir= parameters passed to the configure script to install these files to a safe location (e.g., $HOME or /tmp. An alternative method to not overwrite the command-line utilities is to use the --disable-utils parameter.

Install Poppler by running the following commands:

./configure --prefix=/usr --sysconfdir=/etc \
            --enable-opi \
            --enable-zlib \
            --disable-splash-output \
            --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 -m644 -D README /usr/share/doc/poppler-0.4.5/README

Command Explanations

--enable-opi: This parameter forces the build to include support for OPI comments.

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

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

--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.5.3, you must build the GLib wrapper.

Configuring Poppler

Config Files

/etc/xpdfrc

Contents

Installed Programs: None
Installed Libraries: libpoppler.{so,a}, libpoppler-glib.{so,a}, libpoppler-qt.{so,a} and libpoppler-qt4.{so,a}
Installed Directories: /usr/include/poppler and /usr/share/doc/poppler-0.4.5

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 2007-01-18 13:38:19 -0600