projects/guix·commit a5c1917e

Revert "gnu: libgpg-error: Use git repository."

a5c1917e · Yelninei <[email protected]> · 2026-08-22 09:54:01 +00:00

libgpg-error needs the git information to bootstrap autotools.

This reverts commit 1b19586c07b586d6fb8b3ead00153fbeb882faf8.

Signed-off-by: Andreas Enge <[email protected]>
Commit
a5c1917ea69d7ca4df151d1840133537fdffd667
Parents
63f46189

Changes

1 files changed · +8 −22

FileStatusAddDelContent
gnu/packages/gnupg.scmmodified+8−22View file

gnu/packages/gnupg.scm

View file
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 0c914f2..1d25a65 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