diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-31 08:55:04 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-05 07:02:20 +0700 |
commit | 3a8ce1401be579284b266d3ae424e7b373bccc0a (patch) | |
tree | a12d167301f555436b64bfc0d82328be6542c3b0 /python/pypoppler/pypoppler.SlackBuild | |
parent | 0a9d87ea6125859379defddc91d104632dcb7687 (diff) |
python/pypoppler: Patched to fix building with latest poppler.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/pypoppler/pypoppler.SlackBuild')
-rw-r--r-- | python/pypoppler/pypoppler.SlackBuild | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/python/pypoppler/pypoppler.SlackBuild b/python/pypoppler/pypoppler.SlackBuild index 4197b76fb4c60..25bb4768edb9e 100644 --- a/python/pypoppler/pypoppler.SlackBuild +++ b/python/pypoppler/pypoppler.SlackBuild @@ -42,16 +42,17 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -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-79_78.diff patch -p0 < $CWD/patches/poppler0.15.0-changes.patch patch -p1 < $CWD/patches/pypoppler-0.12.1-poppler-0.18.0-minimal-fix-revisited.patch +patch -p0 < $CWD/patches/python-poppler-0.12.1-poppler-0.39.0-changes.patch autoreconf -ivf @@ -64,13 +65,11 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a \ - AUTHORS ChangeLog COPYING INSTALL NEWS \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |