[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. debian/0.9.5.9+git20110512-1-44-g2b0bd1a

Simon Busch morphis at gravedo.de
Tue May 15 11:58:57 UTC 2012


The following commit has been merged in the debian branch:
commit da80d0a93af03e132e6390b875bd525f1aba4a64
Author: Simon Busch <morphis at gravedo.de>
Date:   Sun Jan 1 13:39:18 2012 +0100

    Drop oevents configuration for not existing herring machine
    
    Signed-off-by: Simon Busch <morphis at gravedo.de>

diff --git a/etc/freesmartphone/oevents/herring/rules.yaml b/etc/freesmartphone/oevents/herring/rules.yaml
deleted file mode 100644
index 7b406e9..0000000
--- a/etc/freesmartphone/oevents/herring/rules.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-
-# This file is in YAML format (http://www.yaml.org/)
-# We define a list of rules that will be automatically loaded
-# When we start the oevents module of the framework daemon
-#
-# The attributes of a rule are :
-# - trigger     : trigger object
-# - filters     : filters object or list of filters objects
-# - actions     : action object or list of actions objects
-#
-# We define the following functions :
-# - CallStatus()            : create a trigger object activated on a call status event
-# - PowerStatus()           : create a trigger object activated on a power status event
-# - HasAttr(name, value)    : create a filter that accept signal with a given attribute
-# - Not(filter)             : create a neg filter
-# - PlaySound(file)         : Action that starts to play an audio file
-# - StopSound(file)         : Action that stop an audio file
-# - SetScenario(name)       : Action that sets an audio scenario
-# - StartVibration
-# - StopVibration
-# - RingTone(cmd)           : cmd can be 'start' or 'stop'
-# - Time(hour, min)         : create a trigger activated at the given time
-# - Debug(msg)              : Action that prints a debug message (only for debuging)
--
-    #
-    # Call -> Audio Scenario Handling
-    #
-    trigger: IncomingMessage()
-    actions: MessageTone(play)
-
--
-    while: CallListContains("INCOMING")
-    filters: Not(CallListContains("ACTIVE"))
-    actions:
-             - RingTone()
-             - OccupyResource(Display)
-
--
-    while: CallStatus()
-    filters:
-            - Or(Or(HasAttr(status, "OUTGOING"), HasAttr(status, "ACTIVE")), And(HasAttr(status, "INCOMING"), CallListContains("ACTIVE")))
-            - BTHeadsetIsConnected()
-    actions:
-            - SetScenario(gsmbluetooth)
-            - BTHeadsetPlaying()   
--
-    trigger: PowerStatus()
-    filters: HasAttr(status, "empty")
-    actions: Command('poweroff')
--
-    trigger: InputEvent()
-    filters:
-             - HasAttr(switch, "POWER")
-             - HasAttr(event, "released")
-             - HasAttr(duration, 0)
-    actions: Command("/usr/bin/phoneui-quick-settings")

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list