BuildRequires: pkgconfig(sysman)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gthread-2.0)
+BuildRequires: pkgconfig(dbus-glib-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(drm-client)
-BuildRequires: pkgconfig(drm-trusted)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(mm-player)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(capi-system-sensor)
+BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: sysman-internal-devel
BuildRequires: cmake
BuildRequires: edje-tools
%build
-%define PREFIX "/opt/apps/com.samsung.setting"
-%define RESDIR "/opt/apps/com.samsung.setting/res"
-%define DATADIR "/opt/apps/com.samsung.setting/data"
+%define PREFIX "/opt/apps/org.tizen.setting"
+%define RESDIR "/opt/apps/org.tizen.setting/res"
+%define DATADIR "/opt/apps/org.tizen.setting/data"
CFLAGS+=" -fPIC";export CFLAGS
CXXFLAGS+=" -fPIC";export CFLAGS
LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--hash-style=both -Wl,--as-needed";export LDFLAGS
vconftool $GOPTION set -t int memory/setting/usb_in_mode_change "0" -i -f
#resetSound
-%ifarch %{arm}
- DEFAULT_CALL_TONE="/opt/share/settings/Ringtones/Over the horizon.mp3"
-%else
DEFAULT_CALL_TONE="/opt/share/settings/Ringtones/ringtone_sdk.mp3"
-%endif
-
-%ifarch %{arm}
- DEFAULT_NOTI_TONE="/opt/share/settings/Alerts/Whistle.mp3"
-%else
DEFAULT_NOTI_TONE="/opt/share/settings/Alerts/General notification_sdk.wav"
-%endif
vconftool $GOPTION set -t bool db/setting/sound/sound_on "1"
vconftool $GOPTION set -t bool db/setting/sound/vibration_on "1"
vconftool $GOPTION set -t bool db/setting/rotate_lock "1"
#resetTimeAndData
+%ifarch %{arm}
vconftool $GOPTION set -t bool db/setting/automatic_time_update "1"
+%else
+ vconftool $GOPTION set -t bool db/setting/automatic_time_update "0"
+%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 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_size "3"
#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"
#resetAbout
vconftool $GOPTION set -t string db/setting/device_name "Redwood"
-
+ 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"
fi
# create setting.cfg at runtime right after installation
-#/opt/apps/com.samsung.setting/bin/setting_conf_util
+#/opt/apps/org.tizen.setting/bin/setting_conf_util
# After flashing, initialize timezone file
-/opt/apps/com.samsung.setting/bin/setting_conf_util timezone_init
+/opt/apps/org.tizen.setting/bin/setting_conf_util timezone_init
chown 5000:5000 /opt/data/setting -R
#------------------------------------------
heynotitool set setting_time_changed -a
mkdir -p /opt/ug/bin/
ln -sf /usr/bin/ug-client /opt/ug/bin/setting-font-efl
-ln -sf /usr/bin/ug-client /opt/ug/bin/setting-accessibility-efl
+# ln -sf /usr/bin/ug-client /opt/ug/bin/setting-accessibility-efl
%files -n settings
%manifest settings.manifest
%defattr(-,root,root,-)
#%attr(-,inhouse,inhouse) %dir /opt/data/setting
%attr(-,app,app) %dir /opt/data/setting
-/opt/apps/com.samsung.setting/bin/setting
-/opt/apps/com.samsung.setting/bin/setting_conf_util
+/opt/apps/org.tizen.setting/bin/setting
+/opt/apps/org.tizen.setting/bin/setting_conf_util
/opt/data/setting/setting.cfg
-/opt/share/packages/com.samsung.setting.xml
+/opt/share/packages/org.tizen.setting.xml
/opt/share/packages/ug-setting-accessibility-efl.xml
/opt/share/packages/ug-setting-font-efl.xml
-/opt/share/icons/default/small/com.samsung.setting.png
+/opt/share/icons/default/small/org.tizen.setting.png
/opt/share/settings/*
-/opt/apps/com.samsung.setting/res/*
-/opt/apps/com.samsung.setting/lib/*
-/opt/apps/com.samsung.setting/data/*
+/opt/apps/org.tizen.setting/res/*
+/opt/apps/org.tizen.setting/lib/*
+/opt/apps/org.tizen.setting/data/*
/opt/ug/lib/*
/opt/data/setting/langlist.xml
/opt/data/setting/plugin-cfg/*
/opt/data/setting/plugin-xml/*
-#/opt/apps/com.samsung.setting/bin/test_server
-
+/opt/apps/org.tizen.setting/bin/test_server