all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0.
@ 2024-05-15 17:55 Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 1/4] " Jean-Pierre De Jesus DIAZ
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Jean-Pierre De Jesus DIAZ @ 2024-05-15 17:55 UTC (permalink / raw)
  To: 70965; +Cc: Jean-Pierre De Jesus DIAZ

This patch series updates libsecp256k1 to 0.5.0 (latest version),
moves the location of home-page for consistency, removes configuration
flags that are (now) enabled by default on 0.5.0 and also removes some
pre-generated files.

Jean-Pierre De Jesus DIAZ (4):
  gnu: libsecp256k1: Update to 0.5.0.
  gnu: libsecp256k1: Move home-page field.
  gnu: libsecp256k1: Remove features enabled by default.
  gnu: libsecp256k1: Remove pre-generated files.

 gnu/packages/crypto.scm | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)


base-commit: b31a49cb5ea036a9869f3c2cd40d0f8b99af01f9
-- 
2.41.0





^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#70965] [PATCH 1/4] gnu: libsecp256k1: Update to 0.5.0.
  2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
@ 2024-05-15 18:00 ` Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 2/4] gnu: libsecp256k1: Move home-page field Jean-Pierre De Jesus DIAZ
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Jean-Pierre De Jesus DIAZ @ 2024-05-15 18:00 UTC (permalink / raw)
  To: 70965; +Cc: Jean-Pierre De Jesus DIAZ

* gnu/packages/crypto.scm (libsecp256k1): Update to 0.5.0.

Change-Id: I441085a0914f5998fd30d5dbdcc4d8b82f4aa332
---
 gnu/packages/crypto.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 9c62689d18..e1b6b4d2ec 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -26,7 +26,7 @@
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
 ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net>
-;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com>
+;;; Copyright © 2023,2024 Foundation Devices, Inc. <hello@foundation.xyz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1078,7 +1078,7 @@ (define-public enchive
 (define-public libsecp256k1
   (package
     (name "libsecp256k1")
-    (version "0.3.2")
+    (version "0.5.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1087,7 +1087,7 @@ (define-public libsecp256k1
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "12wksk7bi3yfzmk1zwh5b6846zcaycqz1w4w4p23apjc8da4jwpn"))))
+                "1b5mi1byg46waa7v4z4b4vdhg5zaaaqg2f1vnfsvk0k7wb643k2x"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags '("--enable-module-recovery"
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70965] [PATCH 2/4] gnu: libsecp256k1: Move home-page field.
  2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 1/4] " Jean-Pierre De Jesus DIAZ
@ 2024-05-15 18:00 ` Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 3/4] gnu: libsecp256k1: Remove features enabled by default Jean-Pierre De Jesus DIAZ
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Jean-Pierre De Jesus DIAZ @ 2024-05-15 18:00 UTC (permalink / raw)
  To: 70965; +Cc: Jean-Pierre De Jesus DIAZ

* gnu/packages/crypto.scm (libsecp256k1) <home-page>: Move above
synopsis.

Change-Id: I3bc91a1eece7c739d77f327094099d3df4d4e38b
---
 gnu/packages/crypto.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index e1b6b4d2ec..1f3ec5bb06 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1099,6 +1099,7 @@ (define-public libsecp256k1
                            "--disable-benchmark")))
     (native-inputs
      (list autoconf automake libtool))
+    (home-page "https://github.com/bitcoin-core/secp256k1")
     (synopsis "C library for EC operations on curve secp256k1")
     (description
      "Optimized C library for EC operations on curve secp256k1.
@@ -1118,7 +1119,6 @@ (define-public libsecp256k1
 @item Optional module for ECDH key exchange.
 @item Optional module for Schnorr signatures according to BIP-340.
 @end itemize\n")
-    (home-page "https://github.com/bitcoin-core/secp256k1")
     (license license:expat)))
 
 (define-public libsecp256k1-bitcoin-cash
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70965] [PATCH 3/4] gnu: libsecp256k1: Remove features enabled by default.
  2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 1/4] " Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 2/4] gnu: libsecp256k1: Move home-page field Jean-Pierre De Jesus DIAZ
