[Spice-devel] [RFC spice-vdagent 15/18] build: drop DBus dependency

Jakub Janků jjanku at redhat.com
Tue Aug 14 18:53:49 UTC 2018


Both console-kit.c and systemd-login.c
have been moved to GDBus.
---
 Makefile.am  | 2 --
 configure.ac | 1 -
 2 files changed, 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index b291b19..64ed406 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -47,7 +47,6 @@ src_spice_vdagent_SOURCES =			\
 	$(NULL)
 
 src_spice_vdagentd_CFLAGS =			\
-	$(DBUS_CFLAGS)				\
 	$(LIBSYSTEMD_DAEMON_CFLAGS)		\
 	$(LIBSYSTEMD_LOGIN_CFLAGS)		\
 	$(PCIACCESS_CFLAGS)			\
@@ -59,7 +58,6 @@ src_spice_vdagentd_CFLAGS =			\
 	$(NULL)
 
 src_spice_vdagentd_LDADD =			\
-	$(DBUS_LIBS)				\
 	$(LIBSYSTEMD_DAEMON_LIBS)		\
 	$(LIBSYSTEMD_LOGIN_LIBS)		\
 	$(PCIACCESS_LIBS)			\
diff --git a/configure.ac b/configure.ac
index cf8169b..3f28532 100644
--- a/configure.ac
+++ b/configure.ac
@@ -105,7 +105,6 @@ PKG_CHECK_MODULES([GIO2], [gio-unix-2.0])
 PKG_CHECK_MODULES(X, [xfixes xrandr >= 1.3 xinerama x11])
 PKG_CHECK_MODULES(SPICE, [spice-protocol >= 0.12.13])
 PKG_CHECK_MODULES(ALSA, [alsa >= 1.0.22])
-PKG_CHECK_MODULES([DBUS], [dbus-1])
 
 if test "$with_session_info" = "auto" || test "$with_session_info" = "systemd"; then
     PKG_CHECK_MODULES([LIBSYSTEMD_LOGIN],
-- 
2.17.1



More information about the Spice-devel mailing list