xref: /OK3568_Linux_fs/buildroot/package/weston/0064-HACK-clients-Drop-dmabuf-feedback.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 78d4801e0e0b97765f30718582a77b51879c86a6 Mon Sep 17 00:00:00 2001
2From: Jeffy Chen <jeffy.chen@rock-chips.com>
3Date: Mon, 16 May 2022 15:54:21 +0800
4Subject: [PATCH 64/92] HACK: clients: Drop dmabuf-feedback
5
6We don't need it.
7
8Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9---
10 clients/meson.build | 54 ++++++++++++++++++++++-----------------------
11 1 file changed, 27 insertions(+), 27 deletions(-)
12
13diff --git a/clients/meson.build b/clients/meson.build
14index 8e6446a..6d6ed6b 100644
15--- a/clients/meson.build
16+++ b/clients/meson.build
17@@ -57,33 +57,33 @@ simple_clients = [
18 		],
19 		'dep_objs': [ dep_wayland_client, dep_libshared ]
20 	},
21-	{
22-		'name': 'dmabuf-feedback',
23-		'sources': [
24-			'simple-dmabuf-feedback.c',
25-			'../libweston/pixel-formats.c',
26-			linux_dmabuf_unstable_v1_client_protocol_h,
27-			linux_dmabuf_unstable_v1_protocol_c,
28-			presentation_time_client_protocol_h,
29-			presentation_time_protocol_c,
30-			xdg_shell_client_protocol_h,
31-			xdg_shell_protocol_c,
32-		],
33-		'dep_objs': [
34-			dep_wayland_client,
35-			dep_libshared,
36-			dep_pixman,
37-			dep_libdrm,
38-			dependency('libudev', version: '>= 136'),
39-			# gbm_bo_get_fd_for_plane() from 21.1.0
40-			dependency('gbm', version: '>= 21.1.1',
41-				required: simple_build_all or simple_clients_enabled.contains('dmabuf-feedback'),
42-				not_found_message: 'dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option.',
43-				disabler: true)
44-		],
45-		'deps': [ 'egl', 'glesv2', 'gbm' ],
46-		'options': [ 'renderer-gl' ]
47-	},
48+#	{
49+#		'name': 'dmabuf-feedback',
50+#		'sources': [
51+#			'simple-dmabuf-feedback.c',
52+#			'../libweston/pixel-formats.c',
53+#			linux_dmabuf_unstable_v1_client_protocol_h,
54+#			linux_dmabuf_unstable_v1_protocol_c,
55+#			presentation_time_client_protocol_h,
56+#			presentation_time_protocol_c,
57+#			xdg_shell_client_protocol_h,
58+#			xdg_shell_protocol_c,
59+#		],
60+#		'dep_objs': [
61+#			dep_wayland_client,
62+#			dep_libshared,
63+#			dep_pixman,
64+#			dep_libdrm,
65+#			dependency('libudev', version: '>= 136'),
66+#			# gbm_bo_get_fd_for_plane() from 21.1.0
67+#			dependency('gbm', version: '>= 21.1.1',
68+#				required: simple_build_all or simple_clients_enabled.contains('dmabuf-feedback'),
69+#				not_found_message: 'dmabuf-feedback requires gbm which was not found. If you rather not build this, drop "dmabuf-feedback" from simple-clients option.',
70+#				disabler: true)
71+#		],
72+#		'deps': [ 'egl', 'glesv2', 'gbm' ],
73+#		'options': [ 'renderer-gl' ]
74+#	},
75 	{
76 		'name': 'dmabuf-egl',
77 		'sources': [
78--
792.20.1
80
81