unconditional #include of clutter-embed.h in sol.c when clutter not enabled
Submitted by paul
Assigned to gno..@..e.bugs
Link to original bug (#557828)
Description
gcc -DHAVE_CONFIG_H -I. -I/Source/gnome-games/gnome-games/aisleriot -I.. -I/Source/gnome-games/gnome-games -I/Source/gnome-games/gnome-games/libgames-support -DDATADIR=""/opt/local/share"" -DICONDIR=""/opt/local/share/icons/hicolor"" -DGAMESDIR=""/opt/local/share/gnome-games/aisleriot/games"" -DGNOMELOCALEDIR=""/opt/local/share/locale"" -DPIXMAPDIR=""/opt/local/share/gnome-games/pixmaps"" -DPKGDATADIR=""/opt/local/share/gnome-games"" -I/opt/local/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include -D_THREAD_SAFE -DORBIT2=1 -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/orbit-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/opt/local/include/librsvg-2 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtk-2.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -arch ppc -g -Wall -Wno-long-double -pipe -no-cpp-precomp -Dsocklen_t=int -DMAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_3 -MT sol-sol.o -MD -MP -MF .deps/sol-sol.Tpo -c -o sol-sol.o test -f 'sol.c' || echo '/Source/gnome-games/gnome-games/aisleriot/'
sol.c
In file included from /Source/gnome-games/gnome-games/aisleriot/sol.c:79:
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:27:29: clutter/clutter.h: No such file or directory
In file included from /Source/gnome-games/gnome-games/aisleriot/sol.c:79:
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:53: error: CLUTTER_INIT_ERROR_INTERNAL' undeclared here (not in a function) /Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:53: error: enumerator value for
AISLERIOT_CLUTTER_INIT_ERROR_LAST' not integer constant
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:88: error: parse error before '*' token
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:88: warning: type defaults to int' in declaration of
aisleriot_clutter_embed_get_stage'
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:88: warning: data definition has no type or storage class
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:90: error: parse error before "aisleriot_clutter_init"
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:91: warning: type defaults to int' in declaration of
aisleriot_clutter_init'
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:91: warning: data definition has no type or storage class
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:92: error: parse error before "aisleriot_clutter_init_with_args"
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:97: warning: type defaults to int' in declaration of
aisleriot_clutter_init_with_args'
/Source/gnome-games/gnome-games/aisleriot/clutter-embed.h:97: warning: data definition has no type or storage class
make[4]: *** [sol-sol.o] Error 1
Resolution: RESOLVED FIXED