From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH] build GTK2 typelib file Date: Sun, 15 Mar 2015 23:17:29 +0100 Message-ID: <87k2yh3nye.fsf@mango.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXGqq-0007Lp-Gt for guix-devel@gnu.org; Sun, 15 Mar 2015 18:17:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YXGqn-00047H-77 for guix-devel@gnu.org; Sun, 15 Mar 2015 18:17:40 -0400 Received: from sender1.zohomail.com ([74.201.84.155]:30564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YXGqm-00047B-VQ for guix-devel@gnu.org; Sun, 15 Mar 2015 18:17:37 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel --=-=-= Content-Type: text/plain 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 --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=0001-gnu-gtk-2-build-gobject-introspection-typelib-file.patch >From a71d408351e54031a1bb0ecb143128a5512fc75e Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus 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 --=-=-=--