Poppler: Difference between revisions
Chipster19 (talk | contribs) No edit summary |
No edit summary |
||
| Line 6: | Line 6: | ||
!Download Data Package: | !Download Data Package: | ||
| http://poppler.freedesktop.org/poppler-data-{{Popper-Data-Version}}.tar.gz | | http://poppler.freedesktop.org/poppler-data-{{Popper-Data-Version}}.tar.gz | ||
|-valign="top" | |||
!Download Patch: | |||
| http://svn.cross-lfs.org/svn/repos/patches/poppler/poppler-{{Popper-Data-Version}}-MOCQT4-1.patch | |||
|} | |} | ||
| Line 37: | Line 40: | ||
Compile the package: | Compile the package: | ||
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc | |||
patch -Np1 -i poppler-{{Popper-Data-Version}}-MOCQT4-1.patch | |||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
| Line 52: | Line 58: | ||
Compile the package: | Compile the package: | ||
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc | |||
patch -Np1 -i poppler-{{Popper-Data-Version}}-MOCQT4-1.patch | |||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ | ||
| Line 66: | Line 75: | ||
Compile the package: | Compile the package: | ||
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc | |||
patch -Np1 -i poppler-{{Popper-Data-Version}}-MOCQT4-1.patch | |||
sed -i 's:$QTDIR/lib:&32:g' configure && | sed -i 's:$QTDIR/lib:&32:g' configure && | ||
| Line 82: | Line 94: | ||
Compile the package: | Compile the package: | ||
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc | |||
patch -Np1 -i poppler-{{Popper-Data-Version}}-MOCQT4-1.patch | |||
sed -i 's:$QTDIR/lib:&64:g' configure && | sed -i 's:$QTDIR/lib:&64:g' configure && | ||
Revision as of 08:20, 20 September 2009
| Download Source: | http://poppler.freedesktop.org/poppler-0.12.4.tar.gz |
|---|---|
| Download Data Package: | http://poppler.freedesktop.org/poppler-data-0.4.0.tar.gz |
| Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/poppler/poppler-0.4.0-MOCQT4-1.patch |
Introduction to Poppler
The Poppler package contains a PDF rendering library. This is useful for providing PDF rendering functionality as a shared library.
Project Homepage: http://poppler.freedesktop.org/
Dependencies
Recommended
Optional
- Pkg-config
- libjpeg
- FontConfig
- cairo
- Gtk2
- Qt3 (required if you wish to use Poppler with KdeGraphics)
- Qt4
- Gtk-Doc
- libglade
Poppler Data Package
Before installing Poppler install the data package by extracting it into its own directory then running the following command:
make prefix=/usr install
Non-Multilib
Compile the package:
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc
patch -Np1 -i poppler-0.4.0-MOCQT4-1.patch
./configure --prefix=/usr --sysconfdir=/etc \
--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:
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc
patch -Np1 -i poppler-0.4.0-MOCQT4-1.patch
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --sysconfdir=/etc \
--enable-zlib &&
make
Install the package
make install
N32
Compile the package:
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc
patch -Np1 -i poppler-0.4.0-MOCQT4-1.patch
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-zlib &&
make
Install the package
make install
64Bit
Compile the package:
If you have Qt3 and Qt4 installed this patch will be needed, due to which not always finding the correct moc
patch -Np1 -i poppler-0.4.0-MOCQT4-1.patch
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-zlib &&
make
Install the package
make install && install -v -m644 -D README /usr/share/doc/poppler-0.12.4/README