all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Rationale for gpgme using gnupg-2.0?
@ 2016-08-15  4:50 Mark H Weaver
  2016-08-29  8:57 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Mark H Weaver @ 2016-08-15  4:50 UTC (permalink / raw)
  To: ludo; +Cc: guix-devel

Hi Ludovic,

What was the rationale for commit ae3bded, which downgraded the gnupg
version used by gpgme from gnupg-2.1 to gnupg-2.0?

My reading of gpgme's NEWS makes me suspect that gnupg-2.1.x is not only
supported, but likely to be a superior choice.  NEWS includes:

 * More precise error codes are returned if GnuPG >= 2.1.8 is used.
 * Fixed regression for GPGSM use with GnuPG < 2.1.

If there's a reason to stick with gnupg-2.0 for gpgme, it might be good
to add a comment to explain why.

What do you think?

      Mark



From ae3bded68efaeac6fc85c9ee97f03155d4b7df5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Tue, 5 May 2015 17:43:19 +0200
Subject: [PATCH] gnu: gpgme: Build against GnuPG 2.0.

* gnu/packages/gnupg.scm (gpgme)[inputs]: Change to GNUPG-2.0.
---
 gnu/packages/gnupg.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index a9f1f12..4065c0f 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -300,7 +300,7 @@ libskba (working with X.509 certificates and CMS data).")
      ;; Needs to be propagated because gpgme.h includes gpg-error.h.
      `(("libgpg-error" ,libgpg-error)))
     (inputs
-     `(("gnupg" ,gnupg)
+     `(("gnupg" ,gnupg-2.0)
        ("libassuan" ,libassuan)))
     (arguments '(#:make-flags '("GPG=gpg2")))
     (home-page "http://www.gnupg.org/related_software/gpgme/")
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Rationale for gpgme using gnupg-2.0?
  2016-08-15  4:50 Rationale for gpgme using gnupg-2.0? Mark H Weaver
@ 2016-08-29  8:57 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-08-29  8:57 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Hi Mark,

Mark H Weaver <mhw@netris.org> skribis:

> What was the rationale for commit ae3bded, which downgraded the gnupg
> version used by gpgme from gnupg-2.1 to gnupg-2.0?

2.1 was labeled as “modern”, which I thought meant “experimental”;
probably that was that sort of rationale…

> My reading of gpgme's NEWS makes me suspect that gnupg-2.1.x is not only
> supported, but likely to be a superior choice.  NEWS includes:
>
>  * More precise error codes are returned if GnuPG >= 2.1.8 is used.
>  * Fixed regression for GPGSM use with GnuPG < 2.1.
>
> If there's a reason to stick with gnupg-2.0 for gpgme, it might be good
> to add a comment to explain why.
>
> What do you think?

I think you agree: we should upgrade to 2.1 here and elsewhere (though
some external programs such as Pius cannot deal yet with 2.1, so we need
to be careful.)

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-08-29  8:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15  4:50 Rationale for gpgme using gnupg-2.0? Mark H Weaver
2016-08-29  8:57 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.