From 89fccedf0d072e4828ded38b4975ba5e4bedec5e Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Fri, 18 May 2012 22:05:33 +0000 Subject: Calibre stopped shipping man pages --- calibre/build/calibre.SlackBuild | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'calibre') diff --git a/calibre/build/calibre.SlackBuild b/calibre/build/calibre.SlackBuild index c5d58f51..97e26d7e 100755 --- a/calibre/build/calibre.SlackBuild +++ b/calibre/build/calibre.SlackBuild @@ -136,7 +136,8 @@ # 0.8.51-1: 11/may/2012 by Eric Hameleers # * Update. # 0.8.52-1: 18/may/2012 by Eric Hameleers -# * Update. +# * Update. Man pages are no longer included as all utilities +# have more comprehensive command line "--help". # # Run 'sh calibre.SlackBuild' to build a Slackware package. # The package (.txz) and .txt file as well as build logs are created in /tmp . @@ -743,10 +744,6 @@ make_calibre () { # Cut out the DOS crap: sed -i -e 's/\r//' src/calibre/web/feeds/recipes/* - # Use standard manpage names: - cat $PATCHDIR/calibre.manpages.diff | patch -p1 --verbose \ - 2>&1 | tee $OUTPUT/patch-$PRGNAM.log - OVERRIDE_LDFLAGS="$LDFLAGS $SLKLDFLAGS" \ OVERRIDE_CFLAGS="$SLKCFLAGS" \ python setup.py build \ @@ -771,10 +768,6 @@ make_calibre () { # The bash completion files need to be in /etc : mv $PKG/usr/etc $PKG/ - # Move the man pages to the standard location: - mv $PKG/usr/share/calibre/man $PKG/usr - ln -sf /usr/man $PKG/usr/share/calibre/man - # Mime type definition files end in .xml : mv $PKG/usr/share/mime/packages/calibre-mimetypes{,.xml} @@ -966,12 +959,6 @@ cat $SRCDIR/$(basename $0) > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chown -R root:root $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc -type f -exec chmod 644 {} \; -# Compress the man page(s): -if [ -d $PKG/usr/man ]; then - find $PKG/usr/man -type f -name "*.?" -exec gzip -9f {} \; - for i in $(find $PKG/usr/man -type l -name "*.?") ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -fi - # Strip binaries (if any): find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3-79-gdb01