diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-08-18 13:52:57 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-28 16:40:53 +0200 |
| commit | 844e314a0b21ff0d08618d0cf1b1c84daabf7e6d (patch) | |
| tree | c423a9d19a2878dc783c60359c2e09ebd5aa4d7f /gnu | |
| parent | 18ba9661578ee6d04709e047a5fa2ef4675b4b4a (diff) | |
gnu: gnupg: Revert to using tarballs as source.
This effectively reverts commits b6e750acb81debe75c5b844bcb80751a51f5bebc
and 397c4847e3a1108cd7afebc4ff5524ca054ee4bd .
* gnu/packages/gnupg.scm (gnupg): Copy-paste the package definition of
commit e660026a1625db74f844bbd96a6681ca0fe922b3 .
Fixes: guix/guix#10622
Fixes: guix/guix#10773
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/gnupg.scm | 29 |
1 files changed, 11 insertions, 18 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index 70e0a562b28..ebad0636f3b 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm | |||
| @@ -339,22 +339,19 @@ compatible to GNU Pth.") | |||
| 339 | ;; <https://gnupg.org/download/index.html> for how to pick the right | 339 | ;; <https://gnupg.org/download/index.html> for how to pick the right |
| 340 | ;; version. | 340 | ;; version. |
| 341 | (version "2.5.20") | 341 | (version "2.5.20") |
| 342 | (source | 342 | (source (origin |
| 343 | (origin | 343 | ;; Use tarballs instead of git, see the discussion at |
| 344 | (method git-fetch) | 344 | ;; https://codeberg.org/guix/guix/issues/10622 . |
| 345 | (uri (git-reference | 345 | (method url-fetch) |
| 346 | (url "https://github.com/gpg/gnupg") | 346 | (uri (string-append "mirror://gnupg/gnupg/gnupg-" version |
| 347 | (commit (string-append "gnupg-" version)))) | 347 | ".tar.bz2")) |
| 348 | (file-name (git-file-name name version)) | 348 | (patches (search-patches "gnupg-default-pinentry.patch")) |
| 349 | (sha256 | 349 | (sha256 |
| 350 | (base32 | 350 | (base32 |
| 351 | "1jjp1yv919b9l9qhgsmbray7g0k8mzmwldp38pm381i8nazr66hw")))) | 351 | "1ipzi64i748hjmjvv2a5dh9i9hjldlsnrgls6yd42263k5p2cqb4")))) |
| 352 | (build-system gnu-build-system) | 352 | (build-system gnu-build-system) |
| 353 | (native-inputs | 353 | (native-inputs |
| 354 | (list autoconf | 354 | (list pkg-config)) |
| 355 | automake | ||
| 356 | gettext-minimal | ||
| 357 | pkg-config)) | ||
| 358 | (inputs | 355 | (inputs |
| 359 | (list gnutls | 356 | (list gnutls |
| 360 | libassuan | 357 | libassuan |
| @@ -391,10 +388,6 @@ compatible to GNU Pth.") | |||
| 391 | "--with-npth-prefix=" | 388 | "--with-npth-prefix=" |
| 392 | #$(this-package-input "npth"))) | 389 | #$(this-package-input "npth"))) |
| 393 | #~()) | 390 | #~()) |
| 394 | ;; TODO: There is a dependency cycle with fig2dev; remove when | ||
| 395 | ;; fixed. | ||
| 396 | "--disable-doc" | ||
| 397 | "--enable-maintainer-mode" ;see README.GIT | ||
| 398 | ;; Otherwise, the test suite looks for the `gpg` | 391 | ;; Otherwise, the test suite looks for the `gpg` |
| 399 | ;; executable in its installation directory in | 392 | ;; executable in its installation directory in |
| 400 | ;; /gnu/store before it has been installed. | 393 | ;; /gnu/store before it has been installed. |
