Skip to contentSkip to conversation

Graeme Gregory : glib-2.0_2.22.4.bb : add new version totally clean recipe

oe-commits Martin Jansa 1 participant 1 message Jan 27, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 8 lines · git version control

Commit: 267bedfed32b4488a66f7d6af88665e06261082c
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=267bedfed32b4488a66f7d6af88665e06261082c

glib-2.0_2.22.4.bb : add new version totally clean recipe

The glib-2.0 recipe seemed to have gained a lot of un-needed extras and was also out of date for BBCLASSEXTEND and staging. So this is a minimalised new version.

Hi,

yesterday I did rebuild from scratch and noticed that obexpush-1.0.0-r6 is failing with this version.

It's because it's looking for glibconfig.h only in staging/armv4t-oe-linux-gnueabi/usr/include/glib-2.0 and this file is with this version available only in staging/armv4t-oe-linux-gnueabi/usr/lib/glib-2.0/include

with 2.22.4
bitbake@jama ~/tmpdir-dev-shr/staging/armv4t-oe-linux-gnueabi/usr/include/glib-2.0

$ diff . ../../lib/glib-2.0/include/
Only in .: gio
Only in .: glib
Only in ../../lib/glib-2.0/include/: glibconfig.h
Only in .: glib.h
Only in .: glib-object.h
Only in .: gmodule.h
Only in .: gobject

with 2.22.1
bitbake@jama ~/tmpdir-dev/staging/armv5te-angstrom-linux-gnueabi/usr/include/glib-2.0

$ diff -rq . ../../lib/glib-2.0/include/
Only in .: gio
Only in .: glib
Only in .: glib.h
Only in .: glib-object.h
Only in .: gmodule.h
Only in .: gobject

Just to make sure where it should be fixed..
Adding -I in obexpush recipe is easy enough as GLIBINC is exported from recipe and glib-config is not used.
export GLIBINC = "-I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"

but maybe glibconfig.h will be needed in other recipes too.

Regards,