From: Junghwan Song Date: Fri, 31 Aug 2012 15:28:13 +0000 (+0900) Subject: add missing files for building X-Git-Tag: accepted/2.0alpha-wayland/20121108.021124~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=26630dd6ef5bb2fecab4ffb159399604d62916e1;p=profile%2Fivi%2Ftel-plugin-dbus_tapi.git add missing files for building --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 8daef55..ca70b79 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ SET(CMAKE_INSTALL_PREFIX "${PREFIX}") # Set required packages INCLUDE(FindPkgConfig) -pkg_check_modules(pkgs REQUIRED glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 tcore dlog aul) +pkg_check_modules(pkgs REQUIRED glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 tcore dlog aul appsvc) FOREACH(flag ${pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") @@ -24,6 +24,7 @@ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${EXTRA_CFLAGS} -Werror -Wextra -Wno-unused- ADD_DEFINITIONS("-DFEATURE_DLOG_DEBUG") ADD_DEFINITIONS("-DTCORE_LOG_TAG=\"DBUS\"") +ADD_DEFINITIONS("-DPLUGIN_VERSION=${VERSION}") MESSAGE(${CMAKE_C_FLAGS}) MESSAGE(${CMAKE_EXE_LINKER_FLAGS}) diff --git a/packaging/tel-plugin-dbus_tapi.spec b/packaging/tel-plugin-dbus_tapi.spec index a09b04c..4260574 100644 --- a/packaging/tel-plugin-dbus_tapi.spec +++ b/packaging/tel-plugin-dbus_tapi.spec @@ -18,6 +18,7 @@ BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(tcore) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(aul) +BuildRequires: pkgconfig(appsvc) BuildRequires: pkgconfig(security-server) BuildRequires: python BuildRequires: python-xml diff --git a/src/desc-dbus.c b/src/desc-dbus.c index 1d7d911..fd7e6fd 100644 --- a/src/desc-dbus.c +++ b/src/desc-dbus.c @@ -379,7 +379,7 @@ static void on_bus_acquired(GDBusConnection *conn, const gchar *name, gpointer u struct custom_data *ctx = user_data; TelephonyManager *mgr; - info("dbus registered"); + dbg("dbus registered"); ctx->manager = g_dbus_object_manager_server_new (MY_DBUS_PATH);