Difference between revisions of "Poppler"

From CBLFS
Jump to navigationJump to search
(I added a note to the Qt3 dependency.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://poppler.freedesktop.org/poppler-{{Poppler-Version}}.tar.gz
 
| http://poppler.freedesktop.org/poppler-{{Poppler-Version}}.tar.gz
Line 19: Line 19:
 
* [[cairo]]
 
* [[cairo]]
 
* [[Gtk2]]
 
* [[Gtk2]]
* [[Qt3]]
+
* [[Qt3]] (required if you wish to use Poppler with [[KdeGraphics]])
 
* [[Qt4]]
 
* [[Qt4]]
 
* [[Gtk-Doc]]
 
* [[Gtk-Doc]]

Revision as of 14:05, 20 December 2006

Download Source: http://poppler.freedesktop.org/poppler-0.12.4.tar.gz

Introduction to Poppler

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

Dependencies

Optional

Non-Multilib

Compile the package:

./configure --prefix=/usr --sysconfdir=/etc \
    --enable-opi --enable-zlib &&
make

Install the package

make install &&
install -v -m644 -D README /usr/share/doc/poppler-0.12.4/README

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --enable-opi --enable-zlib &&
make

Install the package

make install

N32

Compile the package:

sed -i 's:$QTDIR/lib:&32:g' configure &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib32 \
    --enable-opi --enable-zlib &&
make

Install the package

make install

64Bit

Compile the package:

sed -i 's:$QTDIR/lib:&64:g' configure &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --sysconfdir=/etc \
    --libdir=/usr/lib64 \
    --enable-opi --enable-zlib &&
make

Install the package

make install &&
install -v -m644 -D README /usr/share/doc/poppler-0.12.4/README
Retrieved from "?title=Poppler&oldid=6028"