[crossfire] libglade...

Kevin R. Bulgrien kbulgrien at worldnet.att.net
Sat Aug 11 01:13:50 CDT 2007


> And there are a lot of lookup_widget() calls to replace in that client code.
> But, after only doing a couple of files, it is obvious that the problem is
> fixing.  The windows render more completely with each lookup_widget
> that is converted.

All lookup_widget() calls fixed.  The client no longer crashes.  Presently it
simply sits and stares at you when you are on the metaserver  dialog.  It
does not connect to the server, but the windows look good.

NOTE:  gtk-v2/src/Makefile is currently manually edited to compile.  Just
appended libglade-2.0 stuff.

  GTK2_LIBS = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lmi
  -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
  -llibglade-2.0

  INCLUDES = \
        -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
        -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
        -I$(top_srcdir)/common -I$(top_srcdir)/help \
        -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
        -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
        -I/usr/lib64/glib-2.0/include -I/usr/include/libglade-2.0  \
        -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT

configure.in is going to need a change.  Anyone who knows how to do that,
feel free to pitch in and help.  I've never done that before.

Kevin R. Bulgrien



More information about the crossfire mailing list