mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH 4/4] weston: make dbus and weston-launch configurable
Date: Tue, 10 Apr 2018 11:06:47 +0200	[thread overview]
Message-ID: <20180410090647.25896-4-m.tretter@pengutronix.de> (raw)
In-Reply-To: <20180410090647.25896-1-m.tretter@pengutronix.de>

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
 rules/weston.in   | 13 +++++++++++++
 rules/weston.make |  7 +++++--
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/rules/weston.in b/rules/weston.in
index a1755f510..49fc90e55 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -27,6 +27,7 @@ menuconfig WESTON
 	select XORG_LIB_XCURSOR		if WESTON_XWAYLAND
 	select XORG_SERVER		if WESTON_XWAYLAND && RUNTIME
 	select XORG_SERVER_XWAYLAND	if WESTON_XWAYLAND && RUNTIME
+	select DBUS			if WESTON_DBUS
 	select SYSTEMD			if WESTON_SYSTEMD
 	select SYSTEMD_LOGIND		if WESTON_SYSTEMD_LOGIND
 	prompt "weston                        "
@@ -56,6 +57,17 @@ config WESTON_FBDEV_COMPOSITOR
 	bool
 	prompt "fbdev compositor"
 
+config WESTON_LAUNCH
+	bool
+	prompt "weston-launch support"
+	help
+	  weston-launch is a setuid-root program which does privileged
+	  operations on Weston's behalf
+
+config WESTON_DBUS
+	bool
+	prompt "dbus support"
+
 config WESTON_SYSTEMD
 	bool
 	depends on INITMETHOD_SYSTEMD
@@ -65,6 +77,7 @@ config WESTON_SYSTEMD
 config WESTON_SYSTEMD_LOGIND
 	bool
 	depends on WESTON_SYSTEMD
+	depends on WESTON_DBUS
 	prompt "logind support"
 
 config WESTON_WCAP_TOOLS
diff --git a/rules/weston.make b/rules/weston.make
index 06175a304..30249e9f1 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -61,10 +61,10 @@ WESTON_CONF_OPT		:= \
 	--disable-simple-dmabuf-v4l-client \
 	--enable-clients \
 	--enable-resize-optimization \
-	--disable-weston-launch \
+	--$(call ptx/endis, PTXCONF_WESTON_LAUNCH)-weston-launch \
 	--enable-fullscreen-shell \
 	--disable-colord \
-	--disable-dbus \
+	--$(call ptx/endis, PTXCONF_WESTON_DBUS)-dbus \
 	--$(call ptx/endis, PTXCONF_WESTON_SYSTEMD_LOGIND)-systemd-login \
 	--disable-junit-xml \
 	--disable-ivi-shell \
@@ -92,6 +92,9 @@ $(STATEDIR)/weston.targetinstall:
 
 	@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston)
 	@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-info)
+ifdef PTXCONF_WESTON_LAUNCH
+	@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-launch)
+endif
 	@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-terminal)
 
 ifdef PTXCONF_WESTON_WCAP_TOOLS
-- 
2.16.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2018-04-10  9:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-10  9:06 [ptxdist] [PATCH 1/4] wayland-protocols: version bump 1.12 -> 1.13 Michael Tretter
2018-04-10  9:06 ` [ptxdist] [PATCH 2/4] wayland: version bump 1.14 -> 1.15 Michael Tretter
2018-04-10  9:06 ` [ptxdist] [PATCH 3/4] weston: version bump 3.0.0 -> 4.0.0 Michael Tretter
2018-04-10 14:27   ` Michael Olbrich
2018-04-10 14:59     ` Philipp Zabel
2018-04-10 15:31       ` Michael Tretter
2018-04-10  9:06 ` Michael Tretter [this message]
2018-04-10 14:31   ` [ptxdist] [PATCH 4/4] weston: make dbus and weston-launch configurable Michael Olbrich
2018-04-10 15:26     ` Michael Tretter
2018-04-11 10:03 ` [ptxdist] [PATCH v2 0/4] wayland, weston: version bump Michael Tretter
2018-04-11 10:03   ` [ptxdist] [PATCH v2 1/4] wayland-protocols: version bump 1.12 -> 1.13 Michael Tretter
2018-04-11 10:03   ` [ptxdist] [PATCH v2 2/4] wayland: version bump 1.14 -> 1.15 Michael Tretter
2018-04-11 10:03   ` [ptxdist] [PATCH v2 3/4] weston: version bump 3.0.0 -> 4.0.0 Michael Tretter
2018-04-11 10:03   ` [ptxdist] [PATCH v2 4/4] weston: make weston-launch configurable Michael Tretter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180410090647.25896-4-m.tretter@pengutronix.de \
    --to=m.tretter@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox