Skip to contentSkip to conversation

spice: add PACKAGECONFIG for xinerama

PATCH In review [email protected] 2 participants 2 messages May 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 spice: add PACKAGECONFIG for xinerama

From: Jackie Huang <[email protected]>

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.

---
 recipes-support/spice/spice_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-support/spice/spice_git.bb +1 -0
index 95f7156..0524c27 100644
@@ -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"
Signature · 1 line
2.8.1
#1 lore raw
Quoted 11 lines · On 2016-05-31 3:08 AM, [email protected] wrote:

From: Jackie Huang <[email protected]>

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.

merged.

Bruce

Quoted 19 lines
---
 recipes-support/spice/spice_git.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-support/spice/spice_git.bb +1 -0
index 95f7156..0524c27 100644
@@ -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"