From patchwork Mon Aug 15 04:50:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mark H Weaver X-Patchwork-Id: 14575 Received: (qmail 102355 invoked by uid 89); 15 Aug 2016 04:52:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1442, GnuPG, news X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Aug 2016 04:52:45 +0000 Received: from localhost ([::1]:34961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ9tC-0000ML-Jm for patchwork@sourceware.org; Mon, 15 Aug 2016 00:52:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ9t7-0000L1-Lg for guix-devel@gnu.org; Mon, 15 Aug 2016 00:52:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZ9t3-0005Hy-IJ for guix-devel@gnu.org; Mon, 15 Aug 2016 00:52:36 -0400 Received: from world.peace.net ([50.252.239.5]:47912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ9t3-0005H9-EB; Mon, 15 Aug 2016 00:52:33 -0400 Received: from pool-71-174-43-186.bstnma.east.verizon.net ([71.174.43.186] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bZ9t1-0006Cr-Qv; Mon, 15 Aug 2016 00:52:31 -0400 From: Mark H Weaver To: ludo@gnu.org Subject: Rationale for gpgme using gnupg-2.0? Date: Mon, 15 Aug 2016 00:50:58 -0400 Message-ID: <871t1q3aa5.fsf@netris.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 50.252.239.5 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "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?= 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/")