emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#27696: closed ([PATCH] gnu: Update g-wrap to use g


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27696: closed ([PATCH] gnu: Update g-wrap to use guile-2.2.)
Date: Thu, 20 Jul 2017 08:55:02 +0000

Your message dated Thu, 20 Jul 2017 10:54:33 +0200
with message-id <address@hidden>
and subject line Re: [bug#27696] [PATCH] gnu: Update g-wrap to use guile-2.2.
has caused the debbugs.gnu.org bug report #27696,
regarding [PATCH] gnu: Update g-wrap to use guile-2.2.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27696: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27696
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH] gnu: Update g-wrap to use guile-2.2. Date: Fri, 14 Jul 2017 13:13:58 +0300
* gnu/packages/guile.scm (g-wrap): [propagated-inputs]: Use guile-2.2.
[arguments]: Add "--disable-Werror" to configure-flags.
---
 gnu/packages/guile.scm | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index b654bbc96..f00628ac7 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2017 Andy Wingo <address@hidden>
 ;;; Copyright © 2017 David Thompson <address@hidden>
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
+;;; Copyright © 2017 Theodoros Foradis <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1339,20 +1340,21 @@ capabilities.")
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (propagated-inputs
-     `(("guile" ,guile-2.0)
+     `(("guile" ,guile-2.2)
        ("guile-lib" ,guile-lib)))
     (inputs
      `(("libffi" ,libffi)))
     (arguments
-      `(#:phases
-        (modify-phases %standard-phases
-          (add-before 'configure 'pre-configure
-            (lambda* (#:key outputs #:allow-other-keys)
-              (let ((out (assoc-ref outputs "out")))
-                (substitute* (find-files "." "^Makefile.in$")
-                  (("guilemoduledir =.*guile/site" all)
-                   (string-append all "/2.0")))
-                #t))))))
+     `(#:configure-flags '("--disable-Werror")
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'pre-configure
+           (lambda* (#:key outputs #:allow-other-keys)
+             (let ((out (assoc-ref outputs "out")))
+               (substitute* (find-files "." "^Makefile.in$")
+                 (("guilemoduledir =.*guile/site" all)
+                  (string-append all "/2.2")))
+               #t))))))
     (synopsis "Generate C bindings for Guile")
     (description "G-Wrap is a tool and Guile library for generating function
 wrappers for inter-language calls.  It currently only supports generating Guile
-- 
2.13.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#27696] [PATCH] gnu: Update g-wrap to use guile-2.2. Date: Thu, 20 Jul 2017 10:54:33 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)
Hi Theodoros,

Theodoros Foradis <address@hidden> skribis:

> * gnu/packages/guile.scm (g-wrap): [propagated-inputs]: Use guile-2.2.
> [arguments]: Add "--disable-Werror" to configure-flags.

[...]

> +               (substitute* (find-files "." "^Makefile.in$")
> +                 (("guilemoduledir =.*guile/site" all)
> +                  (string-append all "/2.2")))

I changed “/2.2” to “/@address@hidden and committed.

That way one can run:

  guix build g-wrap address@hidden@2.0

and get a valid 2.0-based G-Wrap.

Thanks,
Ludo’.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]