libgpiod: update to v2.2.1
PATCH 1/2 libgpiod: update to v2.2.1
From: Bartosz Golaszewski <[email protected]>
The main set of changes in this release doesn't concern yocto - it brings in proper sphinx docs infrastructure for publishin on readthedocs. We still have a bunch of code fixes though and we can also remove the patch we're carrying in the recipe as it's upstream now.
Signed-off-by Bartosz Golaszewski <[email protected]>
---
...ts-disable-GPIO-simulator-before-rel.patch | 34 -------------------
.../{libgpiod_2.2.bb => libgpiod_2.2.1.bb} | 7 ++--
2 files changed, 2 insertions(+), 39 deletions(-)
delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch
rename meta-oe/recipes-support/libgpiod/{libgpiod_2.2.bb => libgpiod_2.2.1.bb} (95%)meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 7df2bb4f51281166633d4acbcff5763150add3fa Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski <[email protected]> -Date: Mon, 3 Feb 2025 13:20:41 +0100 -Subject: [PATCH] bindings: cxx: tests: disable GPIO simulator before releasing it - -Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an -instantiated device depends on") uncovered an issue in C++ bindings -tests where the GPIO simulator device is not disabled before removing its -configfs entries. Add a call to gpiosim_dev_disable() to the -gpiosim::chip's destructor. - -Signed-off-by: Bartosz Golaszewski <[email protected]> - -Upstream-Status: Submitted [https://lore.kernel.org/all/[email protected]/] ---- - bindings/cxx/tests/gpiosim.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bindings/cxx/tests/gpiosim.cpp b/bindings/cxx/tests/gpiosim.cpp -index 4bda5a2..cdecd8d 100644 ---- a/bindings/cxx/tests/gpiosim.cpp -+++ b/bindings/cxx/tests/gpiosim.cpp -@@ -115,7 +115,7 @@ chip::chip(chip&& other) - - chip::~chip() - { -- -+ ::gpiosim_dev_disable(this->_m_priv->dev.get()); - } - - chip& chip::operator=(chip&& other) --- -2.45.2 -
meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb renamed from meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +2 -5
@@ -11,12 +11,9 @@ LIC_FILES_CHKSUM = " \ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" -SRC_URI += " \ - file://gpio-manager.init \ - file://0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch \ -" +SRC_URI += "file://gpio-manager.init" -SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07" +SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18" # Enable all project features for ptest PACKAGECONFIG[tests] = " \
Signature · 1 line
2.45.2
PATCH 2/2 python3-gpiod: update to v2.3.0
From: Bartosz Golaszewski <[email protected]>
This is a minor gpiod package release that brings in some new interfaces, a significant typing rework, ruff and mypy conformity and a slew of bug-fixes.
Signed-off-by Bartosz Golaszewski <[email protected]>
---
.../{python3-gpiod_2.2.4.bb => python3-gpiod_2.3.0.bb} | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
rename meta-python/recipes-devtools/python/{python3-gpiod_2.2.4.bb => python3-gpiod_2.3.0.bb} (71%)meta-python/recipes-devtools/python/python3-gpiod_2.3.0.bb renamed from meta-python/recipes-devtools/python/python3-gpiod_2.2.4.bb +5 -5
@@ -3,11 +3,11 @@ SUMMARY = "Python bindings for libgpiod." LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" # The actual license files live in the upstream libgpiod from which the pypi # package is spun out. -LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" +LIC_FILES_CHKSUM = "file://pyproject.toml;beginline=13;endline=13;md5=fca786987ac89b59c767e55467de581e" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "4923c27262c70815054fe7a1962b98dd1d6822a541c103d0acd7f42fc9aabae9" +SRC_URI[sha256sum] = "daa840ed5b691e7078a9cf21c79fe813b9a91c3ed0bdbafae0181c7b98b80300" inherit python_setuptools_build_meta python_pep517 ptest pypi
@@ -34,12 +34,12 @@ do_compile_ptest() { do_install_ptest() { install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -d ${D}${PTEST_PATH}/gpiod-test/procname + install -d ${D}${PTEST_PATH}/gpiod-test/system install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname - install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname + install -m 0644 ${B}/tests/system/_ext* ${D}${PTEST_PATH}/gpiod-test/system + install -m 0644 ${S}/tests/system/*.py ${D}${PTEST_PATH}/gpiod-test/system } INSANE_SKIP:${PN}-ptest += "buildpaths"
Signature · 1 line
2.45.2