summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJudah Milgram <milgram@cgpp.com>2022-10-04 20:17:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-10-08 09:12:41 +0700
commit6896fe235a661a59332cb584777aaf41ad56e70c (patch)
tree5bd4aaf6127e461e8f2ad1cc19ce98cdafa64242
parent50ca7b712780efb8653c52704361ce16f541d7b6 (diff)
downloadslackbuilds-6896fe235a661a59332cb584777aaf41ad56e70c.tar.gz
academic/maxima: Updated for version 5.46.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/maxima/README29
-rw-r--r--academic/maxima/doinst.sh10
-rw-r--r--academic/maxima/maxima.SlackBuild9
-rw-r--r--academic/maxima/maxima.info6
-rw-r--r--academic/maxima/slack-desc10
5 files changed, 45 insertions, 19 deletions
diff --git a/academic/maxima/README b/academic/maxima/README
index 35a04af3fa..2ad21b8a56 100644
--- a/academic/maxima/README
+++ b/academic/maxima/README
@@ -1,7 +1,22 @@
-Maxima is a system for the manipulation of symbolic and numerical
-expressions, including differentiation, integration, Taylor series,
-Laplace transforms, ordinary differential equations, systems of linear
-equations, polynomials, and sets, lists, vectors, matrices, and tensors.
-Maxima yields high precision numeric results by using exact fractions,
-arbitrary precision integers, and arbitrarily precision floating point
-numbers. Maxima can plot functions and data in two and three dimensions.
+
+Maxima is a GPL computer algebra system based on DOE-MACSYMA. It
+is comparable to commercial systems like Mathematica and Maple. It
+emphasizes symbolic mathematical computation: algebra, trigonometry,
+calculus, and much more.
+
+For example, Maxima solves x^2-r*x-s^2-r*s=0 giving the symbolic
+results [x=r+s, x=-s].
+
+Maxima can calculate with exact integers and fractions, native
+floating-point and high-precision big floats.
+
+Maxima has user-friendly front-ends, an on-line manual, plotting
+commands, and numerical libraries. Users can write programs in its
+native programming language, and many have contributed useful packages
+in a variety of areas over the decades.
+
+Maxima is GPL-licensed and largely written in Common Lisp. Executables
+can be downloaded for Windows, Mac, Linux, and Android; source code
+is also available. An active community maintains and extends the
+system. Maxima is widely used.
+
diff --git a/academic/maxima/doinst.sh b/academic/maxima/doinst.sh
new file mode 100644
index 0000000000..7b028b1845
--- /dev/null
+++ b/academic/maxima/doinst.sh
@@ -0,0 +1,10 @@
+
+
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q /usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database /usr/share/mime >/dev/null 2>&1
+fi
+
diff --git a/academic/maxima/maxima.SlackBuild b/academic/maxima/maxima.SlackBuild
index 6163ace6fa..50a666a2c8 100644
--- a/academic/maxima/maxima.SlackBuild
+++ b/academic/maxima/maxima.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for maxima
-# Copyright 2021 Judah Milgram <milgram@cgpp.com>
+# Copyright 2021-22 Judah Milgram <milgram@cgpp.com>
# Copyright 2017 Dhaby Xiloj <slack.dhabyx@gmail.com>
# All rights reserved.
# Based on work of Robby and others slackers.
@@ -32,11 +32,12 @@
# Modified by Glenn Becker to update to version 5.28.0
# Glenn Becker -> update to version 5.38.1
# JM -> update version 5.39 -> 5.44
+# JM -> update to version 5.46
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=maxima
-VERSION=${VERSION:-5.44.0}
+VERSION=${VERSION:-5.46.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -111,15 +112,15 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# NOTE: Do not compress the info pages; they are needed by Maxima's help facility.
rm -rf $PKG/usr/info/dir
-# gzip -9 $PKG/usr/info/*.info*
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING ChangeLog* INSTALL* NEWS README* \
+cp -a AUTHORS COPYING ChangeLog* NEWS README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/academic/maxima/maxima.info b/academic/maxima/maxima.info
index 8235c0ba3c..577f46f82b 100644
--- a/academic/maxima/maxima.info
+++ b/academic/maxima/maxima.info
@@ -1,8 +1,8 @@
PRGNAM="maxima"
-VERSION="5.44.0"
+VERSION="5.46.0"
HOMEPAGE="http://maxima.sourceforge.net/"
-DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.44.0-source/maxima-5.44.0.tar.gz"
-MD5SUM="75e040745161901968d9c99c7a258e5c"
+DOWNLOAD="https://sourceforge.net/projects/maxima/files/Maxima-source/5.46.0-source/maxima-5.46.0.tar.gz"
+MD5SUM="3c01f1daa6936e11d8713fef7751d3fe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/academic/maxima/slack-desc b/academic/maxima/slack-desc
index 360e5737ae..0963a7bfea 100644
--- a/academic/maxima/slack-desc
+++ b/academic/maxima/slack-desc
@@ -8,11 +8,11 @@
|-----handy-ruler------------------------------------------------------|
maxima: maxima (a computer algebra system)
maxima:
-maxima: Maxima is a system for the manipulation of symbolic and numerical
-maxima: expressions, including differentiation, integration, Taylor series,
-maxima: Laplace transforms, ordinary differential equations, systems of
-maxima: linear equations, polynomials, and sets, lists, vectors, matrices,
-maxima: and tensors.
+maxima: Maxima is a GPL computer algebra system based on DOE-MACSYMA.
+maxima:
+maxima: It is comparable to commercial systems like Mathematica and Maple end
+maxima: emphasizes symbolic mathematical computation in algebra, trigonometry,
+maxima: calculus, and much more.
maxima:
maxima: Homepage: http://maxima.sourceforge.net/
maxima: