* [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1
@ 2026-07-22 9:43 Michael Nosthoff via buildroot
2026-07-31 9:10 ` Michele Comignano
2026-08-15 22:03 ` Julien Olivain via buildroot
0 siblings, 2 replies; 3+ messages in thread
From: Michael Nosthoff via buildroot @ 2026-07-22 9:43 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan, Boerge Struempfel
- buildsystem changed from autotools to meson
- add option to install dbus-server and client
changelog:
https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS?h=v2.3.1
Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
---
package/libgpiod2/Config.in | 10 ++++++++++
package/libgpiod2/libgpiod2.hash | 2 +-
package/libgpiod2/libgpiod2.mk | 29 ++++++++++++++++++-----------
3 files changed, 29 insertions(+), 12 deletions(-)
diff --git a/package/libgpiod2/Config.in b/package/libgpiod2/Config.in
index 5a13bfc344..80b84160fd 100644
--- a/package/libgpiod2/Config.in
+++ b/package/libgpiod2/Config.in
@@ -16,6 +16,16 @@ config BR2_PACKAGE_LIBGPIOD2
if BR2_PACKAGE_LIBGPIOD2
+if BR2_PACKAGE_HAS_UDEV
+
+config BR2_PACKAGE_LIBGPIOD2_DBUS
+ bool "install dbus-server and client"
+ select BR2_PACKAGE_LIBGUDEV
+ help
+ Include dbus-server and client for managing GPIOs.
+
+endif
+
config BR2_PACKAGE_LIBGPIOD2_TOOLS
bool "install tools"
help
diff --git a/package/libgpiod2/libgpiod2.hash b/package/libgpiod2/libgpiod2.hash
index a12752261a..48f7c77855 100644
--- a/package/libgpiod2/libgpiod2.hash
+++ b/package/libgpiod2/libgpiod2.hash
@@ -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
diff --git a/package/libgpiod2/libgpiod2.mk b/package/libgpiod2/libgpiod2.mk
index d83fdbd94a..d74c98684c 100644
--- a/package/libgpiod2/libgpiod2.mk
+++ b/package/libgpiod2/libgpiod2.mk
@@ -6,7 +6,7 @@
# 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+
@@ -14,27 +14,34 @@ LIBGPIOD2_LICENSE_FILES = COPYING
LIBGPIOD2_INSTALL_STAGING = YES
LIBGPIOD2_DEPENDENCIES = host-pkgconf
LIBGPIOD2_CONF_OPTS = \
- --disable-bindings-python \
- --disable-examples \
- --disable-tests
+ -Dbindings-python=disabled \
+ -Dexamples=disabled \
+ -Dtests=disabled
+
+ifeq ($(BR2_PACKAGE_LIBGPIOD2_DBUS),y)
+LIBGPIOD2_CONF_OPTS += -Ddbus=enabled
+LIBGPIOD2_DEPENDENCIES += libgudev
+else
+LIBGPIOD2_CONF_OPTS += -Ddbus=disabled
+endif
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))
--
2.43.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1
2026-07-22 9:43 [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1 Michael Nosthoff via buildroot
@ 2026-07-31 9:10 ` Michele Comignano
2026-08-15 22:03 ` Julien Olivain via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Michele Comignano @ 2026-07-31 9:10 UTC (permalink / raw)
To: Michael Nosthoff, buildroot; +Cc: Eric Le Bihan, Boerge Struempfel
[-- Attachment #1.1: Type: text/plain, Size: 3887 bytes --]
Hi Michael,
looks good and builds for me, though I couldn't test the new dbus options.
Regards,
Michele
Il Merc, 22 Lug 2026, alle ore 11:43, Michael Nosthoff via buildroot ha scritto:
> - buildsystem changed from autotools to meson
> - add option to install dbus-server and client
>
> changelog:
> https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS?h=v2.3.1
>
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> ---
> package/libgpiod2/Config.in | 10 ++++++++++
> package/libgpiod2/libgpiod2.hash | 2 +-
> package/libgpiod2/libgpiod2.mk | 29 ++++++++++++++++++-----------
> 3 files changed, 29 insertions(+), 12 deletions(-)
>
> diff --git a/package/libgpiod2/Config.in b/package/libgpiod2/Config.in
> index 5a13bfc344..80b84160fd 100644
> --- a/package/libgpiod2/Config.in
> +++ b/package/libgpiod2/Config.in
> @@ -16,6 +16,16 @@ config BR2_PACKAGE_LIBGPIOD2
>
> if BR2_PACKAGE_LIBGPIOD2
>
> +if BR2_PACKAGE_HAS_UDEV
> +
> +config BR2_PACKAGE_LIBGPIOD2_DBUS
> + bool "install dbus-server and client"
> + select BR2_PACKAGE_LIBGUDEV
> + help
> + Include dbus-server and client for managing GPIOs.
> +
> +endif
> +
> config BR2_PACKAGE_LIBGPIOD2_TOOLS
> bool "install tools"
> help
> diff --git a/package/libgpiod2/libgpiod2.hash b/package/libgpiod2/libgpiod2.hash
> index a12752261a..48f7c77855 100644
> --- a/package/libgpiod2/libgpiod2.hash
> +++ b/package/libgpiod2/libgpiod2.hash
> @@ -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
> diff --git a/package/libgpiod2/libgpiod2.mk b/package/libgpiod2/libgpiod2.mk
> index d83fdbd94a..d74c98684c 100644
> --- a/package/libgpiod2/libgpiod2.mk
> +++ b/package/libgpiod2/libgpiod2.mk
> @@ -6,7 +6,7 @@
>
> # 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+
> @@ -14,27 +14,34 @@ LIBGPIOD2_LICENSE_FILES = COPYING
> LIBGPIOD2_INSTALL_STAGING = YES
> LIBGPIOD2_DEPENDENCIES = host-pkgconf
> LIBGPIOD2_CONF_OPTS = \
> - --disable-bindings-python \
> - --disable-examples \
> - --disable-tests
> + -Dbindings-python=disabled \
> + -Dexamples=disabled \
> + -Dtests=disabled
> +
> +ifeq ($(BR2_PACKAGE_LIBGPIOD2_DBUS),y)
> +LIBGPIOD2_CONF_OPTS += -Ddbus=enabled
> +LIBGPIOD2_DEPENDENCIES += libgudev
> +else
> +LIBGPIOD2_CONF_OPTS += -Ddbus=disabled
> +endif
>
> 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))
> --
> 2.43.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
>
[-- Attachment #1.2: Type: text/html, Size: 5538 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1
2026-07-22 9:43 [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1 Michael Nosthoff via buildroot
2026-07-31 9:10 ` Michele Comignano
@ 2026-08-15 22:03 ` Julien Olivain via buildroot
1 sibling, 0 replies; 3+ messages in thread
From: Julien Olivain via buildroot @ 2026-08-15 22:03 UTC (permalink / raw)
To: Michael Nosthoff; +Cc: buildroot, Eric Le Bihan, Boerge Struempfel
On 22/07/2026 11:43, Michael Nosthoff via buildroot wrote:
> - buildsystem changed from autotools to meson
> - add option to install dbus-server and client
>
> changelog:
> https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/NEWS?h=v2.3.1
>
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
Applied to master, thanks. For info, I rewrote the Config.in dbus
option to propagate the libgudev dependencies. See:
https://gitlab.com/buildroot.org/buildroot/-/commit/1d132d04fc0ecac014be003b7e1662c47672328b
Best regards,
Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-08-15 22:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-22 9:43 [Buildroot] [PATCH] package/libgpiod2: bump to version 2.3.1 Michael Nosthoff via buildroot
2026-07-31 9:10 ` Michele Comignano
2026-08-15 22:03 ` Julien Olivain via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox