From: Ricardo Wurmus <rekado@elephly.net>
To: guix-devel <guix-devel@gnu.org>
Subject: [PATCH] build GTK2 typelib file
Date: Sun, 15 Mar 2015 23:17:29 +0100 [thread overview]
Message-ID: <87k2yh3nye.fsf@mango.localdomain> (raw)
[-- Attachment #1: Type: text/plain, Size: 378 bytes --]
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
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-gtk-2-build-gobject-introspection-typelib-file.patch --]
[-- Type: text/x-patch, Size: 997 bytes --]
From a71d408351e54031a1bb0ecb143128a5512fc75e Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
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
next reply other threads:[~2015-03-15 22:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-15 22:17 Ricardo Wurmus [this message]
2015-03-17 8:13 ` [PATCH] build GTK2 typelib file Ludovic Courtès
2015-03-20 21:57 ` Ricardo Wurmus
2015-03-21 8:32 ` Andreas Enge
2015-03-21 10:06 ` Ricardo Wurmus
2015-03-21 15:54 ` Mark H Weaver
2015-03-22 16:42 ` Mark H Weaver
2015-03-24 9:16 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2yh3nye.fsf@mango.localdomain \
--to=rekado@elephly.net \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.