Name: org.tizen.setting
Summary: Setting application
-Version: 0.1.87
+Version: 0.1.100
Release: 99
Group: misc
-License: Flora License, Version 1
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
+Source1: packaging/firewall.service
BuildRequires: pkgconfig(appcore-common)
BuildRequires: pkgconfig(appcore-efl)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(tapi)
BuildRequires: pkgconfig(utilX)
-BuildRequires: pkgconfig(devman)
-BuildRequires: pkgconfig(haptic)
BuildRequires: pkgconfig(bluetooth-api)
BuildRequires: pkgconfig(mm-sound)
+BuildRequires: pkgconfig(mm-keysound)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(ui-gadget-1)
BuildRequires: pkgconfig(json-glib-1.0)
-BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(aul)
-BuildRequires: pkgconfig(pmapi)
BuildRequires: pkgconfig(ecore-input)
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(ail)
-BuildRequires: pkgconfig(sysman)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(dbus-glib-1)
+BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(ecore-imf)
BuildRequires: pkgconfig(ecore-x)
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(icu-lx)
BuildRequires: pkgconfig(icu-uc)
BuildRequires: pkgconfig(ewebkit2)
+BuildRequires: pkgconfig(accounts-svc)
+#BuildRequires: pkgconfig(drm-client)
+#BuildRequires: pkgconfig(drm-trusted)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(mm-player)
BuildRequires: pkgconfig(capi-network-connection)
-#BuildRequires: pkgconfig(network)
-#BuildRequires: pkgconfig(security-server)
-BuildRequires: pkgconfig(svi)
+BuildRequires: pkgconfig(security-server)
+BuildRequires: pkgconfig(feedback)
BuildRequires: pkgconfig(appsvc)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(notification)
-BuildRequires: pkgconfig(pango)
+BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(capi-system-runtime-info)
BuildRequires: pkgconfig(capi-media-player)
BuildRequires: pkgconfig(capi-media-sound-manager)
+BuildRequires: pkgconfig(capi-media-recorder)
BuildRequires: pkgconfig(capi-content-media-content)
BuildRequires: pkgconfig(capi-system-device)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(capi-appfw-preference)
BuildRequires: pkgconfig(capi-system-sensor)
BuildRequires: pkgconfig(capi-system-info)
BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: pkgconfig(capi-network-wifi)
BuildRequires: pkgconfig(capi-network-bluetooth)
-BuildRequires: pkgconfig(capi-network-tethering)
-BuildRequires: pkgconfig(capi-network-nfc)
+#BuildRequires: pkgconfig(capi-network-tethering)
+BuildRequires: pkgconfig(capi-media-metadata-extractor)
+BuildRequires: pkgconfig(shortcut)
+BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(ecore-evas)
+#BuildRequires: pkgconfig(livebox-service)
BuildRequires: pkgconfig(pkgmgr)
-BuildRequires: sysman-internal-devel
+BuildRequires: pkgconfig(storage)
+BuildRequires: pkgconfig(pkgmgr-info)
+BuildRequires: pkgconfig(iniparser)
+BuildRequires: pkgconfig(tts)
+BuildRequires: pkgconfig(alarm-service)
+BuildRequires: pkgconfig(contacts-service2)
+#BuildRequires: pkgconfig(ode_client)
+BuildRequires: pkgconfig(deviced)
+BuildRequires: pkgconfig(badge)
+BuildRequires: pkgconfig(efl-assist)
+#BuildRequires: pkgconfig(setting-common-internal)
+BuildRequires: pkgconfig(sqlite3)
+BuildRequires: pkgconfig(capi-media-camera)
+BuildRequires: pkgconfig(notification)
+BuildRequires: pkgconfig(syspopup)
+BuildRequires: pkgconfig(syspopup-caller)
+#BuildRequires: pkgconfig(capi-eas-common)
+#BuildRequires: pkgconfig(helpui)
+BuildRequires: pkgconfig(app2sd)
+#BuildRequires: pkgconfig(capi-context-manager)
+BuildRequires: pkgconfig(capi-media-image-util)
+BuildRequires: pkgconfig(capi-appfw-package-manager)
+BuildRequires: pkgconfig(capi-telephony)
+BuildRequires: libcap-devel
BuildRequires: cmake
BuildRequires: edje-tools
BuildRequires: gettext-tools
-#Requires: org.tizen.phone
-Requires: ug-bluetooth-efl
+BuildRequires: efl-assist-devel
+BuildRequires: capi-security-privilege-manager-devel
+BuildRequires: hash-signer
+#BuildRequires: system-resource-devel-meta
+BuildRequires: model-build-features
+
+#Requires: libeas-common
+Requires: capi-security-privilege-manager
+Requires(post): attr
+
%description
Setting application
BEAT UI, Setting application.
+%package ref
+Summary: replacement for org.tizen.setting.xml
+Group: TO_BE/FILLED_IN
+Requires(post): org.tizen.setting
+
+%description ref
+replace for org.tizen.setting.xml
+ need to check
+
+%package devel
+Summary: A setting common library (Development)
+Group: TO_BE/FILLED_IN
+
+#Requires: %{name} = %{version}-%{release}
+#Requires: pkgconfig(setting-common-internal)
+%description devel
%prep
%setup -q
%define PREFIX "/usr/apps/org.tizen.setting"
%define RESDIR "/usr/apps/org.tizen.setting/res"
%define DATADIR "/usr/apps/org.tizen.setting/data"
-CFLAGS+=" -fPIC";export CFLAGS
-CXXFLAGS+=" -fPIC";export CFLAGS
+%define PREF_DATADIR "/opt/usr/apps/org.tizen.setting/data"
+%define IMAGEDIR "/usr/apps/org.tizen.setting/res/images"
+CFLAGS+=" -fPIC -fvisibility=hidden ";export CFLAGS
+CXXFLAGS+=" -fPIC -fvisibility=hidden ";export CFLAGS
LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--hash-style=both -Wl,--as-needed";export LDFLAGS
+%if 0%{?sec_build_binary_debug_enable}
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
+export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
+%endif
+
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+%endif
+
+
%ifarch %{arm}
- cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} -DARCH=arm
+export CFLAGS="$CFLAGS -DTIZEN_BUILD_TARGET"
%else
- cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} -DARCH=x86
+export CFLAGS="$CFLAGS -DTIZEN_BUILD_EMULATOR"
%endif
+%ifarch %{arm}
+ cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} -DARCH=arm \
+%else
+ cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} -DARCH=x86 \
+%endif
+%if 0%{?tizen_build_binary_release_type_eng}
+ -DBINARY_RELEASE_TYPE_ENG=YES \
+%endif
+
+# build all
make
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/opt/data/setting
+%define tizen_sign 1
+%define tizen_sign_base /usr/apps/org.tizen.setting
+%define tizen_sign_level platform
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
+
+mkdir -p %{buildroot}%{PREF_DATADIR}
+mkdir -p %{buildroot}/opt/usr/apps/org.tizen.mode-syspopup/data
+mkdir -p %{buildroot}%{_libdir}/systemd/system/multi-user.target.wants
+mkdir -p %{buildroot}%{_libdir}/systemd/system/default.target.wants
%clean
%post
+update-mime-database /usr/share/mime
+
+
+#setting cap_raw/admin to iptables lib
+#setcap cap_net_admin,cap_net_raw=ei /usr/sbin/iptables-multi
+setfattr -n security.capability -v 0sAQAAAgAAAAAAMAAAAAAAAAAAAAA= /usr/sbin/iptables-multi
+
+#for personal page
+#mkdir -p /opt/usr/.personalstorage
+#mkdir -p /opt/storage/personalstorage
# Set vconf values with -g/-u options
GOPTION="-g 6514"
-#resetMenuscreen
- # menuscreen app will take this vconf
- #vconftool $GOPTION set -t string db/setting/menuscreen/package_name "com.samsung.cluster-home"
-
+#Top edit mode
+ vconftool $GOPTION set -t int file/fixedGrid/grid0 "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int file/fixedGrid/grid1 "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int file/fixedGrid/grid2 "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int file/fixedGrid/grid3 "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int file/fixedGrid/grid4 "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int file/fixedGrid/grid5 "-1" -s org.tizen.setting::private
-#resetFlightmode
- vconftool $GOPTION set -t bool db/telephony/flight_mode "0" -f
+#resetMenuscreen
+%ifarch %{arm}
+ vconftool $GOPTION set -t string db/setting/menuscreen/package_name "org.tizen.homescreen" -s system::vconf_inhouse
+%else
+ vconftool $GOPTION set -t string db/setting/menuscreen/package_name "org.tizen.menu-screen" -s system::vconf_inhouse
+%endif
#resetNetwork
- vconftool $GOPTION set -t int db/setting/select_network "0"
- vconftool $GOPTION set -t int db/setting/select_network_act "0"
- vconftool $GOPTION set -t int db/setting/network_mode "0"
- vconftool $GOPTION set -t bool db/setting/3gEnabled "1"
- vconftool $GOPTION set -t bool db/setting/data_roaming "1"
+ vconftool $GOPTION set -t bool db/setting/network_restrict_mode "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/select_network "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/select_network_act "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/network_mode "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t bool db/setting/3gEnabled "1" -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/data_roaming "0" -s system::vconf_system
+ vconftool $GOPTION set -t bool memory/setting/network_mode_changed "0" -i -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/network/mobile_data_on_reminder "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/network/mobile_data_off_reminder "1" -s system::vconf_inhouse
#resetUsbConnectivity
- vconftool $GOPTION set -t int memory/setting/usb_mode "-1" -i -f
- vconftool $GOPTION set -t int memory/setting/usb_sel_mode "0" -i -f
- vconftool $GOPTION set -t int memory/setting/usb_in_mode_change "0" -i -f
- vconftool $GOPTION set -t bool db/setting/debug_mode "1" -f
+ vconftool $GOPTION set -t int memory/setting/usb_mode "-1" -i -s system::vconf_system
+ vconftool $GOPTION set -t int memory/setting/usb_in_mode_change "0" -i -s org.tizen.setting::private
+ vconftool $GOPTION set -t bool db/setting/debug_mode "0" -s system::vconf_system
+ vconftool $GOPTION set -t int db/setting/default_rendering_engine "1" -i -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/developer_option_state "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/show_cpu_info "0" -s system::vconf_system
+
+#resetHighTouch
+ vconftool $GOPTION set -t bool memory/setting/enhanced_touch "0" -s org.tizen.setting::private
#resetSound
- DEFAULT_CALL_TONE="/opt/share/settings/Ringtones/ringtone_sdk.mp3"
- DEFAULT_NOTI_TONE="/opt/share/settings/Alerts/General notification_sdk.wav"
+%ifarch %{arm}
+ DEFAULT_CALL_TONE="/opt/usr/share/settings/Ringtones/Over_the_horizon.ogg"
+%else
+ DEFAULT_CALL_TONE="/opt/usr/share/settings/Ringtones/ringtone_sdk.mp3"
+%endif
- vconftool $GOPTION set -t bool db/setting/sound/sound_on "1"
- vconftool $GOPTION set -t bool db/setting/sound/vibration_on "0"
+%ifarch %{arm}
+ DEFAULT_NOTI_TONE="/opt/usr/share/settings/Alerts/Whistle.ogg"
+%else
+ DEFAULT_NOTI_TONE="/opt/usr/share/settings/Alerts/General notification_sdk.wav"
+%endif
- vconftool $GOPTION set -t int db/setting/sound/call/ringtone_sound_volume "13"
- vconftool $GOPTION set -t int db/setting/sound/noti/sound_volume "7"
- vconftool $GOPTION set -t int db/setting/sound/media/sound_volume "7"
- vconftool $GOPTION set -t int db/setting/sound/touch_feedback/sound_volume "5"
+ vconftool $GOPTION set -t bool db/setting/sound/sound_on "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/sound/vibration_on "0" -s system::vconf_inhouse
- vconftool $GOPTION set -t int db/setting/sound/noti/vibration_level "5"
- vconftool $GOPTION set -t int db/setting/sound/touch_feedback/vibration_level "3"
- vconftool $GOPTION set -t int db/setting/sound/touch_feedback/vibration_level_bak "3" ##private key
+ vconftool $GOPTION set -t bool db/setting/sound/vibrate_when_ringing "0" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/sound/vibrate_when_notification "1" -s system::vconf_setting
- vconftool $GOPTION set -t string db/setting/sound/call/ringtone_path "${DEFAULT_CALL_TONE}"
- vconftool $GOPTION set -t int db/setting/sound/call/vibration_type "2"
+ vconftool $GOPTION set -t int db/setting/sound/noti/vibration_level "5" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/sound/touch_feedback/vibration_level "3" -s system::vconf_inhouse
- vconftool $GOPTION set -t string db/setting/sound/noti/msg_ringtone_path "${DEFAULT_NOTI_TONE}"
- vconftool $GOPTION set -t int db/setting/sound/noti/msg_alert_rep_type "0"
+ vconftool $GOPTION set -t string db/setting/sound/call/ringtone_path "${DEFAULT_CALL_TONE}" -f -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/sound/call/ringtone_default_path "${DEFAULT_CALL_TONE}" -f -s system::vconf_setting
+ vconftool $GOPTION set -t string db/setting/sound/noti/msg_ringtone_path "${DEFAULT_NOTI_TONE}" -f -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/sound/noti/ringtone_default_path "${DEFAULT_NOTI_TONE}" -f -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/sound/noti/msg_alert_rep_type "0" -s system::vconf_inhouse
- vconftool $GOPTION set -t string db/setting/sound/noti/email_ringtone_path "${DEFAULT_NOTI_TONE}"
- vconftool $GOPTION set -t int db/setting/sound/noti/email_alert_rep_type "0"
- vconftool $GOPTION set -t bool db/setting/sound/touch_sounds "1"
- vconftool $GOPTION set -t bool db/setting/sound/sound_lock "1"
+ vconftool $GOPTION set -t string db/setting/sound/noti/email_ringtone_path "${DEFAULT_NOTI_TONE}" -f -s system::vconf_inhouse
+
+ vconftool $GOPTION set -t bool db/setting/sound/button_sounds "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/sound/touch_sounds "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/sound/sound_lock "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/sound/haptic_feedback_on "0" -s system::vconf_inhouse
+
+#resetSound
+%ifarch %{arm}
+ DEFAULT_HOME="/opt/usr/share/settings/Wallpapers/Home_default.png"
+ DEFAULT_LOCK="/opt/usr/share/settings/Wallpapers/Lock_default.png"
+%else
+ # for emulator
+ DEFAULT_HOME="/opt/usr/share/settings/Wallpapers/Home_default.jpg"
+ DEFAULT_LOCK="/opt/usr/share/settings/Wallpapers/Default.jpg"
+%endif
-#resetWallpaper
- vconftool $GOPTION set -t string db/menu_widget/bgset "/opt/share/settings/Wallpapers/Home_default.jpg"
- vconftool $GOPTION set -t string db/idle_lock/bgset "/opt/share/settings/Wallpapers/Home_default.jpg"
+ vconftool $GOPTION set -t string db/menu_widget/bgset "${DEFAULT_HOME}" -f -s system::vconf_setting
+ vconftool $GOPTION set -t string db/idle_lock/bgset "${DEFAULT_LOCK}" -f -s system::vconf_setting
#resetTilt
- vconftool $GOPTION set -t bool db/setting/use_tilt "1"
- vconftool $GOPTION set -t int db/setting/tilt_sensitivity "3"
- vconftool $GOPTION set -t bool db/setting/use_tilt_scroll "1"
- vconftool $GOPTION set -t int db/setting/tilt_scroll_sensitivity "3"
+ vconftool $GOPTION set -t bool db/setting/use_tilt "0" -s system::vconf_inhouse
#resetPanning
- vconftool $GOPTION set -t bool db/setting/use_panning "0"
- vconftool $GOPTION set -t int db/setting/panning_sensitivity "3"
- vconftool $GOPTION set -t bool db/setting/use_panning_browser "1"
- vconftool $GOPTION set -t int db/setting/panning_browser_sensitivity "3"
+ vconftool $GOPTION set -t bool db/setting/use_panning "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/panning_sensitivity "3" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/use_panning_browser "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/panning_browser_sensitivity "3" -s org.tizen.setting::private
#resetDoubleTap
- vconftool $GOPTION set -t bool db/setting/use_double_tap "1"
+ vconftool $GOPTION set -t bool db/setting/use_double_tap "0" -s system::vconf_setting
#resetShake
- vconftool $GOPTION set -t bool db/setting/use_shake "1"
+ vconftool $GOPTION set -t bool db/setting/use_shake "0" -s system::vconf_inhouse
#resetPickup
- vconftool $GOPTION set -t bool db/setting/use_pick_up "1"
- vconftool $GOPTION set -t bool db/setting/use_pick_up_call "1"
+ vconftool $GOPTION set -t bool db/setting/use_pick_up "1" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/use_pick_up_call "1" -s system::vconf_inhouse
#resetTurnOver
- vconftool $GOPTION set -t bool db/setting/use_turn_over "1"
+ vconftool $GOPTION set -t bool db/setting/use_turn_over "0" -s system::vconf_setting
#resetMotions
- vconftool $GOPTION set -t bool db/setting/motion_active "1"
- vconftool $GOPTION set -t bool db/setting/motion/palm_swipe_capture "1"
- vconftool $GOPTION set -t bool db/setting/motion/palm_touch_mute "1"
- vconftool $GOPTION set -t bool db/setting/motion/tap_twist "1"
+ vconftool $GOPTION set -t bool db/setting/motion_active "1" -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/motion/palm_motion "0" system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/motion/palm_swipe_capture "1" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/motion/tap_twist "1" -s system::vconf_setting
#resetDisplay
#backlight
%ifarch %{arm}
- vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30"
+ vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "30" -s system::vconf_system
%else
- vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "600"
+ vconftool $GOPTION set -t int db/setting/lcd_backlight_normal "0" -s system::vconf_system
%endif
- vconftool $GOPTION set -t int db/setting/lcd_timeout_normal_backup "30"
-
+ vconftool $GOPTION set -t int db/setting/automatic_brightness_level "50" -f -s system::vconf_inhouse
#brightness
- vconftool $GOPTION set -t int db/setting/Brightness "-1"
- vconftool $GOPTION set -t int db/setting/brightness_automatic "0"
+ vconftool $GOPTION set -t int db/setting/Brightness "100" -s system::vconf_system
+ vconftool $GOPTION set -t int db/setting/brightness_automatic "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/auto_display_adjustment "1" -s system::vconf_inhouse
#battery
- vconftool $GOPTION set -t bool db/setting/battery_percentage "0"
- #launch
- #vconftool $GOPTION set -t string db/menu_widget/launch_effect "0"
+ vconftool $GOPTION set -t bool db/setting/battery_percentage "0" -s system::vconf_inhouse
#smart screen
- vconftool $GOPTION set -t int db/pm/smartstay_status "0"
- vconftool $GOPTION set -t bool db/setting/smartscreen/smart_rotation "0"
- vconftool $GOPTION set -t bool db/setting/auto_adjust_screen_tone "1"
- vconftool $GOPTION set -t bool db/setting/smartscreen/smart_stay_r "1"
- vconftool $GOPTION set -t bool db/setting/smartscreen/smart_rotation_r "1"
-
-#resetPowersaving
- vconftool $GOPTION set -t bool db/setting/pwrsv/system_mode/status "0"
- vconftool $GOPTION set -t bool db/setting/pwrsv/system_mode/reminder "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/status "0"
-
- vconftool $GOPTION set -t int db/setting/pwrsv/custom_mode/at "30"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/wifi "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/bt "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/gps "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/data_sync "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/hotspot "1"
-
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/brt/status "1"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/brt/auto/status "0"
- vconftool $GOPTION set -t int db/setting/pwrsv/custom_mode/brt/value "10"
- vconftool $GOPTION set -t int db/setting/pwrsv/custom_mode/backlight/time "15"
+ vconftool $GOPTION set -t bool db/setting/auto_adjust_screen_tone "1" -s system::vconf_inhouse
- #v0.4
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/cpu "0"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/display "0"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/bg_color "0"
- vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/screen_vib "0"
+ vconftool $GOPTION set -t int db/setting/display/touchkey_light_duration "90" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/display/screen_capture_destination "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/display/edit_after_screen_capture "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/display/dynamic_status_bar "0" -s system::vconf_inhouse
-#resetFont
- vconftool $GOPTION set -t int db/setting/font_size "1"
- vconftool $GOPTION set -t int db/setting/font_type "0"
+ #LED indicator
+ vconftool $GOPTION set -t bool db/setting/led_indicator/charging "1" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/led_indicator/low_batt "0" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/led_indicator/notifications "1" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/led_indicator/voice_rec "1" -s system::vconf_setting
#resetRotationLock
- vconftool $GOPTION set -t bool db/setting/rotate_lock "1"
- vconftool $GOPTION set -t bool db/setting/auto_rotate_screen "0"
- #vconftool $GOPTION set -t bool memory/setting/rotate_hold "0" -i -f
+
+ # to be removed
+ vconftool $GOPTION set -t bool db/setting/rotate_lock "1" -s system::vconf_inhouse
+
+ vconftool $GOPTION set -t bool db/setting/auto_rotate_screen "1" -s system::vconf_inhouse
+
#resetTimeAndData
%ifarch %{arm}
- vconftool $GOPTION set -t bool db/setting/automatic_time_update "1"
+ vconftool $GOPTION set -t bool db/setting/automatic_time_update "1" -s system::vconf_inhouse
%else
- vconftool $GOPTION set -t bool db/setting/automatic_time_update "0"
+ vconftool $GOPTION set -t bool db/setting/automatic_time_update "0" -s system::vconf_inhouse
%endif
- vconftool $GOPTION set -t int db/menu_widget/regionformat_time1224 "1"
- vconftool $GOPTION set -t int db/setting/date_format "0"
- vconftool $GOPTION set -t int db/setting/weekofday_format "0"
+ vconftool $GOPTION set -t int db/menu_widget/regionformat_time1224 "1" -s system::vconf_setting
+ vconftool $GOPTION set -t int db/setting/date_format "0" -s system::vconf_setting
+ vconftool $GOPTION set -t int db/setting/weekofday_format "0" -s system::vconf_inhouse
- vconftool $GOPTION set -t string db/setting/timezone "+9"
+ vconftool $GOPTION set -t string db/setting/timezone "+9:00" -s system::vconf_setting
# to be removed
- vconftool $GOPTION set -t string db/setting/cityname_id "IDS_WCL_BODY_CITYNAME_SEOUL"
+ vconftool $GOPTION set -t string db/setting/cityname_id "Seoul" -s system::vconf_setting
- vconftool $GOPTION set -t string db/setting/timezone_id "Asia/Seoul"
+ vconftool $GOPTION set -t string db/setting/timezone_id "Asia/Seoul" -s system::vconf_inhouse
- #if [ -f /opt/etc/localtime ]
- #then
rm -f /opt/etc/localtime
ln -s /usr/share/zoneinfo/Asia/Seoul /opt/etc/localtime
- #fi
-
+ rm -f /etc/localtime
+ ln -s /opt/etc/localtime /etc/localtime
#resetAccessibility
- vconftool $GOPTION set -t bool db/setting/accessibility/accessibility "0"
- vconftool $GOPTION set -t bool db/setting/accessibility/high_contrast "0"
- vconftool $GOPTION set -t bool db/setting/accessibility/screen_zoom "1"
- vconftool $GOPTION set -t int db/setting/accessibility/font_size "1"
- #vconftool $GOPTION set -t int db/setting/accessibility/font_style "0"
- vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNeue"
- vconftool $GOPTION set -t bool db/setting/accessibility/tts "0"
-
- vconftool $GOPTION set -t bool db/setting/accessibility/torch_light "0"
- vconftool $GOPTION set -t bool db/setting/accessibility/mono_audio "0"
- vconftool $GOPTION set -t int db/setting/accessibility/power_key_hold "1"
- vconftool $GOPTION set -t bool db/setting/accessibility/led_notify "0"
-
- vconftool $GOPTION set -t bool db/ciss/call_answering_key "0"
- vconftool $GOPTION set -t bool db/ciss/call_power_key_ends_call "0"
- vconftool $GOPTION set -t int db/ciss/answering_mode "0"
- vconftool $GOPTION set -t int db/ciss/answering_mode_time "3"
-
- vconftool $GOPTION set -t bool db/setting/accessibility/accept_call "0"
- vconftool $GOPTION set -t bool db/setting/accessibility/enable_auto_answer "0"
- vconftool $GOPTION set -t int db/setting/accessibility/auto_answer "1"
- vconftool $GOPTION set -t bool db/setting/accessibility/powerkey_end_calls "0"
-
-#Driving Mode
- vconftool $GOPTION set -t bool db/setting/drivingmode/drivingmode "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/incomingcall "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/message "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/newemails "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/newvoicemails "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/alarm "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/schedule "1"
- vconftool $GOPTION set -t bool db/setting/drivingmode/unlockscreen "1"
+ vconftool $GOPTION set -t bool db/setting/accessibility/high_contrast "0" -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/accessibility/screen_zoom "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t int db/setting/accessibility/font_size "1" -s system::vconf_misc
+ vconftool $GOPTION set -t string db/setting/accessibility/font_name "HelveticaNeue" -s system::vconf_misc
+ vconftool $GOPTION set -t bool db/setting/accessibility/tts "0" -s system::vconf_system
+ vconftool $GOPTION set -t int db/setting/accessibility/speech_rate "2" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/accessibility/rapid_key_input "0" -s system::vconf_system
+
+ vconftool $GOPTION set -t bool memory/setting/accessibility/torch_light "0" -i -s system::vconf_system
+ vconftool $GOPTION set -t bool db/setting/accessibility/mono_audio "0" -s system::vconf_setting
+ vconftool $GOPTION set -t int db/setting/accessibility/power_key_hold "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/accessibility/turn_off_all_sounds "0" -s system::vconf_setting
+
+ vconftool $GOPTION set -t int db/setting/accessibility/lock_time "5" -s system::vconf_setting
+ vconftool $GOPTION set -t string db/setting/accessibility/taphold_delay "IDS_COM_POP_SHORT" -s system::vconf_setting
#resetLanguageAndRegion
- vconftool $GOPTION set -t int db/setting/lang "9"
- vconftool $GOPTION set -t string db/menu_widget/language "en_GB.UTF-8"
- vconftool $GOPTION set -t string db/menu_widget/regionformat "en_GB.UTF-8"
-
-#resetViewtype
- #vconftool $GOPTION set -t int db/menuscreen/viewtype "0"
- #vconftool $GOPTION set -t int db/taskswitcher/viewtype "0"
-
-#resetTouch
- #vconftool $GOPTION set -t int db/setting/vib_feedback "3"
- #vconftool $GOPTION set -t bool db/setting/touch_panel_autolock "0"
-
-#resetLicense
- vconftool $GOPTION set -t bool db/setting/transaction_tracking "0"
- vconftool $GOPTION set -t bool db/setting/expiry_reminder "0"
- vconftool $GOPTION set -t int db/setting/roaming_network "0"
-
-#resetNotification
- vconftool $GOPTION set -t bool db/setting/ticker_noti/messages "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/email "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/im "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/twitter "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/facebook "1"
-
- # display content
- vconftool $GOPTION set -t bool db/setting/ticker_noti/display_content/messages "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/display_content/email "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/display_content/im "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/display_content/twitter "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/display_content/facebook "1"
-
- vconftool $GOPTION set -t bool db/setting/ticker_noti/badge/messages "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/badge/email "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/badge/im "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/badge/twitter "1"
- vconftool $GOPTION set -t bool db/setting/ticker_noti/badge/facebook "1"
+ vconftool $GOPTION set -t bool db/setting/lang_automatic "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t bool db/setting/region_automatic "1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t string db/menu_widget/language "en_US.UTF-8" -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/menu_widget/regionformat "en_US.UTF-8" -s system::vconf_inhouse
#resetSecurity
- rm -rf /opt/data/setting/set_info
- #vconftool $GOPTION set -t string db/setting/privacy_passwd ""
-
- vconftool $GOPTION set -t bool db/setting/power_on_lock "0"
- vconftool $GOPTION set -t bool db/setting/simple_password "1"
- vconftool $GOPTION set -t int db/setting/screen_lock_type "0"
- vconftool $GOPTION set -t bool db/setting/fmm/sim_change_alert "0"
- vconftool $GOPTION set -t string db/setting/fmm/recipients ""
- vconftool $GOPTION set -t string db/setting/fmm/sender ""
- vconftool $GOPTION set -t string db/setting/fmm/alert_message ""
- vconftool $GOPTION set -t bool db/setting/fmm/remote_control "0"
- vconftool $GOPTION set -t bool db/setting/fmm/location_consent "0"
-
- # NOT USED NOW.
- #vconftool $GOPTION set -t bool db/setting/rcs "0"
-
- vconftool $GOPTION set -t int db/setting/phone_lock_attempts_left "5"
- vconftool $GOPTION set -t string db/setting/phone_lock_timestamp ""
- vconftool $GOPTION set -t int db/setting/sim_lock_attempts_left "5"
- vconftool $GOPTION set -t string db/setting/sim_lock_timestamp ""
- vconftool $GOPTION set -t bool db/setting/fixed_dialing_mode "0"
+ rm -rf /opt/usr/data/setting/set_info
+
+ vconftool $GOPTION set -t int db/setting/screen_lock_type "1" -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/3rd_lock_pkg_name "org.tizen.lockscreen" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/fmm/sim_change_alert "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/fmm/recipients "" -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/fmm/sender "" -s system::vconf_inhouse
+ vconftool $GOPTION set -t string db/setting/fmm/alert_message "" -s system::vconf_inhouse
+
+ # for MMC encryption
+ vconftool $GOPTION set -t bool db/setting/mmc_encryption/status "0" -s system::vconf_system
+ vconftool $GOPTION set -t int db/setting/mmc_encryption/option "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t bool db/setting/mmc_encryption/exclude_multimedia "0" -s org.tizen.setting::private
+
#resetMemory
- vconftool $GOPTION set -t int db/setting/default_memory/wap "0"
- vconftool $GOPTION set -t int db/setting/default_memory/bluetooth "0"
- vconftool $GOPTION set -t int db/setting/default_memory/camera "0"
- vconftool $GOPTION set -t int db/setting/default_memory/voice_recorder "0"
- vconftool $GOPTION set -t int db/setting/default_memory/fm_radio "0"
- vconftool $GOPTION set -t int db/setting/default_memory/all_share "0"
- vconftool $GOPTION set -t int db/setting/default_memory/adobe_air "0"
- vconftool $GOPTION set -t int db/setting/default_memory/dvb_h "0"
-
- # format - system server
- #vconftool $GOPTION -i set -t int memory/mmc/format "0"
+ vconftool $GOPTION set -t int db/setting/default_memory/install_applications "0" -s system::vconf_system
+
+ vconftool $GOPTION set -t int db/setting/default_memory/bluetooth "0" -s system::vconf_system
#resetAbout
- vconftool $GOPTION set -t string db/setting/device_name "Magnolia"
- vconftool $GOPTION set -t string db/setting/selected_num ""
-#resetMenuWidgets
- vconftool $GOPTION -i set -t int memory/setting/font_changed "0"
- #vconftool $GOPTION -i set -t int memory/mobile_hotspot/skin_changed "0"
+ vconftool $GOPTION set -t string db/setting/device_name "Tizen" -s system::vconf_network
#resetDevoptions
- vconftool $GOPTION -i set -t int db/setting/devoption/bgprocess "0"
+ vconftool $GOPTION -i set -t int db/setting/devoption/bgprocess "0" -s system::vconf_setting
#resetDatausage
- vconftool $GOPTION set -t bool db/setting/set_data_usage_limit "0"
- vconftool $GOPTION set -t int db/setting/data_limit "0"
- vconftool $GOPTION set -t int db/setting/data_usage_cycle "0"
- vconftool $GOPTION set -t int db/setting/data_each_month "1"
+ vconftool $GOPTION set -t bool db/setting/set_data_usage_limit "0" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/data_limit "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/data_each_month "1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/data_each_month_app "1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t int db/setting/data_limit_roaming "-1" -s org.tizen.setting::private
+ vconftool $GOPTION set -t bool db/setting/set_data_usage_limit_roaming "0" -s org.tizen.setting::private
#resetDisplay
- vconftool $GOPTION set -t string db/setting/screenmode/selected_name "Dynamic"
+ vconftool $GOPTION set -t string db/setting/screenmode/selected_name "Dynamic" -f -s org.tizen.setting::private
+
+#resetMostRecentlySetting
+ vconftool $GOPTION set -t string db/setting/most_recently_setting "" -s org.tizen.setting::private
+
+#psmode(power saving mode)
+ vconftool $GOPTION set -t int db/setting/psmode "0" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/win_gray "0" -s system::vconf_setting
+ vconftool $GOPTION set -t bool db/setting/win_fps "0" -s system::vconf_setting
+ vconftool $GOPTION set -t int db/setting/emergency/mode "1" -s system::vconf_setting
+
+#resetPowersaving
+ vconftool $GOPTION set -t bool db/setting/pwrsv/system_mode/status "0" -s org.tizen.setting::private
+
+ #v0.4
+ vconftool $GOPTION set -t bool db/setting/pwrsv/custom_mode/cpu "0" -s system::vconf_inhouse
+
+# personal page(not include on vconf internal yet)
+ vconftool $GOPTION set -t bool memory/setting/personal "0" -i -s system::vconf_setting
+ vconftool $GOPTION set -t int db/setting/personal_unlock_method "-1" -s system::vconf_setting
+ vconftool $GOPTION set -t string db/setting/personal_key "" -s system::vconf_setting
+
+#usb otg
+ vconftool $GOPTION set -t bool db/setting/usb_otg "1" -s system::vconf_inhouse
+#hands-free reminder
+ vconftool $GOPTION set -t int db/setting/handsfree_sound_reminder "0" -s org.tizen.setting::private
+
+#hands-free reminder
+ vconftool $GOPTION set -t bool db/setting/firewall "0" -s org.tizen.setting::private
+
+# changeable UI - color theme
+ vconftool $GOPTION set -t int db/setting/change_ui/theme "0" -s system::vconf_inhouse
+ vconftool $GOPTION set -t bool db/setting/change_ui/color_theme_wallpaper_set "0" -s system::vconf_inhouse
+
+# multi-window
+ vconftool $GOPTION set -t bool db/setting/open_via_multi "0" -s system::vconf_setting
+
+#------------------------------------------
+#create directory /opt/usr/data/setting
#------------------------------------------
-#create directory /opt/data/setting
-if [ ! -d /opt/data/setting ]
+#create directory /opt/usr/apps/org.tizen.setting.data
+if [ ! -d /opt/usr/apps/org.tizen.setting ]
+then
+ mkdir -p /opt/usr/apps/org.tizen.setting
+ mkdir -p %{PREF_DATADIR}
+fi
+
+
+if [ ! -d /var/kdb/file/fixedGrid ]
+then
+ mkdir -p /var/kdb/file/fixedGrid
+fi
+
+if [ -d /var/kdb/file/fixedGrid ]
then
- mkdir -p /opt/data/setting
+ chown app:app /var/kdb/file/fixedGrid -R
fi
-# create setting.cfg at runtime right after installation
-#/opt/apps/org.tizen.setting/bin/setting_conf_util
-# After flashing, initialize timezone file
+# for support shared menu icons
+ln -s /usr/apps/org.tizen.setting/res/icons /usr/apps/org.tizen.setting/shared/res/icons
+
+
/usr/apps/org.tizen.setting/bin/setting_conf_util timezone_init
-chown 5000:5000 /opt/data/setting -R
+chown 5000:5000 %{PREF_DATADIR} -R
#------------------------------------------
sync
+if [ -d /opt/share/settings ]
+then
+ rm -rf /opt/share/settings
+fi
+
+ln -s /opt/usr/share/settings /opt/share/settings
+
+
mkdir -p /usr/ug/bin/
-ln -sf /usr/bin/ug-client /usr/ug/bin/setting-font-efl
-ln -sf /usr/bin/ug-client /usr/ug/bin/setting-profile-efl
+# help directory
+mkdir -p /usr/apps/org.tizen.setting/shared
+mkdir -p /usr/apps/org.tizen.setting/shared/res
+mkdir -p /usr/apps/org.tizen.mode-syspopup/res/edje
+mkdir -p /usr/apps/org.tizen.mode-syspopup/bin/
+
+#%post ref
+#Requires(post): org.tizen.setting
+
+%post ref
+rm -rf /usr/share/packages/org.tizen.setting.xml
+mv /usr/share/packages/org.tizen.setting.xml.ref /usr/share/packages/org.tizen.setting.xml
+
+%posttrans
+
+#%files -n settings
%files -n org.tizen.setting
-%manifest settings.manifest
+%manifest org.tizen.setting.manifest
+
+
+/usr/apps/org.tizen.setting/author-signature.xml
+/usr/apps/org.tizen.setting/signature1.xml
+
+# Smack default --------------------------------------------------
+/etc/smack/accesses.d/org.tizen.setting.efl
+
+# Firewall -------------------------------------------------------
+/etc/opt/upgrade/210.org.tizen.setting.patch.sh
+
%defattr(-,root,root,-)
-#%attr(-,inhouse,inhouse) %dir /opt/data/setting
-%attr(-,app,app) %dir /opt/data/setting
+/usr/apps/org.tizen.mode-syspopup/bin/mode-syspopup
+/usr/apps/org.tizen.mode-syspopup/res/images/*
+/usr/apps/org.tizen.mode-syspopup/res/edje/mode-syspopup.edj
+/usr/apps/org.tizen.mode-syspopup/res/edje/popup-custom.edj
+/usr/apps/org.tizen.mode-syspopup/res/edje/ultra-popup.edj
+/usr/apps/org.tizen.mode-syspopup/res/locale/*
+
+%attr(-,app,app) %dir /opt/usr/apps/org.tizen.mode-syspopup/data
+
+%attr(-,app,app) %dir %{PREF_DATADIR}
/usr/apps/org.tizen.setting/bin/setting
+/usr/apps/org.tizen.setting/data/*
/usr/apps/org.tizen.setting/bin/setting_conf_util
-/opt/data/setting/setting.cfg
+/usr/apps/org.tizen.setting/bin/setting_turnoff_light
+/usr/apps/org.tizen.setting/bin/setting_volume_popup
+
+%attr(0755,root,root) /usr/apps/org.tizen.setting/bin/setting_help_ringtone
+
+/usr/lib/lib*.so.*
/usr/share/packages/org.tizen.setting.xml
/usr/share/icons/default/small/org.tizen.setting.png
-/opt/share/settings/*
+/opt/usr/share/settings/*
/usr/apps/org.tizen.setting/res/*
-/usr/apps/org.tizen.setting/lib/*
+/usr/share/mime/packages/*
+
+/usr/apps/org.tizen.setting/shared/res/*
+%attr(-,app,app) %dir /usr/apps/org.tizen.setting/shared
+
/usr/apps/org.tizen.setting/data/*
-/usr/ug/lib/*
-/opt/data/setting/langlist.xml
-/opt/data/setting/plugin-cfg/*
-/opt/data/setting/plugin-xml/*
-#/usr/apps/org.tizen.setting/bin/test_server
+
+/opt/usr/apps/org.tizen.setting/data/langlist.xml
+/opt/usr/apps/org.tizen.setting/data/langlist_all.xml
+/opt/usr/apps/org.tizen.setting/data/test.db
+
+
+# new
+/usr/apps/org.tizen.setting/lib/ug/*
+
+%files devel
+#---------------------------------------------
+# moved from org.tizen.setting
+#---------------------------------------------
+#/usr/apps/org.tizen.setting/lib/lib*.so
+/usr/lib/lib*.so
+/usr/apps/org.tizen.setting/lib/ug/*
+
+%{_libdir}/pkgconfig/*.pc
+/usr/lib/pkgconfig/setting-common-internal.pc
+/usr/include/setting-cfg.h
+/usr/include/setting-common-data-edj-define.h
+/usr/include/setting-common-data-error.h
+/usr/include/setting-common-data-type.h
+/usr/include/setting-common-draw-widget.h
+/usr/include/setting-common-general-func.h
+/usr/include/setting-common-resource.h
+/usr/include/setting-common-search.h
+
+%files ref
+/usr/share/mime/packages/mime.setting.xml
+/usr/share/packages/org.tizen.setting.xml.ref