GNOME Bugzilla – Bug 638748
Adapt to new multi backend GTK+
Last modified: 2011-01-10 13:00:04 UTC
Hi developers, during my attempt to build a GNOME-3 desktop via jhbuild I came across an issue with devhelp. There the configuration aborts with the error message "Could not detect platform". After some analysis I found that the problem is located in the m4 macro IGE_PLATFORM_CHECK (from acinclude.m4). It uses "gdk_target=`$PKG_CONFIG --variable=target gtk+-3.0`" to determine the platform. However the gtk+-3.0.pc file does not define a variable "target". Instead it's called "targets". In gtk+-2.0.pc "target" was used. So I am not sure whether this change has been done on purpose or is just a typo. Best Regards, Thomas
This is caused by the recent introduction of multiple backend support in GDK (<http://git.gnome.org/browse/gtk+/commit/?id=cacee7e7a>).
Created attachment 177905 [details] [review] not quite correct patch Here is a patch that makes things work until you actually meet a multi-backend gtk in the wild
Thanks, pushed.