After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 638748 - Adapt to new multi backend GTK+
Adapt to new multi backend GTK+
Status: RESOLVED FIXED
Product: devhelp
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: devhelp-maint
devhelp-maint
Depends on:
Blocks:
 
 
Reported: 2011-01-05 14:45 UTC by Thomas Bollmeier
Modified: 2011-01-10 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
not quite correct patch (491 bytes, patch)
2011-01-10 01:55 UTC, Matthias Clasen
none Details | Review

Description Thomas Bollmeier 2011-01-05 14:45:32 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
Comment 1 Frederic Peters 2011-01-05 15:44:36 UTC
This is caused by the recent introduction of multiple backend support in GDK (<http://git.gnome.org/browse/gtk+/commit/?id=cacee7e7a>).
Comment 2 Matthias Clasen 2011-01-10 01:55:55 UTC
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
Comment 3 Frederic Peters 2011-01-10 13:00:04 UTC
Thanks, pushed.