diff options
author | Hiago De Franco <hiago.franco@toradex.com> | 2024-11-25 21:08:36 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-11-27 16:44:47 +0000 |
commit | e9a670233411531d6998409042970a8be26cb9c2 (patch) | |
tree | 667782217844705cd24bae6d7d15c18c95415095 /meta/recipes-graphics | |
parent | 0b1edfb884858086269a7a81cfceaca1f7cc26c8 (diff) | |
download | poky-e9a670233411531d6998409042970a8be26cb9c2.tar.gz |
weston: upgrade 13.0.3 -> 14.0.1
Key changes are:
- Patches have been removed since they were merged upstream and are no
longer needed on 14.0.1.
- Since commit a16598b038b2 ("backend-drm: make libdisplay-info
mandatory") from Weston, libdisplay-info is now a build dependency.
- Since commit f271dd34b617 ("compositor: delete cms-static and
cms-colord plugins") from Weston, "deprecated-color-management-colord"
has been removed, therefore remove the "colord" PACKAGECONFIG.
(From OE-Core rev: fc140d6cb89dc0ddaff9cdc59ab69806096909cb)
Signed-off-by: Hiago De Franco <hiago.franco@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch | 45 | ||||
-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_14.0.1.bb (renamed from meta/recipes-graphics/wayland/weston_13.0.3.bb) | 8 |
3 files changed, 2 insertions, 78 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch b/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch deleted file mode 100644 index 2a833ee973..0000000000 --- a/meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | From 1a2a87013eb6af8e5267ecaf61e17b65a31dc662 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 14 Dec 2023 09:13:54 -0800 | ||
4 | Subject: [PATCH] libweston,tools: Include libgen.h for basename signature | ||
5 | |||
6 | Latest musl has removed the declaration from string.h [1] as it only | ||
7 | implements POSIX version alone and string.h in glibc implements GNU | ||
8 | version of basename. This now results in compile errors on musl. | ||
9 | |||
10 | This might be a warning with older compilers but it is error with | ||
11 | Clang-17+ as it treats -Wimplicit-function-declaration as error | ||
12 | |||
13 | [1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7 | ||
14 | |||
15 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1420] | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | libweston/backend-drm/libbacklight.c | 1 + | ||
19 | tools/zunitc/src/zunitc_impl.c | 1 + | ||
20 | 2 files changed, 2 insertions(+) | ||
21 | |||
22 | diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c | ||
23 | index ca7f2d6..74690fa 100644 | ||
24 | --- a/libweston/backend-drm/libbacklight.c | ||
25 | +++ b/libweston/backend-drm/libbacklight.c | ||
26 | @@ -41,6 +41,7 @@ | ||
27 | #include <drm.h> | ||
28 | #include <fcntl.h> | ||
29 | #include <malloc.h> | ||
30 | +#include <libgen.h> | ||
31 | #include <string.h> | ||
32 | #include <errno.h> | ||
33 | |||
34 | diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c | ||
35 | index 18f0301..9b460fa 100644 | ||
36 | --- a/tools/zunitc/src/zunitc_impl.c | ||
37 | +++ b/tools/zunitc/src/zunitc_impl.c | ||
38 | @@ -27,6 +27,7 @@ | ||
39 | |||
40 | #include <errno.h> | ||
41 | #include <fcntl.h> | ||
42 | +#include <libgen.h> | ||
43 | #include <stdarg.h> | ||
44 | #include <stdbool.h> | ||
45 | #include <stdio.h> | ||
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 deleted file mode 100644 index 4ac1c075fd..0000000000 --- a/meta/recipes-graphics/wayland/weston/0001-vnc-Allow-neatvnc-in-version-0.8.0.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
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_14.0.1.bb index 471dc52bb3..50749d7d15 100644 --- a/meta/recipes-graphics/wayland/weston_13.0.3.bb +++ b/meta/recipes-graphics/wayland/weston_14.0.1.bb | |||
@@ -7,15 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d79ee9e66bb0f95d3386a7acae780b70 \ | |||
7 | " | 7 | " |
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 \ | ||
11 | file://0001-vnc-Allow-neatvnc-in-version-0.8.0.patch \ | ||
12 | file://weston.png \ | 10 | file://weston.png \ |
13 | file://weston.desktop \ | 11 | file://weston.desktop \ |
14 | file://xwayland.weston-start \ | 12 | file://xwayland.weston-start \ |
15 | file://systemd-notify.weston-start \ | 13 | file://systemd-notify.weston-start \ |
16 | " | 14 | " |
17 | 15 | ||
18 | SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093" | 16 | SRC_URI[sha256sum] = "a8150505b126a59df781fe8c30c8e6f87da7013e179039eb844a5bbbcc7c79b3" |
19 | 17 | ||
20 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" | 18 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" |
21 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 19 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
@@ -27,7 +25,7 @@ inherit meson pkgconfig useradd | |||
27 | require ${THISDIR}/required-distro-features.inc | 25 | require ${THISDIR}/required-distro-features.inc |
28 | 26 | ||
29 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" | 27 | DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0" |
30 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native" | 28 | DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native libdisplay-info" |
31 | 29 | ||
32 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" | 30 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'lto', '-Wl,-z,undefs', '', d)}" |
33 | 31 | ||
@@ -75,8 +73,6 @@ PACKAGECONFIG[webp] = "-Dimage-webp=true,-Dimage-webp=false,libwebp" | |||
75 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" | 73 | PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd dbus" |
76 | # Weston with Xwayland support (requires X11 and Wayland) | 74 | # Weston with Xwayland support (requires X11 and Wayland) |
77 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xcb-util-cursor xwayland" | 75 | PACKAGECONFIG[xwayland] = "-Dxwayland=true,-Dxwayland=false,libxcb libxcursor xcb-util-cursor xwayland" |
78 | # colord CMS support | ||
79 | PACKAGECONFIG[colord] = "-Ddeprecated-color-management-colord=true,-Ddeprecated-color-management-colord=false,colord" | ||
80 | # Clients support | 76 | # Clients support |
81 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" | 77 | PACKAGECONFIG[clients] = "-Dsimple-clients=${SIMPLECLIENTS} -Ddemo-clients=true,-Dsimple-clients= -Ddemo-clients=false" |
82 | # Virtual remote output with GStreamer on DRM backend | 78 | # Virtual remote output with GStreamer on DRM backend |