guix-devel
[Top][All Lists]
Advanced

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

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


From: Ludovic Courtès
Subject: Re: [PATCH 3/6] gnu: Add libpeas.
Date: Sat, 30 Nov 2013 23:03:59 +0100
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Cyril Roelandt <address@hidden> skribis:

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

OK!

> +         (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/Makefile.in"
> +            (("--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.)

Ludo’.



reply via email to

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