From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 14 Feb 2022 13:45:06 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nJaj4-00G9Zm-1n for lore@lore.pengutronix.de; Mon, 14 Feb 2022 13:45:06 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nJaj3-0003RH-6X; Mon, 14 Feb 2022 13:45:05 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJaha-0002PR-FR; Mon, 14 Feb 2022 13:43:34 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nJaha-00GY6V-Ep; Mon, 14 Feb 2022 13:43:33 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nJahY-003WO8-H7; Mon, 14 Feb 2022 13:43:32 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 14 Feb 2022 13:43:32 +0100 Message-Id: <20220214124332.839441-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220207114645.3916882-1-m.tretter@pengutronix.de> References: <20220207114645.3916882-1-m.tretter@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] weston: version bump 9.0.0 -> 10.0.0 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Michael Tretter Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 5020c3fe66bd1e9d3ed5e2ec8039a59900ef33c2. Michael [sent from post-receive hook] On Mon, 14 Feb 2022 13:43:32 +0100, Michael Tretter wrote: > Drop the WESTON_DRM_COMPOSITOR option and always build the drm backend. > It was unconditionally selected as the default anyway and not building > the backend results in a build failure. > > Drop WESTON_LAUNCH, as the weston-launch is deprecated and was BROKEN > anyway. > > Add WESTON_SEATD to enable the libseat-launcher. > > Add WESTON_DEPRECATED_WL_SHELL, which defaults to false to enable the > deprecated wl-shell if clients still require it. > > Remove BROKEN from WESTON_PIPEWIRE, as PTXdist now includes Pipewire. > > Update the installation of the example config files to use the files > that are generated by Weston instead of generating it in the rule file > > Signed-off-by: Michael Tretter > Message-Id: <20220207114645.3916882-1-m.tretter@pengutronix.de> > [mol: remove last reference to PTXCONF_WESTON_LAUNCH] > Signed-off-by: Michael Olbrich > > diff --git a/rules/weston.in b/rules/weston.in > index 0005ca1c33cf..ca2e06a53201 100644 > --- a/rules/weston.in > +++ b/rules/weston.in > @@ -13,11 +13,11 @@ menuconfig WESTON > select LIBINPUT > select CAIRO > select CAIRO_PNG > - select LIBDRM if WESTON_DRM_COMPOSITOR || BUILDTIME > - select UDEV if WESTON_DRM_COMPOSITOR || WESTON_FBDEV_COMPOSITOR > - select UDEV_LIBUDEV if WESTON_DRM_COMPOSITOR || WESTON_FBDEV_COMPOSITOR > + select LIBDRM > + select UDEV > + select UDEV_LIBUDEV > select MESALIB if WESTON_GL > - select MESALIB_GBM if WESTON_DRM_COMPOSITOR && WESTON_GL > + select MESALIB_GBM if WESTON_GL > select MESALIB_EGL if WESTON_GL > select MESALIB_EGL_WAYLAND if WESTON_GL > select MESALIB_GLES2 if WESTON_GL > @@ -28,6 +28,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 SEATD if WESTON_SEATD > select SYSTEMD if WESTON_SYSTEMD > select SYSTEMD_LOGIND if WESTON_SYSTEMD_LOGIND > select DBUS if WESTON_SYSTEMD_LOGIND > @@ -39,6 +40,7 @@ menuconfig WESTON > select GST_PLUGINS_GOOD1_RTP if WESTON_REMOTING && RUNTIME > select GST_PLUGINS_GOOD1_UDP if WESTON_REMOTING && RUNTIME > select PANGO if WESTON_IVISHELL_EXAMPLE > + select PIPEWIRE if WESTON_PIPEWIRE > prompt "weston " > help > Wayland compositor reference implementation > @@ -49,13 +51,8 @@ config WESTON_XWAYLAND > bool > prompt "Xwayland support" > > -config WESTON_DRM_COMPOSITOR > - bool > - prompt "drm compositor" > - > config WESTON_GL > bool > - depends on WESTON_DRM_COMPOSITOR > prompt "OpenGL accelerated compositing" > > config WESTON_HEADLESS_COMPOSITOR > @@ -66,14 +63,15 @@ config WESTON_FBDEV_COMPOSITOR > bool > prompt "fbdev compositor" > > -config WESTON_LAUNCH > +config WESTON_DEPRECATED_WL_SHELL > bool > - prompt "weston-launch support" > - # needs pam > - depends on BROKEN > + prompt "enable the deprecated wl-shell protocol" > help > - weston-launch is a setuid-root program which does privileged > - operations on Weston's behalf > + Allow clients to use the deprecated wl-shell protocol. > + > + The wl-shell is deprecated. If you have to enable this option, > + consider migrating your clients to the xdg-shell protocol and > + disabling this option. > > config WESTON_STARTSCRIPT > bool > @@ -81,6 +79,11 @@ config WESTON_STARTSCRIPT > depends on INITMETHOD_BBINIT > prompt "install /etc/init.d/weston-init" > > +config WESTON_SEATD > + bool > + default y > + prompt "libseat backend" > + > config WESTON_SYSTEMD > bool > default INITMETHOD_SYSTEMD > @@ -123,12 +126,9 @@ config WESTON_SHELL_KIOSK > config WESTON_PIPEWIRE > bool > prompt "pipewire plugin" > - # needs pipewire > - depends on BROKEN > > config WESTON_REMOTING > bool > - select WESTON_DRM_COMPOSITOR > select WESTON_GL > prompt "remoting plugin" > > diff --git a/rules/weston.make b/rules/weston.make > index 716c990e7c36..5fd8e93f6684 100644 > --- a/rules/weston.make > +++ b/rules/weston.make > @@ -15,9 +15,9 @@ PACKAGES-$(PTXCONF_WESTON) += weston > # > # Paths and names > # > -WESTON_VERSION := 9.0.0 > -LIBWESTON_MAJOR := 9 > -WESTON_MD5 := b406da0fe9139fd39653238fde22a6cf > +WESTON_VERSION := 10.0.0 > +LIBWESTON_MAJOR := 10 > +WESTON_MD5 := bc4abe2ee6904a4890a0c641c6257f91 > WESTON := weston-$(WESTON_VERSION) > WESTON_SUFFIX := tar.xz > WESTON_URL := http://wayland.freedesktop.org/releases/$(WESTON).$(WESTON_SUFFIX) > @@ -36,9 +36,8 @@ WESTON_CONF_TOOL := meson > WESTON_CONF_OPT := \ > $(CROSS_MESON_USR) \ > -Dbackend-default=drm \ > - -Dbackend-drm=$(call ptx/truefalse,PTXCONF_WESTON_DRM_COMPOSITOR) \ > + -Dbackend-drm=true \ > -Dbackend-drm-screencast-vaapi=false \ > - -Dbackend-fbdev=$(call ptx/truefalse,PTXCONF_WESTON_FBDEV_COMPOSITOR) \ > -Dbackend-headless=$(call ptx/truefalse,PTXCONF_WESTON_HEADLESS_COMPOSITOR) \ > -Dbackend-rdp=false \ > -Dbackend-wayland=$(call ptx/truefalse,PTXCONF_WESTON_GL) \ > @@ -46,10 +45,14 @@ WESTON_CONF_OPT := \ > -Dcolor-management-colord=false \ > -Dcolor-management-lcms=false \ > -Ddemo-clients=$(call ptx/truefalse,PTXCONF_WESTON_IVISHELL_EXAMPLE) \ > + -Ddeprecated-backend-fbdev=$(call ptx/truefalse,PTXCONF_WESTON_FBDEV_COMPOSITOR) \ > + -Ddeprecated-weston-launch=false \ > + -Ddeprecated-wl-shell=$(call ptx/truefalse,PTXCONF_WESTON_DEPRECATED_WL_SHELL) \ > -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) \ > @@ -64,9 +67,9 @@ WESTON_CONF_OPT := \ > -Dsystemd=$(call ptx/truefalse,PTXCONF_WESTON_SYSTEMD) \ > -Dtest-gl-renderer=false \ > -Dtest-junit-xml=false \ > + -Dtest-skip-is-failure=false \ > -Dtools=calibrator,debug,info,terminal,touch-calibrator \ > -Dwcap-decode=$(call ptx/truefalse,PTXCONF_WESTON_WCAP_TOOLS) \ > - -Dweston-launch=$(call ptx/truefalse,PTXCONF_WESTON_LAUNCH) \ > -Dxwayland=$(call ptx/truefalse,PTXCONF_WESTON_XWAYLAND) \ > -Dxwayland-path=/usr/bin/Xwayland > > @@ -78,18 +81,12 @@ $(STATEDIR)/weston.install: > @$(call targetinfo) > @$(call world/install, WESTON) > > - @mkdir -p $(WESTON_PKGDIR)/etc/xdg/weston > ifndef PTXCONF_WESTON_IVISHELL_EXAMPLE > - @bindir="/usr/bin" \ > - abs_top_builddir="/usr/bin" \ > - libexecdir="/usr/libexec" \ > - ptxd_replace_magic "$(WESTON_DIR)/weston.ini.in" > \ > - "$(WESTON_PKGDIR)/etc/xdg/weston/weston.ini" > + @install -D -m644 $(WESTON_DIR)-build/compositor/weston.ini \ > + $(WESTON_PKGDIR)/etc/xdg/weston/weston.ini > else > - @bindir="/usr/bin" \ > - westondatadir="/usr/share/weston" \ > - ptxd_replace_magic "$(WESTON_DIR)/ivi-shell/weston.ini.in" > \ > - "$(WESTON_PKGDIR)/etc/xdg/weston/weston.ini" > + @install -D -m644 $(WESTON_DIR)-build/ivi-shell/weston.ini \ > + $(WESTON_PKGDIR)/etc/xdg/weston/weston.ini > endif > > @$(call touch) > @@ -110,9 +107,6 @@ $(STATEDIR)/weston.targetinstall: > @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston) > @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-info) > @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-debug) > -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-screenshooter) > ifdef PTXCONF_WESTON_SIMPLE_CLIENTS > @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-simple-damage) > @@ -137,9 +131,7 @@ endif > ifdef PTXCONF_WESTON_XWAYLAND > @$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/xwayland) > endif > -ifdef PTXCONF_WESTON_DRM_COMPOSITOR > @$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/drm-backend) > -endif > ifdef PTXCONF_WESTON_HEADLESS_COMPOSITOR > @$(call install_lib, weston, 0, 0, 0644, libweston-$(LIBWESTON_MAJOR)/headless-backend) > endif _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de