From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] giac: update to 1.9.0.5
Date: Fri, 15 Apr 2022 05:02:10 +0200 [thread overview]
Message-ID: <20220415030210.mRgbq1TjXRxpjzLeRQ-Y4XB5LBEpfyenRs3rxn95gug@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36594@inbox.vuxu.org>
[-- 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
next prev parent reply other threads:[~2022-04-15 3:02 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2022-04-15 3:09 ` giac: update to 1.9.0.5 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220415030210.mRgbq1TjXRxpjzLeRQ-Y4XB5LBEpfyenRs3rxn95gug@z \
--to=tornaria@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).