diff options
Diffstat (limited to 'office/evince/evince.SlackBuild')
-rw-r--r-- | office/evince/evince.SlackBuild | 14 |
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 \ |