Modificaiton for Multi user support. 67/16267/3 accepted/tizen_ivi accepted/tizen_ivi_panda tizen accepted/tizen/ivi/20140410.192150 accepted/tizen/ivi/panda/20140408.203243 submit/tizen/20140407.161301
authorSourav Saha <sourav.saha048@gmail.com>
Wed, 12 Feb 2014 16:04:26 +0000 (21:34 +0530)
committerSourav Saha <sourav.saha@samsung.com>
Tue, 18 Feb 2014 15:14:52 +0000 (20:44 +0530)
Bug-Tizen: PTREL-190

Change-Id: I5129d9995fd6a5194acc2049766c6386a6ee60c4
Signed-off-by: Sourav Saha <sourav.saha@samsung.com>
packaging/call-setting.spec

index 9e27bd0..fb1b80d 100755 (executable)
@@ -23,6 +23,7 @@ BuildRequires: pkgconfig(msg-service)
 BuildRequires: pkgconfig(capi-appfw-application)
 BuildRequires: pkgconfig(capi-appfw-app-manager)
 BuildRequires: pkgconfig(ui-gadget-1)
+BuildRequires: libtzplatform-config-devel
 BuildRequires: cmake
 BuildRequires: gettext
 BuildRequires: libug-contacts-devel
@@ -46,44 +47,44 @@ make %{?jobs:-j%jobs}
 mkdir -p %{buildroot}/opt/usr/ug/ug-setting-call
 
 %post
-chown -R 5000:5000 /opt/usr/ug/ug-setting-call
+chgrp -R %{TZ_SYS_USER_GROUP} /opt/usr/ug/ug-setting-call
 
