diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 15:48:52 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 10:42:55 +0200 |
commit | 760d294a34d8b231b103ad658cbe9a959f9f3f59 (patch) | |
tree | 756b8769c547fc8b80c423860627dccc5cba286e | |
parent | a3627b8227a406fc1cda99ddbd8d0ebf0d20470d (diff) | |
download | upower-760d294a34d8b231b103ad658cbe9a959f9f3f59.tar.gz |
lib: Build the new D-Bus glue
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libupower-glib/Makefile.am | 7 | ||||
-rw-r--r-- | upower-glib.pc.in | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2a88e62..d5f6426 100644 --- a/configure.ac +++ b/configure.ac @@ -157,6 +157,7 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0]) PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.76]) PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.97) PKG_CHECK_MODULES(GIO, [gio-2.0 >= 2.16.1]) +PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0]) dnl ==================================================================== dnl Check for systemd diff --git a/libupower-glib/Makefile.am b/libupower-glib/Makefile.am index 505df80..cff8f4c 100644 --- a/libupower-glib/Makefile.am +++ b/libupower-glib/Makefile.am @@ -1,6 +1,7 @@ AM_CPPFLAGS = \ $(GLIB_CFLAGS) \ $(DBUS_GLIB_CFLAGS) \ + $(GIO_UNIX_CFLAGS) \ -I$(top_builddir) \ -I$(top_srcdir) \ -I$(top_srcdir)/libupower-glib \ @@ -74,11 +75,15 @@ libupower_glib_la_SOURCES = \ up-wakeup-item.c \ up-stats-item.c \ up-history-item.c \ - up-device.c + up-device.c \ + $(up_client_dbus_built_sources) \ + $(up_device_dbus_built_sources) \ + $(up_wakeups_dbus_built_sources) libupower_glib_la_LIBADD = \ $(INTLLIBS) \ $(GLIB_LIBS) \ + $(GIO_UNIX_LIBS) \ $(DBUS_GLIB_LIBS) libupower_glib_la_LDFLAGS = \ diff --git a/upower-glib.pc.in b/upower-glib.pc.in index 9a297ef..8a2146d 100644 --- a/upower-glib.pc.in +++ b/upower-glib.pc.in @@ -6,7 +6,7 @@ includedir=@includedir@ Name: upower-glib Description: UPower is a system daemon for managing power devices Version: @VERSION@ -Requires.private: dbus-1, dbus-glib-1, gthread-2.0 +Requires.private: dbus-1, dbus-glib-1, gthread-2.0, gio-2.0 Requires: glib-2.0, gobject-2.0 Libs: -L${libdir} -lupower-glib Cflags: -I${includedir}/libupower-glib |