package/libgpiod: bump to version 2.2.2
PATCH 1/1 package/libgpiod: bump to version 2.2.2
The removed patch has been merged in version 2.0.
Update license file hash due to:
- relicense C++ bindings under LGPL-2.1-or-later
- make the project REUSE-compliant
Release notes:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS
--- .checkpackageignore | 1 - ...nfigure-switch-for-building-examples.patch | 91 ------------------- package/libgpiod/libgpiod.hash | 4 +- package/libgpiod/libgpiod.mk | 2 +- 4 files changed, 3 insertions(+), 95 deletions(-) delete mode 100644 package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch
.checkpackageignore +0 -1
@@ -562,7 +562,6 @@ package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patch lib_patch package/libfuse/0001-fix-aarch64-build.patch lib_patch.Upstream package/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patch lib_patch.Upstream package/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patch lib_patch.Upstream -package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch lib_patch.Upstream package/libgsm/0001-Misc-fixes-from-Archlinux.patch lib_patch.Upstream package/libgtk2/0001-reduce-dependencies.patch lib_patch.Upstream package/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patch lib_patch.Upstream
package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch deleted +0 -91
91 lines not on this page · raw message
package/libgpiod/libgpiod.hash +2 -2
@@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc -sha256 ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bc libgpiod-1.6.5.tar.xz +sha256 7e3bff0209d75fbca2e9fcff1fd5f07cc58b543e129e08b6d4bb1e4a56cfec0d libgpiod-2.2.2.tar.xz # Hash for license file -sha256 ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9ed COPYING +sha256 f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3 COPYING
package/libgpiod/libgpiod.mk +1 -1
@@ -6,7 +6,7 @@ # Be careful when bumping versions. # Dependency on kernel header versions may change. -LIBGPIOD_VERSION = 1.6.5 +LIBGPIOD_VERSION = 2.2.2 LIBGPIOD_SOURCE = libgpiod-$(LIBGPIOD_VERSION).tar.xz LIBGPIOD_SITE = https://www.kernel.org/pub/software/libs/libgpiod LIBGPIOD_LICENSE = LGPL-2.1+
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
There is already a buildroot package providing libgpiod 2.2.2. It's named “libgpiod2”. It's a different package because the versions 1 and 2 of the library are so different, they can be considered like different libraries.
Regards,
Edgar Bonet.
Quoted 170 lines · ----- On Oct 22, 2025, at 5:29 PM, Dario Binacchi…
The removed patch has been merged in version 2.0.
Update license file hash due to:
- relicense C++ bindings under LGPL-2.1-or-later
- make the project REUSE-compliantRelease notes:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWSSigned-off-by Dario Binacchi <[email protected]>---
.checkpackageignore | 1 - ...nfigure-switch-for-building-examples.patch | 91 ------------------- package/libgpiod/libgpiod.hash | 4 +- package/libgpiod/libgpiod.mk | 2 +- 4 files changed, 3 insertions(+), 95 deletions(-)delete mode 100644
package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch.checkpackageignore +0
-0@@ -562,7 +562,6 @@
package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patchlib_patchpackage/libfuse/0001-fix-aarch64-build.patchlib_patch.Upstreampackage/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patchlib_patch.Upstreampackage/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patchlib_patch.Upstream-package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchlib_patch.Upstreampackage/libgsm/0001-Misc-fixes-from-Archlinux.patchlib_patch.Upstreampackage/libgtk2/0001-reduce-dependencies.patchlib_patch.Upstreampackage/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patchlib_patch.Upstream
diff --gita/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchb/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchdeleted file mode 100644
index f1a853a6f863..000000000000
---a/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch+++/dev/null.checkpackageignore +0
-55@@ -1,91 +0,0 @@ -From 5e9e7223a3633ee82b557d21b1f18aa15becd450 Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski <[email protected]> -Date: Mon, 7 Dec 2020 20:38:30 +0100 -Subject: build: add a configure switch for building examples - -Example code for bindings is currently always built if bindings are -enabled. Make it conditional with a new configure switch. - -Signed-off-by: Bartosz Golaszewski <[email protected]> -Reviewed-by: Andy Shevchenko <[email protected]> -[Retrieved from: -https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=5e9e7223a3633ee82b557d21b1f18aa15becd450] -Signed-off-by: Fabrice Fontaine <[email protected]> ---- - bindings/cxx/Makefile.am | 8 +++++++- - bindings/python/Makefile.am | 10 ++++++++-- - configure.ac | 6 ++++++ - 3 files changed, 21 insertions(+), 3 deletions(-) - -diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am -index 5c40ceb..87463b0 100644 ---- a/bindings/cxx/Makefile.am -+++ b/bindings/cxx/Makefile.am -@@ -18,10 +18,16 @@ include_HEADERS = gpiod.hpp - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = libgpiodcxx.pc - --SUBDIRS = . examples -+SUBDIRS = . - - if WITH_TESTS - - SUBDIRS += tests - - endif -+ -+if WITH_EXAMPLES -+ -+SUBDIRS += examples -+ -+endif -diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am -index 124f152..5403bcb 100644 ---- a/bindings/python/Makefile.am -+++ b/bindings/python/Makefile.am -@@ -6,8 +6,6 @@ - # Copyright (C) 2017-2018 Bartosz Golaszewski <[email protected]> - # - --SUBDIRS = . examples -- - pyexec_LTLIBRARIES = gpiod.la - - gpiod_la_SOURCES = gpiodmodule.c -@@ -17,8 +15,16 @@ gpiod_la_CFLAGS += -Wall -Wextra -g -std=gnu89$(PYTHON_CPPFLAGS)
-gpiod_la_LDFLAGS= -module -avoid-version
-gpiod_la_LIBADD= $(top_builddir)/lib/libgpiod.la $(PYTHON_LIBS).checkpackageignore +0
-24- -+SUBDIRS = . -+ - if WITH_TESTS - - SUBDIRS += tests - - endif -+ -+if WITH_EXAMPLES -+ -+SUBDIRS += examples -+ -+endif -diff --git a/configure.ac b/configure.ac -index 57c99a8..90a6324 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -164,6 +164,12 @@ then - fi - fi - -+AC_ARG_ENABLE([examples], -+ [AS_HELP_STRING([--enable-examples], [enable building codeexamples[default=no]])],
-+ [if test "x$enableval" = xyes; then with_examples=true; fi],
-+ [with_examples=false])
-+AM_CONDITIONAL([WITH_EXAMPLES], [test "x$with_examples" = xtrue]) -+
- AC_ARG_ENABLE([bindings-cxx],.checkpackageignore +0
-5- [AC_HELP_STRING([--enable-bindings-cxx], - [enable C++ bindings [default=no]])], --- -cgit 1.2.3-1.el7 -package/libgpiod/libgpiod.hash +0
-1@@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc -sha256 ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bclibgpiod-1.6.5.tar.xz
+sha2567e3bff0209d75fbca2e9fcff1fd5f07cc58b543e129e08b6d4bb1e4a56cfec0dlibgpiod-2.2.2.tar.xz
# Hash for license file
-sha256ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9edCOPYING
+sha256f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3COPYINGpackage/libgpiod/libgpiod.mk +1
-1@@ -6,7 +6,7 @@ # Be careful when bumping versions. # Dependency on kernel header versions may change. -LIBGPIOD_VERSION = 1.6.5 +LIBGPIOD_VERSION = 2.2.2
LIBGPIOD_SOURCE= libgpiod-$(LIBGPIOD_VERSION).tar.xzLIBGPIOD_SITE= https://www.kernel.org/pub/software/libs/libgpiodLIBGPIOD_LICENSE= LGPL-2.1+
--
2.43.0
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Edgar,
Quoted 5 lines · Edgar Bonet
There is already a buildroot package providing libgpiod 2.2.2. It's named “libgpiod2”. It's a different package because the versions 1 and 2 of the library are so different, they can be considered like different libraries.
Thanks for the explanation.
Best regards,
Dario
Quoted 181 lines
Regards,
Edgar Bonet.
Quoted 174 lines · ----- On Oct 22, 2025, at 5:29 PM, Dario Binacchi…
The removed patch has been merged in version 2.0.
Update license file hash due to:
- relicense C++ bindings under LGPL-2.1-or-later
- make the project REUSE-compliantRelease notes:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWSSigned-off-by Dario Binacchi <[email protected]>---
.checkpackageignore | 1 - ...nfigure-switch-for-building-examples.patch | 91 ------------------- package/libgpiod/libgpiod.hash | 4 +- package/libgpiod/libgpiod.mk | 2 +- 4 files changed, 3 insertions(+), 95 deletions(-)delete mode 100644
package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch.checkpackageignore +0
-0@@ -562,7 +562,6 @@
package/libftdi/0002-libftdi.pc-requires-libusb-fix-static-build.patchlib_patchpackage/libfuse/0001-fix-aarch64-build.patchlib_patch.Upstreampackage/libfuse/0002-util-ulockmgr_server-c-conditionally-define-closefrom-fix-glibc-2-34.patchlib_patch.Upstreampackage/libgcrypt/0001-configure.ac-add-an-option-to-disable-tests.patchlib_patch.Upstream-package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchlib_patch.Upstreampackage/libgsm/0001-Misc-fixes-from-Archlinux.patchlib_patch.Upstreampackage/libgtk2/0001-reduce-dependencies.patchlib_patch.Upstreampackage/libgtk3/0001-Remove-Gdk-dependency-from-gtk-encode-symbolic-svg.patchlib_patch.Upstream
diff --gita/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchb/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patchdeleted file mode 100644
index f1a853a6f863..000000000000
---a/package/libgpiod/0001-build-add-a-configure-switch-for-building-examples.patch+++/dev/null.checkpackageignore +0
-55@@ -1,91 +0,0 @@ -From 5e9e7223a3633ee82b557d21b1f18aa15becd450 Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski <[email protected]> -Date: Mon, 7 Dec 2020 20:38:30 +0100 -Subject: build: add a configure switch for building examples - -Example code for bindings is currently always built if bindings are -enabled. Make it conditional with a new configure switch. - -Signed-off-by: Bartosz Golaszewski <[email protected]> -Reviewed-by: Andy Shevchenko <[email protected]> -[Retrieved from: -https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/commit/?id=5e9e7223a3633ee82b557d21b1f18aa15becd450] -Signed-off-by: Fabrice Fontaine <[email protected]> ---- - bindings/cxx/Makefile.am | 8 +++++++- - bindings/python/Makefile.am | 10 ++++++++-- - configure.ac | 6 ++++++ - 3 files changed, 21 insertions(+), 3 deletions(-) - -diff --git a/bindings/cxx/Makefile.am b/bindings/cxx/Makefile.am -index 5c40ceb..87463b0 100644 ---- a/bindings/cxx/Makefile.am -+++ b/bindings/cxx/Makefile.am -@@ -18,10 +18,16 @@ include_HEADERS = gpiod.hpp - pkgconfigdir = $(libdir)/pkgconfig - pkgconfig_DATA = libgpiodcxx.pc - --SUBDIRS = . examples -+SUBDIRS = . - - if WITH_TESTS - - SUBDIRS += tests - - endif -+ -+if WITH_EXAMPLES -+ -+SUBDIRS += examples -+ -+endif -diff --git a/bindings/python/Makefile.am b/bindings/python/Makefile.am -index 124f152..5403bcb 100644 ---- a/bindings/python/Makefile.am -+++ b/bindings/python/Makefile.am -@@ -6,8 +6,6 @@ - # Copyright (C) 2017-2018 Bartosz Golaszewski <[email protected]> - # - --SUBDIRS = . examples -- - pyexec_LTLIBRARIES = gpiod.la - - gpiod_la_SOURCES = gpiodmodule.c -@@ -17,8 +15,16 @@ gpiod_la_CFLAGS += -Wall -Wextra -g -std=gnu89$(PYTHON_CPPFLAGS)
-gpiod_la_LDFLAGS= -module -avoid-version
-gpiod_la_LIBADD= $(top_builddir)/lib/libgpiod.la $(PYTHON_LIBS).checkpackageignore +0
-24- -+SUBDIRS = . -+ - if WITH_TESTS - - SUBDIRS += tests - - endif -+ -+if WITH_EXAMPLES -+ -+SUBDIRS += examples -+ -+endif -diff --git a/configure.ac b/configure.ac -index 57c99a8..90a6324 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -164,6 +164,12 @@ then - fi - fi - -+AC_ARG_ENABLE([examples], -+ [AS_HELP_STRING([--enable-examples], [enable building codeexamples[default=no]])],
-+ [if test "x$enableval" = xyes; then with_examples=true; fi],
-+ [with_examples=false])
-+AM_CONDITIONAL([WITH_EXAMPLES], [test "x$with_examples" = xtrue]) -+
- AC_ARG_ENABLE([bindings-cxx],.checkpackageignore +0
-5- [AC_HELP_STRING([--enable-bindings-cxx], - [enable C++ bindings [default=no]])], --- -cgit 1.2.3-1.el7 -package/libgpiod/libgpiod.hash +0
-1@@ -1,4 +1,4 @@ # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc -sha256 ae280f697bf035a1fb780c9972e5c81d0d2712b7ab6124fb3fba24619daa72bclibgpiod-1.6.5.tar.xz
+sha2567e3bff0209d75fbca2e9fcff1fd5f07cc58b543e129e08b6d4bb1e4a56cfec0dlibgpiod-2.2.2.tar.xz
# Hash for license file
-sha256ce64d5f7b49ea6d80fdb6d4cdee6839d1a94274f7493dc797c3b55b65ec8e9edCOPYING
+sha256f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3COPYINGpackage/libgpiod/libgpiod.mk +1
-1@@ -6,7 +6,7 @@ # Be careful when bumping versions. # Dependency on kernel header versions may change. -LIBGPIOD_VERSION = 1.6.5 +LIBGPIOD_VERSION = 2.2.2
LIBGPIOD_SOURCE= libgpiod-$(LIBGPIOD_VERSION).tar.xzLIBGPIOD_SITE= https://www.kernel.org/pub/software/libs/libgpiodLIBGPIOD_LICENSE= LGPL-2.1+
--
2.43.0_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 21 lines
Dario Binacchi Senior Embedded Linux Developer [email protected] __________________________________ Amarula Solutions SRL Via Le Canevare 30, 31100 Treviso, Veneto, IT T. +39 042 243 5310 [email protected] www.amarulasolutions.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot