spice: add PACKAGECONFIG for xinerama
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
@@ -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
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
Signed-off-by Jackie Huang <[email protected]>--- recipes-support/spice/spice_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-support/spice/spice_git.bb +1
-0@@ -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"