GNOME Bugzilla – Bug 110523
GTK+ 2.2.1 fails to build on Solaris 2.5.1/SPARC
Last modified: 2004-12-22 21:47:04 UTC
I've read through the mail archives covering the X11R6-requirement for GTK+ 2.2.1 and possible fixes to get it to build under X11R5: http://mail.gnome.org/archives/gtk-devel-list/2002-August/msg00012.html What's the chance of an option to the build machinery to disable XIM to allow building under X11R5? If you provide enough details for a non-X person, I might take a crack at this.
See: http://mail.gnome.org/archives/gtk-devel-list/2002-August/msg00012.html Which sketches out what would need to be done, and then goes on to say: On the other hand, X11R6 was released on May 2, 1994, over 8 years ago, and 2 years before development of GTK+ started... [ Over 9 years ago now :-) ]
Created attachment 15652 [details] [review] Add back support for --disable-xim on systems without XIM
Oops, forgot the patch to gdk/x11/gdkdisplay-x11.c. Next patch will fix this.
Created attachment 15667 [details] [review] New patch with gdk/x11/gdkdisplay-x11.c included
I've committed what should be a fix, testing appreciated. Fri Apr 18 16:31:49 2003 Owen Taylor <otaylor@redhat.com> * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am: Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and use of XAddConnectionWatch. Remove --enable-xim config option. Should fix building on X11R6 (#110523, Albert Chin)
Created attachment 15839 [details] [review] Patch as applied