Tim, All,
Upsteam glib changes have resulted in build failures giving the message:
#error "Only <glib.h> can be included directly."
The simply changes required mean exactly what the error says "Only <glib.h> can be included directly". What that means to us is that all header files that include reference to old glib headers in the form
#include <glib/_whatever_.h>
must simply be rewritten as:
#include <glib.h>
Here is the first patch for gtk-qt-engine. I opened bug http://bugs.pearsoncomputing.net/show_bug.cgi?id=1063 to track and collect patches for the apps that Darrell or Tim can then push after they are signed off on.
gtk-qt-engine:
--- gtk-qt-engine/src/qt_theme_draw.c +++ gtk-qt-engine/src/qt_theme_draw.c 2012-06-22 14:02:18.691510787 -0500 @@ -3,7 +3,7 @@ #include <gtk/gtkprogressbar.h> #include <gdk/gdk.h> #include <gtk/gtk.h> -#include <glib/glist.h> +#include <glib.h>
#ifdef HAVE_BONOBO #include <libbonobo.h>
We will want to add preprocessor directives on glib version as well to prevent borking builds on older glib. Also, what about a global fix with sed?