guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60459] [PATCH core-updates] gnu: libgpg-error: Update to 1.46.


From: Simon Josefsson
Subject: [bug#60459] [PATCH core-updates] gnu: libgpg-error: Update to 1.46.
Date: Sun, 01 Jan 2023 01:05:17 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi

This updates libgpg-error; patch is intended against the core-updates
branch.  This is needed for GnuPG 2.4 and maybe other future packages.

I have tested this with 'guix build' and seeing there were some
cross-building magic in there, I also tested 'guix build
--target=mips64el-linux-gnu', and both works fine.  Building the current
GnuPG release with the new libgpg-error 1.46 also worked, which
presumable tests it quite extensively.  Any ideas on what more to test?

/Simon
From c39bbb60324fc1e3247508a318deb55a46c99e44 Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@josefsson.org>
Date: Sat, 31 Dec 2022 23:32:07 +0100
Subject: [PATCH core-updates] gnu: libgpg-error: Update to 1.46.

* gnu/packages/gnupg.scm (libgpg-error): Update to 1.46, passing
--enable-install-gpg-error-config to ./configure because some packages still
uses gpg-error-config (e.g., libassuan 2.5.5)
---
 gnu/packages/gnupg.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 6c103a4b36..21497e78e5 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -91,7 +91,7 @@ (define-module (gnu packages gnupg)
 (define-public libgpg-error
   (package
     (name "libgpg-error")
-    (version "1.45")
+    (version "1.46")
     (source
      (origin
       (method url-fetch)
@@ -99,9 +99,11 @@ (define-public libgpg-error
                           version ".tar.bz2"))
       (sha256
        (base32
-        "09haz1kk48b8q0hd58g98whylah0fp121yfgjms7pzsbzgj8w3sp"))))
+        "1396h4f9z9awzkkyb6iwspy2rmxb8nr47pj8fzrmxgkb4ij1mqdp"))))
     (build-system gnu-build-system)
     (arguments
+     (append
+      '(#:configure-flags (list "--enable-install-gpg-error-config"))
      (if (%current-target-system)
          `(#:modules ((guix build gnu-build-system)
                       (guix build utils))
@@ -141,7 +143,7 @@ (define (link triplet source)
                              ;; all architectures.
                              (_ #t)))
                           (#t #t)))))))
-         '()))
+         '())))
     (native-inputs (list gettext-minimal))
     (home-page "https://gnupg.org";)
     (synopsis "Library of error values for GnuPG components")
-- 
2.38.1

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]