[Top][All Lists]

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

Re: [PATCH 3/6] gnu: Add libpeas.

From: Cyril Roelandt
Subject: Re: [PATCH 3/6] gnu: Add libpeas.
Date: Sun, 01 Dec 2013 04:45:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10

On 11/30/2013 11:03 PM, Ludovic Courtès wrote:
Cyril Roelandt <address@hidden> skribis:

* gnu/packages/gnome.scm (libpeas): New variable.


+         (lambda* (#:key inputs #:allow-other-keys #:rest args)
+          (let ((configure (assoc-ref %standard-phases 'configure))
+                (gir-path (lambda (pkg-name)
+                           (string-append
+                            (assoc-ref inputs pkg-name)
+                            "/share/gir-1.0"))))
+           (substitute* "libpeas-gtk/"
+            (("--add-include-path")
+             (string-append
+               " --add-include-path=" (gir-path "atk")
+               " --add-include-path=" (gir-path "gdk-pixbuf")
+               " --add-include-path=" (gir-path "gtk+")
+               " --add-include-path=" (gir-path "pango")
+              " --add-include-path")))

If this ‘gir-path’ thing is frequent, we should factorize it in a
build-side module, say (guix build gnome).  WDYT?

(That shouldn’t block this particular patch, though.)

Yes, I think that every package using gobject-introspection will need a gir-path method. I guess I could implement it in (guix build gnome) in this patch.


reply via email to

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