Skip to contentSkip to conversation

package/libgpiod2: bump version to 2.3.1

PATCH In review Michele Comignano 2 participants 3 messages Jul 30 – Jul 31

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libgpiod2: bump version to 2.3.1

changing build system from autotools to meson+ninja as for upstream no breaking changes, still depends on kernel 5.1.

---
 package/libgpiod2/libgpiod2.hash |  2 +-
 package/libgpiod2/libgpiod2.mk   | 23 ++++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)
package/libgpiod2/libgpiod2.hash +1 -1
index a12752261a..48f7c77855 100644
@@ -1,4 +1,4 @@
 # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
-sha256  13207176b0eb9b3e0f02552d5f49f5a6a449343ce47416158bb484d9d3019592  libgpiod-2.2.4.tar.xz
+sha256  e3a358a90a9204ff16f92b6f4028ed91460b1926f10589eb54b3566484650a30  libgpiod-2.3.1.tar.xz
 # Hash for license file
 sha256  f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3  COPYING
package/libgpiod2/libgpiod2.mk +12 -11
index d83fdbd94a..6c851e6dd3 100644
@@ -6,35 +6,36 @@
 
 # Be careful when bumping versions.
 # Dependency on kernel header versions may change.
-LIBGPIOD2_VERSION = 2.2.4
+LIBGPIOD2_VERSION = 2.3.1
 LIBGPIOD2_SOURCE = libgpiod-$(LIBGPIOD2_VERSION).tar.xz
 LIBGPIOD2_SITE = https://www.kernel.org/pub/software/libs/libgpiod
 LIBGPIOD2_LICENSE = LGPL-2.1+
 LIBGPIOD2_LICENSE_FILES = COPYING
 LIBGPIOD2_INSTALL_STAGING = YES
 LIBGPIOD2_DEPENDENCIES = host-pkgconf
+# v2.3.x switched from autotools to meson
 LIBGPIOD2_CONF_OPTS = \
-	--disable-bindings-python \
-	--disable-examples \
-	--disable-tests
+	-Dbindings-python=disabled \
+	-Dexamples=disabled \
+	-Dtests=disabled
 
 ifeq ($(BR2_PACKAGE_LIBGPIOD2_TOOLS),y)
-LIBGPIOD2_CONF_OPTS += --enable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEDIT),y)
 LIBGPIOD2_DEPENDENCIES += libedit
-LIBGPIOD2_CONF_OPTS += --enable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=disabled
 endif
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-LIBGPIOD2_CONF_OPTS += --enable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=disabled
 endif
 
-$(eval $(autotools-package))
+$(eval $(meson-package))
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Michele,

I already submitted a patch for the version bump.
See https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Would be great if you could review!

Regards,
Michael

Quoted 74 lines · Michele Comignano

changing build system from autotools to meson+ninja as for upstream no breaking changes, still depends on kernel 5.1.

---
 package/libgpiod2/libgpiod2.hash |  2 +-
 package/libgpiod2/libgpiod2.mk   | 23 ++++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)
package/libgpiod2/libgpiod2.hash +1 -1
index a12752261a..48f7c77855 100644
@@ -1,4 +1,4 @@
 # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
-sha256  13207176b0eb9b3e0f02552d5f49f5a6a449343ce47416158bb484d9d3019592  libgpiod-2.2.4.tar.xz
+sha256  e3a358a90a9204ff16f92b6f4028ed91460b1926f10589eb54b3566484650a30  libgpiod-2.3.1.tar.xz
 # Hash for license file
 sha256  f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3  COPYING
package/libgpiod2/libgpiod2.mk +12 -11
index d83fdbd94a..6c851e6dd3 100644
@@ -6,35 +6,36 @@
 
 # Be careful when bumping versions.
 # Dependency on kernel header versions may change.
-LIBGPIOD2_VERSION = 2.2.4
+LIBGPIOD2_VERSION = 2.3.1
 LIBGPIOD2_SOURCE = libgpiod-$(LIBGPIOD2_VERSION).tar.xz
 LIBGPIOD2_SITE = https://www.kernel.org/pub/software/libs/libgpiod
 LIBGPIOD2_LICENSE = LGPL-2.1+
 LIBGPIOD2_LICENSE_FILES = COPYING
 LIBGPIOD2_INSTALL_STAGING = YES
 LIBGPIOD2_DEPENDENCIES = host-pkgconf
