From patchwork Thu Jan 20 23:41:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 2743 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 383B0C433F5 for ; Thu, 20 Jan 2022 23:41:49 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx.groups.io with SMTP id smtpd.web09.4573.1642722108126296241 for ; Thu, 20 Jan 2022 15:41:48 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.19, mailfrom: f_l_k@t-online.de) Received: from fwd79.dcpf.telekom.de (fwd79.aul.t-online.de [10.223.144.105]) by mailout06.t-online.de (Postfix) with SMTP id 4DB621555E for ; Fri, 21 Jan 2022 00:41:46 +0100 (CET) Received: from localhost.localdomain ([84.163.38.111]) by fwd79.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nAh3p-23eohV0; Fri, 21 Jan 2022 00:41:45 +0100 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [OE-core][PATCH 1/2] python3-dbusmock: add BBCLASSEXTEND = "native nativesdk" Date: Fri, 21 Jan 2022 00:41:28 +0100 Message-Id: <20220120234129.4160546-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1642722105-00010BFA-EA3F474B/0/0 CLEAN NORMAL X-TOI-MSGID: 4ef6a82f-2b12-4d85-956b-793f9f47185a 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 ; Thu, 20 Jan 2022 23:41:49 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160804 Gnome 'folks' backends depend on python3-dbusmock-native Signed-off-by: Markus Volk --- meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb index e64e343a1e..44f85d50d5 100644 --- a/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb +++ b/meta/recipes-devtools/python/python3-dbusmock_0.25.0.bb @@ -16,3 +16,5 @@ RDEPENDS:${PN} += "\ ${PYTHON_PN}-unittest \ ${PYTHON_PN}-xml \ " + +BBCLASSEXTEND = "native nativesdk" From patchwork Thu Jan 20 23:41:29 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 2744 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 26A21C433F5 for ; Thu, 20 Jan 2022 23:41:52 +0000 (UTC) Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by mx.groups.io with SMTP id smtpd.web09.4574.1642722110724480184 for ; Thu, 20 Jan 2022 15:41:51 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=none, err=SPF record not found (domain: t-online.de, ip: 194.25.134.19, mailfrom: f_l_k@t-online.de) Received: from fwd79.dcpf.telekom.de (fwd79.aul.t-online.de [10.223.144.105]) by mailout06.t-online.de (Postfix) with SMTP id 3D1C81555E for ; Fri, 21 Jan 2022 00:41:49 +0100 (CET) Received: from localhost.localdomain ([84.163.38.111]) by fwd79.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1nAh3r-23eohW0; Fri, 21 Jan 2022 00:41:47 +0100 From: Markus Volk To: openembedded-core@lists.openembedded.org Cc: Markus Volk Subject: [OE-core][PATCH 2/2] libical: build gobject and vala introspection Date: Fri, 21 Jan 2022 00:41:29 +0100 Message-Id: <20220120234129.4160546-2-f_l_k@t-online.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220120234129.4160546-1-f_l_k@t-online.de> References: <20220120234129.4160546-1-f_l_k@t-online.de> MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1642722107-00010BFA-3B4BA133/0/0 CLEAN NORMAL X-TOI-MSGID: a0bbfb09-0eb3-41d3-882f-07d8ae79d8a3 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 ; Thu, 20 Jan 2022 23:41:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/160805 Signed-off-by: Markus Volk --- meta/recipes-support/libical/libical_3.0.12.bb | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/meta/recipes-support/libical/libical_3.0.12.bb b/meta/recipes-support/libical/libical_3.0.12.bb index b2b2211b9b..fef569ea64 100644 --- a/meta/recipes-support/libical/libical_3.0.12.bb +++ b/meta/recipes-support/libical/libical_3.0.12.bb @@ -16,7 +16,7 @@ SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/v${PV}/${BP}.tar.g SRC_URI[sha256sum] = "35095a4cc1a061a3de0f332c2dc728226cf127fa0baa818e9f8856cee6d35830" UPSTREAM_CHECK_URI = "https://github.com/libical/libical/releases" -inherit cmake pkgconfig +inherit cmake pkgconfig gobject-introspection vala DEPENDS += "libical-native" @@ -32,10 +32,26 @@ EXTRA_OECMAKE += "-DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl" EXTRA_OECMAKE += "-DLIBICAL_BUILD_TESTING=false" # doc build fails with linker error (??) for libical-glib so disable it EXTRA_OECMAKE += "-DICAL_BUILD_DOCS=false" +EXTRA_OECMAKE += "-DGOBJECT_INTROSPECTION=ON" +EXTRA_OECMAKE += "-DICAL_GLIB_VAPI=ON" # Tell the cross-libical where the tool it needs to build is EXTRA_OECMAKE:append:class-target = " -DIMPORT_ICAL_GLIB_SRC_GENERATOR=${STAGING_LIBDIR_NATIVE}/cmake/LibIcal/IcalGlibSrcGenerator.cmake" +do_configure:append () { + # fix abs path for g-ir-scanner-wrapper + sed -i ${B}/build.ninja \ + -e 's: ${bindir}/g-ir-scanner-wrapper: ${STAGING_BINDIR}/g-ir-scanner-wrapper:g' + + # fix abs path for g-ir-compiler-wrapper + sed -i ${B}/build.ninja \ + -e 's: ${bindir}/g-ir-compiler-wrapper: ${STAGING_BINDIR}/g-ir-compiler-wrapper:g' + + # fix abs path for vapigen + sed -i ${B}/build.ninja \ + -e 's: ${STAGING_BINDIR}/vapigen: ${STAGING_BINDIR_NATIVE}/vapigen:g' +} + do_install:append () { # Remove build host references (https://github.com/libical/libical/issues/532) sed -i \