[oe] Gtk+ 2.6.10 w/ newer Glibs

Richard Purdie rpurdie at rpsys.net
Sat Jan 13 09:52:39 UTC 2007


On Fri, 2007-01-12 at 20:43 +0100, Michael 'Mickey' Lauer wrote:
> Since .dev upgraded gnome-vfs and removed gnome-vfs-dbus, gnome-vfs is
> no longer buildable against an old (<= 2.9.4) glib. Gtk+ 2.6.10 (which is still
> in wide use today) again is not buildable against newer glib variants.
> 
> Any glib / Gtk+ experts to fix the problem? The first issue out is
> here:

I asked someone:

> |  arm-linux-gcc ... -DG_DISABLE_DEPRECATED

G_DISABLE_DEPRECATED tells GLib to hide all deprecated functions.  They
still exist in the library, but they are hidden in the headers.  It's
considered bad form to do this in release code, because sometimes people
want to run older apps against newer libraries.

> | ../../../gtk/gtkstatusbar.h:68: error: expected
specifier-qualifier-list before 'GMemChunk'

GMemChunk was deprecated in GLib 2.10.

To fix this there needs to be a patch that removes
-DG_DISABLE_DEPRECATED from every Makefile.am.

Cheers,

Richard





More information about the Openembedded-devel mailing list