[PATCH] gnu: pari-gp: Update to 2.17.0.

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Ludovic Courtès
Owner
unassigned
Submitted by
Andreas Enge
Severity
normal
A
A
Andreas Enge wrote on 30 Sep 2024 14:35
(address . guix-patches@gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
dea8dec44b89c96f3e88b9d82c111d018aaf69f8.1727699725.git.andreas@enge.fr
* gnu/packages/algebra.scm (pari-gp): Update to 2.17.0.

Change-Id: If0ea83651ae7aa4cb5de61dfaa5ec2b11051eaab
---
gnu/packages/algebra.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2187cd062d..2c81b88d8d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -230,7 +230,7 @@ (define-public python-fpylll
(define-public pari-gp
(package
(name "pari-gp")
- (version "2.15.5")
+ (version "2.17.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -238,7 +238,7 @@ (define-public pari-gp
version ".tar.gz"))
(sha256
(base32
- "10grsn8wr8k02akj8f8wm1rhzrk0qls4phr46gv59nfr2msxmz8f"))))
+ "1a5fn64x7255ma7rkkjg5g17fq6mnjlzjfi8wbncc24dy77ff8z7"))))
(build-system gnu-build-system)
(native-inputs (list (texlive-updmap.cfg)))
(inputs (list gmp libx11 perl readline))

base-commit: 1a6a85768e4652ee1bd44d3a913baa3285be238b
--
2.46.0
A
A
Andreas Enge wrote on 7 Oct 2024 16:23
[PATCH v2 1/2] gnu: pari-gp: Update to 2.17.0.
(address . 73566@debbugs.gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
645fc152cce5bf23d34e0ae67bddffa6b5f8dcea.1728310990.git.andreas@enge.fr
* gnu/packages/algebra.scm (pari-gp): Update to 2.17.0.

Change-Id: If0ea83651ae7aa4cb5de61dfaa5ec2b11051eaab
---
gnu/packages/algebra.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (26 lines)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2187cd062d..2c81b88d8d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -230,7 +230,7 @@ (define-public python-fpylll
(define-public pari-gp
(package
(name "pari-gp")
- (version "2.15.5")
+ (version "2.17.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -238,7 +238,7 @@ (define-public pari-gp
version ".tar.gz"))
(sha256
(base32
- "10grsn8wr8k02akj8f8wm1rhzrk0qls4phr46gv59nfr2msxmz8f"))))
+ "1a5fn64x7255ma7rkkjg5g17fq6mnjlzjfi8wbncc24dy77ff8z7"))))
(build-system gnu-build-system)
(native-inputs (list (texlive-updmap.cfg)))
(inputs (list gmp libx11 perl readline))

