mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] wlroots: allow to enable Xwayland support
@ 2022-12-02 10:49 Philipp Zabel
  2022-12-05 12:53 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2022-12-02 10:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/wlroots.in   | 10 ++++++++++
 rules/wlroots.make |  2 +-
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/rules/wlroots.in b/rules/wlroots.in
index 654bfaa32ce4..4a8ea26ed614 100644
--- a/rules/wlroots.in
+++ b/rules/wlroots.in
@@ -18,8 +18,18 @@ config WLROOTS
 	select UDEV_LIBUDEV
 	select PIXMAN
 	select SEATD
+	select XORG			if WLROOTS_XWAYLAND
+	select XCB_UTIL_WM		if WLROOTS_XWAYLAND
+	select XWAYLAND			if WLROOTS_XWAYLAND
 	prompt "wlroots"
 	help
 	  wlroots provides pluggable, composable, unopinionated modules for
 	  building a Wayland compositor.
 
+if WLROOTS
+
+config WLROOTS_XWAYLAND
+	bool
+	prompt "Xwayland support"
+
+endif
diff --git a/rules/wlroots.make b/rules/wlroots.make
index 5cea2161494b..81b4f850e8cf 100644
--- a/rules/wlroots.make
+++ b/rules/wlroots.make
@@ -36,7 +36,7 @@ WLROOTS_CONF_OPT := \
 	-Dicon_directory= \
 	-Drenderers=gles2 \
 	-Dxcb-errors=disabled \
-	-Dxwayland=disabled
+	-Dxwayland=$(call ptx/endis,PTXCONF_WLROOTS_XWAYLAND)d
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
2.30.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] wlroots: allow to enable Xwayland support
  2022-12-02 10:49 [ptxdist] [PATCH] wlroots: allow to enable Xwayland support Philipp Zabel
@ 2022-12-05 12:53 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2022-12-05 12:53 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as 0569cddf244f6ef082ef9abf8fb648f478198799.

Michael

[sent from post-receive hook]

On Mon, 05 Dec 2022 13:53:55 +0100, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20221202104954.682-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/wlroots.in b/rules/wlroots.in
> index 654bfaa32ce4..4a8ea26ed614 100644
> --- a/rules/wlroots.in
> +++ b/rules/wlroots.in
> @@ -18,8 +18,18 @@ config WLROOTS
>  	select UDEV_LIBUDEV
>  	select PIXMAN
>  	select SEATD
> +	select XORG			if WLROOTS_XWAYLAND
> +	select XCB_UTIL_WM		if WLROOTS_XWAYLAND
> +	select XWAYLAND			if WLROOTS_XWAYLAND
>  	prompt "wlroots"
>  	help
>  	  wlroots provides pluggable, composable, unopinionated modules for
>  	  building a Wayland compositor.
>  
> +if WLROOTS
> +
> +config WLROOTS_XWAYLAND
> +	bool
> +	prompt "Xwayland support"
> +
> +endif
> diff --git a/rules/wlroots.make b/rules/wlroots.make
> index 5cea2161494b..81b4f850e8cf 100644
> --- a/rules/wlroots.make
> +++ b/rules/wlroots.make
> @@ -36,7 +36,7 @@ WLROOTS_CONF_OPT := \
>  	-Dicon_directory= \
>  	-Drenderers=gles2 \
>  	-Dxcb-errors=disabled \
> -	-Dxwayland=disabled
> +	-Dxwayland=$(call ptx/endis,PTXCONF_WLROOTS_XWAYLAND)d
>  
>  # ----------------------------------------------------------------------------
>  # Target-Install



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-05 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-02 10:49 [ptxdist] [PATCH] wlroots: allow to enable Xwayland support Philipp Zabel
2022-12-05 12:53 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox