guix_mirror_bot pushed a commit to branch ruby-team
in repository guix.

commit 4befc93fe00da87ed6bf84ea2ed9319226ee258c
Author: Yelninei <[email protected]>
AuthorDate: Sat Aug 22 09:54:01 2026 +0000

    Revert "gnu: libgpg-error: Use git repository."
    
    libgpg-error needs the git information to bootstrap autotools.
    
    This reverts commit 1b19586c07b586d6fb8b3ead00153fbeb882faf8.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/gnupg.scm | 30 ++++++++----------------------
 1 file changed, 8 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 0c914f28c9..1d25a653d8 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -106,32 +106,18 @@
     (version "1.61")
     (source
      (origin
-       (method git-fetch)
-       (uri (git-reference
-              (url "https://github.com/gpg/libgpg-error";)
-              (commit (string-append "libgpg-error-" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "00nhhyfhljx60xzjmp0lhz7b1zx7psx6hfs138y5q7r2jj2z8h1g"))))
+      (method url-fetch)
+      (uri (string-append "mirror://gnupg/libgpg-error/libgpg-error-"
+                          version ".tar.bz2"))
+      (sha256
+       (base32
+        "14sw73317735xq991sz0x5jqkr12y6572aw3mbwg8m635czl31bs"))))
     (build-system gnu-build-system)
     (arguments
      (list
-      #:configure-flags #~(list "--enable-install-gpg-error-config"
-                                ;; See README.GIT.
-                                "--enable-maintainer-mode")
+      #:configure-flags #~(list "--enable-install-gpg-error-config")
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'create-version
-            (lambda _
-              (call-with-output-file "doc/version.texi"
-                (lambda (port)
-                  (format port "\
-@set UPDATED
-@set EDITION ~a
-@set VERSION ~a"
-                          #$version
-                          #$version)))))
           #$@(cond
               ((%current-target-system)
                ;; If this is left out, some generated header
@@ -174,7 +160,7 @@
                         (("(^| )main *\\(.*" all)
                          (string-append all "{\n  exit (77);//")))))))
               (else #~())))))
-    (native-inputs (list autoconf automake gettext-minimal texinfo))
+    (native-inputs (list gettext-minimal))
     (home-page "https://gnupg.org/software/libgpg-error";)
     (synopsis "Library of error values for GnuPG components")
     (description

Reply via email to