removed heynoti dep
authorMyoungJune Park <mj2004.park@samsung.com>
Mon, 26 Nov 2012 06:25:39 +0000 (15:25 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Mon, 26 Nov 2012 06:25:39 +0000 (15:25 +0900)
15 files changed:
packaging/org.tizen.setting.spec
setting-memory/CMakeLists.txt
setting-memory/include/setting-memory.h
setting-phone/CMakeLists.txt
setting-phone/include/setting-phone.h
setting-phone/src/setting-phone.c
setting-reset/CMakeLists.txt
setting-reset/src/setting-reset-settings.c
setting-time/CMakeLists.txt
setting-time/include/setting-time-main.h
setting-time/include/setting-time.h
setting-time/src/setting-time-engine.c
setting-time/src/setting-time-main.c
src/CMakeLists.txt
src/setting.c

index 03abcdb..ad3d21b 100755 (executable)
@@ -16,7 +16,6 @@ BuildRequires:  pkgconfig(haptic)
 BuildRequires:  pkgconfig(bluetooth-api)
 BuildRequires:  pkgconfig(mm-sound)
 BuildRequires:  pkgconfig(openssl)
-BuildRequires:  pkgconfig(heynoti)
 BuildRequires:  pkgconfig(ui-gadget-1)
 BuildRequires:  pkgconfig(json-glib-1.0)
 BuildRequires:  pkgconfig(libxml-2.0)
@@ -406,7 +405,6 @@ fi
 /usr/apps/org.tizen.setting/bin/setting_conf_util timezone_init
 chown 5000:5000 /opt/data/setting -R
 #------------------------------------------
-heynotitool set setting_time_changed -a
 sync
 
 mkdir -p /usr/ug/bin/
index 89714d5..ca32e35 100755 (executable)
@@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
 
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_memory REQUIRED elementary appcore-common appcore-efl ui-gadget-1 capi-appfw-application tapi devman heynoti sysman)
+pkg_check_modules(pkgs_memory REQUIRED elementary appcore-common appcore-efl ui-gadget-1 capi-appfw-application tapi devman sysman)
 
 FOREACH(flag ${pkgs_memory_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index e483df6..fd1eabd 100755 (executable)
@@ -26,7 +26,6 @@
 
 #include <glib-object.h>
 
-#include <heynoti.h>
 #include <utilX.h>
 
 #include <setting-common-draw-widget.h>
index 91caea3..9832b37 100755 (executable)
@@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
 
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_phone REQUIRED evas eina ecore elementary appcore-common appcore-efl haptic heynoti  tapi ui-gadget-1 capi-appfw-application appsvc libxml-2.0)
+pkg_check_modules(pkgs_phone REQUIRED evas eina ecore elementary appcore-common appcore-efl haptic tapi ui-gadget-1 capi-appfw-application appsvc libxml-2.0)
 
 FOREACH(flag ${pkgs_phone_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index b10e0b6..bb52ad1 100755 (executable)
@@ -23,7 +23,6 @@
 
 #include <stdio.h>
 #include <Elementary.h>
-#include <heynoti.h>
 
 #include <glib-object.h>
 
index 1595259..0eebb32 100755 (executable)
@@ -665,6 +665,7 @@ UG_MODULE_API int setting_plugin_reset(service_h service, void *priv)
        {
                SETTING_TRACE("Begin to reset language & region...");
                //a. notify system language changed
+               #if 0
                char lang_changed_sys_noti_name[SYS_NOTI_NAME_LEN];
                int res = -1;
                res = heynoti_get_snoti_name("LANG_CHANGED",
@@ -674,7 +675,7 @@ UG_MODULE_API int setting_plugin_reset(service_h service, void *priv)
                        heynoti_publish(lang_changed_sys_noti_name);
                }
                ret += res;
-
+               #endif
                //b .reset default localeid
                int err = -1;
                uloc_setDefault("en_US", &err);
index a91c69e..58b433e 100644 (file)
@@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
 
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_reset REQUIRED evas ecore elementary appcore-common appcore-efl tapi json-glib-1.0 ui-gadget-1 capi-appfw-application mm-sound dlog heynoti )
+pkg_check_modules(pkgs_reset REQUIRED evas ecore elementary appcore-common appcore-efl tapi json-glib-1.0 ui-gadget-1 capi-appfw-application mm-sound dlog)
 
 FOREACH(flag ${pkgs_reset_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index 49bdd8a..6ee6d73 100755 (executable)
@@ -20,7 +20,6 @@
  */
 #include <setting-cfg.h>
 #include <setting-reset-settings.h>
-#include <heynoti.h>
 #include <Ecore_X.h>
 #include <utilX.h>
 
index 258d14b..08fe9d5 100755 (executable)
@@ -3,7 +3,7 @@ INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${SETTING_COMMON}/include)
 
 
 INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs_time REQUIRED evas elementary appcore-common appcore-efl ecore tapi heynoti ui-gadget-1 capi-appfw-application sysman pmapi icu-i18n icu-io icu-le icu-lx icu-uc)
+pkg_check_modules(pkgs_time REQUIRED evas elementary appcore-common appcore-efl ecore tapi ui-gadget-1 capi-appfw-application sysman pmapi icu-i18n icu-io icu-le icu-lx icu-uc)
 
 FOREACH(flag ${pkgs_time_CFLAGS})
        SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
index 9dc665f..9880767 100755 (executable)
@@ -30,9 +30,6 @@
 #define __MAX_PATH_SIZE                1024
 
 
-/* TODO once time changes, heynoti message is sent.
-        need to see this is proper design */
-
 #define SETTING_TIME_ZONEINFO_PATH             "/usr/share/zoneinfo/"
 #define SETTING_TIME_SHARE_LOCAL_PATH  "/usr/share/locale"
 #define SETTING_TZONE_SYMLINK_PATH             "/opt/etc/localtime"
index 5597955..8785efd 100755 (executable)
@@ -31,8 +31,6 @@
 
 #include <glib-object.h>
 
-#include <heynoti.h>
-
 #include <setting-common-draw-widget.h>
 #include <setting-common-view.h>
 #define ERR_BIGGER_THAN_2037 "Cannot Set the year bigger than 2037"
@@ -66,7 +64,6 @@ struct _SettingTimeUG {
        char *caller;
 
        Ecore_Timer *update_timer;
-       Ecore_Timer *heynoti_timer;
        Evas_Object *pop_progress;
        Evas_Object *pop;
        Eina_Bool is_datefield_selected;
index 1cdfdd2..4f26a4e 100755 (executable)
@@ -20,7 +20,6 @@
  */
 #include <setting-time-engine.h>
 
-/*  To set system time takes some time. It makes some time before firing heynoti of setting_time_changed.*/
 int setting_time_update_cb(void *data)
 {
        retv_if(data == NULL, -1);
index ce56cd7..92caaae 100755 (executable)
@@ -971,7 +971,6 @@ setting_time_main_launch_worldclock_result_ug_cb(ui_gadget_h ug,
 
        // update the display for timezone
        setting_update_timezone(ad);
-       //heynoti_publish(SETTING_TIME_CHANGED);
        static int t_event_val = -1;
        vconf_set_int (VCONFKEY_SYSTEM_TIME_CHANGED, t_event_val);
        SETTING_TRACE_END;
@@ -1239,7 +1238,7 @@ static void __time_auto_update(void *data)
                elm_datetime_value_set(ad->data_time->eo_check, &ts_ret);
        }
 
-       // c.heynoti_publish
+       // event notification
        static int t_event_val = -1;
        vconf_set_int (VCONFKEY_SYSTEM_TIME_CHANGED, t_event_val);
 }
index 71a79af..44153c1 100755 (executable)
@@ -4,7 +4,7 @@ pkg_check_modules(pkgs_main REQUIRED
                                          glib-2.0 gthread-2.0 elementary
                                          appcore-common appcore-efl
                                          tapi
-                                         utilX heynoti
+                                         utilX
                                          dlog json-glib-1.0
                                          ui-gadget-1
                                          capi-appfw-application aul
index c702afb..d867f6b 100755 (executable)
@@ -22,7 +22,6 @@
 #include <app.h>
 
 #include <appcore-common.h>
-#include <heynoti.h>
 #include <Ecore_X.h>
 #include <sensor.h>
 #include <aul.h>