Glade-2 just in case

If you ever feel nostalgic about glade-2 under Debian 5 or 6, here’s how to build it:

  • get the latest source from http://ftp.gnome.org/pub/GNOME/sources/glade/2.12/
  • make sure you have libgtk2.0-dev and libxml2-dev (the former has a a number of dependencies required by glade-2 too). I have GTK+ version 2.20.1-2 under Debian 6
  • remove “#include <gtk/gtkclist.h>” from:
    glade/gbwidgets/gbclist.c
    glade/glade_keys_dialog.c
    glade/glade_menu_editor.c
    glade/glade_project_view.h
  • ./configure and make install will go through without errors

A further optimization consists in replacing:

	gtk_misc_set_alignment (GTK_MISC (%s), %g, %g)

to

	gtk_misc_set_alignment (GTK_MISC (%s), (gfloat) %g, (gfloat) %g)

Starting glade-2 sill still gives a few GTK+ warnings, but you can take from there I guess.

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s