aboutsummaryrefslogtreecommitdiff
path: root/python/pypoppler/pypoppler.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-03-28 01:26:21 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-03-29 00:07:26 -0500
commit6e3ec235efd0b13eb5862780d9ce529205b89d63 (patch)
treea25fb3d3c200fcd862dceb6696961362a27bfa5f /python/pypoppler/pypoppler.SlackBuild
parenta496a5d0540baf3adaf8d1b988a63c8d69833d1b (diff)
python/pypoppler: Patched to build with poppler 0.16.
Patched for poppler 0.16 and added some upstream fixes. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'python/pypoppler/pypoppler.SlackBuild')
-rw-r--r--python/pypoppler/pypoppler.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/python/pypoppler/pypoppler.SlackBuild b/python/pypoppler/pypoppler.SlackBuild
index 3daca31ae4af9..1d723c8e1e60a 100644
--- a/python/pypoppler/pypoppler.SlackBuild
+++ b/python/pypoppler/pypoppler.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=pypoppler
VERSION=0.12.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -48,6 +48,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix building with poppler 0.15+ and some upstream fixes.
+patch -p0 < $CWD/patches/pypoppler-0.12.1-75_74.diff
+patch -p0 < $CWD/patches/pypoppler-0.12.1-76_75.diff
+patch -p0 < $CWD/patches/pypoppler-0.12.1-79_78.diff
+patch -p0 < $CWD/patches/poppler0.15.0-changes.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \