Skip to contentSkip to conversation

gtk+: fix compile error

PATCH In review Armin Kuster 2 participants 2 messages Jul 15, 2015 – Jul 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gtk+: fix compile error

add introspection configure flag.

make[4]: *** No rule to make target Gdk-2.0.typelib', needed by all-am'.

---
 meta/recipes-gnome/gtk+/gtk+.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-gnome/gtk+/gtk+.inc +1 -0
index 1c0558c..760c6f8 100644
@@ -21,6 +21,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}
 PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}"
 # without --with-gdktarget=directfb it will check for cairo-xlib which isn't available without X11 DISTRO_FEATURE
 PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb"
+PACKAGECONFIG[introspection] = "--enable-introspection=yes, --enable-introspection=no, libgirepository"
 
 inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache
 
Signature · 1 line
2.3.5
#1 lore raw
Quoted 3 lines · Armin Kuster

+PACKAGECONFIG[introspection] = "--enable-introspection=yes, --enable-introspection=no, libgirepository"

That's just not going to work out of the box, might as well just pass --disable-introspection for now. Unless you're trying to make meta-gir work again..?

Ross