GNU bug report logs - #27260
[PATCH] gnu: Add qgpgme.

Previous Next

Package: guix-patches;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Mon, 5 Jun 2017 21:44:01 UTC

Severity: normal

Tags: patch

Done: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 27260 in the body.
You can then email your comments to 27260 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#27260; Package guix-patches. (Mon, 05 Jun 2017 21:44:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 05 Jun 2017 21:44:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add qgpgme.
Date: Mon,  5 Jun 2017 23:43:33 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#27260; Package guix-patches. (Mon, 05 Jun 2017 21:53:01 GMT) Full text and rfc822 format available.

Message #8 received at 27260 <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 27260 <at> debbugs.gnu.org
Subject: Note: the official name is "QGpgME"
Date: Mon, 5 Jun 2017 23:52:07 +0200
Please note that this package's official name is "QGpgME", not
"qt-gpgme", as we called it on the guix-devel mailinglist.

See
https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=blob_plain;f=lang/qt/README

-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel <at> crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |





Information forwarded to guix-patches <at> gnu.org:
bug#27260; Package guix-patches. (Tue, 06 Jun 2017 11:08:02 GMT) Full text and rfc822 format available.

Message #11 received at 27260 <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 27260 <at> debbugs.gnu.org
Subject: Re: bug#27260: [PATCH] gnu: Add qgpgme.
Date: Tue, 6 Jun 2017 13:07:28 +0200
Hi Hartmut,

On Mon,  5 Jun 2017 23:43:33 +0200
Hartmut Goebel <h.goebel <at> crazy-compilers.com> wrote:

> * 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"))))))

Nice!

Please end the phase in #t.

Otherwise LGTM!




Reply sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
You have taken responsibility. (Tue, 06 Jun 2017 12:05:02 GMT) Full text and rfc822 format available.

Notification sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
bug acknowledged by developer. (Tue, 06 Jun 2017 12:05:03 GMT) Full text and rfc822 format available.

Message #16 received at 27260-close <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: 27260-close <at> debbugs.gnu.org
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>
Subject: Re: bug#27260: [PATCH] gnu: Add qgpgme.
Date: Tue, 6 Jun 2017 14:04:41 +0200
Added the #t
pushed as 6b982a7846780c90e67ed872b30e1f4d6aa819dc

Thanks for reviewing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 05 Jul 2017 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.