[seed] Fix DBus module build



commit a55824bdb0dbba65e4e2672daac470f4da79188e
Author: Robert Carr <racarr svn gnome org>
Date:   Sat May 9 22:49:07 2009 -0400

    Fix  DBus module build
---
 configure.ac             |    3 +++
 modules/dbus/Makefile.am |    1 +
 modules/dbus/dbus.js     |    3 ++-
 modules/dbus/util/log.h  |    1 +
 4 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1cb8e45..a4de09f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -166,6 +166,9 @@ if test x"$want_dbus_module" == x"yes" ; then
 	PKG_CHECK_MODULES(DBUS, dbus-1)
 	AC_SUBST(DBUS_CFLAGS)
 	AC_SUBST(DBUS_LDFLAGS)
+	PKG_CHECK_MODULES(DBUSGLIB, dbus-glib-1)
+	AC_SUBST(DBUSGLIB_CFLAGS)
+	AC_SUBST(DBUSGLIB_LDFLAGS)
 fi
 
 dnl ==== os ====
diff --git a/modules/dbus/Makefile.am b/modules/dbus/Makefile.am
index 46df048..5390ab9 100644
--- a/modules/dbus/Makefile.am
+++ b/modules/dbus/Makefile.am
@@ -30,6 +30,7 @@ libdbusnative_la_LDFLAGS = \
 	-L/lib \
 	-ldbus-1 \
 	$(DBUS_LDFLAGS) \
+	-ldbus-glib-1 \
 	$(SEED_PROFILE_LIBS)
 
 
diff --git a/modules/dbus/dbus.js b/modules/dbus/dbus.js
index 0bce51a..645a33c 100644
--- a/modules/dbus/dbus.js
+++ b/modules/dbus/dbus.js
@@ -1,5 +1,5 @@
 // Copyright 2008 litl, LLC. All Rights Reserved.
-
+log = Seed.print
 Lang = imports.lang;
 //const StringUtil = imports.stringUtil;
 //const ArrayUtil = imports.arrayUtil;
@@ -87,6 +87,7 @@ function _proxyInvoker(obj, ifaceName, methodName, outSignature, inSignature, ti
 }
 
 function _logReply(result, exc) {
+    Seed.print("Reply!");
     if (result != null) {
         log("Ignored reply to dbus method: " + result.toSource());
     }
diff --git a/modules/dbus/util/log.h b/modules/dbus/util/log.h
index 01b81ce..39299dd 100644
--- a/modules/dbus/util/log.h
+++ b/modules/dbus/util/log.h
@@ -1 +1,2 @@
 #define BIG_DEBUG_UTIL_DBUS 1
+#define big_debug(type,...)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]