From patchwork Sat Sep 9 12:54:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 30239 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D3FAAEEB58F for ; Sat, 9 Sep 2023 12:55:37 +0000 (UTC) Received: from mail-oo1-f51.google.com (mail-oo1-f51.google.com [209.85.161.51]) by mx.groups.io with SMTP id smtpd.web10.15951.1694264128244589834 for ; Sat, 09 Sep 2023 05:55:28 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.161.51, mailfrom: otavio.salvador@gmail.com) Received: by mail-oo1-f51.google.com with SMTP id 006d021491bc7-573921661a6so1828314eaf.1 for ; Sat, 09 Sep 2023 05:55:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694264127; x=1694868927; 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=EH4MZiOFLwszK+WYCL2znCAqUAcQQ/o6lnceWvqU5mI=; b=fkiSs2XwHPTTWpua1IIu+uz68wsLW/YbhrNSaAAnIiQerizeyFYa7oe5bd+Il8H8lm SXebHSdhB4FAiSj3VktrtAg8QWaf1+7KzqjfADZ2d1DXh5s70g3dOuVXgvprufJ+AWCE 5+knFcobESyB6K2k55zqcMJnM8HIHX4+XjMx/RsdffvvOwynOHD1yWWJK7ZPwez56ct7 GdaT5lif/giTAryp5NSDuNBjRZEQB5WHJp/ZgfopxBqGhnf4caXJ43+5tWXT3rXKCYt2 FtinjTIoACTeaDWOk/rp2/fYj5aO1ltDo2QklqXsETNxo8H9h7A0ALOWKS0B9XHU/RmZ mVqQ== X-Gm-Message-State: AOJu0Ywhsq8IuX69oxAsdu/2b7RpPI/HRa4S+c1/BI6v/jq5ZcHsRRXW HC0VwRmXtdjWW5zjAhj6fPi5OtvDyhuTnA== X-Google-Smtp-Source: AGHT+IFKYi8JgpJ+jnj6/v+xx3L8g8pJw/xMUVFZohSwXGDHm0MWkx/z5niRoyB1BKdI4IDo/deRZg== X-Received: by 2002:a4a:c80b:0:b0:576:8c2c:c869 with SMTP id s11-20020a4ac80b000000b005768c2cc869mr684656ooq.7.1694264127122; Sat, 09 Sep 2023 05:55:27 -0700 (PDT) Received: from localhost ([2804:d51:5956:ac00:e7a2:489a:8055:28a8]) by smtp.gmail.com with ESMTPSA id x69-20020a4a4148000000b00541fbbbcd31sm1693848ooa.5.2023.09.09.05.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:55:26 -0700 (PDT) From: Otavio Salvador To: openembedded-core@lists.openembedded.org Cc: Otavio Salvador , Tom Hochstein Subject: [PATCH 1/4] weston-init: remove misleading comment about udev rule Date: Sat, 9 Sep 2023 09:54:58 -0300 Message-ID: <20230909125514.214512-1-otavio@ossystems.com.br> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 09 Sep 2023 12:55:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187447 The udev rule has been removed but the comment has kept, by mistake. Remove it. Fixes: dd83fb40f7 ("weston-init: Stop running weston as root") Tested-by: Tom Hochstein Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston-init.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 1884b5d440..024e400665 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -36,7 +36,7 @@ do_install() { sed -i 's#ROOTHOME#${ROOT_HOME}#' ${D}/${sysconfdir}/init.d/weston fi - # Install Weston systemd service and accompanying udev rule + # Install Weston systemd service if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -D -p -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service install -D -p -m0644 ${WORKDIR}/weston.socket ${D}${systemd_system_unitdir}/weston.socket From patchwork Sat Sep 9 12:54:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 30236 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D4E77EEB590 for ; Sat, 9 Sep 2023 12:55:37 +0000 (UTC) Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) by mx.groups.io with SMTP id smtpd.web10.15952.1694264131291320984 for ; Sat, 09 Sep 2023 05:55:31 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.167.170, mailfrom: otavio.salvador@gmail.com) Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-3a9f87adfe1so2216572b6e.1 for ; Sat, 09 Sep 2023 05:55:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694264130; x=1694868930; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dCAYJZAn9I2fSZmUfrzBfb6dLyfspMryFu7mxfD1nWw=; b=fdoH6/Hn/b64creDdw/XsNeYPwK7j6A5DF+4Qf9dovaBJUUR225mdaFZNNo55b5ACM ATn//vkU40mB6pILNK/7S7DIu59ICRFfrHC/stqbzaax8C79i55K1KeJKnBqqKBCBK3A XWf2paVU9LwjR1dOxWnyFAER21M5pzohw99vl5pamv5qQLm/Dscc62ygM/YIGgWr6AHS 0o/pGyKl3pjIgeyaIVrQR1fAeCB6OnyTZq8aw0TWSa1eHlqY6hV5U/maAr8NeyTJ94v5 tymK1ae15dyiBsQqQwOUo0TOyTZxBodutxttbyfUVM1nJTNPW/hNrVRJnBxMdt+hoDy7 icCQ== X-Gm-Message-State: AOJu0Yw4x/2VI085QjlMifCoEjSp9Xdv2x/ngvQ9xsjeS0gxVbAe12Iz HZuGaLk3HyoeqiYCkrnQCYF5Wk+jrCvR0w== X-Google-Smtp-Source: AGHT+IHolGedEFY9gxCL4Ipq1GstQAh/PUwLl1zli5vwbeOK/P8HthieyXC0xSyFuve9+zluIPsI6Q== X-Received: by 2002:a05:6808:18b:b0:3a7:2390:3583 with SMTP id w11-20020a056808018b00b003a723903583mr5229041oic.38.1694264130258; Sat, 09 Sep 2023 05:55:30 -0700 (PDT) Received: from localhost ([2804:d51:5956:ac00:e7a2:489a:8055:28a8]) by smtp.gmail.com with ESMTPSA id r10-20020a056808210a00b003a782e88fd9sm1611156oiw.58.2023.09.09.05.55.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:55:29 -0700 (PDT) From: Otavio Salvador To: openembedded-core@lists.openembedded.org Cc: Otavio Salvador , Tom Hochstein Subject: [PATCH 2/4] weston-init: fix init code indentation Date: Sat, 9 Sep 2023 09:54:59 -0300 Message-ID: <20230909125514.214512-2-otavio@ossystems.com.br> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230909125514.214512-1-otavio@ossystems.com.br> References: <20230909125514.214512-1-otavio@ossystems.com.br> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 09 Sep 2023 12:55:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187448 Tested-by: Tom Hochstein Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston-init/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index d3b0d1873e..a5c54e001e 100644 --- a/meta/recipes-graphics/wayland/weston-init/init +++ b/meta/recipes-graphics/wayland/weston-init/init @@ -30,7 +30,7 @@ done case "$1" in start) . /etc/profile - export HOME=ROOTHOME + export HOME=ROOTHOME WESTON_USER=weston weston-start $OPTARGS & ;; From patchwork Sat Sep 9 12:55:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 30237 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6398EEB58C for ; Sat, 9 Sep 2023 12:55:37 +0000 (UTC) Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) by mx.groups.io with SMTP id smtpd.web10.15955.1694264134124391743 for ; Sat, 09 Sep 2023 05:55:34 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.210.47, mailfrom: otavio.salvador@gmail.com) Received: by mail-ot1-f47.google.com with SMTP id 46e09a7af769-6bdcbde9676so2130305a34.3 for ; Sat, 09 Sep 2023 05:55:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694264133; x=1694868933; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YIidduQSjRh9ogaUAlGBdbgHbXwqbXy0qMcrAGgdGjA=; b=JNSnAcyc1BIVJUuDdl9WDJcE39S3K3JzTowf3xU+t/VaTb+U2M+beTtVmd+uiXjbEh ioxuFEnJ/CNXulp8odOaB3o15Y7yGPpi6FrB1xuqnCJiMCSYrbUg0snSs5JKzYKuyVDW 1cw5ktzSiDd+58kxJCGt3Xd14cX3P59P7s3Xnq0CiJs+9408HHnZxtr25olsL2bagP9W RKP2NRwZaR3JPLsevBZk/uDFKQUbBwh/Y2MGnXlpdiBs5V1hnBY+0ShbuPsg0N1pEPeT ZDoOItnor/sCwlxrNe2dfwHJ/ecLaZ9clonz7OXnx/YUbzI4VFnWtxByjthhcW9prBH9 LVkQ== X-Gm-Message-State: AOJu0Yx6druis0WN2JJZRNxZH81To3pubjq/yZ3noe7n5b9tM+wG3pAq NvIkg0QJK4Xg5Wk98mRLNTlB50VYYcjBkA== X-Google-Smtp-Source: AGHT+IHnJpKgodwD/w8SKIhuUv9jlqt8qePlWh1B2eH+hNYnRPCWmyY26jY7nqwl47Q9qq3uIrSK4w== X-Received: by 2002:a9d:6d98:0:b0:6b9:c4b1:7a86 with SMTP id x24-20020a9d6d98000000b006b9c4b17a86mr5644804otp.3.1694264133151; Sat, 09 Sep 2023 05:55:33 -0700 (PDT) Received: from localhost ([2804:d51:5956:ac00:e7a2:489a:8055:28a8]) by smtp.gmail.com with ESMTPSA id c7-20020a056830000700b006af913c1044sm1558518otp.16.2023.09.09.05.55.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:55:32 -0700 (PDT) From: Otavio Salvador To: openembedded-core@lists.openembedded.org Cc: Luan Rafael Carneiro , Otavio Salvador Subject: [PATCH 3/4] weston: Upgrade version 12.0.1 -> 12.0.2 Date: Sat, 9 Sep 2023 09:55:00 -0300 Message-ID: <20230909125514.214512-3-otavio@ossystems.com.br> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230909125514.214512-1-otavio@ossystems.com.br> References: <20230909125514.214512-1-otavio@ossystems.com.br> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 09 Sep 2023 12:55:37 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187449 From: Luan Rafael Carneiro This is a bug fix release for 12.0 version. Full commit history bellow: Derek Foreman (1): data-device: Don't make a weston_coord with no valid space Leandro Ribeiro (3): drm: drop disable_planes being false as a condition to support writeback drm: do not pull writeback task if KMS atomic API is not supported tests: assert that capture info was received before trying screenshot Liu, Kai1 (1): xwm: WM_TRANSIENT_FOR should not point to override-redirect window Marius Vlad (3): backend-drm: Make DRM_CAP_ATOMIC_ASYNC_PAGE_FLIP inert backend-drm/meson.build: Require at least mesa 21.1.1 build: bump to version 12.0.2 for the point release Michael Olbrich (1): backend-wayland: fix --fullscreen Pekka Paalanen (1): man: make --wait-for-debugger findable Philipp Zabel (2): backend-rdp: extract weston_output_set_single_mode() backend-vnc: use weston_output_set_single_mode() Signed-off-by: Luan Rafael Carneiro Signed-off-by: Otavio Salvador --- .../wayland/{weston_12.0.1.bb => weston_12.0.2.bb} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename meta/recipes-graphics/wayland/{weston_12.0.1.bb => weston_12.0.2.bb} (98%) diff --git a/meta/recipes-graphics/wayland/weston_12.0.1.bb b/meta/recipes-graphics/wayland/weston_12.0.2.bb similarity index 98% rename from meta/recipes-graphics/wayland/weston_12.0.1.bb rename to meta/recipes-graphics/wayland/weston_12.0.2.bb index 8c2438cdaa..cc7f95eea8 100644 --- a/meta/recipes-graphics/wayland/weston_12.0.1.bb +++ b/meta/recipes-graphics/wayland/weston_12.0.2.bb @@ -13,7 +13,7 @@ SRC_URI = "https://gitlab.freedesktop.org/wayland/weston/-/releases/${PV}/downlo file://systemd-notify.weston-start \ " -SRC_URI[sha256sum] = "b18591eab278bc191720f6c09158040b795e7118af1d5ddca6acd9a8e2039535" +SRC_URI[sha256sum] = "eb686a7cf00992a23b17f192fca9a887313e92c346ee35d8575196983d656b4a" UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html" UPSTREAM_CHECK_REGEX = "weston-(?P\d+\.\d+\.(?!9\d+)\d+)" From patchwork Sat Sep 9 12:55:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 30238 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03FA2EEB593 for ; Sat, 9 Sep 2023 12:55:38 +0000 (UTC) Received: from mail-oo1-f47.google.com (mail-oo1-f47.google.com [209.85.161.47]) by mx.groups.io with SMTP id smtpd.web10.15956.1694264137277341741 for ; Sat, 09 Sep 2023 05:55:37 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.161.47, mailfrom: otavio.salvador@gmail.com) Received: by mail-oo1-f47.google.com with SMTP id 006d021491bc7-57361de8878so1843613eaf.0 for ; Sat, 09 Sep 2023 05:55:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694264136; x=1694868936; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=INOEtVVrZGt1h7MA+bBJ1/xW3lIg3O21x8xrRNeCLVQ=; b=YX26YFHqsZQwanf0sJU0U8QK8iyAiF6ncP3Oo1rbclwbtHPBIcgxff5Xnp01PSZDsR QUH4hprzgPU/SaIydQ9uzx1ZIlAgV0eCXgC7vhkLHDslqpgs9kDoUQVqwf+r+O03F/lx Ue7f0UzqNcLXdn14nIqgpUh7prddVRnzCfB/oVzccxFhdA3VykUFkR4yw4g0n19lsoZy m44vjoz3bxmmHDgQIvCkfiiaSxul9irhkrNVU0vVYoSMcU2ECpDq+beVKpfmiVCKsQsf wFSJaV4V8d2pG0cWAp6yBVZjFC6qMEec78gTm1Pk1GvsW/D+FPXDpFGk+sYOdVmIWkWG lAAA== X-Gm-Message-State: AOJu0Yw5IETa3G6JKkJ6/SsvT3axT/30cldu1I59BBFwuBN40qcUZ9n5 jwKg+Sgj+VEmna1yJgsQuCezfdyRDuzdzw== X-Google-Smtp-Source: AGHT+IGyRR8n9iHikPnDbjjd+DuWlX2adBk5MAF5KwSZbW4WDfx7I6BzCfG4Dlnd2lJ4AyZAMBUilA== X-Received: by 2002:a4a:d1de:0:b0:570:c8fa:4ad7 with SMTP id a30-20020a4ad1de000000b00570c8fa4ad7mr5120580oos.1.1694264136321; Sat, 09 Sep 2023 05:55:36 -0700 (PDT) Received: from localhost ([2804:d51:5956:ac00:e7a2:489a:8055:28a8]) by smtp.gmail.com with ESMTPSA id 123-20020a4a1d81000000b00569c240e398sm1617538oog.30.2023.09.09.05.55.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Sep 2023 05:55:35 -0700 (PDT) From: Otavio Salvador To: openembedded-core@lists.openembedded.org Cc: Luan Rafael Carneiro , Otavio Salvador Subject: [PATCH 4/4] weston: Add sysconfdir to FILES:${PN} Date: Sat, 9 Sep 2023 09:55:01 -0300 Message-ID: <20230909125514.214512-4-otavio@ossystems.com.br> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230909125514.214512-1-otavio@ossystems.com.br> References: <20230909125514.214512-1-otavio@ossystems.com.br> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Sat, 09 Sep 2023 12:55:38 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/187450 From: Luan Rafael Carneiro When enabling the vnc feature as backend, the weston-remote-access is installed from meson inside the /etc/pam.d directory. Signed-off-by: Luan Rafael Carneiro Signed-off-by: Otavio Salvador --- meta/recipes-graphics/wayland/weston_12.0.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston_12.0.2.bb b/meta/recipes-graphics/wayland/weston_12.0.2.bb index cc7f95eea8..5a179e6770 100644 --- a/meta/recipes-graphics/wayland/weston_12.0.2.bb +++ b/meta/recipes-graphics/wayland/weston_12.0.2.bb @@ -132,7 +132,7 @@ PACKAGES += "${@bb.utils.contains('PACKAGECONFIG', 'xwayland', '${PN}-xwayland', libweston-${WESTON_MAJOR_VERSION} ${PN}-examples" FILES:${PN}-dev += "${libdir}/${BPN}/libexec_weston.so" -FILES:${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}" +FILES:${PN} = "${sysconfdir} ${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so* ${datadir}" FILES:libweston-${WESTON_MAJOR_VERSION} = "${libdir}/lib*${SOLIBS} ${libdir}/libweston-${WESTON_MAJOR_VERSION}/*.so" SUMMARY:libweston-${WESTON_MAJOR_VERSION} = "Helper library for implementing 'wayland window managers'."