diff options
Diffstat (limited to 'meta/recipes-graphics/xwayland/xwayland_24.1.6.bb')
| -rw-r--r-- | meta/recipes-graphics/xwayland/xwayland_24.1.6.bb | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb b/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb new file mode 100644 index 0000000000..0774c1bbf5 --- /dev/null +++ b/meta/recipes-graphics/xwayland/xwayland_24.1.6.bb | |||
| @@ -0,0 +1,54 @@ | |||
| 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] = "737e612ca36bbdf415a911644eb7592cf9389846847b47fa46dc705bd754d2d7" | ||
| 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} ${XWAYLAND_EI} \ | ||
| 24 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \ | ||
| 25 | " | ||
| 26 | PACKAGECONFIG[dri3] = "-Ddri3=true,-Ddri3=false,libxshmfence" | ||
| 27 | PACKAGECONFIG[libdecor] = "-Dlibdecor=true,-Dlibdecor=false,libdecor" | ||
| 28 | PACKAGECONFIG[glx] = "-Dglx=true,-Dglx=false,virtual/libgl virtual/libx11" | ||
| 29 | PACKAGECONFIG[glamor] = "-Dglamor=true,-Dglamor=false,libepoxy virtual/libgbm,libegl" | ||
| 30 | PACKAGECONFIG[unwind] = "-Dlibunwind=true,-Dlibunwind=false,libunwind" | ||
| 31 | PACKAGECONFIG[xinerama] = "-Dxinerama=true,-Dxinerama=false" | ||
| 32 | |||
| 33 | # Xorg requires a SHA1 implementation, pick one | ||
| 34 | XORG_CRYPTO ??= "openssl" | ||
| 35 | PACKAGECONFIG[openssl] = "-Dsha1=libcrypto,,openssl" | ||
| 36 | PACKAGECONFIG[nettle] = "-Dsha1=libnettle,,nettle" | ||
| 37 | PACKAGECONFIG[gcrypt] = "-Dsha1=libgcrypt,,libgcrypt" | ||
| 38 | XWAYLAND_EI ??= "xwayland_ei_false" | ||
| 39 | PACKAGECONFIG[xwayland_ei_false] = "-Dxwayland_ei=false" | ||
| 40 | PACKAGECONFIG[xwayland_ei_portal] = "-Dxwayland_ei=portal,,libei" | ||
| 41 | PACKAGECONFIG[xwayland_ei_socket] = "-Dxwayland_ei=socket,,libei" | ||
| 42 | |||
| 43 | do_install:append() { | ||
| 44 | # remove files not needed and clashing with xserver-xorg | ||
| 45 | rm -rf ${D}/${libdir}/xorg/ | ||
| 46 | } | ||
| 47 | |||
| 48 | FILES:${PN} += "${libdir}/xorg/protocol.txt" | ||
| 49 | |||
| 50 | RDEPENDS:${PN} += "xkbcomp" | ||
| 51 | |||
| 52 | CVE_STATUS_GROUPS = "CVE_STATUS_REDHAT" | ||
| 53 | CVE_STATUS_REDHAT = "CVE-2025-26594 CVE-2025-26595 CVE-2025-26596 CVE-2025-26597 CVE-2025-26598 CVE-2025-26599 CVE-2025-26600 CVE-2025-26601" | ||
| 54 | CVE_STATUS_REDHAT[status] = "fixed-version: these are tracked as versionless redhat CVEs in NVD DB, fixed in 24.1.6" | ||
