Remove libprivilege-control dependency 43/54843/1 accepted/tizen/mobile/20151221.102247 accepted/tizen/tv/20151221.102018 accepted/tizen/wearable/20151221.102216 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_mobile/20151221.045121 submit/tizen_tv/20151221.045117 submit/tizen_wearable/20151221.045114
authorTaejin Woo <tt.woo@samsung.com>
Fri, 18 Dec 2015 06:57:54 +0000 (15:57 +0900)
committerTaejin Woo <tt.woo@samsung.com>
Fri, 18 Dec 2015 06:58:41 +0000 (15:58 +0900)
Change-Id: I2b96ae41358b5e23e06a7e6b3ed951d4f54f6754
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
bt-share/CMakeLists.txt
bt-share/src/bt-share-main.c
packaging/bluetooth-share.spec

index 85d2df6..bb3da14 100644 (file)
@@ -20,7 +20,7 @@ pkg_check_modules(pkgs REQUIRED glib-2.0 bluetooth-api
                                dbus-glib-1 appcore-common
                                dlog vconf pmapi sysman
                                notification sqlite3 ecore-file
-                               appsvc appcore-efl libprivilege-control
+                               appsvc appcore-efl
                                capi-content-media-content
                                libtzplatform-config)
 pkg_check_modules(CALENDAR_SERVICE2 calendar-service2)
index 59ffc36..e7c805f 100644 (file)
@@ -21,7 +21,6 @@
 #include <glib-object.h>
 #include <string.h>
 #include <appcore-efl.h>
-#include <privilege-control.h>
 #include <vconf.h>
 
 /* For multi-user support */
@@ -302,11 +301,6 @@ int main(void)
        if (appcore_set_i18n(BT_COMMON_PKG, BT_COMMON_RES) < 0)
                return -1;
 
-       /* Set the uid / gid to 5000 */
-       if (perm_app_set_privilege("com.samsung.bluetooth-share", NULL, NULL) !=
-                                                       PC_OPERATION_SUCCESS)
-               ERR("Failed to set app privilege.\n");
-
        bluetooth_register_callback(_bt_share_event_handler, NULL);
        ret = bluetooth_opc_init();
        if (ret != BLUETOOTH_ERROR_NONE) {
index 30ffccd..5b752e6 100644 (file)
@@ -31,7 +31,6 @@ BuildRequires:  pkgconfig(sysman)
 BuildRequires:  pkgconfig(notification)
 BuildRequires:  pkgconfig(appsvc)
 BuildRequires:  pkgconfig(db-util)
-BuildRequires:  pkgconfig(libprivilege-control)
 BuildRequires:  pkgconfig(capi-content-media-content)
 BuildRequires:  pkgconfig(libtzplatform-config)