Skip to Content.
Sympa Menu

sm-discuss - [SM-Discuss] gnomeicu bug

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: "George J. Sherwood" <george AT beernabeer.com>
  • To: <sm-discuss AT lists.ibiblio.org>
  • Subject: [SM-Discuss] gnomeicu bug
  • Date: Sun, 31 Oct 2004 14:40:13 -0500

The only spell that I can't get to build in chat-im is gnomeicu. The build
fails like this:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/libxml2
-I/usr/include/panel-2.0 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
-DGTK_DISABLE_DEPRECATED -DGNOMEICU_APPLET_DATADIR=\""/usr/share"\"
-DGNOMEICU_APPLET_UIDIR=\""/usr/share/gnome-2.0/ui"\"
-DGNOMELOCALEDIR=\""/usr/share/locale"\" -O -march=athlon -mmmx
-m3dnow-pipe -O3 -c `test -f 'applet.c' || echo './'`applet.c
In file included from
/usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h:48,
from /usr/include/libgnomeui-2.0/gnome.h:7,
from applet.c:5:
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: error: parse error
before "GtkCombo"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:63: warning: no
semicolonat end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:67: error: parse error
before '}' token
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: error: parse error
before "GtkComboClass"
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:70: warning: no
semicolonat end of struct or union
/usr/include/libgnomeui-2.0/libgnomeui/gnome-entry.h:78: error: parse error
before '}' token
make[3]: *** [applet.o] Error 1
make[3]: Leaving directory `/usr/src/gnomeicu-0.99.5/gnomeicu-applet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gnomeicu-0.99.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/gnomeicu-0.99.5'
! Problem Detected !

I found a fix on the net that works, but I don't know enough about gnome to
know what else the fix will break. Here is the fix:

Edited /usr/include/libgnomeui-2.0/libgnomeui/libgnomeui.h

Added:
#undef GTK_DISABLE_DEPRECATED

Before:

#include <libgnomeui/gnome-entry.h>

Comments?

George Sherwood





Archive powered by MHonArc 2.6.24.

Top of Page