Skip to contentSkip to conversation

weston: upgrade to 1.3.0

PATCH New Ross Burton 1 participant 1 message Oct 15, 2013

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 weston: upgrade to 1.3.0

Remove backported patches that are now integrated.

No need to patch build to install examples with --enable-demo-clients, update FILES now that all examples are being installed.

Remove cairo-gl option as our cairo doesn't support GL (yet), remove --disable-android-compositor as it was dropped upstream, and add PACKAGECONFIG for the VA-API-based recorder as otherwise it's a floating dependency (libva is in meta-intel).

Based on work by Ewan Le Bideau-Canevet <[email protected]>.

---
 meta/recipes-graphics/wayland/weston/groups.patch  |   47 -----------
 .../wayland/weston/install-examples.patch          |   18 -----
 .../wayland/weston/weston-launch-shell.patch       |   74 -----------------
 meta/recipes-graphics/wayland/weston_1.1.0.bb      |   83 --------------------
 meta/recipes-graphics/wayland/weston_1.3.0.bb      |   80 +++++++++++++++++++
 5 files changed, 80 insertions(+), 222 deletions(-)
 delete mode 100644 meta/recipes-graphics/wayland/weston/groups.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston/install-examples.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston/weston-launch-shell.patch
 delete mode 100644 meta/recipes-graphics/wayland/weston_1.1.0.bb
 create mode 100644 meta/recipes-graphics/wayland/weston_1.3.0.bb
meta/recipes-graphics/wayland/weston/groups.patch deleted +0 -47
deleted file mode 100644
index 9dc043a..0000000
@@ -1,47 +0,0 @@
-Upstream-Status: Submitted (https://bugs.freedesktop.org/show_bug.cgi?id=65933)
-Signed-off-by: Ross Burton <[email protected]>
-
-From 42821739a228a85ce3432be1796858e5cc31688b Mon Sep 17 00:00:00 2001
-From: Quentin Glidic <[email protected]>
-Date: Wed, 19 Jun 2013 15:27:11 +0200
-Subject: [PATCH weston] weston-launch: Set all groups for user
-
-Signed-off-by: Quentin Glidic <[email protected]>
----
- configure.ac        | 2 +-
- src/weston-launch.c | 4 ++++
- 2 files changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index b625221..db3feb0 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -52,7 +52,7 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
- 	      [[#include <time.h>]])
- AC_CHECK_HEADERS([execinfo.h])
- 
--AC_CHECK_FUNCS([mkostemp strchrnul])
-+AC_CHECK_FUNCS([mkostemp strchrnul initgroups])
- 
- COMPOSITOR_MODULES="wayland-server >= 1.1.90 xkbcommon pixman-1"
- 
-diff --git a/src/weston-launch.c b/src/weston-launch.c
-index 76dcede..7d7b556 100644
---- a/src/weston-launch.c
-+++ b/src/weston-launch.c
-@@ -631,9 +631,13 @@ main(int argc, char *argv[])
- 		}
- 
- 		if (setgid(wl.pw->pw_gid) < 0 ||
-+#ifdef HAVE_INITGROUPS
-+                    initgroups(wl.pw->pw_name, wl.pw->pw_gid) < 0 ||
-+#endif
- 		    setuid(wl.pw->pw_uid) < 0)
- 			error(1, errno, "dropping privilidges failed");
- 
-+
- 		if (sleep_fork) {
- 			if (wl.verbose)
- 				printf("weston-launch: waiting %d seconds\n", sleep_fork);
--- 
-1.8.3
meta/recipes-graphics/wayland/weston/install-examples.patch deleted +0 -18
deleted file mode 100644
index 3e2852c..0000000
@@ -1,18 +0,0 @@
-Install the examples so we can package them.
-
-Upstream-Status: Pending
-Signed-off-by: Ross Burton <[email protected]>
-
-diff --git a/clients/Makefile.am b/clients/Makefile.am
-index 621c7c3..749ef20 100644
---- a/clients/Makefile.am
-+++ b/clients/Makefile.am
-@@ -2,7 +2,7 @@ bin_PROGRAMS =					\
- 	weston-info				\
- 	$(terminal)
- 
--noinst_PROGRAMS =				\
-+bin_PROGRAMS +=				\
- 	$(clients_programs)			\
- 	$(poppler_programs)			\
- 	$(simple_clients_programs)		\
meta/recipes-graphics/wayland/weston/weston-launch-shell.patch deleted +0 -74

74 lines not on this page · raw message

meta/recipes-graphics/wayland/weston_1.1.0.bb deleted +0 -83

83 lines not on this page · raw message

meta/recipes-graphics/wayland/weston_1.3.0.bb new file +80 -0

80 lines not on this page · raw message

Signature · 1 line
1.7.10.4