diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2024-06-04 20:06:16 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-06 11:56:04 +0100 |
| commit | a4714409d7ddbddba52a72d6c3ba559529f07e14 (patch) | |
| tree | 03162acea15121e66d112539882224843955de5f /meta/recipes-graphics/wayland | |
| parent | 43f7fde774192ce9f0a66a3c454f988c0144578c (diff) | |
| download | poky-a4714409d7ddbddba52a72d6c3ba559529f07e14.tar.gz | |
wayland: upgrade 1.22.0 -> 1.23.0
This is the official release for Wayland 1.23.
Besides numerous bugfixes and protocol clarifications, Wayland 1.23 includes
the following new features:
- A mechanism to set the size of the internal connection buffer used by
libwayland
- An enum-header mode for wayland-scanner to generate headers with only enums
- wayland-scanner now generates validator functions for enums on the server
side
- Protocols can now indicate with a "deprecated-since" XML attribute that a
request, event or enum entry is deprecated
- An API to set a name for a queue to aid debugging
- wl_client_get_user_data() and wl_client_set_user_data() to more easily attach
custom data to a client
- OpenBSD support
- A wl_shm.release request for proper cleanup of this global
Changelog:
https://lists.freedesktop.org/archives/wayland-devel/2024-May/043636.html
(From OE-Core rev: 0123debc0f54e3692fe3fc1416cb5a3fa4620020)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland')
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | 9 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch | 46 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland_1.23.0.bb (renamed from meta/recipes-graphics/wayland/wayland_1.22.0.bb) | 3 |
3 files changed, 4 insertions, 54 deletions
diff --git a/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch b/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch index bc753de113..c6ddf8a1f9 100644 --- a/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch +++ b/meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From b4c64b6f07743e3fb63ce52359bc664ab7d60df0 Mon Sep 17 00:00:00 2001 | 1 | From a90bfa622f7323074c715674b368cba80bc7d196 Mon Sep 17 00:00:00 2001 |
| 2 | From: Joshua Watt <JPEWhacker@gmail.com> | 2 | From: Joshua Watt <JPEWhacker@gmail.com> |
| 3 | Date: Thu, 20 Feb 2020 15:20:45 -0600 | 3 | Date: Thu, 20 Feb 2020 15:20:45 -0600 |
| 4 | Subject: [PATCH] build: Fix strndup detection on MinGW | 4 | Subject: [PATCH] build: Fix strndup detection on MinGW |
| @@ -20,10 +20,10 @@ Signed-off-by: Denys Dmytriyenko <denis@denix.org> | |||
| 20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 20 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 21 | 21 | ||
| 22 | diff --git a/meson.build b/meson.build | 22 | diff --git a/meson.build b/meson.build |
| 23 | index 3bc25c9..adde7b9 100644 | 23 | index 8e28f2a..b56ba91 100644 |
| 24 | --- a/meson.build | 24 | --- a/meson.build |
| 25 | +++ b/meson.build | 25 | +++ b/meson.build |
| 26 | @@ -38,11 +38,11 @@ have_funcs = [ | 26 | @@ -45,11 +45,11 @@ have_funcs = [ |
| 27 | 'prctl', | 27 | 'prctl', |
| 28 | 'memfd_create', | 28 | 'memfd_create', |
| 29 | 'mremap', | 29 | 'mremap', |
| @@ -36,6 +36,3 @@ index 3bc25c9..adde7b9 100644 | |||
| 36 | config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>')) | 36 | config_h.set10('HAVE_XUCRED_CR_PID', cc.has_member('struct xucred', 'cr_pid', prefix : '#include <sys/ucred.h>')) |
| 37 | have_broken_msg_cmsg_cloexec = false | 37 | have_broken_msg_cmsg_cloexec = false |
| 38 | if host_machine.system() == 'freebsd' | 38 | if host_machine.system() == 'freebsd' |
| 39 | -- | ||
| 40 | 2.7.4 | ||
| 41 | |||
diff --git a/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch b/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch deleted file mode 100644 index 4573bb635a..0000000000 --- a/meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch +++ /dev/null | |||
| @@ -1,46 +0,0 @@ | |||
| 1 | From ff8ecbe8891d592e645927659318720f9e190054 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Andreas Cord-Landwehr <cordlandwehr@kde.org> | ||
| 3 | Date: Sun, 6 Feb 2022 17:23:46 +0100 | ||
| 4 | Subject: [PATCH] Consider pkgconfig sysroot for pkgdatadir | ||
| 5 | |||
| 6 | For libs/cflags this is done automatically, but not for manually accessed | ||
| 7 | variables. This matches what wayland-protocols does. | ||
| 8 | |||
| 9 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/272] | ||
| 10 | --- | ||
| 11 | src/meson.build | 6 +++--- | ||
| 12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/src/meson.build b/src/meson.build | ||
| 15 | index a8a1d2b..721e151 100644 | ||
| 16 | --- a/src/meson.build | ||
| 17 | +++ b/src/meson.build | ||
| 18 | @@ -65,7 +65,7 @@ if get_option('scanner') | ||
| 19 | version: meson.project_version(), | ||
| 20 | variables: [ | ||
| 21 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
| 22 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()), | ||
| 23 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()), | ||
| 24 | 'bindir=' + join_paths('${prefix}', get_option('bindir')), | ||
| 25 | 'wayland_scanner=${bindir}/wayland-scanner' | ||
| 26 | ], | ||
| 27 | @@ -211,7 +211,7 @@ if get_option('libraries') | ||
| 28 | filebase: 'wayland-server', | ||
| 29 | variables: [ | ||
| 30 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
| 31 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()) | ||
| 32 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()) | ||
| 33 | ] | ||
| 34 | ) | ||
| 35 | |||
| 36 | @@ -250,7 +250,7 @@ if get_option('libraries') | ||
| 37 | filebase: 'wayland-client', | ||
| 38 | variables: [ | ||
| 39 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | ||
| 40 | - 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()) | ||
| 41 | + 'pkgdatadir=' + join_paths('${pc_sysrootdir}${datarootdir}', meson.project_name()) | ||
| 42 | ] | ||
| 43 | ) | ||
| 44 | |||
| 45 | -- | ||
| 46 | 2.37.2 | ||
diff --git a/meta/recipes-graphics/wayland/wayland_1.22.0.bb b/meta/recipes-graphics/wayland/wayland_1.23.0.bb index e7babc9ec6..8ff47ac171 100644 --- a/meta/recipes-graphics/wayland/wayland_1.22.0.bb +++ b/meta/recipes-graphics/wayland/wayland_1.23.0.bb | |||
| @@ -15,9 +15,8 @@ DEPENDS = "expat libffi wayland-native" | |||
| 15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ | 15 | SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ |
| 16 | file://run-ptest \ | 16 | file://run-ptest \ |
| 17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ | 17 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ |
| 18 | file://0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch \ | ||
| 19 | " | 18 | " |
| 20 | SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" | 19 | SRC_URI[sha256sum] = "05b3e1574d3e67626b5974f862f36b5b427c7ceeb965cb36a4e6c2d342e45ab2" |
| 21 | 20 | ||
| 22 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags" | 21 | UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags" |
| 23 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | 22 | UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" |
