diff options
author | Kyle Guinn <elyk03@gmail.com> | 2014-12-06 23:31:04 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-13 10:35:41 +0700 |
commit | 158949367c827185ec652cb474a0e3668a716d13 (patch) | |
tree | 161b02625fa4ad256db8e63225a6beb299662a50 /academic/octave/octave.SlackBuild | |
parent | fabfddfd81cfc09240ca91bceacd70f098ecc678 (diff) | |
download | slackbuilds-158949367c827185ec652cb474a0e3668a716d13.tar.gz |
academic/octave: Add workarounds for documentation browser bugs.
Thanks to Nikos Giotis for the bug report.
Signed-off-by: Kyle Guinn <elyk03@gmail.com>
Diffstat (limited to 'academic/octave/octave.SlackBuild')
-rw-r--r-- | academic/octave/octave.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/academic/octave/octave.SlackBuild b/academic/octave/octave.SlackBuild index bb723f4b18..9224335c13 100644 --- a/academic/octave/octave.SlackBuild +++ b/academic/octave/octave.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=octave VERSION=${VERSION:-3.8.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -77,6 +77,9 @@ chmod -R u+w,go-w,a+rX-st . # Auto-detect OpenBLAS. cat $CWD/patches/ax_blas.m4 > m4/ax_blas.m4 +# Add a patch from bug 41055. See below. +patch -p1 < $CWD/patches/missing-info-error.diff + # Don't try to detect Qt5. It's not supported yet. # https://savannah.gnu.org/bugs/?40252 patch -p1 < $CWD/patches/no-qt5.diff @@ -115,7 +118,9 @@ make install-strip DESTDIR=$PKG find $PKG/usr/man -type f -exec gzip -9 {} \; rm -f $PKG/usr/info/dir -gzip -9 $PKG/usr/info/*.info* +# Don't compress info pages, `octave --force-gui` can't handle them compressed. +# https://savannah.gnu.org/bugs/?41055 +#gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION |