commit:     055bd0d6c5152be722569226698fdcb5f3016aa3
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Wed Jul 23 03:59:02 2025 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Oct 28 22:30:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=055bd0d6

sci-mathematics/mathematica: fix 938179, fix 960526

Closes: https://bugs.gentoo.org/938179
Closes: https://bugs.gentoo.org/960526
Signed-off-by: Huang Rui <vowstar <AT> gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43115
Closes: https://github.com/gentoo/gentoo/pull/43115
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 .../{mathematica-14.0.0-r1.ebuild => mathematica-14.0.0-r2.ebuild}      | 2 +-
 sci-mathematics/mathematica/mathematica-14.1.0-r1.ebuild                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathematica/mathematica-14.0.0-r1.ebuild 
b/sci-mathematics/mathematica/mathematica-14.0.0-r2.ebuild
similarity index 99%
rename from sci-mathematics/mathematica/mathematica-14.0.0-r1.ebuild
rename to sci-mathematics/mathematica/mathematica-14.0.0-r2.ebuild
index 3b3fb3a17c08..923e6cf18b96 100644
--- a/sci-mathematics/mathematica/mathematica-14.0.0-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.0.0-r2.ebuild
@@ -159,7 +159,7 @@ src_install() {
        done
 
        # fix some embedded paths and install desktop files
-       for filename in $(find "${ED}/${M_TARGET}/SystemFiles/Installation" 
-name "wolfram-mathematica*.desktop") ; do
+       for filename in $(find "${ED}/${M_TARGET}/SystemFiles/Installation" 
-name "*.desktop") ; do
                einfo "Fixing ${filename}"
                sed -e "s|${S}||g" -e 's|^\t\t||g' -i "${filename}" || die
                echo 
"Categories=Physics;Science;Engineering;2DGraphics;Graphics;" >> "${filename}" 
|| die

diff --git a/sci-mathematics/mathematica/mathematica-14.1.0-r1.ebuild 
b/sci-mathematics/mathematica/mathematica-14.1.0-r1.ebuild
index 2e98dbb3745d..984c77fdbfd8 100644
--- a/sci-mathematics/mathematica/mathematica-14.1.0-r1.ebuild
+++ b/sci-mathematics/mathematica/mathematica-14.1.0-r1.ebuild
@@ -88,7 +88,7 @@ src_install() {
 
        # in the depths of the installer it tests whether it can write here
        # addpredict is by far the simplest solution
-       addpredict /usr/share/thisisatest
+       addpredict /usr/share/Wolfram/thisisatest
 
        /bin/sh "Unix/Installer/WolframInstaller" -auto 
"-targetdir=${S}/${M_TARGET}" "-execdir=${S}/opt/bin" || die
        popd > /dev/null || die

Reply via email to