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.

Full log


View this message in rfc822 format

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
Cc: 27260 <at> debbugs.gnu.org
Subject: 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!




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.