* [PR PATCH] giac: update to 1.7.0.57.
@ 2022-04-09 3:11 tornaria
2022-04-15 2:21 ` [PR PATCH] [Updated] " tornaria
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: tornaria @ 2022-04-09 3:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 465 bytes --]
There is a new pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages giac
https://github.com/void-linux/void-packages/pull/36594
giac: update to 1.7.0.57.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/36594.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giac-36594.patch --]
[-- Type: text/x-diff, Size: 2747 bytes --]
From 3a25f37603aec587f11ee909731e512b44f864fe Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 8 Apr 2022 20:57:31 -0300
Subject: [PATCH] giac: update to 1.7.0.57.
---
srcpkgs/giac/patches/fgamma.patch | 2 +-
srcpkgs/giac/patches/micropy.patch | 18 ------------------
srcpkgs/giac/template | 4 ++--
3 files changed, 3 insertions(+), 21 deletions(-)
delete mode 100644 srcpkgs/giac/patches/micropy.patch
diff --git a/srcpkgs/giac/patches/fgamma.patch b/srcpkgs/giac/patches/fgamma.patch
index 665803db13f3..8cdc5fda88ac 100644
--- a/srcpkgs/giac/patches/fgamma.patch
+++ b/srcpkgs/giac/patches/fgamma.patch
@@ -1,7 +1,7 @@
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
@@ -503,7 +503,7 @@
- #if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
+ #if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used
inline float fgamma(float f1){ return f1; }
#else
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch
deleted file mode 100644
index 0e417a5a8ecb..000000000000
--- a/srcpkgs/giac/patches/micropy.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300
-+++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300
-@@ -1810,6 +1810,7 @@
- cerr << "// Setting tex log" << '\n';
- show_tex=true;
- }
-+#ifdef HAVE_LIBMICROPYTHON
- if (getenv("GIAC_MICROPY")){
- cerr << "Micropython mode\n";
- python_compat(4 | python_compat(contextptr),contextptr);
-@@ -1821,6 +1822,7 @@
- return 0;
- }
- }
-+#endif
- #ifdef HAVE_LIBREADLINE
- if (ARGC==1){
- int taillemax=1000;
diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template
index fbdadc31dde7..2bc34d450c5e 100644
--- a/srcpkgs/giac/template
+++ b/srcpkgs/giac/template
@@ -1,6 +1,6 @@
# Template file for 'giac'
pkgname=giac
-version=1.7.0.53
+version=1.7.0.57
revision=1
wrksrc="giac-${version%.*}"
build_style=gnu-configure
@@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
-checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f
+checksum=54c50aa869f05e72c4258fa01c7c6d88fb5c7575d9fdc302dcdb722589f8d3d7
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
LDFLAGS="-Wl,-z,stack-size=2097152"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] giac: update to 1.7.0.57.
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
@ 2022-04-15 2:21 ` tornaria
2022-04-15 3:02 ` [PR PATCH] [Updated] giac: update to 1.9.0.5 tornaria
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2022-04-15 2:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 470 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages giac
https://github.com/void-linux/void-packages/pull/36594
giac: update to 1.7.0.57.
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/36594.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giac-36594.patch --]
[-- Type: text/x-diff, Size: 2745 bytes --]
From 733027619765cf8c2d03a1cd182114a1d6a3a6f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 8 Apr 2022 20:57:31 -0300
Subject: [PATCH] giac: update to 1.9.0.5.
---
srcpkgs/giac/patches/fgamma.patch | 2 +-
srcpkgs/giac/patches/micropy.patch | 18 ------------------
srcpkgs/giac/template | 4 ++--
3 files changed, 3 insertions(+), 21 deletions(-)
delete mode 100644 srcpkgs/giac/patches/micropy.patch
diff --git a/srcpkgs/giac/patches/fgamma.patch b/srcpkgs/giac/patches/fgamma.patch
index 665803db13f3..8cdc5fda88ac 100644
--- a/srcpkgs/giac/patches/fgamma.patch
+++ b/srcpkgs/giac/patches/fgamma.patch
@@ -1,7 +1,7 @@
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
@@ -503,7 +503,7 @@
- #if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
+ #if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used
inline float fgamma(float f1){ return f1; }
#else
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch
deleted file mode 100644
index 0e417a5a8ecb..000000000000
--- a/srcpkgs/giac/patches/micropy.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300
-+++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300
-@@ -1810,6 +1810,7 @@
- cerr << "// Setting tex log" << '\n';
- show_tex=true;
- }
-+#ifdef HAVE_LIBMICROPYTHON
- if (getenv("GIAC_MICROPY")){
- cerr << "Micropython mode\n";
- python_compat(4 | python_compat(contextptr),contextptr);
-@@ -1821,6 +1822,7 @@
- return 0;
- }
- }
-+#endif
- #ifdef HAVE_LIBREADLINE
- if (ARGC==1){
- int taillemax=1000;
diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template
index fbdadc31dde7..e933cdffeb9f 100644
--- a/srcpkgs/giac/template
+++ b/srcpkgs/giac/template
@@ -1,6 +1,6 @@
# Template file for 'giac'
pkgname=giac
-version=1.7.0.53
+version=1.9.0.5
revision=1
wrksrc="giac-${version%.*}"
build_style=gnu-configure
@@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
-checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f
+checksum=10ff30462f1064faebd657ca37a75af3bb35142cbc02e0d86f372fb09096c8b1
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
LDFLAGS="-Wl,-z,stack-size=2097152"
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] giac: update to 1.9.0.5
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
2022-04-15 2:21 ` [PR PATCH] [Updated] " tornaria
@ 2022-04-15 3:02 ` tornaria
2022-04-15 3:09 ` tornaria
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2022-04-15 3:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages giac
https://github.com/void-linux/void-packages/pull/36594
giac: update to 1.9.0.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/36594.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giac-36594.patch --]
[-- Type: text/x-diff, Size: 2968 bytes --]
From 8f95599e4b85f9db3ed148d9110e873f9189d1bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 8 Apr 2022 20:57:31 -0300
Subject: [PATCH] giac: update to 1.9.0.5.
---
srcpkgs/giac/patches/fgamma.patch | 2 +-
srcpkgs/giac/patches/micropy.patch | 18 ------------------
srcpkgs/giac/template | 10 ++++++++--
3 files changed, 9 insertions(+), 21 deletions(-)
delete mode 100644 srcpkgs/giac/patches/micropy.patch
diff --git a/srcpkgs/giac/patches/fgamma.patch b/srcpkgs/giac/patches/fgamma.patch
index 665803db13f3..8cdc5fda88ac 100644
--- a/srcpkgs/giac/patches/fgamma.patch
+++ b/srcpkgs/giac/patches/fgamma.patch
@@ -1,7 +1,7 @@
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
@@ -503,7 +503,7 @@
- #if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
+ #if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used
inline float fgamma(float f1){ return f1; }
#else
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch
deleted file mode 100644
index 0e417a5a8ecb..000000000000
--- a/srcpkgs/giac/patches/micropy.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300
-+++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300
-@@ -1810,6 +1810,7 @@
- cerr << "// Setting tex log" << '\n';
- show_tex=true;
- }
-+#ifdef HAVE_LIBMICROPYTHON
- if (getenv("GIAC_MICROPY")){
- cerr << "Micropython mode\n";
- python_compat(4 | python_compat(contextptr),contextptr);
-@@ -1821,6 +1822,7 @@
- return 0;
- }
- }
-+#endif
- #ifdef HAVE_LIBREADLINE
- if (ARGC==1){
- int taillemax=1000;
diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template
index fbdadc31dde7..78082e65c886 100644
--- a/srcpkgs/giac/template
+++ b/srcpkgs/giac/template
@@ -1,6 +1,6 @@
# Template file for 'giac'
pkgname=giac
-version=1.7.0.53
+version=1.9.0.5
revision=1
wrksrc="giac-${version%.*}"
build_style=gnu-configure
@@ -14,11 +14,17 @@ license="GPL-3.0-or-later"
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
-checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f
+checksum=10ff30462f1064faebd657ca37a75af3bb35142cbc02e0d86f372fb09096c8b1
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
LDFLAGS="-Wl,-z,stack-size=2097152"
+post_extract() {
+ # remove a binary that works only for x86_64 host
+ # the binary will be rebuilt using host compiler
+ rm src/mkjs
+}
+
post_install() {
# remove duplicates
rm -r ${DESTDIR}/usr/share/doc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: giac: update to 1.9.0.5
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
2022-04-15 2:21 ` [PR PATCH] [Updated] " tornaria
2022-04-15 3:02 ` [PR PATCH] [Updated] giac: update to 1.9.0.5 tornaria
@ 2022-04-15 3:09 ` tornaria
2022-04-15 3:14 ` tornaria
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2022-04-15 3:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/36594#issuecomment-1099808804
Comment:
There was an ELF binary in the tarball, which was compiled for x86_64 and caused the build to fail on any other host. The easy solution is to remove the binary so it's rebuilt from source. The compiler is hardcoded to `g++` but that's a good thing meaning that it will be compiled for host as needed.
There is barely any change between 1.7.0-57 and 1.9.0-5 so this is a harmless update in spite of the version number change.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: giac: update to 1.9.0.5
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
` (2 preceding siblings ...)
2022-04-15 3:09 ` tornaria
@ 2022-04-15 3:14 ` tornaria
2022-05-04 2:36 ` [PR PATCH] [Updated] " tornaria
2022-05-04 12:53 ` [PR PATCH] [Merged]: giac: update to 1.9.0.7 leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2022-04-15 3:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
New comment by tornaria on void-packages repository
https://github.com/void-linux/void-packages/pull/36594#issuecomment-1099810895
Comment:
And I also run the full testsuite of sagemath without any problems.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] giac: update to 1.9.0.5
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
` (3 preceding siblings ...)
2022-04-15 3:14 ` tornaria
@ 2022-05-04 2:36 ` tornaria
2022-05-04 12:53 ` [PR PATCH] [Merged]: giac: update to 1.9.0.7 leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: tornaria @ 2022-05-04 2:36 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]
There is an updated pull request by tornaria against master on the void-packages repository
https://github.com/tornaria/void-packages giac
https://github.com/void-linux/void-packages/pull/36594
giac: update to 1.9.0.5
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
A patch file from https://github.com/void-linux/void-packages/pull/36594.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giac-36594.patch --]
[-- Type: text/x-diff, Size: 2968 bytes --]
From 0921c26de56d51d991fa69b5c1acd9fa5f8d1fa1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
Date: Fri, 8 Apr 2022 20:57:31 -0300
Subject: [PATCH] giac: update to 1.9.0.7.
---
srcpkgs/giac/patches/fgamma.patch | 2 +-
srcpkgs/giac/patches/micropy.patch | 18 ------------------
srcpkgs/giac/template | 10 ++++++++--
3 files changed, 9 insertions(+), 21 deletions(-)
delete mode 100644 srcpkgs/giac/patches/micropy.patch
diff --git a/srcpkgs/giac/patches/fgamma.patch b/srcpkgs/giac/patches/fgamma.patch
index 665803db13f3..8cdc5fda88ac 100644
--- a/srcpkgs/giac/patches/fgamma.patch
+++ b/srcpkgs/giac/patches/fgamma.patch
@@ -1,7 +1,7 @@
--- a/src/first.h 2017-09-22 20:44:12.000000000 +0200
+++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100
@@ -503,7 +503,7 @@
- #if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used
+ #if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used
inline float fgamma(float f1){ return f1; }
#else
-inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten
diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch
deleted file mode 100644
index 0e417a5a8ecb..000000000000
--- a/srcpkgs/giac/patches/micropy.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300
-+++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300
-@@ -1810,6 +1810,7 @@
- cerr << "// Setting tex log" << '\n';
- show_tex=true;
- }
-+#ifdef HAVE_LIBMICROPYTHON
- if (getenv("GIAC_MICROPY")){
- cerr << "Micropython mode\n";
- python_compat(4 | python_compat(contextptr),contextptr);
-@@ -1821,6 +1822,7 @@
- return 0;
- }
- }
-+#endif
- #ifdef HAVE_LIBREADLINE
- if (ARGC==1){
- int taillemax=1000;
diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template
index fbdadc31dde7..e892c8bf7506 100644
--- a/srcpkgs/giac/template
+++ b/srcpkgs/giac/template
@@ -1,6 +1,6 @@
# Template file for 'giac'
pkgname=giac
-version=1.7.0.53
+version=1.9.0.7
revision=1
wrksrc="giac-${version%.*}"
build_style=gnu-configure
@@ -14,11 +14,17 @@ license="GPL-3.0-or-later"
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
-checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f
+checksum=72016988b7180e9b630ecabecc60969213e7b61418c2598c91acbaec139fd740
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
LDFLAGS="-Wl,-z,stack-size=2097152"
+post_extract() {
+ # remove a binary that works only for x86_64 host
+ # the binary will be rebuilt using host compiler
+ rm src/mkjs
+}
+
post_install() {
# remove duplicates
rm -r ${DESTDIR}/usr/share/doc
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Merged]: giac: update to 1.9.0.7
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
` (4 preceding siblings ...)
2022-05-04 2:36 ` [PR PATCH] [Updated] " tornaria
@ 2022-05-04 12:53 ` leahneukirchen
5 siblings, 0 replies; 7+ messages in thread
From: leahneukirchen @ 2022-05-04 12:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
There's a merged pull request on the void-packages repository
giac: update to 1.9.0.7
https://github.com/void-linux/void-packages/pull/36594
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-04 12:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-09 3:11 [PR PATCH] giac: update to 1.7.0.57 tornaria
2022-04-15 2:21 ` [PR PATCH] [Updated] " tornaria
2022-04-15 3:02 ` [PR PATCH] [Updated] giac: update to 1.9.0.5 tornaria
2022-04-15 3:09 ` tornaria
2022-04-15 3:14 ` tornaria
2022-05-04 2:36 ` [PR PATCH] [Updated] " tornaria
2022-05-04 12:53 ` [PR PATCH] [Merged]: giac: update to 1.9.0.7 leahneukirchen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).