From 95f5d0ae8750dac3ed006e9999450e725eeeaeec Mon Sep 17 00:00:00 2001 From: Judah Milgram Date: Mon, 11 Aug 2025 10:34:30 +0700 Subject: [PATCH] academic/maxima: Updated for version 5.48.1. Signed-off-by: Willy Sudiarto Raharjo --- academic/maxima/README | 7 +++++-- academic/maxima/doinst.sh | 18 ++++++++++++++++++ academic/maxima/maxima.SlackBuild | 5 +++-- academic/maxima/maxima.info | 6 +++--- 4 files changed, 29 insertions(+), 7 deletions(-) diff --git a/academic/maxima/README b/academic/maxima/README index d084e4cb04..29393dbc81 100644 --- a/academic/maxima/README +++ b/academic/maxima/README @@ -21,6 +21,9 @@ is also available. An active community maintains and extends the system. Maxima is widely used. SBo Installation notes: -- The info files are not compressed. + +As required by maxima's internal help facility: +- The info files are not gzipped. - Two .lisp files install to /usr/info. -These are required for maxima's help facility. +These will trigger errors and warnings from sbopkglint. + diff --git a/academic/maxima/doinst.sh b/academic/maxima/doinst.sh index 7b028b1845..954df75d9f 100644 --- a/academic/maxima/doinst.sh +++ b/academic/maxima/doinst.sh @@ -1,4 +1,22 @@ +# As featured in many Slackbuilds: + +if [ -x /usr/bin/install-info -a -d usr/info ]; then + ( cd usr/info + rm -f dir + for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done + ) +fi + +echo << END +Note: don't compress the info files because maxima uses them as +internal help files and currently isn't able to decompress them on +the fly. "info" can handle uncompressed files. +END + +echo << END +Note: lisp files were added to /usr/info because maxima needs them +END if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1 diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild index 15ba5bebbe..70b82c0be0 100644 --- a/academic/maxima/maxima.SlackBuild +++ b/academic/maxima/maxima.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for maxima -# Copyright 2021-23 Judah Milgram +# Copyright 2021-25 Judah Milgram # Copyright 2017 Dhaby Xiloj # All rights reserved. # Based on work of Robby and others slackers. @@ -34,11 +34,12 @@ # JM -> update version 5.39 -> 5.44 # JM -> update to version 5.46 # JM -> update to version 5.47 +# JM -> update to version 5.48 cd $(dirname $0) ; CWD=$(pwd) PRGNAM=maxima -VERSION=${VERSION:-5.47.0} +VERSION=${VERSION:-5.48.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} diff --git a/academic/maxima/maxima.info b/academic/maxima/maxima.info index 4bc595b8bc..f9c8a6f746 100644 --- a/academic/maxima/maxima.info +++ b/academic/maxima/maxima.info @@ -1,8 +1,8 @@ PRGNAM="maxima" -VERSION="5.47.0" +VERSION="5.48.1" HOMEPAGE="http://maxima.sourceforge.net/" -DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.47.0-source/maxima-5.47.0.tar.gz" -MD5SUM="8ddf54f90fc36e8773fe47a5a9023106" +DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.48.1-source/maxima-5.48.1.tar.gz" +MD5SUM="25349d4b94063d41d23a8e4c395c08f5" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""