Poppler-0.24.5

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-7.5 platform.

Package Information

Additional Downloads

Poppler Encoding Data

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.11.0

Recommended

Optional

cURL-7.35.0, gobject-introspection-1.38.0, GTK+-2.24.22, Little CMS-1.19 or Little CMS-2.5, LibTIFF-4.0.3, OpenJPEG-1.5.1, Qt-4.8.5 (the libpoppler-qt4.so library is needed for PDF support in Okular), and Qt-5.2.1

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

Installation of Poppler

If you are building Qt5 library, fix Qt5 detection by running the following command:

sed -i -e "s:grep \"Qt 5\":grep \"Qt\\\|moc 5\":g" \
                          -e "s:QT_SELECT=qt5:QT_SELECT=5:" \
                          configure

Install Poppler by running the following commands:

./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --disable-static  \
            --enable-xpdf-headers &&
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.24.5 &&
install -v -m644 README* /usr/share/doc/poppler-0.24.5

If you downloaded the additional encoding data package, install it by issuing the following commands:

tar -xf ../poppler-data-0.4.6.tar.gz &&
cd poppler-data-0.4.6

Now, as the root user:

make prefix=/usr install

Command Explanations

--disable-static: This switch prevents installation of static versions of the libraries.

--enable-xpdf-headers: Install some old Xpdf headers required by certain programs (e.g. Okular, LibreOffice and Inkscape).

--enable-libcurl: Use libcurl for HTTP support.

Contents

Installed Programs: pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, pdfunite, and poppler-glib-demo
Installed Libraries: libpoppler.so, libpoppler-cpp.so, libpoppler-glib.so, libpoppler-qt4.so, and libpoppler-qt5.so
Installed Directories: /usr/include/poppler, /usr/share/doc/poppler-0.24.5, /usr/share/gtk-doc/html/poppler, and /usr/share/poppler

Short Descriptions

pdfdetach

lists or extracts embedded files from PDF files.

pdffonts

lists the fonts used in a PDF file along with various information for each font.

pdfimages

saves images from a PDF file as PPM, PBM, or JPEG files.

pdfinfo

prints the contents of the 'Info' dictionary (plus some other useful information) from a PDF file.

pdfseparate

extracts single pages from a PDF file.

pdftocairo

converts a PDF file to one of several formats (PNG, JPEG, PDF, PS, EPS, SVG) using the cairo output device of the poppler library.

pdftohtml

converts a PDF file to HTML.

pdftoppm

converts PDF files to PBM, PGM and PPM formats.

pdftops

converts PDF files to Postscript format.

pdftotext

converts PDF files to plain text.

pdfunite

merges several PDF files, in the order of their occurrence on the command line, to one PDF output file.

poppler-glib-demo

is a tool to demonstrate the API, and for use when debugging and testing Poppler.

libpoppler.so

contains the API functions to render PDF files.

libpoppler-cpp.so

is a C++ backend for rendering PDF files.

libpoppler-glib.so

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

libpoppler-qt4.so

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

libpoppler-qt5.so

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

Last updated on 2014-02-18 18:25:11 -0800