What are .gir files?

Rafael Ostertag raos at opencsw.org
Mon Nov 4 18:12:07 CET 2013


Hi Dago
On Mon, Nov 04, 2013 at 05:51:01PM +0100, Dagobert Michelsen wrote:
> Hi folks,
> 
> I am fiddling with a part of GTK (gtksourceview) which was a leftover from Phil
> and I get the following error during the build:
> 
> > /opt/csw/bin/g-ir-scanner  -I.. --namespace=GtkSource --nsversion=2.0 --libtool="/bin/bash ../libtool" --pkg=gtksourceview-2.0 --include=Gtk-2.0   --library=libgtksourceview-2.0.la    gtksourcebuffer.h gtksourcecompletioncontext.h gtksourcecompletion.h gtksourcecompletioninfo.h gtksourcecompletionitem.h gtksourcecompletionproposal.h gtksourcecompletionprovider.h gtksourcegutter.h gtksourceiter.h gtksourcelanguage.h gtksourcelanguagemanager.h gtksourcemark.h gtksourceprintcompositor.h gtksourcestyle.h gtksourcestylescheme.h gtksourcestyleschememanager.h gtksourceundomanager.h gtksourceview.h gtksourcebuffer.c gtksourcecompletion.c gtksourcecompletioncontext.c gtksourcecompletioninfo.c gtksourcecompletionitem.c gtksourcecompletionmodel.c gtksourcecompletionproposal.c gtksourcecompletionprovider.c gtksourcecompletionutils.c gtksourcecontextengine.c gtksourceengine.c gtksourcegutter.c gtksourceiter.c gtksourcelanguage.c gtksourcelanguagemanager.c gtksourcelanguage-parser-1.c gtksourcelanguage-parser-2.c gtksourcemark.c gtksourceprintcompositor.c gtksourcestyle.c gtksourcestylescheme.c gtksourcestyleschememanager.c gtksourceundomanager.c gtksourceundomanagerdefault.c gtksourceview.c gtksourceview-i18n.c gtksourceview-utils.c gtktextregion.c libgtksourceview-2.0.la --output GtkSource-2.0.gir
> > Couldn't find include 'Gtk-2.0.gir' (search path: ['gir-1.0', '/opt/csw/share/gir-1.0', '/usr/share/gir-1.0', '/opt/csw/share/gir-1.0'])
> > /opt/csw/share/gobject-introspection-1.0/Makefile.introspection:150: recipe for target 'GtkSource-2.0.gir' failed
> 
> Rafi: Does this need to be added to GTK while you are at it?

I tried to build gtk2 with introspection enabled, but it complained that pango
hasn't support for it. I figure it had to be enabled for all gtk related stuff.

For the time being, I vote for Jan's suggestion, of disabling it. I'd suggest
we pick up on the issue again, once all GUI related libraries are up to date. Does that sound ok?

I haven't a clue what is using introspection, so I can't tell whether disabling
it is a problem, nor how big the benefit of enabling is.

cheers
rafi



More information about the maintainers mailing list