xserver-xorg: add PACKAGECONFIG for libunwind
PATCH 1/2 xserver-xorg: add PACKAGECONFIG for libunwind
The automatic detection of libunwind causes non-deterministic builds, so add a PACKAGECONFIG option for it.
Signed-off-by Ross Burton <[email protected]>
--- meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +1 -0
@@ -122,6 +122,7 @@ PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86dripro PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto libxshmfence" PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" +PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" do_install_append () { # Its assumed base-files creates this for us
Signature · 1 line
1.7.10.4
PATCH 2/2 xserver-xorg: fix xshmfence autodetection
Add a PACKAGECONFIG for xshmfence. If DRI3 is enabled, xshmfence also needs to be enabled.
[ YOCTO #6507 ]
Signed-off-by Ross Burton <[email protected]>
--- .../recipes-graphics/xorg-xserver/xserver-xorg.inc | 4 +- .../xserver-xorg/xshmfence-option.patch | 55 ++++++++++++++++++++ .../xorg-xserver/xserver-xorg_1.15.1.bb | 1 + 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/xorg-xserver/xserver-xorg/xshmfence-option.patch
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc +3 -1
@@ -120,9 +120,11 @@ PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri d PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" -PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto libxshmfence" +# DRI3 requires xshmfence to also be enabled +PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto" PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" +PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" do_install_append () { # Its assumed base-files creates this for us
meta/recipes-graphics/xorg-xserver/xserver-xorg/xshmfence-option.patch new file +55 -0
55 lines not on this page · raw message
meta/recipes-graphics/xorg-xserver/xserver-xorg_1.15.1.bb +1 -0
@@ -6,6 +6,7 @@ SRC_URI += "file://crosscompile.patch \ file://mips64-compiler.patch \ file://aarch64.patch \ file://xorg-CVE-2013-6424.patch \ + file://xshmfence-option.patch \ " SRC_URI[md5sum] = "e4c70262ed89764be8f8f5d699ed9227"
Signature · 1 line
1.7.10.4
Re: [PATCH][xserver 2/2] xserver-xorg: fix xshmfence autodetection
Let's just pretend I didn't put [xserver] in the subject, that was intended for the xorg-devel list... :)
Ross