summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-09-13 17:43:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-14 09:19:38 +0100
commitadbf02fd313ab3b860fc3e1939735c949fbd9112 (patch)
tree91725f2cb0345a3f445aa9127b05f1c1e3f4dd3d /meta/recipes-graphics
parentbd428b636cc99761d8d5d769b8df7ffaf99a64d9 (diff)
downloadpoky-adbf02fd313ab3b860fc3e1939735c949fbd9112.tar.gz
wayland-utils: upgrade 1.1.0 -> 1.2.0
0001-wayland-info-Fix-build-without-libdrm.patch removed since it's included in 1.2.0 Changelog: =========== -wayland-info: Fix spurious tab/space -wayland-info: add drm-lease-v1 support -meson: improve protocol generation -wayland-info: Destroy zwp_linux_dmabuf_feedback_v1 proxy on exit -wayland-info: Readd support for linux_dmabuf versions < 3 -wayland-info: Add a cmdline option for interface -wayland-info: print DRM device paths -build: turn on -Wundef -wayland-info: move libdrm version constraint to dependency() -wayland-info: include system headers with angle brackets -wayland-info: Fix build without libdrm -1build: reopen main for regular development (From OE-Core rev: 5a19398422e317333ed22ff7d632cd973d0c30d5) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/wayland/files/0001-wayland-info-Fix-build-without-libdrm.patch42
-rw-r--r--meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb (renamed from meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb)6
2 files changed, 2 insertions, 46 deletions
diff --git a/meta/recipes-graphics/wayland/files/0001-wayland-info-Fix-build-without-libdrm.patch b/meta/recipes-graphics/wayland/files/0001-wayland-info-Fix-build-without-libdrm.patch
deleted file mode 100644
index 86c44d4480..0000000000
--- a/meta/recipes-graphics/wayland/files/0001-wayland-info-Fix-build-without-libdrm.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1From c79a3fb51718c4286b74edf0f758df9219994844 Mon Sep 17 00:00:00 2001
2From: Olivier Fourdan <ofourdan@redhat.com>
3Date: Wed, 14 Sep 2022 09:07:10 +0200
4Subject: [PATCH] wayland-info: Fix build without libdrm
5
6wayland-info can optionally use libdrm to provide a description of the
7dmabuf format modifiers.
8
9When not using libdrm however, the build fails because "dev_t" is not
10defined.
11
12The definition of "dev_t" comes from <sys/types.h> which is included
13from <libdrm.h>, which is not included without libdrm support, hence the
14build failure.
15
16Simply include <sys/types.h> unconditionally to make sure "dev_t" is
17defined regardless of libdrm support, to fix the build failure.
18
19Closes: https://gitlab.freedesktop.org/wayland/wayland-utils/-/issues/6
20Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
21Fixes: 240cb739 - "Add support for linux_dmabuf version 4"
22Reviewed-by: Simon Ser <contact@emersion.fr>
23Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
24
25Upstream-Status: Backport [https://gitlab.freedesktop.org/wayland/wayland-utils/-/commit/baa65ba9f62e6a05c32b9202b524158a21f24245]
26Signed-off-by: Alexander Kanavin <alex@linutronix.de>
27---
28 wayland-info/wayland-info.c | 1 +
29 1 file changed, 1 insertion(+)
30
31diff --git a/wayland-info/wayland-info.c b/wayland-info/wayland-info.c
32index 53cd04b..98ff205 100644
33--- a/wayland-info/wayland-info.c
34+++ b/wayland-info/wayland-info.c
35@@ -34,6 +34,7 @@
36 #include <ctype.h>
37 #include <unistd.h>
38 #include <sys/mman.h>
39+#include <sys/types.h>
40
41 #include <wayland-client.h>
42 #if HAVE_HUMAN_FORMAT_MODIFIER
diff --git a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb b/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb
index 48e1409be8..657f67fb09 100644
--- a/meta/recipes-graphics/wayland/wayland-utils_1.1.0.bb
+++ b/meta/recipes-graphics/wayland/wayland-utils_1.2.0.bb
@@ -9,10 +9,8 @@ LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://COPYING;md5=548a66038a77415e1df51118625e832f \ 9LIC_FILES_CHKSUM = "file://COPYING;md5=548a66038a77415e1df51118625e832f \
10 " 10 "
11 11
12SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz \ 12SRC_URI = "https://gitlab.freedesktop.org/wayland/wayland-utils/-/releases/${PV}/downloads/${BPN}-${PV}.tar.xz"
13 file://0001-wayland-info-Fix-build-without-libdrm.patch \ 13SRC_URI[sha256sum] = "d9278c22554586881802540751bcc42569262bf80cd9ac9b0fd12ff4bd09a9e4"
14 "
15SRC_URI[sha256sum] = "9e685863025b4feade36d53bbc8e31b43e26498be743dea84c7a84912959410a"
16 14
17UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" 15UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html"
18 16