diff options
| author | Hiago De Franco <hiago.franco@toradex.com> | 2024-11-05 14:55:13 -0300 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-11-26 05:37:09 -0800 |
| commit | 8330186086a9f7c549aab59b719dd15de16d505e (patch) | |
| tree | 7855d1398ab93677226bf79d427e51b3ed56955d | |
| parent | 6a653ee684fb2efaa9c87ffc11f352d0c028020a (diff) | |
| download | poky-8330186086a9f7c549aab59b719dd15de16d505e.tar.gz | |
weston: backport patch to allow neatvnc < v0.9.0
Currently weston 13.0.3 with neatvnc 0.8.1 does not compile when using
VNC:
| Dependency neatvnc found: NO found 0.8.1 but need: '< 0.8.0' ;
matched: '>= 0.7.0'
However weston upstream already increased the allowed version to 0.9.0,
since neatvnc 0.8.0 does not introduce any changes that breaks API used
by the VNC backend. Therefore, backport this patch.
(From OE-Core rev: fc88bc296fad8b016f7f8ebea4035becb70ac702)
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8516496018a3ee9e81a67d4682bf9784d0eab2bd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch | 27 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/weston_13.0.3.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch b/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch new file mode 100644 index 0000000000..4ac1c075fd --- /dev/null +++ b/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 534cfa08ea0a0c2646b4aec20b16bf95f6d0aae6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> | ||
| 3 | Date: Mon, 3 Jun 2024 13:39:27 +0200 | ||
| 4 | Subject: [PATCH] vnc: Allow neatvnc in version 0.8.0 | ||
| 5 | |||
| 6 | Neat VNC 0.8.0 does not introduce any changes that breaks API used | ||
| 7 | by VNC backend, so it is safe to extend compatibility. | ||
| 8 | |||
| 9 | Upstream-Status: Backport [05e5405651054c580b248c4ab2791ed8d66369e3] | ||
| 10 | Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com> | ||
| 11 | --- | ||
| 12 | libweston/backend-vnc/meson.build | 2 +- | ||
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/libweston/backend-vnc/meson.build b/libweston/backend-vnc/meson.build | ||
| 16 | index b7b6916..39b15cf 100644 | ||
| 17 | --- a/libweston/backend-vnc/meson.build | ||
| 18 | +++ b/libweston/backend-vnc/meson.build | ||
| 19 | @@ -3,7 +3,7 @@ if not get_option('backend-vnc') | ||
| 20 | endif | ||
| 21 | |||
| 22 | config_h.set('BUILD_VNC_COMPOSITOR', '1') | ||
| 23 | -dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.8.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep']) | ||
| 24 | +dep_neatvnc = dependency('neatvnc', version: ['>= 0.7.0', '< 0.9.0'], required: false, fallback: ['neatvnc', 'neatvnc_dep']) | ||
| 25 | if not dep_neatvnc.found() | ||
| 26 | error('VNC backend requires neatvnc which was not found. Or, you can use \'-Dbackend-vnc=false\'.') | ||
| 27 | endif | ||
diff --git a/meta/recipes-graphics/wayland/weston_13.0.3.bb b/meta/recipes-graphics/wayland/weston_13.0.3.bb index e4843d38f7..19b242d01b 100644 --- a/meta/recipes-graphics/wayland/weston_13.0.3.bb +++ b/meta/recipes-graphics/wayland/weston_13.0.3.bb | |||
| @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
| 8 | 8 | ||
| 9 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 9 | SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
| 10 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ | 10 | file://0001-libweston-tools-Include-libgen.h-for-basename-signat.patch \ |
| 11 | file://0001-vnc-Allow-neatvnc-in-version-0.8.0.patch \ | ||
| 11 | file://weston.png \ | 12 | file://weston.png \ |
| 12 | file://weston.desktop \ | 13 | file://weston.desktop \ |
| 13 | file://xwayland.weston-start \ | 14 | file://xwayland.weston-start \ |
