aboutsummaryrefslogtreecommitdiff
path: root/office/epdfview/epdfview.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@slackbuilds.org>2011-03-31 11:32:20 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-03-31 23:51:26 -0500
commit81ae0d778befd6b6412c5096ac46952dce7865f4 (patch)
tree7062f3c7f546acdce95206b0bba5bc61098d1d17 /office/epdfview/epdfview.SlackBuild
parent349c7f5f387fe31da04188f02fa9b54ac45e9f4f (diff)
office/epdfview: Patched for new poppler.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'office/epdfview/epdfview.SlackBuild')
-rw-r--r--office/epdfview/epdfview.SlackBuild20
1 files changed, 16 insertions, 4 deletions
diff --git a/office/epdfview/epdfview.SlackBuild b/office/epdfview/epdfview.SlackBuild
index 98a792891240..af7fd415015c 100644
--- a/office/epdfview/epdfview.SlackBuild
+++ b/office/epdfview/epdfview.SlackBuild
@@ -26,15 +26,13 @@
PRGNAM=epdfview
VERSION=0.1.7
-BUILD=${BUILD:-2}
-TAG=${TAG=_SBo}
+BUILD=${BUILD:-3}
+TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -76,6 +74,20 @@ find . \
# Add patch to fix mouse-scrolling in 0.1.7
patch -p0 < $CWD/mouse-scroll-fix.patch
+# Patch for poppler 0.15.0
+patch -p2 < $CWD/poppler-0150.patch
+
+# Patch for poppler 0.15.1
+patch -p2 < $CWD/poppler-0151.patch
+
+# Patch for poppler 0.16.2
+patch -p0 < $CWD/poppler-0162.patch
+
+# After all the poppler patches, we need to "autoreconf" to set the right variables,
+# but it fails if there is no "ChangeLog" file, so that is created first
+touch ChangeLog
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \