]> ToastFreeware Gitweb - gregoa/zavai.git/blobdiff - README
butcher butcher butcher
[gregoa/zavai.git] / README
diff --git a/README b/README
index 626b1260e38bcab7a4c2cba9b29f3adedd210f7e..45bf69e1ab52112744e4fb9bcb9181e8e3f2e82e 100644 (file)
--- a/README
+++ b/README
@@ -13,12 +13,9 @@ Getting it to work:
 
    # Build time
    apt-get install valac libglib2.0-dev libdbus-glib-1-dev libgee-dev libgtk2.0-dev \
 
    # Build time
    apt-get install valac libglib2.0-dev libdbus-glib-1-dev libgee-dev libgtk2.0-dev \
-                   libwnck-dev libdevkit-power-gobject-dev \
+                   libwnck-dev \
                    libomhacks-dev liblua5.1-dev
 
                    libomhacks-dev liblua5.1-dev
 
-   # Runtime
-   apt-get install devicekit-power
-
    # Optional runtime
    apt-get install polygen polygen-data
 
    # Optional runtime
    apt-get install polygen polygen-data
 
@@ -118,7 +115,9 @@ Features / guide
  
  If you want to change the alarm ringtone, you can set:
  ringtone_alarm = "file:///some/where/file.ext"
  
  If you want to change the alarm ringtone, you can set:
  ringtone_alarm = "file:///some/where/file.ext"
- in ~/.zavai/config
+ in ~/.zavai/config; gstreamer is used, so mostly any audio file format will
+ work. I'm not sure what will happen if you choose a video format: that might
+ work as well.
 
  Alarms (acknowledged or not) are logged in "~/.zavai/log-alarm/". Still
  missing, howerver, is a way to show that an alarm rang and noone noticed.
 
  Alarms (acknowledged or not) are logged in "~/.zavai/log-alarm/". Still
  missing, howerver, is a way to show that an alarm rang and noone noticed.
@@ -174,23 +173,41 @@ TODO list / wish list
  * FSO API "documentation":
  http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD
 
  * FSO API "documentation":
  http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/index.html;hb=HEAD
 
+using vala-dbus-binding-tool:
+  mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freedesktop.DBus.Introspectable.Introspect > /tmp/api.xml
+  vi /tmp/api.xml
+  convert to xml: 
+    remove quotes at begin and end
+    :$s/\n/^M/g
+  mkdir /tmp/foo
+  vala-dbus-binding-tool --directory=/tmp/foo --api-path=/tmp/api.xml
+
+  Async and D-Bus:
+  http://git.gnome.org/browse/vala/tree/tests/dbus/async.test
+
  * Features to add:
  * Features to add:
+ - if GPS time is more than 1 minute and less than 1 hour different than the
+   system time, automatically sync it
+   if GPS time is more than 1 hour different than the system time, show a
+   "SYNC" button that will sync it if pressed
  - log
  - log
+    - flash aux when there are unacknowledged log entries
     - write data to disk as log happens (to have at least partial logs if power
       is cut)
     - more detailed GPX data (dop, elev..)
     - message (structured) (json?)
  - turn on/off gsm
     - write data to disk as log happens (to have at least partial logs if power
       is cut)
     - more detailed GPX data (dop, elev..)
     - message (structured) (json?)
  - turn on/off gsm
-    + start frameworkd as a subprocess, configured to only do phone
-    + go through the dbus motions of turning on this and that, and entering PIN
-      hardcoded in zavai config
-    + GSM status on main screen (with messages while coming online, and
-      operator, power and so on)
-    - log and refuse incoming calls and messages
+    - pick up phone call
+       - phone call applet (pushed when picking up)
+          - buttons for dtmf
+         - button for hold
+         - button for hangup
+       - icon in main screen (to go back to applet if going around zavai during
+        phone call)
+   to "move" the GSM device to my laptop:
+    socat FILE:/dev/ttySAC0 TCP-LISTEN:12345,bind=192.168.0.202
+    socat TCP:192.168.0.202:12345 PTY,link=/tmp/gps,raw,echo=0
  - alarm
  - alarm
-    + play sound at alarm trigger
-    - leave expired alarm on screen until acknowledged
-      (alarm status icon that also brings to alarm menu)
     - remember alarm names (on request, maybe with an add feature) and how
       often they are triggered, and show them most frequent first
     - show active alarms and allow to delete them
     - remember alarm names (on request, maybe with an add feature) and how
       often they are triggered, and show them most frequent first
     - show active alarms and allow to delete them
@@ -209,13 +226,6 @@ TODO list / wish list
  - audio notes
     - record audio notes, logging start and stop so it gets an associated GPX
     - shortcut icon in main screen
  - audio notes
     - record audio notes, logging start and stop so it gets an associated GPX
     - shortcut icon in main screen
- - check gobject introspection and dynamic loading
-    - there could be a basic loader core that just dynamically loads bits as
-      available/needed. Only the battery icon and calendar can be loaded on a
-      laptop, while on the moko one can also load the power menu.
-      Different bits can effectively work as plugins, to be there or not.
-      Alternative plugins can be loaded based on different technologies, too (a
-      gpsd satellite monitor, or a fso satellite monitor).
  - zavai does not look good in landscape mode
     - replace menus with a widget taking a list of actions, which then lays
       them out according to the screen size
  - zavai does not look good in landscape mode
     - replace menus with a widget taking a list of actions, which then lays
       them out according to the screen size
@@ -227,13 +237,12 @@ TODO list / wish list
    (-> learn/test libalsamixer something)
    /usr/share/vala/vapi/alsa.vapi
  - space buttons from sliders, to avoid shutting down instead of lowering the volume
    (-> learn/test libalsamixer something)
    /usr/share/vala/vapi/alsa.vapi
  - space buttons from sliders, to avoid shutting down instead of lowering the volume
- - battery without devkit: do the parsing via lua
+ - battery: do the parsing via lua
  - contacts: show as a fancy focus+context list (see prefuse)
     - vcard on e-vcard.{h,c}
     - ical on libical-dev
     - vcard+index file
     - lua functions to read things
  - contacts: show as a fancy focus+context list (see prefuse)
     - vcard on e-vcard.{h,c}
     - ical on libical-dev
     - vcard+index file
     - lua functions to read things
- - zavai-calendar as a separate app
  - zavai-contacts as a separate app
  - calendar
     - next30: don't update if not shown currently on the notebook
  - zavai-contacts as a separate app
  - calendar
     - next30: don't update if not shown currently on the notebook