@ 2024-05-15 18:00 ` Jean-Pierre De Jesus DIAZ
  2024-05-15 18:00 ` [bug#70965] [PATCH 4/4] gnu: libsecp256k1: Remove pre-generated files Jean-Pierre De Jesus DIAZ
  2024-08-22 11:54 ` bug#70965: [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Guillaume Le Vaillant
  4 siblings, 0 replies; 6+ messages in thread
From: Jean-Pierre De Jesus DIAZ @ 2024-05-15 18:00 UTC (permalink / raw)
  To: 70965; +Cc: Jean-Pierre De Jesus DIAZ

These features are enabled by default so it doesn't make sense to have
these here.

* gnu/packages/crypto.scm (libsecp256k1) <arguments>: Remove
--enable-module-ecdh and --enable-module-schnorrsig from
configure-flags.

Change-Id: I64935d5c9725e13e8d6c191a30bd79381b630a24
---
 gnu/packages/crypto.scm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1f3ec5bb06..abc535c0a2 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1092,8 +1092,6 @@ (define-public libsecp256k1
     (arguments
      '(#:configure-flags '("--enable-module-recovery"
                            "--enable-experimental"
-                           "--enable-module-ecdh"
-                           "--enable-module-schnorrsig"
                            "--enable-shared"
                            "--disable-static"
                            "--disable-benchmark")))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#70965] [PATCH 4/4] gnu: libsecp256k1: Remove pre-generated files.
  2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
                   ` (2 preceding siblings ...)
  2024-05-15 18:00 ` [bug#70965] [PATCH 3/4] gnu: libsecp256k1: Remove features enabled by default Jean-Pierre De Jesus DIAZ
@ 2024-05-15 18:00 ` Jean-Pierre De Jesus DIAZ
  2024-08-22 11:54 ` bug#70965: [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Guillaume Le Vaillant
  4 siblings, 0 replies; 6+ messages in thread
From: Jean-Pierre De Jesus DIAZ @ 2024-05-15 18:00 UTC (permalink / raw)
  To: 70965; +Cc: Jean-Pierre De Jesus DIAZ

* gnu/packages/crypto.scm (libsecp256k1) <source>: Remove pre-generated
files.

Change-Id: Iac49ee8c4caedf7bf997f00640f32bab98e25c52
---
 gnu/packages/crypto.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index abc535c0a2..15d9188769 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -1085,6 +1085,12 @@ (define-public libsecp256k1
                     (url "https://github.com/bitcoin-core/secp256k1")
                     (commit (string-append "v" version))))
               (file-name (git-file-name name version))
+              (modules '((guix build utils)))
+              (snippet
+               ;; These files are pre-generated, the build system is able to
+               ;; re-generate those.
+               #~(for-each delete-file '("src/precomputed_ecmult.c"
+                                         "src/precomputed_ecmult_gen.c")))
               (sha256
                (base32
                 "1b5mi1byg46waa7v4z4b4vdhg5zaaaqg2f1vnfsvk0k7wb643k2x"))))
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 6+ messages in thread

* bug#70965: [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0.
  2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
                   ` (3 preceding siblings ...)
  2024-05-15 18:00 ` [bug#70965] [PATCH 4/4] gnu: libsecp256k1: Remove pre-generated files Jean-Pierre De Jesus DIAZ
@ 2024-08-22 11:54 ` Guillaume Le Vaillant
  4 siblings, 0 replies; 6+ messages in thread
From: Guillaume Le Vaillant @ 2024-08-22 11:54 UTC (permalink / raw)
  To: Jean-Pierre De Jesus DIAZ; +Cc: 70965-done

[-- Attachment #1: Type: text/plain, Size: 142 bytes --]

I combined these patches with <https://issues.guix.gnu.org/72744> and
applied the result as 1bb9da089586cec646925d226a198757af1e0b71.
Thanks.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-22 11:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-15 17:55 [bug#70965] [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Jean-Pierre De Jesus DIAZ
2024-05-15 18:00 ` [bug#70965] [PATCH 1/4] " Jean-Pierre De Jesus DIAZ
2024-05-15 18:00 ` [bug#70965] [PATCH 2/4] gnu: libsecp256k1: Move home-page field Jean-Pierre De Jesus DIAZ
2024-05-15 18:00 ` [bug#70965] [PATCH 3/4] gnu: libsecp256k1: Remove features enabled by default Jean-Pierre De Jesus DIAZ
2024-05-15 18:00 ` [bug#70965] [PATCH 4/4] gnu: libsecp256k1: Remove pre-generated files Jean-Pierre De Jesus DIAZ
2024-08-22 11:54 ` bug#70965: [PATCH 0/4] gnu: libsecp256k1: Update to 0.5.0 Guillaume Le Vaillant

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.