diff options
| author | Dhairya Nagodra <dnagodra@cisco.com> | 2024-03-10 23:15:59 -0700 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-03-16 08:33:21 -1000 |
| commit | 59db49d90386def374786892bfd71fca128866cd (patch) | |
| tree | 323716052e98f02bc5279225a8fc5e37c76b3982 /meta/recipes-graphics/xwayland/xwayland_23.2.4.bb | |
| parent | 3d986317d13b5d3f62c9da9df0d4d13d655600e7 (diff) | |
| download | poky-59db49d90386def374786892bfd71fca128866cd.tar.gz | |
xwayland: upgrade 23.2.3 -> 23.2.4
Includes fixes for CVE-2023-6816, CVE-2024-0408, CVE-2024-0409
(From OE-Core rev: 91f5e2a55212f3e0c8ce9269a139a7f4519f28a9)
Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-graphics/xwayland/xwayland_23.2.4.bb')
| -rw-r--r-- | meta/recipes-graphics/xwayland/xwayland_23.2.4.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xwayland/xwayland_23.2.4.bb b/meta/recipes-graphics/xwayland/xwayland_23.2.4.bb new file mode 100644 index 0000000000..092359172a --- /dev/null +++ b/meta/recipes-graphics/xwayland/xwayland_23.2.4.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | SUMMARY = "XWayland is an X Server that runs under Wayland." | ||
| 2 | DESCRIPTION = "XWayland is an X Server running as a Wayland client, \ | ||
| 3 | and thus is capable of displaying native X11 client applications in a \ | ||
| 4 | Wayland compositor environment. The goal of XWayland is to facilitate \ | ||
| 5 | the transition from X Window System to Wayland environments, providing \ | ||
| 6 | a way to run unported applications in the meantime." | ||
| 7 | HOMEPAGE = "https://fedoraproject.org/wiki/Changes/XwaylandStandalone" | ||
| 8 | |||
| 9 | LICENSE = "MIT" | ||
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=5df87950af51ac2c5822094553ea1880" | ||
| 11 | |||
| 12 | SRC_URI = "https://www.x.org/archive/individual/xserver/xwayland-${PV}.tar.xz" | ||
| 13 | SRC_URI[sha256sum] = "a99e159b6d0d33098b3b6ab22a88bfcece23c8b9d0ca72c535c55dcb0681b46b" | ||
| 14 | |||
| 15 | UPSTREAM_CHECK_REGEX = "xwayland-(?P<pver>\d+(\.(?!90\d)\d+)+)\.tar" | ||
| 16 | |||
| 17 | inherit meson features_check pkgconfig | ||
| 18 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
| 19 | |||
| 20 | DEPENDS += "xorgproto xtrans pixman libxkbfile libxfont2 wayland wayland-native wayland-protocols libdrm libepoxy libxcvt" | ||
| 21 | |||
| 22 | OPENGL_PKGCONFIGS = "glx glamor dri3" | ||
| 23 | PACKAGECONFIG ??= "${XORG_CRYPTO} \ | ||
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ | ||
| 25 | " | ||
| 26 | PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence" | ||
| 27 | PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11" | ||
| 28 | PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy virtual/libgbm,libegl" | ||
| 29 | PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" | ||
| 30 | PACKAGECONFIG[xinerama] = "-Dxinerama=true,-Dxinerama=false" | ||
| 31 | |||
| 32 | # Xorg requires a SHA1 implementation, pick one | ||
| 33 | XORG_CRYPTO ??= "openssl" | ||
| 34 | PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl" | ||
| 35 | PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle" | ||
| 36 | PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt" | ||
| 37 | |||
| 38 | do_install:append() { | ||
| 39 | # remove files not needed and clashing with xserver-xorg | ||
| 40 | rm -rf ${D}/${libdir}/xorg/ | ||
| 41 | } | ||
| 42 | |||
| 43 | FILES:${PN} += "${libdir}/xorg/protocol.txt" | ||
| 44 | |||
| 45 | RDEPENDS:${PN} += "xkbcomp" | ||
