From 2c43f40899d631b0bf00d574ca233884f29aae40 Mon Sep 17 00:00:00 2001 From: Mu-Woong Lee Date: Mon, 6 Mar 2017 12:45:08 +0900 Subject: [PATCH] Enable app-history service Change-Id: Idc6d78341a44bd4c98891fe21738b2df5be4d8cc Signed-off-by: Mu-Woong Lee --- CMakeLists.txt | 1 + packaging/context-service.spec | 1 + src/ServiceLoader.cpp | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04043ff..6d7163c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,6 +6,7 @@ SET(target "contextd") SET(DEPS "libsystemd-login glib-2.0 gio-2.0 dlog capi-base-common alarm-service") SET(DEPS "${DEPS} context-common-server") +SET(DEPS "${DEPS} app-history-server") SET(DEPS "${DEPS} sensor-recorder-server") SET(DEPS "${DEPS} context-store-server") diff --git a/packaging/context-service.spec b/packaging/context-service.spec index ba0d993..cbe59f8 100644 --- a/packaging/context-service.spec +++ b/packaging/context-service.spec @@ -17,6 +17,7 @@ BuildRequires: pkgconfig(capi-base-common) BuildRequires: pkgconfig(alarm-service) BuildRequires: pkgconfig(context-common-server) +BuildRequires: pkgconfig(app-history-server) BuildRequires: pkgconfig(sensor-recorder-server) BuildRequires: pkgconfig(context-store-server) diff --git a/src/ServiceLoader.cpp b/src/ServiceLoader.cpp index 9f4383a..fc298ab 100644 --- a/src/ServiceLoader.cpp +++ b/src/ServiceLoader.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -//#include +#include #include #include //#include @@ -42,7 +42,7 @@ ServiceLoader::~ServiceLoader() bool ServiceLoader::load(GDBusConnection* conn) { - //__create(conn); + __create(conn); __create(conn); __create(conn); //__create(conn); -- 2.34.1