[meta-virtualization] [meta-cloud-services][PATCH] spice: add PACKAGECONFIG for xinerama

jackie.huang at windriver.com jackie.huang at windriver.com
Tue May 31 00:08:30 PDT 2016

From: Jackie Huang <jackie.huang at windriver.com>

spice auto detect Xinerama library to enable the feature,
but it causes error when using sstate between different
builds, e.g. previous build have xinerama but the later
one doesn't, then it fails on the later one with:

"Package 'xinerama', required by 'spice-server', not found"

Add PACKAGECONFIG for xinerama to ensure we have
deterministic builds.

Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
 recipes-support/spice/spice_git.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-support/spice/spice_git.bb b/recipes-support/spice/spice_git.bb
index 95f7156..0524c27 100644
--- a/recipes-support/spice/spice_git.bb
+++ b/recipes-support/spice/spice_git.bb
@@ -53,6 +53,7 @@ PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,"
 PACKAGECONFIG[client] = "--enable-client,--disable-client,,"
 PACKAGECONFIG[gui] = "--enable-gui,--disable-gui,,"
 PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,,"
+PACKAGECONFIG[xinerama] = "--enable-xinerama,--disable-xinerama,libxinerama,"
 PACKAGES =+ "${PN}-protocol"
 LICENSE_${PN}-protocol = "BSD"

More information about the meta-virtualization mailing list