[oe-commits] Sebastian Spaeth : mokomaze: add avoid-suspend patch and make 0.5. 1 default for SHR

git version control git at git.openembedded.org
Sun May 31 09:20:30 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: 727db0bad80c6e1215e3285a35811865b6a126bc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=727db0bad80c6e1215e3285a35811865b6a126bc

Author: Sebastian Spaeth <Sebastian at SSpaeth.de>
Date:   Sun May 31 11:19:38 2009 +0200

mokomaze: add avoid-suspend patch and make 0.5.1 default for SHR

Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

---

 conf/distro/include/shr-autorev.inc                |    2 +-
 .../mokomaze-0.5.1/avoid_dim_suspend.patch         |   14 ++++++++++++++
 recipes/mokomaze/mokomaze_0.5.1.bb                 |    3 ++-
 3 files changed, 17 insertions(+), 2 deletions(-)

diff --git a/conf/distro/include/shr-autorev.inc b/conf/distro/include/shr-autorev.inc
index af83511..1f412cd 100644
--- a/conf/distro/include/shr-autorev.inc
+++ b/conf/distro/include/shr-autorev.inc
@@ -33,7 +33,7 @@ PREFERRED_VERSION_udev = "124"
 PREFERRED_VERSION_midori = "0.1.2"
 PREFERRED_VERSION_obexftp = "0.22"
 PREFERRED_VERSION_glib-2.0 = "2.18.3"
-PREFERRED_VERSION_mokomaze = "0.2.3"
+PREFERRED_VERSION_mokomaze = "0.5.1"
 PREFERRED_PROVIDER_e-wm-menu = "e-wm-menu-shr"
 PREFERRED_VERSION_glib-2.0 = "2.18.3"
 PREFERRED_VERSION_calc = "0.0.1"
diff --git a/recipes/mokomaze/mokomaze-0.5.1/avoid_dim_suspend.patch b/recipes/mokomaze/mokomaze-0.5.1/avoid_dim_suspend.patch
new file mode 100644
index 0000000..58c5b64
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.5.1/avoid_dim_suspend.patch
@@ -0,0 +1,14 @@
+diff -r fd8e721228a3 data/config.json
+--- a/data/config.json	Mon May 04 10:29:40 2009 +0200
++++ b/data/config.json	Mon May 04 11:28:27 2009 +0200
+@@ -20,8 +20,8 @@
+     },
+ 
+     "exec": {
+-        "init": "",
+-        "final": ""
++        "init": "dbus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.RequestResource string:Display",
++        "final": "dbus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.ReleaseResource string:Display"
+     }
+ 
+ }
diff --git a/recipes/mokomaze/mokomaze_0.5.1.bb b/recipes/mokomaze/mokomaze_0.5.1.bb
index d6c6039..5e22edf 100644
--- a/recipes/mokomaze/mokomaze_0.5.1.bb
+++ b/recipes/mokomaze/mokomaze_0.5.1.bb
@@ -7,7 +7,8 @@ DEPENDS="libsdl-ttf libsdl-image ode"
 RDEPENDS="ttf-liberation-mono libpng"
 
 PR="r5"
-SRC_URI="http://projects.openmoko.org/frs/download.php/813/${PN}-${PV}.tar.gz"
+SRC_URI="http://projects.openmoko.org/frs/download.php/813/${PN}-${PV}.tar \
+         file://avoid_dim_suspend.patch;patch=1"
 
 S=${WORKDIR}/${PN}-${PV}
 





More information about the Openembedded-commits mailing list