Skip to contentSkip to conversation

dbus: update glib dependency to 2.80

PATCH Applied Kent Gibson 2 participants 2 messages Sep 4, 2024 – Sep 5, 2024 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dbus: update glib dependency to 2.80

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.

---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configure.ac +4 -4
index 1ac1002..aa915ef 100644
@@ -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]))
Signature · 1 line
2.39.2
#1 lore raw

From: Bartosz Golaszewski <[email protected]>

Quoted 8 lines · Kent Gibson

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,

Signature · 1 line
Bartosz Golaszewski <[email protected]>