summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2026-05-29 11:22:44 +0200
committerAndreas Enge <andreas@enge.fr>2026-06-23 14:11:20 +0200
commit097ef9c8909f355b7b12fcabfeedc17b69a64677 (patch)
tree058599ac302d1eec530046531dca48f9c1b3a792
parentd4a541ae6ecbe5269b7462dec0f4f5e783d1ea83 (diff)
gnu: libgpg-error: Update to 1.61.
* gnu/packages/gnupg.scm (libgpg-error): Update to 1.61. [arguments]: Fix indent. Change-Id: I292440ac19bc08a770a6dd40e6e81756bf22c7d1
-rw-r--r--gnu/packages/gnupg.scm88
1 files changed, 44 insertions, 44 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index ffbf07972eb..ca43c5e763e 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -102,7 +102,7 @@
102(define-public libgpg-error 102(define-public libgpg-error
103 (package 103 (package
104 (name "libgpg-error") 104 (name "libgpg-error")
105 (version "1.51") 105 (version "1.61")
106 (source 106 (source
107 (origin 107 (origin
108 (method url-fetch) 108 (method url-fetch)
@@ -110,55 +110,55 @@
110 version ".tar.bz2")) 110 version ".tar.bz2"))
111 (sha256 111 (sha256
112 (base32 112 (base32
113 "1cp64xa58977fysj1z1rgj60qxbjkzqpkpww6raysgmrnqnin3xy")))) 113 "14sw73317735xq991sz0x5jqkr12y6572aw3mbwg8m635czl31bs"))))
114 (build-system gnu-build-system) 114 (build-system gnu-build-system)
115 (arguments 115 (arguments
116 (list 116 (list
117 #:configure-flags #~(list "--enable-install-gpg-error-config") 117 #:configure-flags #~(list "--enable-install-gpg-error-config")
118 #:phases 118 #:phases
119 #~(modify-phases %standard-phases 119 #~(modify-phases %standard-phases
120 #$@(cond 120 #$@(cond
121 ((%current-target-system) 121 ((%current-target-system)
122 ;; If this is left out, some generated header 122 ;; If this is left out, some generated header
123 ;; files will be sprinkled with ā€˜\c’, which 123 ;; files will be sprinkled with ā€˜\c’, which
124 ;; the compiler won't like. 124 ;; the compiler won't like.
125 #~((add-after 'unpack 'fix-gen-lock-obj.sh 125 #~((add-after 'unpack 'fix-gen-lock-obj.sh
126 (lambda _ 126 (lambda _
127 (substitute* "src/gen-lock-obj.sh" 127 (substitute* "src/gen-lock-obj.sh"
128 (("if test -n `echo -n`") "if ! test -n `echo -n`")))) 128 (("if test -n `echo -n`") "if ! test -n `echo -n`"))))
129 ;; When cross-compiling, some platform specific properties cannot 129 ;; When cross-compiling, some platform specific properties cannot
130 ;; be detected. Create a symlink to the appropriate platform 130 ;; be detected. Create a symlink to the appropriate platform
131 ;; file if required. Note that these platform files depend on 131 ;; file if required. Note that these platform files depend on
132 ;; both the operating system and architecture! 132 ;; both the operating system and architecture!
133 ;; 133 ;;
134 ;; See Cross-Compiling section at: 134 ;; See Cross-Compiling section at:
135 ;; https://github.com/gpg/libgpg-error/blob/master/README 135 ;; https://github.com/gpg/libgpg-error/blob/master/README
136 (add-after 'unpack 'cross-symlinks 136 (add-after 'unpack 'cross-symlinks
137 (lambda _ 137 (lambda _
138 (define (link triplet source) 138 (define (link triplet source)
139 (symlink (string-append "lock-obj-pub." triplet ".h") 139 (symlink (string-append "lock-obj-pub." triplet ".h")
140 (string-append "src/syscfg/lock-obj-pub." 140 (string-append "src/syscfg/lock-obj-pub."
141 source ".h"))) 141 source ".h")))
142 #$(let ((target (%current-target-system))) 142 #$(let ((target (%current-target-system)))
143 (cond ((target-linux? target) 143 (cond ((target-linux? target)
144 (match (string-take target 144 (match (string-take target
145 (string-index target #\-)) 145 (string-index target #\-))
146 ("armhf" 146 ("armhf"
147 `(link "arm-unknown-linux-gnueabi" "linux-gnu")) 147 `(link "arm-unknown-linux-gnueabi" "linux-gnu"))
148 ("mips64el" 148 ("mips64el"
149 `(link "mips-unknown-linux-gnu" "linux-gnu")) 149 `(link "mips-unknown-linux-gnu" "linux-gnu"))
150 ;; Don't always link to the "linux-gnu" 150 ;; Don't always link to the "linux-gnu"
151 ;; configuration, as this is not correct for 151 ;; configuration, as this is not correct for
152 ;; all architectures. 152 ;; all architectures.
153 (_ #t))) 153 (_ #t)))
154 (#t #t))))))) 154 (#t #t)))))))
155 ((system-hurd?) 155 ((system-hurd?)
156 #~((add-after 'unpack 'skip-tests 156 #~((add-after 'unpack 'skip-tests
157 (lambda _ 157 (lambda _
158 (substitute* "tests/t-syserror.c" 158 (substitute* "tests/t-syserror.c"
159 (("(^| )main *\\(.*" all) 159 (("(^| )main *\\(.*" all)
160 (string-append all "{\n exit (77);//"))))))) 160 (string-append all "{\n exit (77);//")))))))
161 (else #~()))))) 161 (else #~())))))
162 (native-inputs (list gettext-minimal)) 162 (native-inputs (list gettext-minimal))
163 (home-page "https://gnupg.org") 163 (home-page "https://gnupg.org")
164 (synopsis "Library of error values for GnuPG components") 164 (synopsis "Library of error values for GnuPG components")