summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-08-22 09:54:01 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-28 16:40:53 +0200
commita5c1917ea69d7ca4df151d1840133537fdffd667 (patch)
tree8ccde292e2d019570755a19e31376e7e120c8465 /gnu
parent63f46189342754a0405eba0e002ce38b391e6dec (diff)
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 <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/gnupg.scm30
1 files changed, 8 insertions, 22 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index 0c914f28c96..1d25a653d85 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -106,32 +106,18 @@
106 (version "1.61") 106 (version "1.61")
107 (source 107 (source
108 (origin 108 (origin
109 (method git-fetch) 109 (method url-fetch)
110 (uri (git-reference 110 (uri (string-append "mirror://gnupg/libgpg-error/libgpg-error-"
111 (url "https://github.com/gpg/libgpg-error") 111 version ".tar.bz2"))
112 (commit (string-append "libgpg-error-" version)))) 112 (sha256
113 (file-name (git-file-name name version)) 113 (base32
114 (sha256 114 "14sw73317735xq991sz0x5jqkr12y6572aw3mbwg8m635czl31bs"))))
115 (base32
116 "00nhhyfhljx60xzjmp0lhz7b1zx7psx6hfs138y5q7r2jj2z8h1g"))))
117 (build-system gnu-build-system) 115 (build-system gnu-build-system)
118 (arguments 116 (arguments
119 (list 117 (list
120 #:configure-flags #~(list "--enable-install-gpg-error-config" 118 #:configure-flags #~(list "--enable-install-gpg-error-config")
121 ;; See README.GIT.
122 "--enable-maintainer-mode")
123 #:phases 119 #:phases
124 #~(modify-phases %standard-phases 120 #~(modify-phases %standard-phases
125 (add-after 'unpack 'create-version
126 (lambda _
127 (call-with-output-file "doc/version.texi"
128 (lambda (port)
129 (format port "\
130@set UPDATED
131@set EDITION ~a
132@set VERSION ~a"
133 #$version
134 #$version)))))
135 #$@(cond 121 #$@(cond
136 ((%current-target-system) 122 ((%current-target-system)
137 ;; If this is left out, some generated header 123 ;; If this is left out, some generated header
@@ -174,7 +160,7 @@
174 (("(^| )main *\\(.*" all) 160 (("(^| )main *\\(.*" all)
175 (string-append all "{\n exit (77);//"))))))) 161 (string-append all "{\n exit (77);//")))))))
176 (else #~()))))) 162 (else #~())))))
177 (native-inputs (list autoconf automake gettext-minimal texinfo)) 163 (native-inputs (list gettext-minimal))
178 (home-page "https://gnupg.org/software/libgpg-error") 164 (home-page "https://gnupg.org/software/libgpg-error")
179 (synopsis "Library of error values for GnuPG components") 165 (synopsis "Library of error values for GnuPG components")
180 (description 166 (description