From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D8051C001DC for ; Wed, 26 Jul 2023 10:27:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 3AF3140291; Wed, 26 Jul 2023 10:27:08 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 3AF3140291 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aDMf9wSxWO7U; Wed, 26 Jul 2023 10:27:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 1C7844038D; Wed, 26 Jul 2023 10:27:06 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 1C7844038D Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 6A31B1BF3D6 for ; Wed, 26 Jul 2023 10:27:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 43A09827D9 for ; Wed, 26 Jul 2023 10:27:04 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 43A09827D9 X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JG4rR_pZafy7 for ; Wed, 26 Jul 2023 10:27:01 +0000 (UTC) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3B23682121 for ; Wed, 26 Jul 2023 10:27:01 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3B23682121 Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-7835ae70e46so253305139f.3 for ; Wed, 26 Jul 2023 03:27:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690367220; x=1690972020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JQFvkNjUIp6Z7joocCNuPvvZ3U+lvUzcsiJ0UNUOjks=; b=lxDgPU8nP17BPxi6aDmB5cy6DXkqmqyaxSrpUsdalBoSR2SGa2o/pUETafAbtoija5 pAUsl9/mDDmF48hUI8ilWSrGZUHFoxmWP96QDOKQvTuJhaZOa3Qjfc4iNQOZOrYrIa+z 6biP0+qD/ebJJr1TyocXYLQJSPzg7GZVNrxgnQ46GqKKmis7/MUJiJhmDhq4z7n8WI1c WsjX/lTw3aRQeuoO/JbroSDufVtUNNEOUhkM/NdhR5IpDf//N176/p1+o9Og4BpUCOcm NNoUVgYOMYzUM8/WTQu5+fnhhKtH+7n0Oz6Y3Gh4vr8aqT9dkkTXKGBEPwjuroO/lAHT m3zA== X-Gm-Message-State: ABy/qLZNiQ7SlR+bY0MSBSYaNypjC51CHCgnliDehcJz5ml6ToJ+rVzh s0Gdps/a5eTXVvDV65hLjw4G6eoYy6U= X-Google-Smtp-Source: APBJJlGs2xmj/2aCQCXG7v3sBQXf++cjI9decMASEyVRYuwjAMfUf5OblSU/j6JJ3RkNG5uyYhyT9w== X-Received: by 2002:a05:6e02:11ab:b0:345:a319:ba83 with SMTP id 11-20020a056e0211ab00b00345a319ba83mr1442614ilj.29.1690367219559; Wed, 26 Jul 2023 03:26:59 -0700 (PDT) Received: from james-x399.localdomain (71-33-156-134.hlrn.qwest.net. [71.33.156.134]) by smtp.gmail.com with ESMTPSA id i14-20020a92c94e000000b00348c7e5e915sm2791795ilq.5.2023.07.26.03.26.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 03:26:58 -0700 (PDT) From: James Hilliard To: buildroot@buildroot.org Date: Wed, 26 Jul 2023 04:26:52 -0600 Message-Id: <20230726102652.2291658-1-james.hilliard1@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690367220; x=1690972020; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=JQFvkNjUIp6Z7joocCNuPvvZ3U+lvUzcsiJ0UNUOjks=; b=i7qyTeXBa2lJXdcwytQs+8c6PJKqcnIM2WidVhOcqkd+eLGEyxfzccl/kAmlNldX58 NsVPSsjjUi1GOEOo4lFOYUfjKErcEokOroMUYMK+ZcyS5gD9hWavJFey7u1yUp/VeEWU 6zkOV9Xm4bGQGzvRXcSIoR+q4kBPWtHtMFELQjkAEX39DTJVNUnlZLV/oLkdD+YxG1kc SUny+fI2Cw1hANRr+qfSLTsViqnlBppYw2HCS0WUc1qEZKLjBa7LS4EAgsVKlxqPcZUV 04FrsX1MKaupZMI5LFHVwxDb/PI9POoMMW8h3Ud0BiZPuKcVgjpTepHJ/kKxwGnHSUzm BqJw== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20221208 header.b=i7qyTeXB Subject: [Buildroot] [PATCH v3 1/1] package/weston: bump to version 12.0.1 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Hilliard , "Yann E . MORIN" , Thomas Petazzoni Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Drop patch which is now upstream. Drop no longer supported weston-launch/launcher-logind. Drop no longer supported color-management-colord config option. Remove duplicate backend-headless config option. Add new libgbm requirement for renderer-gl. Add new freerdp server requirement for backend-rdp. Add support for new screenshare feature. Add support for new rdp as backend default feature. Add support for new pipewire backend feature. Always enable libseat launcher. Disable new unsupported vnc backend. Signed-off-by: James Hilliard --- Changes v2 -> v3: - bump to version 12.0.1 - add new pipewire backend option - disable unsupported backend vnc option - remove deprecated logind launcher support - unconditionally enable libseat launcher Changes v1 -> v2: - bump to version 11.0.1 - propagate freerdp-server dependencies to weston-rdp - ensure we have at least one launcher enabled --- ...ncy-on-screenshooter-client-protocol.patch | 38 ------------- package/weston/Config.in | 22 +++++++- package/weston/weston.hash | 6 +-- package/weston/weston.mk | 53 ++++++------------- 4 files changed, 39 insertions(+), 80 deletions(-) delete mode 100644 package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch diff --git a/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch b/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch deleted file mode 100644 index 927215380e..0000000000 --- a/package/weston/0001-tests-Add-dependency-on-screenshooter-client-protocol.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 2ac6b6b084a877adde64db7faff2ed22eb3ea97a Mon Sep 17 00:00:00 2001 -From: Daniel Stone -Date: Tue, 8 Feb 2022 22:39:42 +0000 -Subject: [PATCH] tests: Add dependency on screenshooter client protocol - -Given that the test-helper code relies on the screenshooter protocol, -make sure it's available for us to build, and the dependency ensures we -build in order. - -Fixes: #588 - -Signed-off-by: Daniel Stone - -[Retrieved from: -https://gitlab.freedesktop.org/wayland/weston/-/commit/2ac6b6b084a877adde64db7faff2ed22eb3ea97a] -Signed-off-by: Fabrice Fontaine ---- - tests/meson.build | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/tests/meson.build b/tests/meson.build -index 2d464ddcc..222091cd1 100644 ---- a/tests/meson.build -+++ b/tests/meson.build -@@ -29,8 +29,9 @@ lib_test_client = static_library( - 'weston-test-client-helper.c', - 'weston-test-fixture-compositor.c', - weston_test_client_protocol_h, -- weston_screenshooter_protocol_c, - weston_test_protocol_c, -+ weston_screenshooter_client_protocol_h, -+ weston_screenshooter_protocol_c, - viewporter_client_protocol_h, - viewporter_protocol_c, - 'color_util.h', --- -GitLab - diff --git a/package/weston/Config.in b/package/weston/Config.in index d5dbf27bbd..22996805f6 100644 --- a/package/weston/Config.in +++ b/package/weston/Config.in @@ -18,6 +18,7 @@ config BR2_PACKAGE_WESTON select BR2_PACKAGE_JPEG select BR2_PACKAGE_LIBINPUT select BR2_PACKAGE_LIBDRM + select BR2_PACKAGE_SEATD # Runtime dependency select BR2_PACKAGE_XKEYBOARD_CONFIG select BR2_PACKAGE_WESTON_SHELL_DESKTOP if !BR2_PACKAGE_WESTON_HAS_SHELL @@ -42,6 +43,15 @@ config BR2_PACKAGE_WESTON_DEFAULT_HEADLESS bool "headless" select BR2_PACKAGE_WESTON_HEADLESS +config BR2_PACKAGE_WESTON_DEFAULT_RDP + bool "rdp" + depends on BR2_USE_MMU # freerdp, libglib2 + depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_USE_WCHAR # freerdp + depends on BR2_INSTALL_LIBSTDCPP # freerdp + depends on BR2_PACKAGE_XORG7 # freerdp-server + select BR2_PACKAGE_WESTON_RDP + config BR2_PACKAGE_WESTON_DEFAULT_WAYLAND bool "wayland (nested)" select BR2_PACKAGE_WESTON_WAYLAND @@ -60,6 +70,7 @@ config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR string default "drm" if BR2_PACKAGE_WESTON_DEFAULT_DRM default "headless" if BR2_PACKAGE_WESTON_DEFAULT_HEADLESS + default "rdp" if BR2_PACKAGE_WESTON_DEFAULT_RDP default "wayland" if BR2_PACKAGE_WESTON_DEFAULT_WAYLAND default "x11" if BR2_PACKAGE_WESTON_DEFAULT_X11 @@ -73,7 +84,9 @@ config BR2_PACKAGE_WESTON_RDP depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_USE_WCHAR # freerdp depends on BR2_INSTALL_LIBSTDCPP # freerdp + depends on BR2_PACKAGE_XORG7 # freerdp-server select BR2_PACKAGE_FREERDP + select BR2_PACKAGE_FREERDP_SERVER help This enables the RDP backend, which allows accessing weston through the network with any RDP-compliant client. @@ -87,10 +100,11 @@ config BR2_PACKAGE_WESTON_RDP /etc/freerdp/server/ so you may want to change them in a post-build script or a rootfs overlay. -comment "RDP compositor needs a toolchain w/ wchar, C++" +comment "RDP compositor needs a toolchain w/ wchar, C++, X.org" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 - depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP + depends on !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP || \ + !BR2_PACKAGE_XORG7 config BR2_PACKAGE_WESTON_HEADLESS bool "headless (testing) compositor" @@ -155,6 +169,10 @@ config BR2_PACKAGE_WESTON_SHELL_KIOSK default y select BR2_PACKAGE_WESTON_HAS_SHELL +config BR2_PACKAGE_WESTON_SCREENSHARE + bool "screenshare" + default y + config BR2_PACKAGE_WESTON_DEMO_CLIENTS bool "demo clients" depends on BR2_USE_MMU # pango diff --git a/package/weston/weston.hash b/package/weston/weston.hash index d58ca1ef70..0ecbaa4168 100644 --- a/package/weston/weston.hash +++ b/package/weston/weston.hash @@ -1,4 +1,4 @@ -# From https://lists.freedesktop.org/archives/wayland-devel/2022-June/042260.html -sha256 8a9e52506a865a7410981b04f8341b89b84106db8531ab1f9fdd37b5dc034115 weston-10.0.1.tar.xz -sha512 688d843096a95b463161b98e85ca3443b31ba2ee49fc8d456a2780cc96f576e9d097054e9f361997a66e9cc8373cf29e406a742dae3884b3b50b26acf1710c8c weston-10.0.1.tar.xz +# From https://lists.freedesktop.org/archives/wayland-devel/2023-May/042725.html +sha256 b18591eab278bc191720f6c09158040b795e7118af1d5ddca6acd9a8e2039535 weston-12.0.1.tar.xz +sha512 3dcfa1a2a6b9a605d3ecd597bf7ac0f87b0fd1971845b6e5c44b5e34296943ac146dae6e1cfea9be14ad7a9a8b6d30dc765f9289ef80920d7c516ebba1ba4688 weston-12.0.1.tar.xz sha256 fdb65868f65d0fbdb05c2d3b779e10ce9969fa0c4b9262ba4f260e87086ab860 COPYING diff --git a/package/weston/weston.mk b/package/weston/weston.mk index 01f84178b2..437c6f2e38 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -4,7 +4,7 @@ # ################################################################################ -WESTON_VERSION = 10.0.1 +WESTON_VERSION = 12.0.1 WESTON_SITE = https://gitlab.freedesktop.org/wayland/weston/-/releases/$(WESTON_VERSION)/downloads WESTON_SOURCE = weston-$(WESTON_VERSION).tar.xz WESTON_LICENSE = MIT @@ -13,13 +13,13 @@ WESTON_CPE_ID_VENDOR = wayland WESTON_INSTALL_STAGING = YES WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \ - libxkbcommon pixman libpng udev cairo libinput libdrm + libxkbcommon pixman libpng udev cairo libinput libdrm seatd WESTON_CONF_OPTS = \ - -Dbackend-headless=false \ - -Dcolor-management-colord=false \ -Ddoc=false \ -Dremoting=false \ + -Dbackend-vnc=false \ + -Dlauncher-libseat=true \ -Dtools=calibrator,debug,info,terminal,touch-calibrator # Uses VIDIOC_EXPBUF, only available from 3.8+ @@ -29,20 +29,6 @@ else WESTON_CONF_OPTS += -Dsimple-clients= endif -ifeq ($(BR2_PACKAGE_DBUS)$(BR2_PACKAGE_SYSTEMD),yy) -WESTON_CONF_OPTS += -Dlauncher-logind=true -WESTON_DEPENDENCIES += dbus systemd -else -WESTON_CONF_OPTS += -Dlauncher-logind=false -endif - -ifeq ($(BR2_PACKAGE_SEATD),y) -WESTON_CONF_OPTS += -Dlauncher-libseat=true -WESTON_DEPENDENCIES += seatd -else -WESTON_CONF_OPTS += -Dlauncher-libseat=false -endif - ifeq ($(BR2_PACKAGE_JPEG),y) WESTON_CONF_OPTS += -Dimage-jpeg=true WESTON_DEPENDENCIES += jpeg @@ -57,33 +43,20 @@ else WESTON_CONF_OPTS += -Dimage-webp=false endif -# weston-launch must be u+s root in order to work properly -ifeq ($(BR2_PACKAGE_LINUX_PAM),y) -define WESTON_PERMISSIONS - /usr/bin/weston-launch f 4755 0 0 - - - - - -endef -define WESTON_USERS - - - weston-launch -1 - - - - Weston launcher group -endef -WESTON_CONF_OPTS += -Ddeprecated-weston-launch=true -WESTON_DEPENDENCIES += linux-pam -else -WESTON_CONF_OPTS += -Ddeprecated-weston-launch=false -endif - -ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGLES),yy) +ifeq ($(BR2_PACKAGE_HAS_LIBEGL_WAYLAND)$(BR2_PACKAGE_HAS_LIBGBM)$(BR2_PACKAGE_HAS_LIBGLES),yyy) WESTON_CONF_OPTS += -Drenderer-gl=true -WESTON_DEPENDENCIES += libegl libgles +WESTON_DEPENDENCIES += libegl libgbm libgles ifeq ($(BR2_PACKAGE_PIPEWIRE)$(BR2_PACKAGE_WESTON_DRM),yy) -WESTON_CONF_OPTS += -Dpipewire=true +WESTON_CONF_OPTS += -Dpipewire=true -Dbackend-pipewire=true WESTON_DEPENDENCIES += pipewire else -WESTON_CONF_OPTS += -Dpipewire=false +WESTON_CONF_OPTS += -Dpipewire=false -Dbackend-pipewire=false endif else WESTON_CONF_OPTS += \ -Drenderer-gl=false \ - -Dpipewire=false + -Dpipewire=false \ + -Dbackend-pipewire=false endif ifeq ($(BR2_PACKAGE_WESTON_RDP),y) @@ -180,6 +153,12 @@ else WESTON_CONF_OPTS += -Dshell-kiosk=false endif +ifeq ($(BR2_PACKAGE_WESTON_SCREENSHARE),y) +WESTON_CONF_OPTS += -Dscreenshare=true +else +WESTON_CONF_OPTS += -Dscreenshare=false +endif + ifeq ($(BR2_PACKAGE_WESTON_DEMO_CLIENTS),y) WESTON_CONF_OPTS += -Ddemo-clients=true WESTON_DEPENDENCIES += pango -- 2.34.1 _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot