Remove sysman dependency 65/40065/2
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>
Thu, 28 May 2015 11:27:09 +0000 (20:27 +0900)
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>
Fri, 29 May 2015 05:30:43 +0000 (14:30 +0900)
Change-Id: I14f9b3469efc10608435ba26ff81af07863a6f0e

packaging/org.tizen.settings-tv-ref.spec
ug/system/clock/CMakeLists.txt
ug/system/clock/src/ug_clock_utils.c

index a51ac57..2139bd2 100644 (file)
@@ -27,7 +27,6 @@ BuildRequires:        pkgconfig(capi-network-wifi)
 BuildRequires: pkgconfig(capi-network-connection)
 BuildRequires: pkgconfig(capi-media-sound-manager)
 BuildRequires:  pkgconfig(wifi-direct)
-BuildRequires:  pkgconfig(sysman)
 BuildRequires: gettext-devel
 BuildRequires: vconf
 #BuildRequires:        pkgconfig(capi-appfw-tvcontext)
index 155d397..8836c87 100644 (file)
@@ -28,9 +28,7 @@ pkg_check_modules(UG_CLOCK_PKGS REQUIRED
        elementary
        aul
        ui-gadget-1
-       sysman
 )
-       #ecore-x
 
 SET(PKGS_LDFLAGS "${PKGS_LDFLAGS} ${UG_CLOCK_PKGS_LDFLAGS}")
 
index 4cb0969..a164582 100644 (file)
@@ -15,7 +15,6 @@
  */
 
 #include <vconf.h>
-#include <sysman_managed.h>
 
 #include "dbg.h"
 #include "ug_clock_utils.h"
@@ -313,6 +312,7 @@ static struct tm *_get_current_time()
 }
 
 /**
+* FIXME: sysman is not supported anymore
 * Set date and time of system.
 *
 * This function sets date and time of system using sysman interface
@@ -324,17 +324,5 @@ static struct tm *_get_current_time()
 */
 static void _set_datetime(struct tm *t)
 {
-       int r;
-       time_t tt;
-
-       if (!t) {
-               _ERR("invalid struct tm pointer.");
-               return;
-       }
-
-       tt = mktime(t);
-
-       r = sysman_set_datetime(tt);
-       if (r == -1)
-               _ERR("sysman set date and time failed. r: %d", r);
+       _ERR("FIXME: sysman is not supported anymore");
 }