summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2021-06-15 08:38:53 -0400
committerMichael Orlitzky <mjo@gentoo.org>2021-06-15 10:28:22 -0400
commite781f5382378e5af4cb614389ba8fa05c5f214df (patch)
tree9d4b7342fdfcc283fc1cae21f102ef1b1dbed3ec
parentapp-admin/syslog-ng: bump to 3.32.1 (diff)
downloadgentoo-e781f5382378e5af4cb614389ba8fa05c5f214df.tar.gz
gentoo-e781f5382378e5af4cb614389ba8fa05c5f214df.tar.bz2
gentoo-e781f5382378e5af4cb614389ba8fa05c5f214df.zip
sci-mathematics/giac: new upstream version 1.7.0.13.
This includes a temporary patch to fix the xcas.desktop file, whose "Version" field contains an invalid value. The next release of giac should make the patch irrelevant. Closes: https://bugs.gentoo.org/795813 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r--sci-mathematics/giac/Manifest2
-rw-r--r--sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch33
-rw-r--r--sci-mathematics/giac/giac-1.7.0.13.ebuild (renamed from sci-mathematics/giac/giac-1.7.0.5.ebuild)1
3 files changed, 35 insertions, 1 deletions
diff --git a/sci-mathematics/giac/Manifest b/sci-mathematics/giac/Manifest
index dba7ba2106a8..a6d7f7d74e69 100644
--- a/sci-mathematics/giac/Manifest
+++ b/sci-mathematics/giac/Manifest
@@ -1 +1 @@
-DIST giac_1.7.0-5.tar.gz 82481999 BLAKE2B b322c7008fc6fd687ef11355d3c1dfe48abdbbff6415968d4476dd7760e03f5d174e2ab88f87d638a77c16762d977b5e211b54a71529cf65af0ad4c7d6d16403 SHA512 39e0d1fca0497365ddebe9eba871bbcff790cbcb33f2a61bfbf0e018f300d7429eee7d97a446f0cbb45f2e8abe3af4ed77e3c58a74e919b9f907959f270df355
+DIST giac_1.7.0-13.tar.gz 86447065 BLAKE2B 4d91e83608f7ec376d133c2784ffce99447a9dd78b5c8582b81a0aae0b8ac59eec4db3ee4a8bcb39202c777c300178a181f2dc2ac74ab445ddba2f3efa0ecb1b SHA512 99fff7ce5117fd8c106601ead03679805d529fe12d5372cdd4ae54824aa6fdcbdaaa1a62ea1153391a1a65af8970e38fca7d95ca9983755ff06053f1d8b6d65a
diff --git a/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch b/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch
new file mode 100644
index 000000000000..bc542b0a615c
--- /dev/null
+++ b/sci-mathematics/giac/files/giac-1.7.0.13-xcas-desktop.patch
@@ -0,0 +1,33 @@
+From 51fa4502039ec09d4a9e1d6b2fa73e5a1f789f94 Mon Sep 17 00:00:00 2001
+From: Michael Orlitzky <michael@orlitzky.com>
+Date: Tue, 15 Jun 2021 08:31:06 -0400
+Subject: [PATCH 1/1] xcas.desktop: fix "Version" field.
+
+The "Version" field in a desktop file refers to the version of the
+specification, not the version of the software it launches:
+
+ https://specifications.freedesktop.org/desktop-entry-spec
+
+This issue has already been fixed upstream:
+
+ https://xcas.univ-grenoble-alpes.fr/forum/viewtopic.php?f=3&t=2716
+
+and will be part of the next release.
+---
+ xcas.desktop | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xcas.desktop b/xcas.desktop
+index 9e1b648..fad99cd 100644
+--- a/xcas.desktop
++++ b/xcas.desktop
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Version=1.7
++Version=1.0
+ Keywords=computer algebra system;CAS;
+ Keywords[fr]=calcul formel;CAS;
+ Name=Xcas
+--
+2.31.1
+
diff --git a/sci-mathematics/giac/giac-1.7.0.5.ebuild b/sci-mathematics/giac/giac-1.7.0.13.ebuild
index 8dcab375adc8..2d6ab4387bf3 100644
--- a/sci-mathematics/giac/giac-1.7.0.5.ebuild
+++ b/sci-mathematics/giac/giac-1.7.0.13.ebuild
@@ -49,6 +49,7 @@ BDEPEND="dev-tex/hevea
PATCHES=(
"${FILESDIR}/${PN}-1.7.0.1-gsl_lapack.patch"
"${FILESDIR}/${PN}-1.6.0-pari-2.11.patch"
+ "${FILESDIR}/${PN}-1.7.0.13-xcas-desktop.patch"
)
REQUIRED_USE="test? ( gui )"