From 1af87b45fbb5cbb876652017721970a1ac616e4b Mon Sep 17 00:00:00 2001 From: Jaeho Lee Date: Mon, 24 Jun 2013 22:02:19 +0900 Subject: [PATCH] remove sysman dependency Signed-off-by: Jaeho Lee --- CMakeLists.txt | 2 +- packaging/appcore-agent.spec | 4 +--- src/appcore-agent.c | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cbecee2..152c728 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,7 +31,7 @@ SET(HEADERS_agent appcore-agent.h INCLUDE(FindPkgConfig) #pkg_check_modules(pkg_agent REQUIRED pmapi vconf sensor aul rua dlog x11) -pkg_check_modules(pkg_agent REQUIRED aul dlog sysman capi-appfw-application vconf) +pkg_check_modules(pkg_agent REQUIRED aul dlog capi-appfw-application vconf) FOREACH(flag ${pkg_agent_CFLAGS}) SET(EXTRA_CFLAGS_agent "${EXTRA_CFLAGS_agent} ${flag}") ENDFOREACH(flag) diff --git a/packaging/appcore-agent.spec b/packaging/appcore-agent.spec index f512d88..a946bbd 100644 --- a/packaging/appcore-agent.spec +++ b/packaging/appcore-agent.spec @@ -2,19 +2,17 @@ Name: appcore-agent Summary: Agent Application basic Version: 1.0 -Release: 8 +Release: 10 Group: TO_BE/FILLED_IN License: SAMSUNG Source0: appcore-agent-%{version}.tar.gz BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(dlog) -BuildRequires: pkgconfig(sysman) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(pmapi) BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(vconf) BuildRequires: cmake -BuildRequires: sysman-devel %description diff --git a/src/appcore-agent.c b/src/appcore-agent.c index 303cfb5..4629f31 100755 --- a/src/appcore-agent.c +++ b/src/appcore-agent.c @@ -29,7 +29,6 @@ #include #include -#include #include "aul.h" #include "appcore-agent.h" #include @@ -361,7 +360,7 @@ static void __vconf_cb(keynode_t *key, void *data) name = vconf_keynode_get_name(key); _ret_if(name == NULL); - _DBG("[APP %d] vconf changed: %s", _pid, name); + SECURE_LOGD("[APP %d] vconf changed: %s", _pid, name); for (i = 0; i < sizeof(evtops) / sizeof(evtops[0]); i++) { struct evt_ops *eo = &evtops[i]; @@ -536,7 +535,6 @@ static int __before_loop(struct agent_priv *agent, int argc, char **argv) } } agent->state = AGS_CREATED; - sysman_inform_backgrd(); return 0; } -- 2.7.4