From: Bartosz Golaszewski <[email protected]>
We've just tagged the release candidate for libgpiod v2. This is a major
release entirely overhauling the API in a backward incompatible way.
While this is not the final release yet, it's not likely to change much so
I'd like to make it available in meta-openembedded to give it exposure to
some testing. When we do release v2.0, it'll be just a matter of bumping the
version.
Currently no other package depends on libgpiod in meta-openembedded, so I'd
like to avoid having two packages (libgpiod and libgpiod2). Instead let's
provide recipes for both versions but keep them under the common libgpiod name
as it's unlikely anyone would need both versions in a single system. This is
after all a medium-sized project that shouldn't require too much work in order
to port a user to the new major release.
The first patch contains an update of libgpiod v1.6.x to the most recent
bug-fix release.
The second contains the recipe for libgpiod v2.0-rc1 while also moving the
bitbake code around in order to factor out common elements.
The third contains a recipe for the python bindings that are now in their own
project in meta-python.
The new recipes provide the same functionality - including ptest for the C
library, tools and language bindings.
Bartosz Golaszewski (3):
libgpiod: update to v1.6.4
libgpiod: add a recipe for libgpiod v2.0-rc1
python3-gpiod: new package
...-don-t-expect-automake-to-set-PYTHON.patch | 37 ---------
.../{files => libgpiod-1.6.4}/run-ptest | 0
.../libgpiod/libgpiod-2.0-rc1/run-ptest | 24 ++++++
.../recipes-support/libgpiod/libgpiod-src.inc | 1 +
meta-oe/recipes-support/libgpiod/libgpiod.inc | 61 ++++++++++++++
.../libgpiod/libgpiod_1.6.3.bb | 82 -------------------
.../libgpiod/libgpiod_1.6.4.bb | 37 +++++++++
.../libgpiod/libgpiod_2.0-rc1.bb | 21 +++++
.../packagegroups/packagegroup-meta-python.bb | 1 +
.../python/python3-gpiod/run-ptest | 15 ++++
.../python/python3-gpiod_2.0-rc1.bb | 45 ++++++++++
11 files changed, 205 insertions(+), 119 deletions(-)
delete mode 100644
meta-oe/recipes-support/libgpiod/files/0001-build-don-t-expect-automake-to-set-PYTHON.patch
rename meta-oe/recipes-support/libgpiod/{files => libgpiod-1.6.4}/run-ptest
(100%)
create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.0-rc1/run-ptest
create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-src.inc
create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod.inc
delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_1.6.4.bb
create mode 100644 meta-oe/recipes-support/libgpiod/libgpiod_2.0-rc1.bb
create mode 100644 meta-python/recipes-devtools/python/python3-gpiod/run-ptest
create mode 100644 meta-python/recipes-devtools/python/python3-gpiod_2.0-rc1.bb
--
2.37.2
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#100997):
https://lists.openembedded.org/g/openembedded-devel/message/100997
Mute This Topic: https://lists.openembedded.org/mt/96832136/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-