Bug#516743: libxcomposite-dev ought to depend on libxext-dev
Package: libxcomposite-dev
Version: 0.4.0-1
Error message:
checking for HILDON_WELCOME_DEPS... configure: error: Package
requirements (
x11
gstreamer-0.10 >= 0.10.0
gstreamer-interfaces-0.10 >= 0.10.0
gstreamer-plugins-base-0.10 >= 0.10.0
xcomposite
dbus-1
mce
) were not met:
Package xext was not found in the pkg-config search path.
Perhaps you should add the directory containing `xext.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xext', required by 'Xcomposite', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables HILDON_WELCOME_DEPS_CFLAGS
and HILDON_WELCOME_DEPS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
What I did:
I have a package (hildon-welcome) which depends on libxcomposite-dev,
because in its configure.ac it has
PKG_CHECK_MODULES(HILDON_WELCOME_DEPS,
[
x11
gstreamer-0.10 >= 0.10.0
gstreamer-interfaces-0.10 >= 0.10.0
gstreamer-plugins-base-0.10 >= 0.10.0
xcomposite
$DBUS_PACKAGE
$MCE_PACKAGE
$MAEMO_LAUNCHER_PACKAGE
])
However, when I attempt to build this package, it fails during configure
with the above error message. The reason for this is that
libxcomposite-dev, which provides /usr/lib/pkgconfig/xcomposite.pc does
not depend on libxext-dev, which provides /usr/lib/pkgconfig/xext.pc.
Looking at the contents of /usr/lib/pkgconfig/xcomposite.pc we see this:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: Xcomposite
Description: X Composite Library
Version: 0.4.0
Requires: xproto compositeproto >= 0.4 xfixes
Requires.private: x11 xfixes xext
Cflags: -I${includedir}
Libs: -L${libdir} -lXcomposite
Indeed, this file refers to "xext" as part of the "Requires.private"
field. Thus, libxcomposite-dev should depend on libxext-dev.
Reply to: