From patchwork Mon Aug 4 20:59:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 68049 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 8F886C87FCF for ; Mon, 4 Aug 2025 20:59:20 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.7047.1754341153220512830 for ; Mon, 04 Aug 2025 13:59:13 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 966011E4D; Mon, 4 Aug 2025 13:59:04 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 1BC4B3F673; Mon, 4 Aug 2025 13:59:11 -0700 (PDT) From: Ross Burton To: yocto-patches@lists.yoctoproject.org Cc: jpewhacker@gmail.com Subject: [meta-mingw] [PATCH 1/2] core-image-mingw-sdktest: depend on nativedk-dbus-tools, not -dbus Date: Mon, 4 Aug 2025 21:59:05 +0100 Message-ID: <20250804205906.301610-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.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 ; Mon, 04 Aug 2025 20:59:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1884 The dbus package is the bus daemon itself, which doesn't make a lot of sense in the context of the host component of a SDK. From "dbus: add message-bus PACKAGECONFIG" in oe-core, nativesdk builds of dbus won't build the bus at all. Instead, change the dependency in this recipe to nativedk-dbus-tools, which are marginally more useful in a SDK context and still exercise the building of the recipe. Signed-off-by: Ross Burton --- recipes-core/images/core-image-mingw-sdktest.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes-core/images/core-image-mingw-sdktest.bb b/recipes-core/images/core-image-mingw-sdktest.bb index 9060c3d..d734031 100644 --- a/recipes-core/images/core-image-mingw-sdktest.bb +++ b/recipes-core/images/core-image-mingw-sdktest.bb @@ -7,11 +7,10 @@ require ${COREBASE}/meta/recipes-core/images/core-image-minimal.bb # to include them TOOLCHAIN_HOST_TASK += "\ nativesdk-curl \ - nativesdk-dbus \ + nativesdk-dbus-tools \ nativesdk-dtc \ nativesdk-libarchive \ nativesdk-ninja \ nativesdk-swig \ nativesdk-wayland \ " - From patchwork Mon Aug 4 20:59:06 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 68048 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 9590AC87FCB for ; Mon, 4 Aug 2025 20:59:20 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.7048.1754341153853171513 for ; Mon, 04 Aug 2025 13:59:13 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 626F92574; Mon, 4 Aug 2025 13:59:05 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DFD393F673; Mon, 4 Aug 2025 13:59:12 -0700 (PDT) From: Ross Burton To: yocto-patches@lists.yoctoproject.org Cc: jpewhacker@gmail.com Subject: [meta-mingw] [PATCH 2/2] dbus: remove activation workaround Date: Mon, 4 Aug 2025 21:59:06 +0100 Message-ID: <20250804205906.301610-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250804205906.301610-1-ross.burton@arm.com> References: <20250804205906.301610-1-ross.burton@arm.com> 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 ; Mon, 04 Aug 2025 20:59:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/1885 Since "dbus: add message-bus PACKAGECONFIG" the message bus isn't built in nativesdk builds, so this workaround is no longer needed. This also means that dbus-launch and dbus-run-session are not built, so remove them from the FILES. Signed-off-by: Ross Burton --- recipes-core/dbus/dbus_%.bbappend | 9 --------- 1 file changed, 9 deletions(-) diff --git a/recipes-core/dbus/dbus_%.bbappend b/recipes-core/dbus/dbus_%.bbappend index f95e960..6dedd12 100644 --- a/recipes-core/dbus/dbus_%.bbappend +++ b/recipes-core/dbus/dbus_%.bbappend @@ -1,12 +1,3 @@ -# There seems to be a mingw build issue where if either of these are specified, -# the mingw build fails in do_compile. Work around it for now. -EXTRA_OEMESON:remove:mingw32 = "-Dtraditional_activation=true -Dtraditional_activation=false" - -FILES:${PN}:append:mingw32 = "\ - ${bindir}/dbus-launch.exe \ - ${bindir}/dbus-run-session.exe \ -" - FILES:${PN}-tools:append:mingw32 = "\ ${bindir}/dbus-send.exe \ ${bindir}/dbus-monitor.exe \