Difference between revisions of "Poppler"
From CBLFS
Jump to navigationJump to search (The note is added to help those who are building Enlightenment E17 from source.) |
|||
(9 intermediate revisions by 5 users not shown) | |||
Line 5: | Line 5: | ||
|-valign="top" | |-valign="top" | ||
!Download Data Package: | !Download Data Package: | ||
− | | http://poppler.freedesktop.org/poppler-data-{{ | + | | http://poppler.freedesktop.org/poppler-data-{{Poppler-Data-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
− | {{Package-Introduction|The Poppler package contains a PDF rendering library. This is useful for providing PDF rendering functionality as a shared library.}} | + | {{Package-Introduction|The Poppler package contains a PDF rendering library. This is useful for providing PDF rendering functionality as a shared library.|http://poppler.freedesktop.org/}} |
== Dependencies == | == Dependencies == | ||
+ | |||
+ | === Recommended === | ||
+ | * [[OpenJPEG]] | ||
=== Optional === | === Optional === | ||
Line 30: | Line 33: | ||
make prefix=/usr install | make prefix=/usr install | ||
+ | |||
+ | {{Note|If the Enlightenment epdf module is going to be built, be sure to pass ''--enable-xpdf-headers'' to install unsupported xpdf headers.}} | ||
== Non-Multilib == | == Non-Multilib == | ||
Line 35: | Line 40: | ||
Compile the package: | Compile the package: | ||
+ | sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
− | + | --enable-zlib && | |
make | make | ||
Line 50: | Line 56: | ||
Compile the package: | Compile the package: | ||
+ | sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure | ||
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
− | --enable- | + | --enable-zlib --build=${CLFS_TARGET32} && |
make | make | ||
Line 64: | Line 71: | ||
Compile the package: | Compile the package: | ||
+ | sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure | ||
sed -i 's:$QTDIR/lib:&32:g' configure && | sed -i 's:$QTDIR/lib:&32:g' configure && | ||
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" USE_ARCH=n32 \ | ||
Line 69: | Line 77: | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib32 \ | --libdir=/usr/lib32 \ | ||
− | + | --enable-zlib && | |
make | make | ||
Line 77: | Line 85: | ||
=== 64Bit === | === 64Bit === | ||
+ | |||
+ | If you are building on an architecture other than x86_64, issue the following command to correct the search for [[Qt3]] libraries: | ||
+ | |||
+ | sed -i 's:$QTDIR/lib:&64:g' configure && | ||
Compile the package: | Compile the package: | ||
− | sed -i 's | + | sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure |
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" USE_ARCH=64 \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \ | ||
./configure --prefix=/usr --sysconfdir=/etc \ | ./configure --prefix=/usr --sysconfdir=/etc \ | ||
--libdir=/usr/lib64 \ | --libdir=/usr/lib64 \ | ||
− | + | --enable-zlib && | |
make | make | ||
Line 92: | Line 104: | ||
make install && | make install && | ||
install -v -m644 -D README /usr/share/doc/poppler-{{Poppler-Version}}/README | install -v -m644 -D README /usr/share/doc/poppler-{{Poppler-Version}}/README | ||
+ | |||
+ | [[Category:X Libs]] |
Latest revision as of 18:17, 7 January 2010
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 |
Contents
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
If the Enlightenment epdf module is going to be built, be sure to pass --enable-xpdf-headers to install unsupported xpdf headers.
Non-Multilib
Compile the package:
sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure ./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:
sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" USE_ARCH=32 \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ ./configure --prefix=/usr --sysconfdir=/etc \ --enable-zlib --build=${CLFS_TARGET32} && make
Install the package
make install
N32
Compile the package:
sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' configure 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
If you are building on an architecture other than x86_64, issue the following command to correct the search for Qt3 libraries:
sed -i 's:$QTDIR/lib:&64:g' configure &&
Compile the package:
sed -i '/MOCQT4=/s@`which moc`@"${QT4DIR}/bin/moc"@' 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