GNOME Bugzilla – Bug 653268
build fix
Last modified: 2011-07-01 18:42:09 UTC
Created attachment 190529 [details] [review] patch to g/c HAVE_INTROSPECTION HAVE_INTROSPECTION is not defined - patch self-explanatory ;-)
HAVE_INTROSPECTION should get defined with the GOBJECT_INTROSPECTION_CHECK macro in configure, so the patch doesn't seem correct to me.
From the patch: "Given the contents of libcaribou_la_VALAFLAGS, introspection isn't optional." AFAICT "--gir _Caribou-1.0.gir" in caribou/libcaribou/Makefile.am won't work unless you have introspection. In caribou/configure.ac, there is: GOBJECT_INTROSPECTION_CHECK([0.10.7]) so, maybe that should be changed to GOBJECT_INTROSPECTION_REQUIRE([0.10.7]) as well as removing the HAVE_INTROSPECTION ? (I'm not near the relevant test computer at the moment...)
(In reply to comment #2) > From the patch: > > "Given the contents of libcaribou_la_VALAFLAGS, introspection isn't optional." > > AFAICT "--gir _Caribou-1.0.gir" in caribou/libcaribou/Makefile.am won't work > unless you have introspection. > It should work, since the gir is generated via valac and not GI. > In caribou/configure.ac, there is: > GOBJECT_INTROSPECTION_CHECK([0.10.7]) > > so, maybe that should be changed to GOBJECT_INTROSPECTION_REQUIRE([0.10.7]) as > well as removing the HAVE_INTROSPECTION ? > That seems correct :) Since libcaribou is pretty much useless without GI. Fixed in master.