Message ID | 20240904125014.262715-1-warthog618@gmail.com |
---|---|
State | New |
Headers | show |
Series | [libgpiod] dbus: update glib dependency to 2.80 | expand |
From: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> On Wed, 04 Sep 2024 20:50:14 +0800, Kent Gibson wrote: > The gpio-manager makes use of g_log_writer_default_set_debug_domains() > which was added in glib 2.80, but the dependency in configure.ac is only > glib 2.54. This results in compile errors when built with glib between 2.54 > and 2.80. > > Update the glib dependency, and related dependencies, to 2.80. > > [...] Applied, thanks! [1/1] dbus: update glib dependency to 2.80 commit: a726309792cfb89f96a79146bc13484509e39436 Best regards,
diff --git a/configure.ac b/configure.ac index 1ac1002..aa915ef 100644 --- a/configure.ac +++ b/configure.ac @@ -258,10 +258,10 @@ AM_CONDITIONAL([WITH_BINDINGS_GLIB], [test "x$with_bindings_glib" = xtrue]) if test "x$with_bindings_glib" = xtrue then - PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.54]) - PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.54]) - PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.54]) - PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.54]) + PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.80]) + PKG_CHECK_MODULES([GOBJECT], [gobject-2.0 >= 2.80]) + PKG_CHECK_MODULES([GIO], [gio-2.0 >= 2.80]) + PKG_CHECK_MODULES([GIO_UNIX], [gio-unix-2.0 >= 2.80]) PKG_PROG_PKG_CONFIG([0.28]) PKG_CHECK_VAR([GLIB_MKENUMS], [glib-2.0], [glib_mkenums], [], AC_MSG_ERROR([glib-mkenums not found - needed to build GLib bindings]))
The gpio-manager makes use of g_log_writer_default_set_debug_domains() which was added in glib 2.80, but the dependency in configure.ac is only glib 2.54. This results in compile errors when built with glib between 2.54 and 2.80. Update the glib dependency, and related dependencies, to 2.80. Signed-off-by: Kent Gibson <warthog618@gmail.com> --- configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)