Skip to contentSkip to conversation

package/weston: bump to version 6.0.0

PATCH Superseded James Hilliard 1 participant 1 message Apr 15, 2019 Arm/Amlogic Meson SoC support

v1 of 11 Superseded Latest is v11 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/weston: bump to version 6.0.0

The autotools build system is in the process of being deprecated and replaced with meson for weston.

We need to add a patch to deal with pkg-config not finding the correct wayland-scanner.

---
 ...uild-search-path-for-wayland-scanner.patch |  27 +++++
 package/weston/Config.in                      |  13 +++
 package/weston/weston.hash                    |  10 +-
 package/weston/weston.mk                      | 100 +++++++++---------
 4 files changed, 96 insertions(+), 54 deletions(-)
 create mode 100644 package/weston/0002-protocol-meson.build-search-path-for-wayland-scanner.patch
package/weston/0002-protocol-meson.build-search-path-for-wayland-scanner.patch new file +27 -0
new file mode 100644
index 0000000000..9849c066ac
@@ -0,0 +1,27 @@
+From 1bb5044ded35c1f79d2f0dded67ea401277d1ad8 Mon Sep 17 00:00:00 2001
+From: James Hilliard <[email protected]>
+Date: Mon, 15 Apr 2019 13:45:53 -0600
+Subject: [PATCH] protocol/meson.build: search path for wayland-scanner if not
+ found using pkg-config
+
+Signed-off-by: James Hilliard <[email protected]>
+[Upstream-status:
+https://gitlab.freedesktop.org/wayland/weston/merge_requests/157]
+---
+ protocol/meson.build | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/protocol/meson.build b/protocol/meson.build
+index 34026ff9..3bd4b9a1 100644
+--- a/protocol/meson.build
++++ b/protocol/meson.build
+@@ -1,5 +1,5 @@
+ dep_scanner = dependency('wayland-scanner', native: true)
+-prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'))
++prog_scanner = find_program(dep_scanner.get_pkgconfig_variable('wayland_scanner'), 'wayland-scanner', native: true)
+ 
+ # XXX: For minor version 2 of zwp_linux_explicit_synchronization_v1, we
+ # actually need a development version after 1.17, but there is no way to
+-- 
+2.19.1
+
package/weston/Config.in +13 -0
index f874b0cc6a..243da7b6f3 100644
@@ -100,7 +100,20 @@ comment "XWayland support needs libepoxy and X.org enabled"
 
 config BR2_PACKAGE_WESTON_DEMO_CLIENTS
 	bool "demo clients"
+	depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
+	depends on BR2_USE_WCHAR # pango
+	depends on BR2_TOOLCHAIN_HAS_THREADS # pango
+	depends on BR2_USE_MMU # pango
+	depends on BR2_INSTALL_LIBSTDCPP # pango
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pango
+	select BR2_PACKAGE_PANGO
 	help
 	  This enables the installation of Weston's demo clients.
 
+comment "demo clients needs OpenGL EGL and a toolchain w/ wchar, threads, C++"
+	depends on BR2_USE_MMU
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP || !BR2_PACKAGE_MESA3D_OPENGL_EGL
+
 endif
package/weston/weston.hash +5 -5
index 799d371dc0..d761600961 100644
@@ -1,7 +1,7 @@
-# From https://lists.freedesktop.org/archives/wayland-devel/2018-August/039359.html
-md5 752a04ce3c65af4884cfac4e57231bdb  weston-5.0.0.tar.xz
-sha1 56b42b1fbea9e120a8127736328e4c71ac781a57  weston-5.0.0.tar.xz
-sha256 15a23423bcfa45e31e1dedc0cd524ba71e2930df174fde9c99b71a537c4e4caf  weston-5.0.0.tar.xz
-sha512 b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf  weston-5.0.0.tar.xz
+# From https://lists.freedesktop.org/archives/wayland-devel/2019-March/040356.html
+md5 7c634e262f8a464a076c97fd50ad36b3  weston-6.0.0.tar.xz
+sha1 feac9d9a77037580f39c0085a08a3c17a62dced0  weston-6.0.0.tar.xz
+sha256 546323a90607b3bd7f48809ea9d76e64cd09718102f2deca6d95aa59a882e612  weston-6.0.0.tar.xz
+sha512 127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f  weston-6.0.0.tar.xz
 # locally computed
 sha256 0f0de7b7b1f65870139c95dde7abc19ed305631ae7c5d37c386db40cde108632  weston-rel_imx_4.9.51_8mq_ga.tar.gz
package/weston/weston.mk +51 -49

185 lines not on this page · raw message

Signature · 1 line
2.19.1