GNOME Bugzilla – Bug 645630
Build fails on Debian Wheezy
Last modified: 2011-03-26 01:14:57 UTC
Since the inclusion of the new pointer barrier stuff, gnome-shell fails to build on Debian Wheezy The package versions are: libxfixes-dev 4.0.5 x11proto-fixes-dev 5.0 The macro XFIXES_MAJOR is defined by xfixeswire.h supplied by the x11proto-fixes-dev package, and hence says "5" But the definitions of those functions are in libxfixes, and the version in Wheezy doesn't have them. So, currently there is a build failure.
We've had repeated problems with this. Think we should switch over to adding this in the AC_CHECK_FUNCS() in configure.ac. Also, while we're at this, we should fix the fact that gnome-shell won't pull in xfixes unless gstreamer is found.
Created attachment 184177 [details] [review] Check for a version of xfixes with the pointer barrier stuff
Created attachment 184182 [details] [review] Improve checks for XFixes pointer barriers Here's a version I like better - just check for the functions we need in exactly the way that the code uses them. DanW had another version yesterday that added a configure flag --enable-pointer-barriers that would cause a hard failure, but I think that's overkill. ==== Instead of checking on version (which doesn't work when protocol and libraries are out of sync), just check for the functions we need.
Comment on attachment 184182 [details] [review] Improve checks for XFixes pointer barriers sure, this one is fine too
*** Bug 645683 has been marked as a duplicate of this bug. ***
Pushing as a "Simple build fix" according to https://live.gnome.org/ReleasePlanning_2fFreezes Attachment 184182 [details] pushed as fc49fb2 - Improve checks for XFixes pointer barriers