[oe-commits] Frederik Sdun : Now the patches for mokomaze

git version control git at git.openembedded.org
Sat Aug 29 06:39:23 UTC 2009


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

Author: Frederik Sdun <frederik.sdun at googlemail.com>
Date:   Fri Aug 28 20:23:14 2009 +0000

Now the patches for mokomaze

* Frederik Sdun <frederik.sdun at googlemail.com> [22.08.2009 15:34]:
> Sorry. hit the y key
> --
> IRC: playya @ Freenode, Gimpnet
> xmpp: playya at draugr.de

ok. here the complete patch (keep your fingers crossed). only one file
this time.

---

 .../mokomaze-0.5.5/avoid_dim_suspend.patch         |   13 -------------
 recipes/mokomaze/mokomaze-0.5.5/fsoraw.patch       |   11 +++++++++++
 recipes/mokomaze/mokomaze_0.5.5.bb                 |   12 +++++++-----
 3 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch b/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch
deleted file mode 100644
index 0d8bef5..0000000
--- a/recipes/mokomaze/mokomaze-0.5.5/avoid_dim_suspend.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/data/config.json	2009-08-18 20:53:19.000000000 +0200
-+++ b/data/config.json	2009-08-18 21:09:27.000000000 +0200
-@@ -26,8 +26,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.5/fsoraw.patch b/recipes/mokomaze/mokomaze-0.5.5/fsoraw.patch
new file mode 100644
index 0000000..c498254
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.5.5/fsoraw.patch
@@ -0,0 +1,11 @@
+--- a/data/mokomaze.desktop	2009-08-22 12:14:31.000000000 +0200
++++ b/data/mokomaze.desktop	2009-08-22 12:50:30.000000000 +0200
+@@ -4,7 +4,7 @@
+ Encoding=UTF-8
+ Version=0.5
+ Type=Application
+-Exec=mokomaze
++Exec=fsoraw -r Display mokomaze
+ Terminal=false
+ Categories=Game;
+ X-MB-SingleInstance=true
diff --git a/recipes/mokomaze/mokomaze_0.5.5.bb b/recipes/mokomaze/mokomaze_0.5.5.bb
index 445f086..06b5c1a 100644
--- a/recipes/mokomaze/mokomaze_0.5.5.bb
+++ b/recipes/mokomaze/mokomaze_0.5.5.bb
@@ -3,18 +3,20 @@ HOMEPAGE="http://mokomaze.projects.openmoko.org/"
 SECTION="x11/games"
 PRIORITY="optional"
 LICENSE="GPLv3"
-DEPENDS="libsdl-ttf libsdl-image ode"
+DEPENDS="libsdl-ttf libsdl-image ode fsoraw"
 RDEPENDS="ttf-liberation-mono libpng"
 
 PR="r0"
-SRC_URI="http://mokomaze.projects.openmoko.org/files/${PN}-${PV}+git8.tar.gz \
-         file://avoid_dim_suspend.patch;patch=1"
+PV="0.5.5+git8"
 
-S=${WORKDIR}/${PN}-${PV}+git8
+SRC_URI="http://mokomaze.projects.openmoko.org/files/${PN}-${PV}.tar.gz \
+	file://fsoraw.patch;patch=1"
+
+#S=${WORKDIR}/${PN}-${PV}+git8
 
 inherit autotools
 
-EXTRA_OECONF="FONTDIR=${datadir}/fonts/truetype"
+EXTRA_OECONF="FONTDIR=${datadir}/fonts/truetype --enable-rgb-swap"
 
 # needed for ode
 LDFLAGS += "-lstdc++"





More information about the Openembedded-commits mailing list