mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2025-07-19 21:09:04 +02:00
Merge pull request #2281 from sathishscripts/topic/graphics-wayland
Wayland protocol and Weston: Updated to 1.37 and 14.0.1
This commit is contained in:
commit
f223f79100
|
@ -584,13 +584,13 @@ PREFERRED_PROVIDER_virtual/libg2d ?= "imx-gpu-g2d"
|
|||
PREFERRED_PROVIDER_virtual/libg2d:imxdpu ?= "imx-dpu-g2d"
|
||||
PREFERRED_PROVIDER_virtual/libg2d:mx93-nxp-bsp ?= "imx-pxp-g2d"
|
||||
|
||||
PREFERRED_VERSION_weston:imx-nxp-bsp ??= "12.0.4.imx"
|
||||
PREFERRED_VERSION_weston:imx-nxp-bsp ??= "14.0.1.imx"
|
||||
# i.MX 6 & 7 stay on weston 10.0 for fbdev
|
||||
PREFERRED_VERSION_weston:mx6-nxp-bsp ??= "10.0.5.imx"
|
||||
PREFERRED_VERSION_weston:mx7-nxp-bsp ??= "10.0.5.imx"
|
||||
PREFERRED_VERSION_weston:imx-mainline-bsp = ""
|
||||
|
||||
PREFERRED_VERSION_wayland-protocols:imx-nxp-bsp ??= "1.32.imx"
|
||||
PREFERRED_VERSION_wayland-protocols:imx-nxp-bsp ??= "1.37.imx"
|
||||
|
||||
PREFERRED_VERSION_xwayland:imx-nxp-bsp ??= "23.2.5.imx"
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \
|
|||
SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}"
|
||||
WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https"
|
||||
SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}"
|
||||
SRCREV = "7ece577d467f8afb2f5a2f7fff3761a1e0ee9dad"
|
||||
SRCREV = "831a5389062e56dcb1aac4a5419e55e3002aafaf"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
# recipe. The second section customizes the recipe for i.MX.
|
||||
|
||||
########### OE-core copy ##################
|
||||
# Upstream hash: 92a460b55e7290ec0006365219189761f7226f7c
|
||||
# Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe
|
||||
|
||||
SUMMARY = "Weston, a Wayland compositor"
|
||||
DESCRIPTION = "Weston is the reference implementation of a Wayland compositor"
|
||||
|
@ -14,17 +14,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \
|
|||
"
|
||||
|
||||
SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \
|
||||
file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \
|
||||
file://weston.png \
|
||||
file://weston.desktop \
|
||||
file://xwayland.weston-start \
|
||||
file://systemd-notify.weston-start \
|
||||
file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a"
|
||||
SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093"
|
||||
|
||||
UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
|
||||
UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
|
||||
UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags"
|
||||
UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
|
||||
|
||||
inherit meson pkgconfig useradd
|
||||
|
||||
|
@ -45,7 +45,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla
|
|||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \
|
||||
${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \
|
||||
launcher-libseat \
|
||||
image-jpeg \
|
||||
screenshare \
|
||||
shell-desktop \
|
||||
|
@ -61,7 +60,7 @@ SIMPLECLIENTS ?= "all"
|
|||
# Compositor choices
|
||||
#
|
||||
# Weston on KMS
|
||||
PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/egl virtual/libgles2 virtual/libgbm mtdev"
|
||||
PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev seatd virtual/egl virtual/libgles2 virtual/libgbm mtdev"
|
||||
# Weston on Wayland (nested Weston)
|
||||
PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2"
|
||||
# Weston on X11
|
||||
|
@ -69,7 +68,7 @@ PACKAGECONFIG[x11] = "-Dbackend-x11=true,-Dbackend-x11=false,virtual/libx11 libx
|
|||
# Headless Weston
|
||||
PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false"
|
||||
# Weston on RDP
|
||||
PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp"
|
||||
PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp"
|
||||
# VA-API desktop recorder
|
||||
PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva"
|
||||
# Weston with EGL support
|
||||
|
@ -100,10 +99,6 @@ PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false"
|
|||
PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false"
|
||||
# JPEG image loading support
|
||||
PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg"
|
||||
# support libseat based launch
|
||||
PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd"
|
||||
# deprecated and superseded by libseat launcher
|
||||
PACKAGECONFIG[launcher-logind] = "-Ddeprecated-launcher-logind=true,-Ddeprecated-launcher-logind=false,"
|
||||
# screencasting via PipeWire
|
||||
PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire"
|
||||
# VNC remote screensharing
|
||||
|
@ -167,14 +162,17 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70"
|
|||
|
||||
DEFAULT_PREFERENCE = "-1"
|
||||
|
||||
DEPENDS:append = " libdisplay-info"
|
||||
|
||||
SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} "
|
||||
WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https"
|
||||
SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch"
|
||||
SRCBRANCH = "weston-imx-12.0.4"
|
||||
SRCREV = "de7f8df4b4275e9bb345cacab6962d1a490d9eab"
|
||||
SRCBRANCH = "weston-imx-14.0.1"
|
||||
SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch"
|
||||
|
||||
PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11"
|
||||
PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}"
|
||||
|
||||
|
@ -183,12 +181,12 @@ PACKAGECONFIG_G2D ??= ""
|
|||
PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d"
|
||||
PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d"
|
||||
|
||||
# Remove no longer supported colord
|
||||
PACKAGECONFIG[colord] = ""
|
||||
|
||||
# Weston with i.MX G2D renderer
|
||||
PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d"
|
||||
|
||||
# Weston on RDP, fix for base recipe
|
||||
PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp"
|
||||
|
||||
# links with imx-gpu libs which are pre-built for glibc
|
||||
# gcompat will address it during runtime
|
||||
LDFLAGS:append:imxgpu:libc-musl = " -Wl,--allow-shlib-undefined"
|
Loading…
Reference in New Issue
Block a user