GNOME Bugzilla – Bug 731047
ximagesink, xvimagesink: configure checks pull in libSM and libICE even though they are not used
Last modified: 2014-11-27 10:12:43 UTC
The AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE even though they are not actually used. We run this downstream: # replacing AC_PATH_XTRA with PKG_CONFIG calls. sed -i -e 's:X_PRE_LIBS -lSM -lICE:X_PRE_LIBS:' "${S}"/configure
This should hopefully fix it (not sure whether that still works on the 1985 release of AIX, but only one way to find out I suppose ;)): commit f7d6087d53944a56906ad5240bf9abe2f0146c4f Author: Tim-Philipp Müller <tim@centricular.com> Date: Sun Aug 10 17:30:18 2014 +0100 configure: use pkg-config to detect x11 and xv libs AC_PATH_XTRA macro unnecessarily pulls in libSM and libICE. https://bugzilla.gnome.org/show_bug.cgi?id=731047
This breaks the build on the buildbots as it makes X11 mandatory now
Fixed now commit eefa8c366e31b4d25da80dc6238ead0df89367d7 Author: Tim-Philipp Müller <tim@centricular.com> Date: Mon Aug 11 09:26:17 2014 +0100 configure: fix x11 checks to be non-fatal again Must pass an action-if-not-found argument to PKG_CHECK_MODULES or it will error out when it can't find the module requested. Also fix AC_CHECK_LIB usage, extra libs argument was in the wrong place.
This breaks the cerbero Android cross compiling, which for some reason still has /usr/lib64/pkgconfig in the PKG_CONFIG_PATH and therefore detects Xv. Just a note, this commit is obviously correct - it's cerbero that's broken.
And it breaks the debian/fedora cerbero builds because ... it's not looking in the system paths for those.