+# v2.3.x switched from autotools to meson
 LIBGPIOD2_CONF_OPTS = \
-	--disable-bindings-python \
-	--disable-examples \
-	--disable-tests
+	-Dbindings-python=disabled \
+	-Dexamples=disabled \
+	-Dtests=disabled
 
 ifeq ($(BR2_PACKAGE_LIBGPIOD2_TOOLS),y)
-LIBGPIOD2_CONF_OPTS += --enable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEDIT),y)
 LIBGPIOD2_DEPENDENCIES += libedit
-LIBGPIOD2_CONF_OPTS += --enable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=disabled
 endif
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-LIBGPIOD2_CONF_OPTS += --enable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=disabled
 endif
 
-$(eval $(autotools-package))
+$(eval $(meson-package))
Signature · 1 line
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hi Michael,

I fear I missed that!
It makes sense to ignore mine and move yours forward.

Regards,
Michele

Il Ven, 31 Lug 2026, alle ore 10:50, Michael Nosthoff via buildroot ha scritto:

Quoted 81 lines

Hi Michele,

I already submitted a patch for the version bump.
See https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Would be great if you could review!

Regards,
Michael

Quoted 69 lines · Michele Comignano

changing build system from autotools to meson+ninja as for upstream no breaking changes, still depends on kernel 5.1.

---
 package/libgpiod2/libgpiod2.hash |  2 +-
 package/libgpiod2/libgpiod2.mk   | 23 ++++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)
package/libgpiod2/libgpiod2.hash +1 -1
index a12752261a..48f7c77855 100644
@@ -1,4 +1,4 @@
 # From https://www.kernel.org/pub/software/libs/libgpiod/sha256sums.asc
-sha256  13207176b0eb9b3e0f02552d5f49f5a6a449343ce47416158bb484d9d3019592  libgpiod-2.2.4.tar.xz
+sha256  e3a358a90a9204ff16f92b6f4028ed91460b1926f10589eb54b3566484650a30  libgpiod-2.3.1.tar.xz
 # Hash for license file
 sha256  f646ad5159efb51c1130a4b43c31f0759750b1e254d2acf510f368ee2e2085c3  COPYING
package/libgpiod2/libgpiod2.mk +11 -10
index d83fdbd94a..6c851e6dd3 100644
@@ -6,35 +6,36 @@
 
 # Be careful when bumping versions.
 # Dependency on kernel header versions may change.
-LIBGPIOD2_VERSION = 2.2.4
+LIBGPIOD2_VERSION = 2.3.1
 LIBGPIOD2_SOURCE = libgpiod-$(LIBGPIOD2_VERSION).tar.xz
 LIBGPIOD2_SITE = https://www.kernel.org/pub/software/libs/libgpiod
 LIBGPIOD2_LICENSE = LGPL-2.1+
 LIBGPIOD2_LICENSE_FILES = COPYING
 LIBGPIOD2_INSTALL_STAGING = YES
 LIBGPIOD2_DEPENDENCIES = host-pkgconf
+# v2.3.x switched from autotools to meson
 LIBGPIOD2_CONF_OPTS = \
- --disable-bindings-python \
- --disable-examples \
- --disable-tests
+ -Dbindings-python=disabled \
+ -Dexamples=disabled \
+ -Dtests=disabled
 
 ifeq ($(BR2_PACKAGE_LIBGPIOD2_TOOLS),y)
-LIBGPIOD2_CONF_OPTS += --enable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-tools
+LIBGPIOD2_CONF_OPTS += -Dtools=disabled
 endif
 
 ifeq ($(BR2_PACKAGE_LIBEDIT),y)
 LIBGPIOD2_DEPENDENCIES += libedit
-LIBGPIOD2_CONF_OPTS += --enable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-gpioset-interactive
+LIBGPIOD2_CONF_OPTS += -Dgpioset-interactive=disabled
 endif
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-LIBGPIOD2_CONF_OPTS += --enable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=enabled
 else
-LIBGPIOD2_CONF_OPTS += --disable-bindings-cxx
+LIBGPIOD2_CONF_OPTS += -Dbindings-cxx=disabled
 endif
 
Quoted 11 lines
Quoted 5 lines
package/libgpiod2/libgpiod2.mk +1 -1
-$(eval $(autotools-package))
+$(eval $(meson-package))
Signature · 1 line
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot