summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rw-r--r--meta/recipes-graphics/wayland/libinput_1.26.1.bb (renamed from meta/recipes-graphics/wayland/libinput_1.25.0.bb)2
-rw-r--r--meta/recipes-graphics/wayland/wayland-protocols_1.37.bb (renamed from meta/recipes-graphics/wayland/wayland-protocols_1.36.bb)2
-rw-r--r--meta/recipes-graphics/wayland/wayland/0001-build-Fix-strndup-detection-on-MinGW.patch9
-rw-r--r--meta/recipes-graphics/wayland/wayland/0002-Consider-pkgconfig-sysroot-for-pkgdatadir.patch46
-rw-r--r--meta/recipes-graphics/wayland/wayland_1.23.1.bb (renamed from meta/recipes-graphics/wayland/wayland_1.22.0.bb)3
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb5
-rw-r--r--meta/recipes-graphics/wayland/weston/0001-libweston-tools-Include-libgen.h-for-basename-signat.patch13
-rw-r--r--meta/recipes-graphics/wayland/weston_13.0.3.bb (renamed from meta/recipes-graphics/wayland/weston_13.0.0.bb)2
8 files changed, 15 insertions, 67 deletions
diff --git a/meta/recipes-graphics/wayland/libinput_1.25.0.bb b/meta/recipes-graphics/wayland/libinput_1.26.1.bb
index 894858e361..487270505a 100644
--- a/meta/recipes-graphics/wayland/libinput_1.25.0.bb
+++ b/meta/recipes-graphics/wayland/libinput_1.26.1.bb
@@ -15,7 +15,7 @@ DEPENDS = "libevdev udev mtdev"
15SRC_URI = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=main \ 15SRC_URI = "git://gitlab.freedesktop.org/libinput/libinput.git;protocol=https;branch=main \
16 file://run-ptest \ 16 file://run-ptest \
17 " 17 "
18SRCREV = "3fd38d89276b679ac3565efd7c2150fd047902cb" 18SRCREV = "124431a5d3186e1c3c3aa144a0634b84b3089486"
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20 20
21UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" 21UPSTREAM_CHECK_REGEX = "libinput-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.36.bb b/meta/recipes-graphics/wayland/wayland-protocols_1.37.bb
index 9b008ca534..2bf59b9719 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.36.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.37.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
10 file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53" 10 file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
11 11
12SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz" 12SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz"
13SRC_URI[sha256sum] = "71fd4de05e79f9a1ca559fac30c1f8365fa10346422f9fe795f74d77b9ef7e92" 13SRC_URI[sha256sum] = "a70e9be924f2e8688e6824dceaf6188faacd5ae218dfac8d0a3d0976211ef326"
14 14
15UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags" 15UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tags"
16UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)" 16UPSTREAM_CHECK_REGEX = "releases/(?P<pver>.+)"
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 @@
1From b4c64b6f07743e3fb63ce52359bc664ab7d60df0 Mon Sep 17 00:00:00 2001 1From a90bfa622f7323074c715674b368cba80bc7d196 Mon Sep 17 00:00:00 2001
2From: Joshua Watt <JPEWhacker@gmail.com> 2From: Joshua Watt <JPEWhacker@gmail.com>
3Date: Thu, 20 Feb 2020 15:20:45 -0600 3Date: Thu, 20 Feb 2020 15:20:45 -0600
4Subject: [PATCH] build: Fix strndup detection on MinGW 4Subject: [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
22diff --git a/meson.build b/meson.build 22diff --git a/meson.build b/meson.build
23index 3bc25c9..adde7b9 100644 23index 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--
402.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 @@
1From ff8ecbe8891d592e645927659318720f9e190054 Mon Sep 17 00:00:00 2001
2From: Andreas Cord-Landwehr <cordlandwehr@kde.org>
3Date: Sun, 6 Feb 2022 17:23:46 +0100
4Subject: [PATCH] Consider pkgconfig sysroot for pkgdatadir
5
6For libs/cflags this is done automatically, but not for manually accessed
7variables. This matches what wayland-protocols does.
8
9Upstream-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
14diff --git a/src/meson.build b/src/meson.build
15index 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--
462.37.2
diff --git a/meta/recipes-graphics/wayland/wayland_1.22.0.bb b/meta/recipes-graphics/wayland/wayland_1.23.1.bb
index e7babc9ec6..3a5d91be04 100644
--- a/meta/recipes-graphics/wayland/wayland_1.22.0.bb
+++ b/meta/recipes-graphics/wayland/wayland_1.23.1.bb
@@ -15,9 +15,8 @@ DEPENDS = "expat libffi wayland-native"
15SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ 15SRC_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 "
20SRC_URI[sha256sum] = "1540af1ea698a471c2d8e9d288332c7e0fd360c8f1d12936ebb7e7cbc2425842" 19SRC_URI[sha256sum] = "864fb2a8399e2d0ec39d56e9d9b753c093775beadc6022ce81f441929a81e5ed"
21 20
22UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags" 21UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/wayland/-/tags"
23UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" 22UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index ca3d1478dc..3de697ec34 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -13,7 +13,8 @@ SRC_URI = "file://init \
13 file://weston-autologin \ 13 file://weston-autologin \
14 file://weston-start" 14 file://weston-start"
15 15
16S = "${WORKDIR}" 16S = "${WORKDIR}/sources"
17UNPACKDIR = "${S}"
17 18
18PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}" 19PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xwayland', '', d)}"
19PACKAGECONFIG:append:qemuriscv64 = " use-pixman" 20PACKAGECONFIG:append:qemuriscv64 = " use-pixman"
@@ -83,7 +84,7 @@ USERADD_PACKAGES = "${PN}"
83# 84#
84require ${THISDIR}/required-distro-features.inc 85require ${THISDIR}/required-distro-features.inc
85 86
86RDEPENDS:${PN} = "weston kbd" 87RDEPENDS:${PN} = "weston kbd ${@bb.utils.contains('PACKAGECONFIG', 'xwayland', 'weston-xwayland', '', d)}"
87 88
88INITSCRIPT_NAME = "weston" 89INITSCRIPT_NAME = "weston"
89INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." 90INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
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
index 1d281fa832..2a833ee973 100644
--- 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
@@ -1,4 +1,4 @@
1From 2b53236ac637dfa7fb0f438f7391a73f6ef92a06 Mon Sep 17 00:00:00 2001 1From 1a2a87013eb6af8e5267ecaf61e17b65a31dc662 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 14 Dec 2023 09:13:54 -0800 3Date: Thu, 14 Dec 2023 09:13:54 -0800
4Subject: [PATCH] libweston,tools: Include libgen.h for basename signature 4Subject: [PATCH] libweston,tools: Include libgen.h for basename signature
@@ -20,7 +20,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
20 2 files changed, 2 insertions(+) 20 2 files changed, 2 insertions(+)
21 21
22diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c 22diff --git a/libweston/backend-drm/libbacklight.c b/libweston/backend-drm/libbacklight.c
23index ca7f2d68..74690fa7 100644 23index ca7f2d6..74690fa 100644
24--- a/libweston/backend-drm/libbacklight.c 24--- a/libweston/backend-drm/libbacklight.c
25+++ b/libweston/backend-drm/libbacklight.c 25+++ b/libweston/backend-drm/libbacklight.c
26@@ -41,6 +41,7 @@ 26@@ -41,6 +41,7 @@
@@ -30,19 +30,16 @@ index ca7f2d68..74690fa7 100644
30+#include <libgen.h> 30+#include <libgen.h>
31 #include <string.h> 31 #include <string.h>
32 #include <errno.h> 32 #include <errno.h>
33 33
34diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c 34diff --git a/tools/zunitc/src/zunitc_impl.c b/tools/zunitc/src/zunitc_impl.c
35index 18f03015..9b460fa0 100644 35index 18f0301..9b460fa 100644
36--- a/tools/zunitc/src/zunitc_impl.c 36--- a/tools/zunitc/src/zunitc_impl.c
37+++ b/tools/zunitc/src/zunitc_impl.c 37+++ b/tools/zunitc/src/zunitc_impl.c
38@@ -27,6 +27,7 @@ 38@@ -27,6 +27,7 @@
39 39
40 #include <errno.h> 40 #include <errno.h>
41 #include <fcntl.h> 41 #include <fcntl.h>
42+#include <libgen.h> 42+#include <libgen.h>
43 #include <stdarg.h> 43 #include <stdarg.h>
44 #include <stdbool.h> 44 #include <stdbool.h>
45 #include <stdio.h> 45 #include <stdio.h>
46--
472.43.0
48
diff --git a/meta/recipes-graphics/wayland/weston_13.0.0.bb b/meta/recipes-graphics/wayland/weston_13.0.3.bb
index cb0024c5ca..e4843d38f7 100644
--- a/meta/recipes-graphics/wayland/weston_13.0.0.bb
+++ b/meta/recipes-graphics/wayland/weston_13.0.3.bb
@@ -14,7 +14,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo
14 file://systemd-notify.weston-start \ 14 file://systemd-notify.weston-start \
15 " 15 "
16 16
17SRC_URI[sha256sum] = "52ff1d4aa2394a2e416c85a338b627ce97fa71d43eb762fd4aaf145d36fc795a" 17SRC_URI[sha256sum] = "27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093"
18 18
19UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags" 19UPSTREAM_CHECK_URI = "https://gitlab.freedesktop.org/wayland/weston/-/tags"
20UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" 20UPSTREAM_CHECK_REGEX = "releases/(?P<pver>\d+\.\d+\.(?!9\d+)\d+)"