I have made the following changes intended for :
  CE:UX:MTF / mce

Please review and accept or decline.
BOSS has already run some checks on this request.
See the "Messages from BOSS" section below.

https://build.pub.meego.com//request/show/5378

Thank You,
Marko Saukko

[This message was auto-generated]

---

Request # 5378:

Messages from BOSS:

State: review at 2012-08-02T10:25:31 by bossbot

Reviews:
       accepted by bossbot : Prechecks succeeded.
       new for CE-maintainers : Please replace this text with a review and 
approve/reject the review (not the SR). BOSS will take care of the rest

Changes:
  submit: Project:MTF:UX / mce -> CE:UX:MTF / mce
  
changes files:
--------------
--- mce.changes
+++ mce.changes
@@ -0,0 +1,4 @@
+* Wed Aug 01 2012 Dmitry Rozhkov <[email protected]> - 1.12.0
+- include mce-radio-sates.ini file in the package with initial default radio 
settings
+- add /var/lib/mce directory to the package to allow it to store current radio 
states.
+

new:
----
  0011-Add-config-file-with-default-radio-states.patch

spec files:
-----------
--- mce.spec
+++ mce.spec
@@ -19,6 +19,7 @@
 Patch8:     0009-Fix-lock-ui-handling-and-display-blanking-for-nemo.patch
 Patch9:     0010-Disable-bootup-submode-in-display-module.patch
 Patch10:    0001-Allow-get_color_profile_ids-dbus-method-usage-and-in.patch
+Patch11:    0011-Add-config-file-with-default-radio-states.patch
 Requires:   dsme
 Requires:   systemd
 Requires(pre): GConf2
@@ -78,6 +79,8 @@
 %patch9 -p1
 # 0001-Allow-get_color_profile_ids-dbus-method-usage-and-in.patch
 %patch10 -p1
+# 0011-Add-config-file-with-default-radio-states.patch
+%patch11 -p1
 
 %build
 make %{?jobs:-j%jobs}
@@ -139,6 +142,7 @@
 %config(noreplace) %{_sysconfdir}/dbus-1/system.d/mce.conf
 %config(noreplace) %{_sysconfdir}/gconf/schemas/*.schemas
 %config(noreplace) %{_sysconfdir}/%{name}/mce.ini
+%config(noreplace) %{_sysconfdir}/%{name}/mce-radio-states.ini
 /sbin/%{name}
 %{_libdir}/%{name}/modules/*.so
 %{_datadir}/backup-framework/applications/mcebackup.conf
@@ -148,6 +152,8 @@
 /lib/systemd/system/%{name}.service
 /lib/systemd/system/multi-user.target.wants/%{name}.service
 
+%dir %{_localstatedir}/lib/%{name}/
+
 
 %files tools
 %defattr(-,root,root,-)

other changes:
--------------

++++++ 0011-Add-config-file-with-default-radio-states.patch (new)
--- 0011-Add-config-file-with-default-radio-states.patch
+++ 0011-Add-config-file-with-default-radio-states.patch
@@ -0,0 +1,39 @@
+From f64161838a783b25c794741e976c285d5d53fe55 Mon Sep 17 00:00:00 2001
+From: Dmitry Rozhkov <[email protected]>
+Date: Tue, 31 Jul 2012 16:53:09 +0000
+Subject: [PATCH] Add config file with default radio states
+
+---
+ Makefile             |    1 +
+ mce-radio-states.ini |    7 +++++++
+ 2 files changed, 8 insertions(+)
+ create mode 100644 mce-radio-states.ini
+
+diff --git a/Makefile b/Makefile
+index ada410e..c52f237 100644
+--- a/Makefile
++++ b/Makefile
+@@ -151,6 +151,7 @@ install: all
+       $(INSTALL) $(REGULARDEVICECLEARSCRIPT) $(DEVICECLEARSCRIPTDIR)  &&\
+       $(INSTALL) $(REGULARDEVICECLEARSCRIPT) $(FACTORYRESETSCRIPTDIR) &&\
+       $(INSTALL_DATA) $(CONFFILE) $(CONFINSTDIR)                      &&\
++      $(INSTALL_DATA) $(RADIOSTATESCONFFILE) $(CONFINSTDIR)           &&\
+       $(INSTALL_DATA) $(GCONFSCHEMAS) $(GCONFSCHEMADIR)               &&\
+       $(INSTALL_DATA) $(DBUSCONF) $(DBUSDIR)                          &&\
+       $(INSTALL_DATA) $(BACKUPCONF) $(BACKUPCONFDIR)
+diff --git a/mce-radio-states.ini b/mce-radio-states.ini
+new file mode 100644
+index 0000000..0392912
+--- /dev/null
++++ b/mce-radio-states.ini
+@@ -0,0 +1,7 @@
++[RadioStates]
++MasterRadioState=true
++CellularRadioState=true
++WLANRadioState=true
++BluetoothRadioState=false
++NFCRadioState=false
++FMTXRadioState=false
+-- 
+1.7.9.5
+



Reply via email to