base-commit: ff88c8cf3e2b8e3e86f438dd42adfce2db8dc337
--
2.46.0
A
A
Andreas Enge wrote on 7 Oct 2024 16:23
[PATCH v2 2/2] gnu: gp2c: Update to 0.0.14.
(address . 73566@debbugs.gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
c09343efbc92891b3f8045cb1d739433ce84b51a.1728310990.git.andreas@enge.fr
* gnu/packages/algebra.scm (gp2c): Update to 0.0.14.

Change-Id: Ia45f9fae34f0a63a434ab5f7120cf1fba943161b
---
gnu/packages/algebra.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2c81b88d8d..8cfdb6456d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -268,7 +268,7 @@ (define-public pari-gp
(define-public gp2c
(package
(name "gp2c")
- (version "0.0.13")
+ (version "0.0.14")
(source (origin
(method url-fetch)
(uri (string-append
@@ -276,7 +276,7 @@ (define-public gp2c
version ".tar.gz"))
(sha256
(base32
- "0dlxlrwwvhmjljjzsq95fsm14j5n5353snd92b0pdg9ylzn784r6"))))
+ "0c3v1g04mkb45xrcrxr9xzp61nnql38k6i6s77i5f14l0b614qdg"))))
(build-system gnu-build-system)
(native-inputs (list perl))
(inputs (list pari-gp))
--
2.46.0
A
A
Andreas Enge wrote on 21 Oct 2024 16:11
[PATCH v3 0/2] Update pari-gp
(address . 73566@debbugs.gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
cover.1729519896.git.andreas@enge.fr
A new version with a patch from upstream, which should make one more
dependent package compile. paritwine is still not compiling, since some
pari-gp internals on which it relied have changed.

Andreas Enge (2):
gnu: pari-gp: Update to 2.17.0.
gnu: gp2c: Update to 0.0.14.

gnu/local.mk | 1 +
gnu/packages/algebra.scm | 8 ++++----
gnu/packages/patches/pari-gp-qfcvp.patch | 19 +++++++++++++++++++
3 files changed, 24 insertions(+), 4 deletions(-)
create mode 100644 gnu/packages/patches/pari-gp-qfcvp.patch


base-commit: 59b2a60d0041882d732e1766e28f0df5a1ef1ac1
--
2.46.0
A
A
Andreas Enge wrote on 21 Oct 2024 16:11
[PATCH v3 1/2] gnu: pari-gp: Update to 2.17.0.
(address . 73566@debbugs.gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
4a5fb9fc22b8474639ce074d0673696fac195332.1729519896.git.andreas@enge.fr
* gnu/packages/algebra.scm (pari-gp): Update to 2.17.0.
* gnu/packages/patches/pari-gp-qfcvp.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register patch.

Change-Id: If0ea83651ae7aa4cb5de61dfaa5ec2b11051eaab
---
gnu/local.mk | 1 +
gnu/packages/algebra.scm | 4 ++--
gnu/packages/patches/pari-gp-qfcvp.patch | 19 +++++++++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
create mode 100644 gnu/packages/patches/pari-gp-qfcvp.patch

Toggle diff (61 lines)
diff --git a/gnu/local.mk b/gnu/local.mk
index 89a795bfbd..3e9943daa5 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1944,6 +1944,7 @@ dist_patch_DATA = \
%D%/packages/patches/strace-readlink-tests.patch \
%D%/packages/patches/sunxi-tools-remove-sys-io.patch \
%D%/packages/patches/p11-kit-hurd.patch \
+ %D%/packages/patches/pari-gp-qfcvp.patch \
%D%/packages/patches/patch-hurd-path-max.patch \
%D%/packages/patches/perl-5.14-autosplit-default-time.patch \
%D%/packages/patches/perl-5.14-module-pluggable-search.patch \
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2187cd062d..2c81b88d8d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -230,7 +230,7 @@ (define-public python-fpylll
(define-public pari-gp
(package
(name "pari-gp")
- (version "2.15.5")
+ (version "2.17.0")
(source (origin
(method url-fetch)
(uri (string-append
@@ -238,7 +238,7 @@ (define-public pari-gp
version ".tar.gz"))
(sha256
(base32
- "10grsn8wr8k02akj8f8wm1rhzrk0qls4phr46gv59nfr2msxmz8f"))))
+ "1a5fn64x7255ma7rkkjg5g17fq6mnjlzjfi8wbncc24dy77ff8z7"))))
(build-system gnu-build-system)
(native-inputs (list (texlive-updmap.cfg)))
(inputs (list gmp libx11 perl readline))
diff --git a/gnu/packages/patches/pari-gp-qfcvp.patch b/gnu/packages/patches/pari-gp-qfcvp.patch
new file mode 100644
index 0000000000..4dfaedc54a
--- /dev/null
+++ b/gnu/packages/patches/pari-gp-qfcvp.patch
@@ -0,0 +1,19 @@
+commit 9086c5ce165bdff6ac0e63b641279f6d9e44f4a7
+Author: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
+Date: Tue Oct 1 23:54:34 2024 +0200
+
+ qfcvp: fix prototype code [#2575]
+
+diff --git a/src/functions/linear_algebra/qfcvp b/src/functions/linear_algebra/qfcvp
+index 5ee883390a..7be5fa9570 100644
+--- a/src/functions/linear_algebra/qfcvp
++++ b/src/functions/linear_algebra/qfcvp
+@@ -1,7 +1,7 @@
+ Function: qfcvp
+ Section: linear_algebra
+ C-Name: qfcvp0
+-Prototype: GGDGDGD0,L,p
++Prototype: GGDGDGD0,L,
+ Help: qfcvp(x,t,{B},{m},{flag=0}): x being a square and symmetric
+ matrix representing a positive definite quadratic form, and t a vector of
+ the same dimension, this function deals with the vectors of whose squared
--
2.46.0
A
A
Andreas Enge wrote on 21 Oct 2024 16:11
[PATCH v3 2/2] gnu: gp2c: Update to 0.0.14.
(address . 73566@debbugs.gnu.org)(name . Andreas Enge)(address . andreas@enge.fr)
8d20a2eb7f79e0db03bb30f8ae1eea6c78410568.1729519896.git.andreas@enge.fr
* gnu/packages/algebra.scm (gp2c): Update to 0.0.14.

Change-Id: Ia45f9fae34f0a63a434ab5f7120cf1fba943161b
---
gnu/packages/algebra.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Toggle diff (24 lines)
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 2c81b88d8d..8cfdb6456d 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -268,7 +268,7 @@ (define-public pari-gp
(define-public gp2c
(package
(name "gp2c")
- (version "0.0.13")
+ (version "0.0.14")
(source (origin
(method url-fetch)
(uri (string-append
@@ -276,7 +276,7 @@ (define-public gp2c
version ".tar.gz"))
(sha256
(base32
- "0dlxlrwwvhmjljjzsq95fsm14j5n5353snd92b0pdg9ylzn784r6"))))
+ "0c3v1g04mkb45xrcrxr9xzp61nnql38k6i6s77i5f14l0b614qdg"))))
(build-system gnu-build-system)
(native-inputs (list perl))
(inputs (list pari-gp))
--
2.46.0
L
L
Ludovic Courtès wrote on 15 Dec 2024 17:32
Re: [bug#73566] [PATCH v3 0/2] Update pari-gp
(name . Andreas Enge)(address . andreas@enge.fr)
87h674j49s.fsf@gnu.org
Hi,

Andreas Enge <andreas@enge.fr> skribis:

Toggle quote (3 lines)
> gnu: pari-gp: Update to 2.17.0.
> gnu: gp2c: Update to 0.0.14.

I’m not on the math team but I think you can go ahead and push it!

Ludo’.
A
A
Andreas Enge wrote on 17 Dec 2024 17:34
(name . Ludovic Courtès)(address . ludo@gnu.org)
Z2GoKqIXxl_wulow@jurong
Am Sun, Dec 15, 2024 at 05:32:31PM +0100 schrieb Ludovic Courtï¿œs:
Toggle quote (3 lines)
> > gnu: pari-gp: Update to 2.17.0.
> > gnu: gp2c: Update to 0.0.14.

Thanks for the encouragement! In fact there is a problem with some
depending packages, I just have not found the time to update them as
well. So for the time being, I prefer staying with the old version...

Andreas
A
A
Andreas Enge wrote on 16 Jan 17:55 +0100
Re: [PATCH v3 0/2] Update pari-gp
(address . 73566-done@debbugs.gnu.org)
Z4k57YW3CqOUMiIo@jurong
Am Mon, Oct 21, 2024 at 04:11:34PM +0200 schrieb Andreas Enge:
Toggle quote (4 lines)
> A new version with a patch from upstream, which should make one more
> dependent package compile. paritwine is still not compiling, since some
> pari-gp internals on which it relied have changed.

I have just pushed the patches; the next steps will be to rewrite the
offending parts of paritwine, and to update to the next point release of
pari-gp.

Andreas
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 73566@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73566
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch