From patchwork Mon Jun 19 15:12:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 26026 X-Patchwork-Delegate: reatmon@ti.com 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 B6C98EB64D9 for ; Mon, 19 Jun 2023 15:12:44 +0000 (UTC) Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by mx.groups.io with SMTP id smtpd.web10.10096.1687187564115616166 for ; Mon, 19 Jun 2023 08:12:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=fWFu6WNz; spf=pass (domain: ti.com, ip: 198.47.23.248, mailfrom: reatmon@ti.com) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCgfq099355; Mon, 19 Jun 2023 10:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687187562; bh=DHtEN66JOGrX26bJ+UEngpZ39NTDpxZx1m3/K4iHbRQ=; h=From:To:Subject:Date; b=fWFu6WNzTb7mySPaihifkDQbxS4O8DuqGkLWOKbwfGB7QoPdDtD8F0ktls0DU5TH2 vEbhcoRnibE3SSOpYcuLQMOrFze+y2Q+Xo3ZQF9qlwNWxTfnjdpZ4soM7w3q1+FpX7 HpeYsicp57FNnXG58gpNTdA+phgZFmsUDiHX6sw8= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35JFCgB0013240 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jun 2023 10:12:42 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 19 Jun 2023 10:12:41 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 19 Jun 2023 10:12:41 -0500 Received: from uda0214219 (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCfAO128963; Mon, 19 Jun 2023 10:12:41 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1qBGYb-0004dH-LK; Mon, 19 Jun 2023 10:12:41 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][kirkstone][PATCH v2 1/3] python3-pybind11: Backport from meta-openembedded master Date: Mon, 19 Jun 2023 10:12:39 -0500 Message-ID: <20230619151241.17763-1-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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, 19 Jun 2023 15:12:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14654 The version of pybind11 in kirkstone seems to have an issue when configuring the kms++ package. Backporting the 2.10.3 verison from master fixes that issue. Signed-off-by: Ryan Eatmon --- .../python/python3-pybind11_2.10.3.bb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb diff --git a/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb b/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb new file mode 100644 index 00000000..bb604982 --- /dev/null +++ b/meta-arago-extras/recipes-devtools/python/python3-pybind11_2.10.3.bb @@ -0,0 +1,35 @@ +SUMMARY = "Seamless operability between C++11 and Python" +HOMEPAGE = "https://github.com/wjakob/pybind11" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=774f65abd8a7fe3124be2cdf766cd06f" + +DEPENDS = "boost" + +SRC_URI = "git://github.com/pybind/pybind11.git;branch=stable;protocol=https" + +SRCREV = "0bd8896a4010f2d91b2340570c24fa08606ec406" + +S = "${WORKDIR}/git" + +EXTRA_OECMAKE = "-DPYBIND11_TEST=OFF" + +inherit cmake setuptools3 python3native + +PIP_INSTALL_DIST_PATH = "${S}/dist" +PIP_INSTALL_PACKAGE = "pybind11" + +do_configure() { + cmake_do_configure +} + +do_compile() { + setuptools3_do_compile + cmake_do_compile +} + +do_install() { + setuptools3_do_install + cmake_do_install +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Mon Jun 19 15:12:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 26027 X-Patchwork-Delegate: reatmon@ti.com 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 B7E2BEB64DA for ; Mon, 19 Jun 2023 15:12:44 +0000 (UTC) Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by mx.groups.io with SMTP id smtpd.web11.9993.1687187564014897886 for ; Mon, 19 Jun 2023 08:12:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=oLH+v2iN; spf=pass (domain: ti.com, ip: 198.47.19.141, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCgtd090084; Mon, 19 Jun 2023 10:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687187562; bh=KI/2ZobrQ5PaMIufEVPXDKN4AvsbtZwQZglShar8coI=; h=From:To:Subject:Date:In-Reply-To:References; b=oLH+v2iNKZD3gJVZ84o9ue/c9vzgm0Use5DcQLj+pibHxGWIIFEO/U36SDqfiTByC Dh+bcB8581T9ACm2Y2Q2rxmMdgJhLjgi8ClxWEXYsFGzX+tsg5Il+o5rZyhjG2/QDw 3f58tFMR3NIyw7ya+uEuRzLEQq1GPen0EOK6Flu0= Received: from DFLE112.ent.ti.com (dfle112.ent.ti.com [10.64.6.33]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35JFCgNB022487 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jun 2023 10:12:42 -0500 Received: from DFLE104.ent.ti.com (10.64.6.25) by DFLE112.ent.ti.com (10.64.6.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 19 Jun 2023 10:12:42 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DFLE104.ent.ti.com (10.64.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 19 Jun 2023 10:12:41 -0500 Received: from uda0214219 (ileaxei01-snat.itg.ti.com [10.180.69.5]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCgPV128973; Mon, 19 Jun 2023 10:12:42 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1qBGYb-0004dJ-Qa; Mon, 19 Jun 2023 10:12:41 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][kirkstone][PATCH v2 2/3] kms++: Restore pybind11 support Date: Mon, 19 Jun 2023 10:12:40 -0500 Message-ID: <20230619151241.17763-2-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230619151241.17763-1-reatmon@ti.com> References: <20230619151241.17763-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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, 19 Jun 2023 15:12:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14652 With the inclusion of the later pybind11 recipe we can now turn pybind11 support back on and build cleanly. Signed-off-by: Ryan Eatmon --- v2: Split this patch into two commits and reword commit message to match the same patch in master. meta-arago-extras/recipes-graphics/kms++/kms++_git.bb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb b/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb index eb39736c..2c0abaa7 100644 --- a/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb +++ b/meta-arago-extras/recipes-graphics/kms++/kms++_git.bb @@ -12,9 +12,8 @@ SRCREV = "5afc8d918f2c084acd65027604868dfde43395cf" DEPENDS = "drm fmt" -# New meson build system fails to find pybind11 in sysroot, disable for now -#DEPENDS += "python3-pybind11" -#EXTRA_OEMESON = "-Dsystem-pybind11=enabled" +DEPENDS += "libevdev python3-pybind11" +EXTRA_OEMESON = "-Dsystem-pybind11=enabled" PACKAGES =+ "${PN}-python" From patchwork Mon Jun 19 15:12:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Eatmon X-Patchwork-Id: 26028 X-Patchwork-Delegate: reatmon@ti.com 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 B9199EB64DC for ; Mon, 19 Jun 2023 15:12:44 +0000 (UTC) Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) by mx.groups.io with SMTP id smtpd.web10.10095.1687187564090723827 for ; Mon, 19 Jun 2023 08:12:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17q1 header.b=E/KgwuYP; spf=pass (domain: ti.com, ip: 198.47.19.142, mailfrom: reatmon@ti.com) Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCgAf018786; Mon, 19 Jun 2023 10:12:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1687187562; bh=BZ7qyes3h8wZUDSPWvZ1EoZaZi72sbI7I9NW3rWD+8I=; h=From:To:Subject:Date:In-Reply-To:References; b=E/KgwuYP0utn4uvWwS0oP0B8MEgv4lXnE0hmu4oxBx4sGXWhwnpgKI6U4fA//F+4k U4KY1K/2fj7ph4PnHFMNGQvTApJQLZLLG0MoNhR/xdUCnMeGFd6QUvgXKdRJVRN+dB xyQGC20RySrrqSDW6eMEVYPkQzJDm6nHd7yypkaE= Received: from DFLE108.ent.ti.com (dfle108.ent.ti.com [10.64.6.29]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 35JFCgSw022488 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 19 Jun 2023 10:12:42 -0500 Received: from DFLE100.ent.ti.com (10.64.6.21) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Mon, 19 Jun 2023 10:12:42 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE100.ent.ti.com (10.64.6.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Mon, 19 Jun 2023 10:12:42 -0500 Received: from uda0214219 (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 35JFCgKa041331; Mon, 19 Jun 2023 10:12:42 -0500 Received: from reatmon by uda0214219 with local (Exim 4.90_1) (envelope-from ) id 1qBGYc-0004dQ-0W; Mon, 19 Jun 2023 10:12:42 -0500 From: Ryan Eatmon To: Praneeth Bajjuri , Denys Dmytriyenko , Subject: [meta-arago][kirkstone/master][PATCH v2 3/3] packagegroup-arago-base: Turn kms++-python back on Date: Mon, 19 Jun 2023 10:12:41 -0500 Message-ID: <20230619151241.17763-3-reatmon@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230619151241.17763-1-reatmon@ti.com> References: <20230619151241.17763-1-reatmon@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 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, 19 Jun 2023 15:12:44 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/14653 Now that kms++ with python pybind11 builds we can add it back into the package list. Signed-off-by: Ryan Eatmon --- .../recipes-core/packagegroups/packagegroup-arago-base.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb index 31d9ad5b..ff32112a 100644 --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base.bb @@ -26,8 +26,6 @@ ARAGO_BASE = "\ libgpiod-tools \ " -# these require meta-openembedded/meta-oe layer -# kms++-python is not provided yet ARAGO_EXTRA = "\ devmem2 \ tcpdump \ @@ -35,6 +33,7 @@ ARAGO_EXTRA = "\ dropbear \ openssh-sftp-server \ kms++ \ + kms++-python \ can-utils \ docker \ "