For 13.2 the only changes in PKGBUILD are
-pkgver=13.1.0
+pkgver=13.2.0
-md5sums=('23e6c72f6b948cefc4f588ec563af488')
+md5sums=('05a0eaaafef2e4478454cb28e0ab4bc8')
Git Clone URL: | https://aur.archlinux.org/mathematica.git (read-only, click to copy) |
---|---|
Package Base: | mathematica |
Description: | A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing with offline documentation. |
Upstream URL: | http://www.wolfram.com/mathematica/ |
Licenses: | proprietary |
Submitter: | Feanor12 |
Maintainer: | JP-Ellis |
Last Packager: | JP-Ellis |
Votes: | 80 |
Popularity: | 0.42 |
First Submitted: | 2011-03-03 21:27 (UTC) |
Last Updated: | 2024-01-15 22:25 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 35 Next › Last »
For 13.2 the only changes in PKGBUILD are
-pkgver=13.1.0
+pkgver=13.2.0
-md5sums=('23e6c72f6b948cefc4f588ec563af488')
+md5sums=('05a0eaaafef2e4478454cb28e0ab4bc8')
Wolfram offers two bundles for Mathematica: one with offline docs included, and one which relies on online docs. I have created corresponding version of the Mathematica package in the AUR:
mathematica
: As this package has historically always included offline docs, it will continue to do so now. As of 13.1.0, the package takes up around 14.1GiB with all documentation.mathematica-light
: For those people who want a small package and/or want to use online docs, I have created this package which uses Wolfram's online-docs bundling of Mathematica. As of 13.3, the light version takes up around 7.2GiB.@JP-Ellis If you don't have time to maintain this package, I would be happy to take over in your stead. Let me know what you think.
Hi, @JP-Ellis can you update PKGBUILD?
I've been a bit busy these part few weeks, but I am intending to get to this upgrade on the weekend. The split from a single installer to separate program and docs installer is good, though it does mean that the upgrade is less trivial. Thanks @mane.andrew for the patch though!
They decided to change the way the software is shipped: now you have to download the binary and the documentation as separate files and install them separately.
I took the liberty of adding a patch. You can use it as a starting point, I don't think it's perfect, but it works (I built it in a chroot and installed it just now)
diff --git a/.SRCINFO b/.SRCINFO
index 6a72d0d..cae6dbc 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = mathematica
pkgdesc = A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing.
- pkgver = 13.0.1
+ pkgver = 13.1.0
pkgrel = 1
url = http://www.wolfram.com/mathematica/
arch = x86_64
@@ -56,7 +56,9 @@ pkgbase = mathematica
optdepends = tesseract
optdepends = zlib
options = !strip
- source = local://Mathematica_13.0.1_BNDL_LINUX.sh
- md5sums = cdeae74ad72420c1dea5027f7f8c569e
+ source = local://Mathematica_13.1.0_LINUX.sh
+ source = local://WLDocs_13.1.0_LINUX.sh
+ md5sums = 43fee918e0520250daab1d962fb3a594
+ md5sums = b041ba25be3e8ec517cd845bf1f338da
pkgname = mathematica
diff --git a/.gitignore b/.gitignore
index 0e5f346..009aae3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
Mathematica*.sh
+WLDocs*.sh
*.pkg.tar
*.pkg.tar.xz
-*.pkg.tar.zst
\ No newline at end of file
+*.pkg.tar.zst
diff --git a/PKGBUILD b/PKGBUILD
index e071fd0..534eca5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
# Contributor: teratomata <teratomat@gmail.com>
pkgname=mathematica
-pkgver=13.0.1
+pkgver=13.1.0
pkgrel=1
pkgdesc="A computational software program used in scientific, engineering, and mathematical fields and other areas of technical computing."
arch=('x86_64')
@@ -70,8 +70,10 @@ optdepends=(
'tesseract'
'zlib'
)
-source=("local://Mathematica_${pkgver}_BNDL_LINUX.sh")
-md5sums=('cdeae74ad72420c1dea5027f7f8c569e')
+source=("local://Mathematica_${pkgver}_LINUX.sh"
+ "local://WLDocs_${pkgver}_LINUX.sh")
+md5sums=('43fee918e0520250daab1d962fb3a594'
+ 'b041ba25be3e8ec517cd845bf1f338da')
options=("!strip")
## To build this package you need to place the mathematica-installer into your
@@ -96,19 +98,40 @@ prepare() {
exit 1
fi
- chmod +x ${srcdir}/Mathematica_${pkgver}_BNDL_LINUX.sh
+ chmod +x ${srcdir}/Mathematica_${pkgver}_LINUX.sh
+ chmod +x ${srcdir}/WLDocs_${pkgver}_LINUX.sh
}
package() {
+
+ # The installer calls hostname, which is not necessarily available
+ hostname() { echo '$HOSTNAME'; }
+ export -f hostname
+
msg2 "Running Mathematica installer"
# https://reference.wolfram.com/language/tutorial/InstallingMathematica.html#650929293
- sh ${srcdir}/Mathematica_${pkgver}_BNDL_LINUX.sh -- \
+ sh ${srcdir}/Mathematica_${pkgver}_LINUX.sh -- \
-execdir=${pkgdir}/usr/bin \
-targetdir=${pkgdir}/opt/Mathematica \
-auto
+
msg2 "Errors related to 'xdg-icon-resource' and 'xdg-desktop-menu' are to be expected during Mathematica's installation."
rm ${pkgdir}/opt/Mathematica/InstallErrors
+ ## The documentation takes up the majority of the disk space (7.8G+). If you
+ ## do not wish to have the documentation installed, comment out the following
+ sh ${srcdir}/WLDocs_${pkgver}_LINUX.sh -- \
+ -execdir=${pkgdir}/usr/bin \
+ -targetdir=${pkgdir}/opt/Mathematica_docs \
+ -auto
+
+ # Merge contents of Mathematica_docs with Mathematica
+ rm -r ${pkgdir}/opt/Mathematica/Documentation/English/{SearchIndex,System}
+ mv ${pkgdir}/opt/Mathematica_docs/Documentation/English/* ${pkgdir}/opt/Mathematica/Documentation/English/
+ rm -r ${pkgdir}/opt/Mathematica_docs/
+ ## until here
+
+
msg2 "Fixing symbolic links"
cd ${pkgdir}/opt/Mathematica/Executables
rm wolframscript
@@ -169,10 +192,4 @@ package() {
msg2 "Fixing file permissions"
chmod go-w -R ${pkgdir}/*
-
- ## The documentation takes up the majority of the disk space (6.8G+). If you
- ## do not wish to have the documentation installed, uncomment the following
- ## lines.
- # msg2 "Removing documentation"
- # rm -rf "${pkgdir}/opt/Mathematica/Documentation"
}
RabbitLime: you can define an env variable QT_QPA_PLATFORM=wayland;xcb
, so you don't have to manually add this in the Exec line of each app.
Can't launch it in Gnome Wayland. But just add 'QT_QPA_PLATFORM=xcb', then solve it.
Updated to 13.0.1
This release includes hundreds of bug fixes, feature enhancements and performance improvements, including a security update for log4j.
Thanks for everyone's patience as I was waiting to be able to download the installer from Wolfram.
Download link for 13.0.1 (I got this from wolfram support):
https://amoeba.wolfram.com/index.php/s/3aqYPLZeotSM4bi
Pinned Comments
JP-Ellis commented on 2024-01-15 22:27 (UTC)
The update to v14.0.0 has been uploaded. A list of new features can be found in Wolfram's blog.
If there are any issues with this PKGBUILD, please let me know in a commment below.
JP-Ellis commented on 2022-10-08 00:22 (UTC) (edited on 2023-08-19 12:56 (UTC) by JP-Ellis)
Wolfram offers two bundles for Mathematica: one with offline docs included, and one which relies on online docs. I have created corresponding version of the Mathematica package in the AUR:
mathematica
: As this package has historically always included offline docs, it will continue to do so now. As of 13.1.0, the package takes up around 14.1GiB with all documentation.mathematica-light
: For those people who want a small package and/or want to use online docs, I have created this package which uses Wolfram's online-docs bundling of Mathematica. As of 13.3, the light version takes up around 7.2GiB.