From c08513cf38183bf798f6258fbb27fcb075e54d81 Mon Sep 17 00:00:00 2001 From: Manasij Sur Roy Date: Thu, 24 Mar 2016 08:48:25 +0530 Subject: [PATCH] Added gobject dependency Change-Id: I6e79635f84e29d48f07666cc87d0ca6519360b95 Signed-off-by: Manasij Sur Roy --- client/CMakeLists.txt | 1 + fido_svc_ui/CMakeLists.txt | 18 ++++++++++-------- packaging/fido-client.spec | 1 + server/CMakeLists.txt | 31 ++++++++++++++++--------------- test/Dummy_ASM_DBUS/CMakeLists.txt | 15 ++++++++------- test/Fido_Sample_RPM/CMakeLists.txt | 1 + 6 files changed, 37 insertions(+), 30 deletions(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index a76b98c..6de10d1 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -16,6 +16,7 @@ pkg_check_modules(CLIENT_PKGS REQUIRED dlog glib-2.0 gio-unix-2.0 + gobject-2.0 capi-base-common json-glib-1.0 openssl diff --git a/fido_svc_ui/CMakeLists.txt b/fido_svc_ui/CMakeLists.txt index f680bdd..39c7762 100644 --- a/fido_svc_ui/CMakeLists.txt +++ b/fido_svc_ui/CMakeLists.txt @@ -39,14 +39,16 @@ ADD_DEFINITIONS("-DPACKAGE=\"${PACKAGE_NAME}\"") INCLUDE(FindPkgConfig) pkg_check_modules(UI_PKGS REQUIRED - elementary - efl-extension - capi-appfw-application - capi-system-system-settings - dlog - json-glib-1.0 - glib-2.0 - gio-unix-2.0) + elementary + efl-extension + capi-appfw-application + capi-system-system-settings + dlog + json-glib-1.0 + glib-2.0 + gio-unix-2.0 + gobject-2.0 +) FOREACH(flag ${UI_PKGS_CFLAGS}) SET(EXTRA_CFLGAS "${EXTRA_CFLGAS} ${flag}") diff --git a/packaging/fido-client.spec b/packaging/fido-client.spec index 991f809..202c7b3 100644 --- a/packaging/fido-client.spec +++ b/packaging/fido-client.spec @@ -34,6 +34,7 @@ BuildRequires: pkgconfig(cynara-creds-gdbus) BuildRequires: pkgconfig(pkgmgr-info) BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(gobject-2.0) ##BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(capi-appfw-app-manager) BuildRequires: pkgconfig(libsoup-2.4) diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt index af57f99..ae0d947 100644 --- a/server/CMakeLists.txt +++ b/server/CMakeLists.txt @@ -4,21 +4,22 @@ INCLUDE(FindPkgConfig) if(USE_JSON_BUILDER) pkg_check_modules(SERVER_pkgs REQUIRED - dlog - glib-2.0 - gio-unix-2.0 - capi-base-common - json-glib-1.0 - capi-appfw-application - aul - libsoup-2.4 - capi-appfw-app-manager - openssl - bundle - cynara-client - cynara-session - cynara-creds-gdbus - libtzplatform-config + dlog + glib-2.0 + gio-unix-2.0 + gobject-2.0 + capi-base-common + json-glib-1.0 + capi-appfw-application + aul + libsoup-2.4 + capi-appfw-app-manager + openssl + bundle + cynara-client + cynara-session + cynara-creds-gdbus + libtzplatform-config ) else() pkg_check_modules(SERVER_pkgs REQUIRED diff --git a/test/Dummy_ASM_DBUS/CMakeLists.txt b/test/Dummy_ASM_DBUS/CMakeLists.txt index bf903fc..b3d9ab9 100644 --- a/test/Dummy_ASM_DBUS/CMakeLists.txt +++ b/test/Dummy_ASM_DBUS/CMakeLists.txt @@ -2,13 +2,14 @@ SET(ASM_DAEMON dummyasm-service) INCLUDE(FindPkgConfig) pkg_check_modules(ASM_PKGS REQUIRED - dlog - glib-2.0 - gio-unix-2.0 - capi-base-common - vconf - json-glib-1.0 - capi-appfw-application + dlog + glib-2.0 + gio-unix-2.0 + gobject-2.0 + capi-base-common + vconf + json-glib-1.0 + capi-appfw-application ) FOREACH(flag ${ASM_PKGS_CFLAGS}) diff --git a/test/Fido_Sample_RPM/CMakeLists.txt b/test/Fido_Sample_RPM/CMakeLists.txt index bffac49..dcedc2e 100644 --- a/test/Fido_Sample_RPM/CMakeLists.txt +++ b/test/Fido_Sample_RPM/CMakeLists.txt @@ -44,6 +44,7 @@ pkg_check_modules(TEST_PKGS REQUIRED efl-extension capi-appfw-application capi-system-system-settings + capi-base-common dlog json-glib-1.0 glib-2.0 -- 2.7.4