diff options
| author | Denys Dmytriyenko <denis@denix.org> | 2021-01-28 18:01:43 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-30 10:41:03 +0000 |
| commit | 46a95d9d5d0fab4153bfe24dde509ed0d4c08092 (patch) | |
| tree | ec5a62b26ca6d4fa7ad02b18acff1a6b28297f2c /meta/recipes-graphics | |
| parent | c679c1cac2af2ad1f1a2f8b2c75f3c5fde2b5ea2 (diff) | |
| download | poky-46a95d9d5d0fab4153bfe24dde509ed0d4c08092.tar.gz | |
wayland: upgrade 1.18.0 -> 1.19.0
This release mostly contains bug fixes and minor protocol updates.
Related patches were rebased and backported patches dropped.
(From OE-Core rev: 353382f6c7f3904a11e0a73a1b17eff4963bdcb9)
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch | 5 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0001-meson-tests-add-missing-dependencies-on-protocol-hea.patch | 115 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0002-Do-not-hardcode-the-path-to-wayland-scanner.patch | 23 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch | 13 | ||||
| -rw-r--r-- | meta/recipes-graphics/wayland/wayland_1.19.0.bb (renamed from meta/recipes-graphics/wayland/wayland_1.18.0.bb) | 4 |
5 files changed, 24 insertions, 136 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 c2ceae4a47..ad1063b2c3 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 e6783c99f051c6d8252db5f388d805cef0e16357 Mon Sep 17 00:00:00 2001 | 1 | From 6a6223a8e217664a348835e92d5a602f50e18b2c 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 |
| @@ -13,10 +13,13 @@ See: https://github.com/mesonbuild/meson/issues/3672 | |||
| 13 | 13 | ||
| 14 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> | 14 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> |
| 15 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/merge_requests/63] | 15 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/wayland/merge_requests/63] |
| 16 | |||
| 16 | --- | 17 | --- |
| 17 | meson.build | 2 +- | 18 | meson.build | 2 +- |
| 18 | 1 file changed, 1 insertion(+), 1 deletion(-) | 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 19 | 20 | ||
| 21 | diff --git a/meson.build b/meson.build | ||
| 22 | index 11c35fa..80729d0 100644 | ||
| 20 | --- a/meson.build | 23 | --- a/meson.build |
| 21 | +++ b/meson.build | 24 | +++ b/meson.build |
| 22 | @@ -36,11 +36,11 @@ have_funcs = [ | 25 | @@ -36,11 +36,11 @@ have_funcs = [ |
diff --git a/meta/recipes-graphics/wayland/wayland/0001-meson-tests-add-missing-dependencies-on-protocol-hea.patch b/meta/recipes-graphics/wayland/wayland/0001-meson-tests-add-missing-dependencies-on-protocol-hea.patch deleted file mode 100644 index 61de0e04e8..0000000000 --- a/meta/recipes-graphics/wayland/wayland/0001-meson-tests-add-missing-dependencies-on-protocol-hea.patch +++ /dev/null | |||
| @@ -1,115 +0,0 @@ | |||
| 1 | From b2c74f6a3dbe0aee2413800837314136947a4985 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jan Beich <jbeich@FreeBSD.org> | ||
| 3 | Date: Sat, 15 Feb 2020 02:03:45 +0000 | ||
| 4 | Subject: [PATCH] meson/tests: add missing dependencies on protocol headers | ||
| 5 | |||
| 6 | In file included from ../tests/connection-test.c:43: | ||
| 7 | In file included from ../tests/test-compositor.h:30: | ||
| 8 | ../src/wayland-client.h:40:10: fatal error: 'wayland-client-protocol.h' file not found | ||
| 9 | #include "wayland-client-protocol.h" | ||
| 10 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 11 | In file included from ../tests/display-test.c:45: | ||
| 12 | In file included from ../src/wayland-server.h:104: | ||
| 13 | src/wayland-server-protocol.h:4454:2: error: unterminated /* comment | ||
| 14 | /** | ||
| 15 | ^ | ||
| 16 | In file included from ../tests/cpp-compile-test.cpp:2: | ||
| 17 | In file included from src/wayland-server-protocol.h:8: | ||
| 18 | In file included from ../src/wayland-server.h:104: | ||
| 19 | src/wayland-server-protocol.h:3:2: error: unterminated conditional directive | ||
| 20 | #ifndef WAYLAND_SERVER_PROTOCOL_H | ||
| 21 | ^ | ||
| 22 | ../tests/headers-protocol-test.c:33:2: error: including wayland-server-protocol.h did not include wayland-server.h! | ||
| 23 | #error including wayland-server-protocol.h did not include wayland-server.h! | ||
| 24 | ^ | ||
| 25 | In file included from ../tests/headers-protocol-test.c:26: | ||
| 26 | In file included from src/wayland-client-protocol.h:8: | ||
| 27 | In file included from ../src/wayland-client.h:40: | ||
| 28 | src/wayland-client-protocol.h:1358:2: error: unterminated conditional directive | ||
| 29 | #ifndef WL_SHM_FORMAT_ENUM | ||
| 30 | ^ | ||
| 31 | In file included from ../tests/protocol-logger-test.c:34: | ||
| 32 | In file included from ../src/wayland-client.h:40: | ||
| 33 | src/wayland-client-protocol.h:2613:1: error: unterminated /* comment | ||
| 34 | /** | ||
| 35 | ^ | ||
| 36 | ../tests/resources-test.c:49:36: error: use of undeclared identifier 'wl_seat_interface' | ||
| 37 | res = wl_resource_create(client, &wl_seat_interface, 4, 0); | ||
| 38 | ^ | ||
| 39 | Upstream-Status: Backport | ||
| 40 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 41 | --- | ||
| 42 | tests/meson.build | 26 ++++++++++++++++++-------- | ||
| 43 | 1 file changed, 18 insertions(+), 8 deletions(-) | ||
| 44 | |||
| 45 | diff --git a/tests/meson.build b/tests/meson.build | ||
| 46 | index c28a2a3..f1af7b4 100644 | ||
| 47 | --- a/tests/meson.build | ||
| 48 | +++ b/tests/meson.build | ||
| 49 | @@ -69,7 +69,7 @@ test( | ||
| 50 | executable( | ||
| 51 | 'cpp-compile-test', | ||
| 52 | 'cpp-compile-test.cpp', | ||
| 53 | - wayland_server_protocol_core_h, | ||
| 54 | + wayland_server_protocol_h, | ||
| 55 | include_directories: src_inc | ||
| 56 | ) | ||
| 57 | ) | ||
| 58 | @@ -91,17 +91,25 @@ tests = { | ||
| 59 | 'array-test': [], | ||
| 60 | 'client-test': [ wayland_server_protocol_h ], | ||
| 61 | 'display-test': [ | ||
| 62 | + wayland_client_protocol_h, | ||
| 63 | + wayland_server_protocol_h, | ||
| 64 | tests_server_protocol_h, | ||
| 65 | tests_client_protocol_c, | ||
| 66 | tests_protocol_c, | ||
| 67 | ], | ||
| 68 | - 'connection-test': [ wayland_server_protocol_h ], | ||
| 69 | + 'connection-test': [ | ||
| 70 | + wayland_client_protocol_h, | ||
| 71 | + wayland_server_protocol_h, | ||
| 72 | + ], | ||
| 73 | 'event-loop-test': [ wayland_server_protocol_h ], | ||
| 74 | 'fixed-test': [], | ||
| 75 | 'interface-test': [ wayland_client_protocol_h ], | ||
| 76 | 'list-test': [], | ||
| 77 | 'map-test': [], | ||
| 78 | - 'sanity-test' : [ wayland_server_protocol_h ], | ||
| 79 | + 'sanity-test' : [ | ||
| 80 | + wayland_client_protocol_h, | ||
| 81 | + wayland_server_protocol_h, | ||
| 82 | + ], | ||
| 83 | 'socket-test': [ | ||
| 84 | wayland_client_protocol_h, | ||
| 85 | wayland_server_protocol_h, | ||
| 86 | @@ -116,7 +124,7 @@ tests = { | ||
| 87 | files('../src/wayland-server.c'), | ||
| 88 | wayland_server_protocol_h, | ||
| 89 | ], | ||
| 90 | - 'resources-test': [ wayland_server_protocol_core_h ], | ||
| 91 | + 'resources-test': [ wayland_server_protocol_h ], | ||
| 92 | 'message-test': [ | ||
| 93 | wayland_client_protocol_h, | ||
| 94 | wayland_server_protocol_h, | ||
| 95 | @@ -126,14 +134,16 @@ tests = { | ||
| 96 | wayland_server_protocol_h, | ||
| 97 | ], | ||
| 98 | 'protocol-logger-test': [ | ||
| 99 | - wayland_server_protocol_core_h, | ||
| 100 | - wayland_client_protocol_core_h, | ||
| 101 | + wayland_client_protocol_h, | ||
| 102 | + wayland_server_protocol_h, | ||
| 103 | ], | ||
| 104 | 'headers-test': [ | ||
| 105 | + wayland_client_protocol_h, | ||
| 106 | + wayland_server_protocol_h, | ||
| 107 | 'headers-protocol-test.c', | ||
| 108 | - 'headers-protocol-core-test.c', | ||
| 109 | - wayland_server_protocol_core_h, | ||
| 110 | wayland_client_protocol_core_h, | ||
| 111 | + wayland_server_protocol_core_h, | ||
| 112 | + 'headers-protocol-core-test.c', | ||
| 113 | ], | ||
| 114 | 'os-wrappers-test': [], | ||
| 115 | } | ||
diff --git a/meta/recipes-graphics/wayland/wayland/0002-Do-not-hardcode-the-path-to-wayland-scanner.patch b/meta/recipes-graphics/wayland/wayland/0002-Do-not-hardcode-the-path-to-wayland-scanner.patch index 2199548bdf..e3e71925b8 100644 --- a/meta/recipes-graphics/wayland/wayland/0002-Do-not-hardcode-the-path-to-wayland-scanner.patch +++ b/meta/recipes-graphics/wayland/wayland/0002-Do-not-hardcode-the-path-to-wayland-scanner.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From cbb28635a1079d68e62dbaa1e21791a20dbbbaf4 Mon Sep 17 00:00:00 2001 | 1 | From 3e7cd56611aeec274e48a4816bc7c21f74f15be0 Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 17 Feb 2020 21:46:18 +0100 | 3 | Date: Mon, 17 Feb 2020 21:46:18 +0100 |
| 4 | Subject: [PATCH] Do not hardcode the path to wayland-scanner | 4 | Subject: [PATCH] Do not hardcode the path to wayland-scanner |
| @@ -7,20 +7,21 @@ This results in host contamination during builds. | |||
| 7 | 7 | ||
| 8 | Upstream-Status: Inappropriate [oe-core specific] | 8 | Upstream-Status: Inappropriate [oe-core specific] |
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 10 | |||
| 10 | --- | 11 | --- |
| 11 | src/meson.build | 2 +- | 12 | src/meson.build | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | 14 | ||
| 14 | diff --git a/src/meson.build b/src/meson.build | 15 | diff --git a/src/meson.build b/src/meson.build |
| 15 | index 294aee0..7e410fa 100644 | 16 | index 15730a3..61edbc8 100644 |
| 16 | --- a/src/meson.build | 17 | --- a/src/meson.build |
| 17 | +++ b/src/meson.build | 18 | +++ b/src/meson.build |
| 18 | @@ -49,7 +49,7 @@ pkgconfig.generate( | 19 | @@ -52,7 +52,7 @@ if get_option('scanner') |
| 19 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), | 20 | 'datarootdir=' + join_paths('${prefix}', get_option('datadir')), |
| 20 | 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()), | 21 | 'pkgdatadir=' + join_paths('${datarootdir}', meson.project_name()), |
| 21 | 'bindir=' + join_paths('${prefix}', get_option('bindir')), | 22 | 'bindir=' + join_paths('${prefix}', get_option('bindir')), |
| 22 | - 'wayland_scanner=${bindir}/wayland-scanner' | 23 | - 'wayland_scanner=${bindir}/wayland-scanner' |
| 23 | + 'wayland_scanner=wayland-scanner' | 24 | + 'wayland_scanner=wayland-scanner' |
| 24 | ], | 25 | ], |
| 25 | filebase: 'wayland-scanner' | 26 | filebase: 'wayland-scanner' |
| 26 | ) | 27 | ) |
diff --git a/meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch b/meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch index f98037a850..11dc069147 100644 --- a/meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch +++ b/meta/recipes-graphics/wayland/wayland/0002-meson.build-find-the-native-wayland-scanner-directly.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 2582d2653ba80917d7bc47088e1a5f49530fddaa Mon Sep 17 00:00:00 2001 | 1 | From 98e7902a4ddcd80b61cce6f35f97907e841a5eda Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Sun, 16 Feb 2020 16:29:53 +0100 | 3 | Date: Sun, 16 Feb 2020 16:29:53 +0100 |
| 4 | Subject: [PATCH] meson.build: find the native wayland-scanner directly in PATH | 4 | Subject: [PATCH] meson.build: find the native wayland-scanner directly in PATH |
| @@ -7,19 +7,20 @@ Otherwise, meson attempts to use the target pkg-config and fails. | |||
| 7 | 7 | ||
| 8 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
| 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 10 | |||
| 10 | --- | 11 | --- |
| 11 | src/meson.build | 3 +-- | 12 | src/meson.build | 3 +-- |
| 12 | 1 file changed, 1 insertion(+), 2 deletions(-) | 13 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 13 | 14 | ||
| 14 | diff --git a/src/meson.build b/src/meson.build | 15 | diff --git a/src/meson.build b/src/meson.build |
| 15 | index 3e8c9bf..294aee0 100644 | 16 | index d91c503..15730a3 100644 |
| 16 | --- a/src/meson.build | 17 | --- a/src/meson.build |
| 17 | +++ b/src/meson.build | 18 | +++ b/src/meson.build |
| 18 | @@ -55,8 +55,7 @@ pkgconfig.generate( | 19 | @@ -59,8 +59,7 @@ if get_option('scanner') |
| 19 | ) | 20 | endif |
| 20 | 21 | ||
| 21 | if meson.is_cross_build() | 22 | if meson.is_cross_build() or not get_option('scanner') |
| 22 | - scanner_dep = dependency('wayland-scanner', native: true, version: '>=1.14.0') | 23 | - scanner_dep = dependency('wayland-scanner', native: true, version: meson.project_version()) |
| 23 | - wayland_scanner_for_build = find_program(scanner_dep.get_pkgconfig_variable('wayland_scanner')) | 24 | - wayland_scanner_for_build = find_program(scanner_dep.get_pkgconfig_variable('wayland_scanner')) |
| 24 | + wayland_scanner_for_build = find_program('wayland-scanner') | 25 | + wayland_scanner_for_build = find_program('wayland-scanner') |
| 25 | else | 26 | else |
diff --git a/meta/recipes-graphics/wayland/wayland_1.18.0.bb b/meta/recipes-graphics/wayland/wayland_1.19.0.bb index 00be3aac27..8f121601c4 100644 --- a/meta/recipes-graphics/wayland/wayland_1.18.0.bb +++ b/meta/recipes-graphics/wayland/wayland_1.19.0.bb | |||
| @@ -17,10 +17,8 @@ SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \ | |||
| 17 | file://0002-meson.build-find-the-native-wayland-scanner-directly.patch \ | 17 | file://0002-meson.build-find-the-native-wayland-scanner-directly.patch \ |
| 18 | file://0002-Do-not-hardcode-the-path-to-wayland-scanner.patch \ | 18 | file://0002-Do-not-hardcode-the-path-to-wayland-scanner.patch \ |
| 19 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ | 19 | file://0001-build-Fix-strndup-detection-on-MinGW.patch \ |
| 20 | file://0001-meson-tests-add-missing-dependencies-on-protocol-hea.patch \ | ||
| 21 | " | 20 | " |
| 22 | SRC_URI[md5sum] = "23317697b6e3ff2e1ac8c5ba3ed57b65" | 21 | SRC_URI[sha256sum] = "baccd902300d354581cd5ad3cc49daa4921d55fb416a5883e218750fef166d15" |
| 23 | SRC_URI[sha256sum] = "4675a79f091020817a98fd0484e7208c8762242266967f55a67776936c2e294d" | ||
| 24 | 22 | ||
| 25 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" | 23 | UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" |
| 26 | 24 | ||
