Subject: bug#27260: closed (Re: bug#27260: [PATCH] gnu: Add qgpgme.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 06 Jun 2017 12:05:03 +0000

Your bug report

#27260: [PATCH] gnu: Add qgpgme.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27260: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27260
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#27260: [PATCH] gnu: Add qgpgme.
From: Hartmut Goebel <[email-masked]>
To: [email-masked]
Cc: Danny Milosavljevic <[email-masked]>
Date: Tue, 6 Jun 2017 14:04:41 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Added the #t
pushed as 6b982a7846780c90e67ed872b30e1f4d6aa819dc

Thanks for reviewing.

Subject: [PATCH] gnu: Add qgpgme.
From: Hartmut Goebel <[email-masked]>
To: [email-masked]
Date: Mon, 5 Jun 2017 23:43:33 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/gnupg.scm (qgpgme): New variable.
---
 gnu/packages/gnupg.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm
index c2b0278..30d5744 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -407,6 +407,34 @@ instead.  This way bug fixes or improvements can be done at a central place
 and every application benefits from this.")
     (license license:lgpl2.1+)))
 
+(define-public qgpgme
+  (package
+    (inherit gpgme)
+    (name "qgpgme")
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'chdir-and-symlink
+           (lambda* (#:key inputs #:allow-other-keys)
+             (let ((gpgme (assoc-ref inputs "gpgme")))
+               (symlink (string-append gpgme "/lib/libgpgmepp.la")
+                        "lang/cpp/src/libgpgmepp.la")
+               (symlink (string-append gpgme "/lib/libgpgme.la")
+                        "src/libgpgme.la"))
+             (chdir "lang/qt"))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)))
+    (inputs
+     `(("gpgme" ,gpgme)
+       ("qtbase" ,qtbase)
+       ,@(package-inputs gpgme)))
+    (synopsis "Qt API bindings for gpgme")
+    (description "QGpgme provides a very high level Qt API around GpgMEpp.
+
+QGpgME was originally developed as part of libkleo and incorporated into
+gpgpme starting with version 1.7.")
+    (license license:gpl2+))) ;; Note: this differs from gpgme
+
 (define-public python-gpg
   (package
     (name "python-gpg")
-- 
2.7.4