GNOME Bugzilla – Bug 631572
Fix build with GTK+ 2.22
Last modified: 2010-11-04 10:31:49 UTC
Created attachment 171872 [details] full makepkg log for archlinux I've tried building Gnote 0.7.2 on multiple linux boxes with the same result. Below is the 'tail' on my compilation on archlinux(up to date) ------- Making all in data Making all in icons Generating and caching the translation database Merging translations into gnote.desktop. Found cached translation database Merging translations into gnote.schemas. Found cached translation database Merging translations into GNOME_GnoteApplet.server. Making all in libtomboy CC libtomboy_la-tomboykeybinder.o tomboykeybinder.c: In function ‘tomboy_keybinder_is_modifier’: tomboykeybinder.c:316:36: error: ‘gdk_display’ undeclared (first use in this function) tomboykeybinder.c:316:36: note: each undeclared identifier is reported only once for each function it appears in make[2]: *** [libtomboy_la-tomboykeybinder.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Aborting... ==> ERROR: Makepkg was unable to build gnote-lite. ==> Restart building gnote-lite ? [y/N] ==> ----------------------------------- ==> ==> WARNING: Following packages have not been installed: gnote -------- ** The above is specific output to 'pacman' in archlinux, but the EXACT issue occurs when i ./configure and make the source directly. I am ALMOST positive that this is a bug with 0.7.2.
Which version of Gtk do you use?
gtk 1.2.10-10 gtk2 2.22.0-2
Can you attach the config.log generated by configure?
Created attachment 171892 [details] config.log
Created attachment 172016 [details] [review] Fix for the bug. With this patch applied it builds fine for me with both GTK+ 2.20 and 2.22.
Comment on attachment 172016 [details] [review] Fix for the bug. please commit this
Fixed in git master.