Commit a0953965 authored by Zeeshan Ali (Khattak)'s avatar Zeeshan Ali (Khattak)
Browse files

Port from dbus-glib to GDBus

This drop the dbus-glib dependency but bumps the gio dependency to 2.26 (latest
stable release) if network-manager is to be used as the context manager. One
"issue" here is that GDBus (and gio in general it seems) simply uses the main
context associated with the current thread's context and do not allow us to set
the main context we are told to use by the application. Its not really an issue
since applications can use g_main_context_push_thread_default() instead of
passing the main context to gupnp, however this is still a fundamental change in
the behavior of gupnp.
parent 1353b47b
......@@ -74,7 +74,8 @@ AC_SUBST(USE_CONIC)
if test "x$with_context_manager" = "xnetwork-manager" -o \
"x$with_context_manager" = "xunix" -a \
"x$USE_CONIC" = "xyes"; then
PKG_CHECK_MODULES(DBUS_GLIB, dbus-glib-1 >= 0.76)
# We need gio >= 2.26 to use GDBus
PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.26)
# glib-genmarshal
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment