I have made the following changes intended for :
  CE:MW:Shared / mce-headers

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/8389

Thank You,
spiiroin

[This message was auto-generated]

---

Request # 8389:

Messages from BOSS:

State: review at 2013-03-08T14:11:55 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: home:spiiroin:branches:CE:MW:Shared / mce-headers -> CE:MW:Shared / 
mce-headers
  
changes files:
--------------
--- mce-headers.changes
+++ mce-headers.changes
@@ -0,0 +1,4 @@
+* Wed Mar 06 2013 Simo Piiroinen <[email protected]> - 1.12.3
+- Added cpu-keepalive methods
+- Removed unintentional mce-doc -> mce-headers dependency
+

old:
----
  mce-dev-1.12.2.tar.bz2

new:
----
  mce-dev-1.12.3.tar.bz2

spec files:
-----------
--- mce-headers.spec
+++ mce-headers.spec
@@ -10,7 +10,7 @@
 # << macros
 
 Summary:    Development files for mce
-Version:    1.12.2
+Version:    1.12.3
 Release:    1
 Group:      Development/Libraries
 License:    LGPLv2
@@ -28,7 +28,7 @@
 %package -n mce-doc
 Summary:    Documentation files for mce D-Bus API
 Group:      Documentation
-Requires:   %{name} = %{version}-%{release}
+BuildArch:    noarch
 
 %description -n mce-doc
 This package contains documentation describing the D-Bus method calls

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

++++++ mce-dev-1.12.2.tar.bz2 -> mce-dev-1.12.3.tar.bz2
--- debian/changelog
+++ debian/changelog
@@ -1,3 +1,10 @@
+mce-dev (1.12.3) unstable; urgency=low
+
+  * Added cpu-keepalive methods
+  * Removed unintentional mce-doc -> mce-headers dependency
+
+ -- Simo Piiroinen <[email protected]>  Wed, 06 Mar 2013 11:41:15 
+0200
+
 mce-dev (1.12.2) oneiric; urgency=low
 
   * Added MCE_TK_LOCKED_DELAY
--- include/mce/dbus-names.h
+++ include/mce/dbus-names.h
@@ -324,6 +324,78 @@
  */
 #define MCE_COLOR_PROFILE_CHANGE_REQ   "req_color_profile_change"
 
+/** Query the length of time late suspend can be blocked
+ *
+ * The idea is: if some process needs to do non-interactive
+ * background processing, it can prevent the system from
+ * entering late suspend by
+ *
+ * 1) get timer period via #MCE_CPU_KEEPALIVE_PERIOD_REQ call
+ *
+ * 2) call #MCE_CPU_KEEPALIVE_START_REQ
+ *
+ * 3) repeat #MCE_CPU_KEEPALIVE_START_REQ calls in interval
+ *    that is shorter than the maximum obtained at (1)
+ *
+ * 4) call #MCE_CPU_KEEPALIVE_STOP_REQ when finished
+ *
+ * MCE keeps track of active clients and blocks late suspend
+ * until all clients have called #MCE_CPU_KEEPALIVE_STOP_REQ,
+ * lost D-Bus connection (exit, crash, ...) or all timeouts
+ * have been missed.
+ *
+ * @since v1.12.8
+ *
+ * @return period in seconds as DBUS_TYPE_UINT32
+ */
+#define MCE_CPU_KEEPALIVE_PERIOD_REQ   "req_cpu_keepalive_period"
+
+/** Temporarily disable enter late suspend policy
+ *
+ * This method call must be repeated periodically to keep
+ * the system from entering late suspend.
+ *
+ * The period length can be obtained via #MCE_CPU_KEEPALIVE_PERIOD_REQ.
+ *
+ * Note: The boolean reply message is optional and will be sent
+ *       only if requested.
+ *
+ * @since v1.12.8
+ *
+ * @return success as DBUS_TYPE_BOOLEAN
+ */
+#define MCE_CPU_KEEPALIVE_START_REQ    "req_cpu_keepalive_start"
+
+/** Allow normal enter late suspend policy again
+ *
+ * If a process blocks late suspend via #MCE_CPU_KEEPALIVE_START_REQ,
+ * it must call #MCE_CPU_KEEPALIVE_STOP_REQ when background processing
+ * is finished to enable normal late suspend policy again.
+ *
+ * Note: The boolean reply message is optional and will be sent
+ *       only if requested.
+ *
+ * @since v1.12.8
+ *
+ * @return success as DBUS_TYPE_BOOLEAN
+ */
+#define MCE_CPU_KEEPALIVE_STOP_REQ     "req_cpu_keepalive_stop"
+
+/** Signal wakeup from suspend due to aligned timer triggering
+ *
+ * NOTE: This is reserved for use from dsme iphb module and is
+ * used to transfer ownership of rtc irq wakeup wakelock from
+ * dsme to mce.
+ *
+ * Note: The boolean reply message is optional and will be sent
+ *       only if requested.
+ *
+ * @since v1.12.8
+ *
+ * @return success as DBUS_TYPE_BOOLEAN
+ */
+#define MCE_CPU_KEEPALIVE_WAKEUP_REQ   "req_cpu_keepalive_wakeup"
+
 /*@}*/
 
 /**
--- mce.pc
+++ mce.pc
@@ -3,7 +3,7 @@
 
 Name: mce
 Description: Mode Control Entity
-Version: 1.12.2
+Version: 1.12.3
 Requires:
 Libs:
 Cflags: -I${includedir}

++++++ mce-headers.yaml
--- mce-headers.yaml
+++ mce-headers.yaml
@@ -1,6 +1,6 @@
 Name: mce-headers
 Summary: Development files for mce
-Version: 1.12.2
+Version: 1.12.3
 Release: 1
 Group: Development/Libraries
 License: LGPLv2
@@ -23,6 +23,8 @@
       AsWholeName: yes
       Summary: Documentation files for mce D-Bus API
       Group: Documentation
+      BuildArch:  noarch
+      AutoDepend: false
       Description: |
           This package contains documentation describing the D-Bus method calls
           provided by the Mode Control Entity, and the signals emitted by it.



Reply via email to