guix-devel
[Top][All Lists]
Advanced

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

[PATCH] build GTK2 typelib file


From: Ricardo Wurmus
Subject: [PATCH] build GTK2 typelib file
Date: Sun, 15 Mar 2015 23:17:29 +0100

Hi Guix,

GTK2 does not install its typelib file, which is needed by applications
using GTK through gobject introspection.

The attached patch fixes this by adding "gobject-introspection" to the
native inputs.  An additional make flag is required to use "gcc" rather
than "cc".

Is the commit message okay?
Should this be applied to core updates instead of master?

~~ Ricardo

>From a71d408351e54031a1bb0ecb143128a5512fc75e Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <address@hidden>
Date: Sun, 15 Mar 2015 23:12:32 +0100
Subject: [PATCH] gnu: gtk+-2: build gobject introspection typelib file.

* gnu/packages/gtk.scm (gtk+-2): add `gobject-introspection' to the
  native-inputs to install typelib file.
---
 gnu/packages/gtk.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index fef5a81..b3688d5 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -408,10 +408,12 @@ is part of the GNOME accessibility project.")
    (native-inputs
     `(("perl" ,perl)
       ("glib" ,glib "bin")
+      ("gobject-introspection" ,gobject-introspection)
       ("pkg-config" ,pkg-config)
       ("python-wrapper" ,python-wrapper)))
    (arguments
-    `(#:phases
+    `(#:make-flags '("CC=gcc")
+      #:phases
       (alist-cons-before
        'configure 'disable-tests
        (lambda _
-- 
2.1.0


reply via email to

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