aboutsummaryrefslogtreecommitdiff
path: root/office/evince/evince.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-05-10 17:09:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-05-17 09:54:03 -0500
commit9ac64013666e0a79f2cbfd034335ac379c3fbeac (patch)
tree2d4be3726557e739482c2f35fb2fb76c4b3c1a0a /office/evince/evince.SlackBuild
parentd79e834943a46e18229d6f252626362047f13fb9 (diff)
office/evince: Added various patches to fix things.
No idea which patch(es) fixes the segfault, don't really care to find out. Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/evince/evince.SlackBuild')
-rw-r--r--office/evince/evince.SlackBuild14
1 files changed, 9 insertions, 5 deletions
diff --git a/office/evince/evince.SlackBuild b/office/evince/evince.SlackBuild
index dce97bd9cddbe..b5f8a78f4ce9c 100644
--- a/office/evince/evince.SlackBuild
+++ b/office/evince/evince.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=evince
VERSION=${VERSION:-2.32.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG=_SBo}
if [ -z "$ARCH" ]; then
@@ -72,6 +72,14 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-text/evince/files/
+for PATCH in $CWD/patches/* ; do
+ echo $PATCH
+ patch -p1 < $PATCH
+done
+
+autoreconf # we need to do this after the poppler api update patch
+
if [ "$NLS" != "YES" ]; then
# disable NLS - we're going for a small package here.
rm po/*.po
@@ -79,10 +87,6 @@ if [ "$NLS" != "YES" ]; then
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/g' configure
fi
-# Make evince compile against the newer poppler. Patch with
-# much thanks to Niels Horn.
-# patch -p1 < $CWD/evince_poppler016.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \