Patchwork gnu: gnunet-gtk: Configure with gnunet path.

login
register
mail settings
Submitter non such
Date July 29, 2016, 5:52 p.m.
Message ID <87wpk4uybh.fsf@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/14152/
State New
Headers show

Comments

non such - July 29, 2016, 5:52 p.m.

non such - July 29, 2016, 5:56 p.m.
ng0 <ng0@we.make.ritual.n0.is> writes:

> From 182c90f6c339c1af919a0885794cb23c1518c227 Mon Sep 17 00:00:00 2001
> From: ng0 <ng0@we.make.ritual.n0.is>
> Date: Fri, 29 Jul 2016 17:45:25 +0000
> Subject: [PATCH] gnu: gnunet-gtk: Configure with gnunet path.
>
> * gnun/packages/gnunet.scm (gnunet-gtk)[arguments]: Add '--with-gnunet'
> to #:configure-flags.
> ---
>  gnu/packages/gnunet.scm | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
> index 67b0437..4d888bd 100644
> --- a/gnu/packages/gnunet.scm
> +++ b/gnu/packages/gnunet.scm
> @@ -316,7 +316,9 @@ services.")
>      (arguments
>       `(#:configure-flags
>         (list "--without-libunique"
> -             "--with-qrencode")))
> +             "--with-qrencode"
> +             (string-append "--with-gnunet="
> +                            (assoc-ref %build-inputs "gnunet")))))
>      (inputs
>       `(("gnunet" ,gnunet)
>         ("libgcrypt" ,libgcrypt)
> -- 
> 2.9.2

Graphically, this was not run. From my packaging experience with gnunet
and with the succesfull build which just ran, it should just work.
=?utf-8?B?5a6L5paH5q2m?= - July 30, 2016, 7:53 a.m.
ng0 <ng0@we.make.ritual.n0.is> writes:

> Graphically, this was not run. From my packaging experience with gnunet
> and with the succesfull build which just ran, it should just work.

Applied, thanks!

Patch

From 182c90f6c339c1af919a0885794cb23c1518c227 Mon Sep 17 00:00:00 2001
From: ng0 <ng0@we.make.ritual.n0.is>
Date: Fri, 29 Jul 2016 17:45:25 +0000
Subject: [PATCH] gnu: gnunet-gtk: Configure with gnunet path.

* gnun/packages/gnunet.scm (gnunet-gtk)[arguments]: Add '--with-gnunet'
to #:configure-flags.
---
 gnu/packages/gnunet.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gnunet.scm b/gnu/packages/gnunet.scm
index 67b0437..4d888bd 100644
--- a/gnu/packages/gnunet.scm
+++ b/gnu/packages/gnunet.scm
@@ -316,7 +316,9 @@  services.")
     (arguments
      `(#:configure-flags
        (list "--without-libunique"
-             "--with-qrencode")))
+             "--with-qrencode"
+             (string-append "--with-gnunet="
+                            (assoc-ref %build-inputs "gnunet")))))
     (inputs
      `(("gnunet" ,gnunet)
        ("libgcrypt" ,libgcrypt)
-- 
2.9.2