linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [libgpiod][PATCH] dbus: update glib dependency to 2.80
@ 2024-09-04 12:50 Kent Gibson
  2024-09-05  7:32 ` Bartosz Golaszewski
  0 siblings, 1 reply; 2+ messages in thread
From: Kent Gibson @ 2024-09-04 12:50 UTC (permalink / raw)
  To: linux-gpio, brgl; +Cc: 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.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
---
 configure.ac | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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]))
-- 
2.39.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [libgpiod][PATCH] dbus: update glib dependency to 2.80
  2024-09-04 12:50 [libgpiod][PATCH] dbus: update glib dependency to 2.80 Kent Gibson
@ 2024-09-05  7:32 ` Bartosz Golaszewski
  0 siblings, 0 replies; 2+ messages in thread
From: Bartosz Golaszewski @ 2024-09-05  7:32 UTC (permalink / raw)
  To: linux-gpio, brgl, Kent Gibson; +Cc: Bartosz Golaszewski

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,
-- 
Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-05  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-04 12:50 [libgpiod][PATCH] dbus: update glib dependency to 2.80 Kent Gibson
2024-09-05  7:32 ` Bartosz Golaszewski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).