mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] weston: version bump 11.0.2 -> 12.0.0
@ 2023-05-22 12:29 Michael Tretter
  0 siblings, 0 replies; only message in thread
From: Michael Tretter @ 2023-05-22 12:29 UTC (permalink / raw)
  To: ptxdist; +Cc: mtr

Add config items for the new VNC and PipeWire backends.

Release Announcement:

https://lists.freedesktop.org/archives/wayland-devel/2023-May/042720.html

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

diff --git a/rules/weston.in b/rules/weston.in
index a698a7491509..37c0f231ae5f 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -41,6 +41,9 @@ menuconfig WESTON
 	select GST_PLUGINS_GOOD1_UDP	if WESTON_REMOTING && RUNTIME
 	select PANGO			if WESTON_IVISHELL_EXAMPLE
 	select PIPEWIRE 		if WESTON_PIPEWIRE
+	select PIPEWIRE 		if WESTON_BACKEND_PIPEWIRE
+	select NEATVNC			if WESTON_BACKEND_VNC
+	select PAM			if WESTON_BACKEND_VNC
 	prompt "weston                        "
 	help
 	  Wayland compositor reference implementation
@@ -59,6 +62,14 @@ config WESTON_HEADLESS_COMPOSITOR
 	bool
 	prompt "headless compositor"
 
+config WESTON_BACKEND_PIPEWIRE
+	bool
+	prompt "PipeWire backend"
+
+config WESTON_BACKEND_VNC
+	bool
+	prompt "VNC backend"
+
 config WESTON_STARTSCRIPT
 	bool
 	default y
diff --git a/rules/weston.make b/rules/weston.make
index b6a15a88dd0b..13bf7f760b8f 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -15,9 +15,9 @@ PACKAGES-$(PTXCONF_WESTON) += weston
 #
 # Paths and names
 #
-WESTON_VERSION	:= 11.0.2
-LIBWESTON_MAJOR := 11
-WESTON_MD5	:= a7633c418400c94ecefb9a6f43c1028e
+WESTON_VERSION	:= 12.0.0
+LIBWESTON_MAJOR := 12
+WESTON_MD5	:= 358ebc5564538ca179af92d3441f4892
 WESTON		:= weston-$(WESTON_VERSION)
 WESTON_SUFFIX	:= tar.gz
 WESTON_URL	:= https://gitlab.freedesktop.org/wayland/weston/-/archive/$(WESTON_VERSION)/$(WESTON).$(WESTON_SUFFIX)
@@ -40,19 +40,21 @@ WESTON_CONF_OPT		:= \
 	-Dbackend-drm=true \
 	-Dbackend-drm-screencast-vaapi=false \
 	-Dbackend-headless=$(call ptx/truefalse,PTXCONF_WESTON_HEADLESS_COMPOSITOR) \
+	-Dbackend-pipewire=$(call ptx/truefalse,PTXCONF_WESTON_BACKEND_PIPEWIRE) \
 	-Dbackend-rdp=false \
+	-Dbackend-vnc=$(call ptx/truefalse,PTXCONF_WESTON_BACKEND_VNC) \
 	-Dbackend-wayland=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
 	-Dbackend-x11=false \
 	-Dcolor-management-lcms=false \
 	-Ddemo-clients=$(call ptx/truefalse,PTXCONF_WESTON_IVISHELL_EXAMPLE) \
 	-Ddeprecated-color-management-colord=false \
 	-Ddeprecated-color-management-static=false \
+	-Ddeprecated-launcher-logind=$(call ptx/truefalse,PTXCONF_WESTON_SYSTEMD_LOGIND) \
 	-Ddesktop-shell-client-default=weston-desktop-shell \
 	-Ddoc=false \
 	-Dimage-jpeg=true \
 	-Dimage-webp=false \
 	-Dlauncher-libseat=$(call ptx/truefalse,PTXCONF_WESTON_SEATD) \
-	-Dlauncher-logind=$(call ptx/truefalse,PTXCONF_WESTON_SYSTEMD_LOGIND) \
 	-Dpipewire=$(call ptx/truefalse,PTXCONF_WESTON_PIPEWIRE) \
 	-Dremoting=$(call ptx/truefalse,PTXCONF_WESTON_REMOTING) \
 	-Drenderer-gl=$(call ptx/truefalse,PTXCONF_WESTON_GL) \
@@ -132,6 +134,12 @@ endif
 ifdef PTXCONF_WESTON_HEADLESS_COMPOSITOR
 	@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/headless-backend)
 endif
+ifdef PTXCONF_WESTON_BACKEND_PIPEWIRE
+	@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/pipewire-backend)
+endif
+ifdef PTXCONF_WESTON_BACKEND_VNC
+	@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/vnc-backend)
+endif
 ifdef PTXCONF_WESTON_GL
 	@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/wayland-backend)
 	@$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/gl-renderer)
-- 
2.39.2




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-22 12:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-22 12:29 [ptxdist] [PATCH] weston: version bump 11.0.2 -> 12.0.0 Michael Tretter

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