summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2015-08-13 20:23:04 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2015-08-13 20:23:04 +0900
commit87618b7a06a258a8e1deb96a2981efa15a1d5bb2 (patch)
treed99cbd4628ee0cc1557cd56d0768ef9160745e56
parente36e9d60753ba0b9248f461dcd6604b8a8bffd4b (diff)
downloaddeviced-87618b7a06a258a8e1deb96a2981efa15a1d5bb2.tar.gz
deviced-87618b7a06a258a8e1deb96a2981efa15a1d5bb2.tar.bz2
deviced-87618b7a06a258a8e1deb96a2981efa15a1d5bb2.zip
Currently libdeviced still use dbus-glib api. But it is deprecated so remove it asap. To solve build break issue, a temporary patch is added. Change-Id: I859e6fa276c048996c8e988c62265af3a08a1673 Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
-rwxr-xr-xCMakeLists.txt1
-rw-r--r--packaging/deviced.spec2
-rwxr-xr-xsrc/libdeviced/CMakeLists.txt1
3 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 18e03e45..123838d6 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -137,6 +137,7 @@ SET(PKG_MODULES
libudev
device-node
capi-base-common
+ dbus-1
gio-2.0
libtzplatform-config
notification
diff --git a/packaging/deviced.spec b/packaging/deviced.spec
index 56ffbd84..edfb01fe 100644
--- a/packaging/deviced.spec
+++ b/packaging/deviced.spec
@@ -54,6 +54,8 @@ BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(device-node)
BuildRequires: pkgconfig(edbus)
BuildRequires: pkgconfig(capi-base-common)
+BuildRequires: pkgconfig(dbus-1)
+BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(libtzplatform-config)
diff --git a/src/libdeviced/CMakeLists.txt b/src/libdeviced/CMakeLists.txt
index 71e13b05..17de698a 100755
--- a/src/libdeviced/CMakeLists.txt
+++ b/src/libdeviced/CMakeLists.txt
@@ -23,6 +23,7 @@ pkg_check_modules(libpkgs REQUIRED
vconf
dlog
dbus-1
+ dbus-glib-1
edbus)
FOREACH(flag ${libpkgs_CFLAGS})