diff options
Diffstat (limited to 'recipes-graphics/wayland')
-rw-r--r-- | recipes-graphics/wayland/wayland-protocols_1.37.imx.bb (renamed from recipes-graphics/wayland/wayland-protocols_1.32.imx.bb) | 4 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston_10.0.5.imx.bb | 3 | ||||
-rw-r--r-- | recipes-graphics/wayland/weston_14.0.1.imx.bb (renamed from recipes-graphics/wayland/weston_12.0.4.imx.bb) | 32 |
3 files changed, 18 insertions, 21 deletions
diff --git a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb b/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb index 131f227de..f360706be 100644 --- a/recipes-graphics/wayland/wayland-protocols_1.32.imx.bb +++ b/recipes-graphics/wayland/wayland-protocols_1.37.imx.bb | |||
@@ -12,9 +12,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c7b12b6702da38ca028ace54aae3d484 \ | |||
12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" | 12 | SRC_URI = "${WAYLAND_PROTOCOLS_SRC};branch=${SRCBRANCH}" |
13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" | 13 | WAYLAND_PROTOCOLS_SRC ?= "git://github.com/nxp-imx/wayland-protocols-imx.git;protocol=https" |
14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" | 14 | SRCBRANCH = "wayland-protocols-imx-${@oe.utils.trim_version("${PV}", 2)}" |
15 | SRCREV = "7ece577d467f8afb2f5a2f7fff3761a1e0ee9dad" | 15 | SRCREV = "831a5389062e56dcb1aac4a5419e55e3002aafaf" |
16 | |||
17 | S = "${WORKDIR}/git" | ||
18 | 16 | ||
19 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 17 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" |
20 | 18 | ||
diff --git a/recipes-graphics/wayland/weston_10.0.5.imx.bb b/recipes-graphics/wayland/weston_10.0.5.imx.bb index df2898f0a..a8440cf23 100644 --- a/recipes-graphics/wayland/weston_10.0.5.imx.bb +++ b/recipes-graphics/wayland/weston_10.0.5.imx.bb | |||
@@ -165,8 +165,7 @@ SRC_URI:prepend = "git://github.com/nxp-imx/weston-imx.git;protocol=https;branch | |||
165 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ | 165 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch \ |
166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" | 166 | file://0001-g2d-renderer.c-Include-sys-stat.h.patch" |
167 | SRCBRANCH = "weston-imx-10.0.5" | 167 | SRCBRANCH = "weston-imx-10.0.5" |
168 | SRCREV = "0cc822a1e5a8faea6835a4e9259887d8792b86b4" | 168 | SRCREV = "7129417ae04de57f9596ccf27f74ef967660a64f" |
169 | S = "${WORKDIR}/git" | ||
170 | 169 | ||
171 | # Disable OpenGL for parts with GPU support for 2D but not 3D | 170 | # Disable OpenGL for parts with GPU support for 2D but not 3D |
172 | REQUIRED_DISTRO_FEATURES = "opengl" | 171 | REQUIRED_DISTRO_FEATURES = "opengl" |
diff --git a/recipes-graphics/wayland/weston_12.0.4.imx.bb b/recipes-graphics/wayland/weston_14.0.1.imx.bb index 87593e4bd..96bde0fe0 100644 --- a/recipes-graphics/wayland/weston_12.0.4.imx.bb +++ b/recipes-graphics/wayland/weston_14.0.1.imx.bb | |||
@@ -3,7 +3,7 @@ | |||
3 | # recipe. The second section customizes the recipe for i.MX. | 3 | # recipe. The second section customizes the recipe for i.MX. |
4 | 4 | ||
5 | ########### OE-core copy ################## | 5 | ########### OE-core copy ################## |
6 | # Upstream hash: 92a460b55e7290ec0006365219189761f7226f7c | 6 | # Upstream hash: 23271a1f908a223b4eb56d6034cbb1ac23da14fe |
7 | 7 | ||
8 | SUMMARY = "Weston, a Wayland compositor" | 8 | SUMMARY = "Weston, a Wayland compositor" |
9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" | 9 | DESCRIPTION = "Weston is the reference implementation of a Wayland compositor" |
@@ -14,17 +14,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
17 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
17 | file://weston.png \ | 18 | file://weston.png \ |
18 | file://weston.desktop \ | 19 | file://weston.desktop \ |
19 | file://xwayland.weston-start \ | 20 | file://xwayland.weston-start \ |
20 | file://systemd-notify.weston-start \ | 21 | file://systemd-notify.weston-start \ |
21 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | ||
22 | " | 22 | " |
23 | 23 | ||
24 | SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a" | 24 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" |
25 | 25 | ||
26 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 26 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
27 | UPSTREAM_CHECK_REGEX = "weston-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 27 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
28 | 28 | ||
29 | inherit meson pkgconfig useradd | 29 | inherit meson pkgconfig useradd |
30 | 30 | ||
@@ -45,7 +45,6 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms wayla | |||
45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \ |
46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ | 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)} \ |
47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ | 47 | ${@bb.utils.contains_any('DISTRO_FEATURES', 'wayland x11', '', 'headless', d)} \ |
48 | launcher-libseat \ | ||
49 | image-jpeg \ | 48 | image-jpeg \ |
50 | screenshare \ | 49 | screenshare \ |
51 | shell-desktop \ | 50 | shell-desktop \ |
@@ -61,7 +60,7 @@ SIMPLECLIENTS ?= "all" | |||
61 | # Compositor choices | 60 | # Compositor choices |
62 | # | 61 | # |
63 | # Weston on KMS | 62 | # Weston on KMS |
64 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev virtual/egl virtual/libgles2 virtual/libgbm mtdev" | 63 | PACKAGECONFIG[kms] = "-Dbackend-drm=true,-Dbackend-drm=false,drm udev seatd virtual/egl virtual/libgles2 virtual/libgbm mtdev" |
65 | # Weston on Wayland (nested Weston) | 64 | # Weston on Wayland (nested Weston) |
66 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" | 65 | PACKAGECONFIG[wayland] = "-Dbackend-wayland=true,-Dbackend-wayland=false,virtual/egl virtual/libgles2" |
67 | # Weston on X11 | 66 | # Weston on X11 |
@@ -69,7 +68,7 @@ PACKAGECONFIG[x11] = "-Dbackend-x11=true,-Dbackend-x11=false,virtual/libx11 libx | |||
69 | # Headless Weston | 68 | # Headless Weston |
70 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" | 69 | PACKAGECONFIG[headless] = "-Dbackend-headless=true,-Dbackend-headless=false" |
71 | # Weston on RDP | 70 | # Weston on RDP |
72 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp" | 71 | PACKAGECONFIG[rdp] = "-Dbackend-rdp=true,-Dbackend-rdp=false,freerdp,freerdp" |
73 | # VA-API desktop recorder | 72 | # VA-API desktop recorder |
74 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" | 73 | PACKAGECONFIG[vaapi] = "-Dbackend-drm-screencast-vaapi=true,-Dbackend-drm-screencast-vaapi=false,libva" |
75 | # Weston with EGL support | 74 | # Weston with EGL support |
@@ -100,10 +99,6 @@ PACKAGECONFIG[shell-ivi] = "-Dshell-ivi=true,-Dshell-ivi=false" | |||
100 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" | 99 | PACKAGECONFIG[shell-kiosk] = "-Dshell-kiosk=true,-Dshell-kiosk=false" |
101 | # JPEG image loading support | 100 | # JPEG image loading support |
102 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" | 101 | PACKAGECONFIG[image-jpeg] = "-Dimage-jpeg=true,-Dimage-jpeg=false, jpeg" |
103 | # support libseat based launch | ||
104 | PACKAGECONFIG[launcher-libseat] = "-Dlauncher-libseat=true,-Dlauncher-libseat=false,seatd" | ||
105 | # deprecated and superseded by libseat launcher | ||
106 | PACKAGECONFIG[launcher-logind] = "-Ddeprecated-launcher-logind=true,-Ddeprecated-launcher-logind=false," | ||
107 | # screencasting via PipeWire | 102 | # screencasting via PipeWire |
108 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" | 103 | PACKAGECONFIG[pipewire] = "-Dbackend-pipewire=true,-Dbackend-pipewire=false,pipewire" |
109 | # VNC remote screensharing | 104 | # VNC remote screensharing |
@@ -167,13 +162,15 @@ LIC_FILES_CHKSUM += "file://LICENSE;md5=d79ee9e66bb0f95d3386a7acae780b70" | |||
167 | 162 | ||
168 | DEFAULT_PREFERENCE = "-1" | 163 | DEFAULT_PREFERENCE = "-1" |
169 | 164 | ||
165 | DEPENDS:append = " libdisplay-info" | ||
166 | |||
170 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" | 167 | SRC_URI:remove = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz" |
171 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " | 168 | SRC_URI:prepend = "${WESTON_SRC};branch=${SRCBRANCH} " |
172 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" | 169 | WESTON_SRC ?= "git://github.com/nxp-imx/weston-imx.git;protocol=https" |
173 | SRC_URI += "file://0001-Revert-protocol-no-found-wayland-scanner-with-Yocto-.patch" | 170 | SRCBRANCH = "weston-imx-14.0.1" |
174 | SRCBRANCH = "weston-imx-12.0.4" | 171 | SRCREV = "0fd5d3ab75346e525b565039a7b8bf5d9008be78" |
175 | SRCREV = "461c49d20677cfd36d01a95dafbd9eedf2a4b09c" | 172 | |
176 | S = "${WORKDIR}/git" | 173 | SRC_URI:remove = "file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch" |
177 | 174 | ||
178 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" | 175 | PACKAGECONFIG_IMX_REMOVALS ?= "wayland x11" |
179 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" | 176 | PACKAGECONFIG:remove = "${PACKAGECONFIG_IMX_REMOVALS}" |
@@ -183,6 +180,9 @@ PACKAGECONFIG_G2D ??= "" | |||
183 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" | 180 | PACKAGECONFIG_G2D:imxgpu2d ??= "imxg2d" |
184 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" | 181 | PACKAGECONFIG_G2D:mx93-nxp-bsp ??= "imxg2d" |
185 | 182 | ||
183 | # Remove no longer supported colord | ||
184 | PACKAGECONFIG[colord] = "" | ||
185 | |||
186 | # Weston with i.MX G2D renderer | 186 | # Weston with i.MX G2D renderer |
187 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" | 187 | PACKAGECONFIG[imxg2d] = "-Drenderer-g2d=true,-Drenderer-g2d=false,virtual/libg2d" |
188 | 188 | ||