-vconftool set -t int db/ciss/show_my_number "0" -g 6514
-vconftool set -t bool db/ciss/auto_reject "1" -g 6514
-vconftool set -t bool db/ciss/auto_reject_unknown "0" -g 6514
-vconftool set -t bool db/ciss/prefix_dial "0" -g 6514
-vconftool set -t int db/ciss/prefix_dial_cnt "0" -g 6514
-vconftool set -t string db/ciss/prefix_dial_num1 "" -g 6514
-vconftool set -t string db/ciss/prefix_dial_num2 "" -g 6514
-vconftool set -t string db/ciss/prefix_dial_num3 "" -g 6514
-vconftool set -t string db/ciss/prefix_dial_num4 "" -g 6514
-vconftool set -t string db/ciss/prefix_dial_num5 "" -g 6514
-vconftool set -t int db/ciss/reject_call_message_cnt "5" -g 6514
-vconftool set -t string db/ciss/user_create_message1 "IDS_CST_BODY_IM_DRIVING" -g 6514
-vconftool set -t string db/ciss/user_create_message2 "IDS_CST_BODY_IM_IN_A_MEETING" -g 6514
-vconftool set -t string db/ciss/user_create_message3 "IDS_CST_BODY_IM_IN_CLASS_NOW" -g 6514
-vconftool set -t string db/ciss/user_create_message4 "IDS_CST_BODY_IM_AT_THE_CINEMA" -g 6514
-vconftool set -t string db/ciss/user_create_message5 "IDS_CST_BODY_SORRY_I_AM_BUSY_PLEASE_CALL_BACK_LATER" -g 6514
-vconftool set -t string db/ciss/user_create_message6 "" -g 6514
-vconftool set -t int db/ciss/answering_mode "0" -g 6514
-vconftool set -t int db/ciss/answering_mode_time "1" -g 6514
-vconftool set -t bool db/ciss/call_connect_tone "1" -g 6514
-vconftool set -t bool db/ciss/minute_minder "0" -g 6514
-vconftool set -t bool db/ciss/call_end_tone "1" -g 6514
-vconftool set -t int db/ciss/alert_on_call "1" -g 6514
-vconftool set -t string db/ciss/video_image_path "/usr/ug/res/images/ug-setting-call-efl/video_call_image_default.jpg" -g 6514
-vconftool set -t bool db/ciss/own_video "1" -g 6514
-vconftool set -t int db/ciss/prefix_dial_value "0" -g 6514
-vconftool set -t bool db/ciss/call_answering_key "0" -g 6514
-vconftool set -t bool db/ciss/call_power_key_ends_call "0" -g 6514
-vconftool set -t bool db/ciss/proximity_sensor "1" -g 6514
-vconftool set -t int db/ciss/outgoing_call_conditions "0" -g 6514
-vconftool set -t int db/ciss/outgoing_call_type "1" -g 6514
-vconftool set -t bool db/ciss/eye_contact "0" -g 6514
-vconftool set -t bool db/ciss/noise_reduction "1" -g 6514
-vconftool set -t int db/ciss/in_call_sound_eq "0" -g 6514
-vconftool set -t bool db/ciss/extra_vol "1" -g 6514
-vconftool set -t bool db/ciss/increase_ringtone "1" -g 6514
+vconftool set -t int db/ciss/show_my_number "0" -g 6514 -f
+vconftool set -t bool db/ciss/auto_reject "1" -g 6514 -f 
+vconftool set -t bool db/ciss/auto_reject_unknown "0" -g 6514 -f
+vconftool set -t bool db/ciss/prefix_dial "0" -g 6514 -f
+vconftool set -t int db/ciss/prefix_dial_cnt "0" -g 6514 -f
+vconftool set -t string db/ciss/prefix_dial_num1 "" -g 6514 -f
+vconftool set -t string db/ciss/prefix_dial_num2 "" -g 6514 -f
+vconftool set -t string db/ciss/prefix_dial_num3 "" -g 6514 -f
+vconftool set -t string db/ciss/prefix_dial_num4 "" -g 6514 -f
+vconftool set -t string db/ciss/prefix_dial_num5 "" -g 6514 -f
+vconftool set -t int db/ciss/reject_call_message_cnt "5" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message1 "IDS_CST_BODY_IM_DRIVING" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message2 "IDS_CST_BODY_IM_IN_A_MEETING" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message3 "IDS_CST_BODY_IM_IN_CLASS_NOW" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message4 "IDS_CST_BODY_IM_AT_THE_CINEMA" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message5 "IDS_CST_BODY_SORRY_I_AM_BUSY_PLEASE_CALL_BACK_LATER" -g 6514 -f
+vconftool set -t string db/ciss/user_create_message6 "" -g 6514 -f
+vconftool set -t int db/ciss/answering_mode "0" -g 6514 -f
+vconftool set -t int db/ciss/answering_mode_time "1" -g 6514 -f
+vconftool set -t bool db/ciss/call_connect_tone "1" -g 6514 -f
+vconftool set -t bool db/ciss/minute_minder "0" -g 6514 -f
+vconftool set -t bool db/ciss/call_end_tone "1" -g 6514 -f
+vconftool set -t int db/ciss/alert_on_call "1" -g 6514 -f
+vconftool set -t string db/ciss/video_image_path "/usr/ug/res/images/ug-setting-call-efl/video_call_image_default.jpg" -g 6514 -f
+vconftool set -t bool db/ciss/own_video "1" -g 6514 -f
+vconftool set -t int db/ciss/prefix_dial_value "0" -g 6514 -f
+vconftool set -t bool db/ciss/call_answering_key "0" -g 6514 -f
+vconftool set -t bool db/ciss/call_power_key_ends_call "0" -g 6514 -f
+vconftool set -t bool db/ciss/proximity_sensor "1" -g 6514 -f
+vconftool set -t int db/ciss/outgoing_call_conditions "0" -g 6514 -f
+vconftool set -t int db/ciss/outgoing_call_type "1" -g 6514 -f
+vconftool set -t bool db/ciss/eye_contact "0" -g 6514 -f
+vconftool set -t bool db/ciss/noise_reduction "1" -g 6514 -f
+vconftool set -t int db/ciss/in_call_sound_eq "0" -g 6514 -f
+vconftool set -t bool db/ciss/extra_vol "1" -g 6514 -f
+vconftool set -t bool db/ciss/increase_ringtone "1" -g 6514 -f
 
 %files
 %manifest call-setting.manifest
@@ -95,4 +96,4 @@ vconftool set -t bool db/ciss/increase_ringtone "1" -g 6514
 /usr/ug/res/edje/ug-setting-call-efl/ug_effect.edj
 /usr/ug/res/images/ug-setting-call-efl/*
 /usr/ug/res/locale/*/LC_MESSAGES/ug-setting-call-efl.mo
-/etc/smack/accesses2.d/ug.setting-call-efl.include
\ No newline at end of file
+/etc/smack/accesses2.d/ug.setting-call-efl.include