[oe-commits] Angus Ainslie : mokomaze : add new recipes

GIT User account git at amethyst.openembedded.net
Tue May 12 21:02:51 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: a2cb9df499f7b8f8ae5113d4e04d65e8339c0f1f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a2cb9df499f7b8f8ae5113d4e04d65e8339c0f1f

Author: Angus Ainslie <nytowl at openmoko.org>
Date:   Tue May 12 14:55:43 2009 -0600

mokomaze : add  new recipes

---

 conf/checksums.ini                                 |   12 ++++++++++
 .../mokomaze-0.2.3/adapt_ttf_fontdir.patch         |   11 ++++++++++
 .../mokomaze-0.2.3/avoid_dim_suspend.patch         |   14 ++++++++++++
 .../mokomaze/mokomaze-0.2.3/fix_desktop_file.patch |   16 ++++++++++++++
 recipes/mokomaze/mokomaze_0.2.3.bb                 |   22 ++++++++++++++++++++
 recipes/mokomaze/mokomaze_0.5.1.bb                 |   18 ++++++++++++++++
 6 files changed, 93 insertions(+), 0 deletions(-)

diff --git a/conf/checksums.ini b/conf/checksums.ini
index 3bf4343..5d2f596 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -14890,6 +14890,14 @@ sha256=569c9b4f7b2cf411718a3ac5e6427c1babacbaf1b085276f822d8d08040e4a8f
 md5=4a0dbe4e0cfdc15d30958bdc571bbfd7
 sha256=2492f6bd7e2140e62436f11e14b21ec36d17d784fa8271e61f8f06012c83a1d2
 
+[http://projects.openmoko.org/frs/download.php/764/mokomaze-0.2.3.tar.gz]
+md5=9efe9a31cdd842881b45fd7f686812aa
+sha256=c7f3d8920b7f1fed316293e8805ef031a8a063490b4a807f955497b01bf825c4
+
+[http://projects.openmoko.org/frs/download.php/781/mokomaze-0.5.1.tar.gz]
+md5=2ad9b8ed79359201b54d96a17aa19cef
+sha256=ba3ae988b96a5bd0ac9c9c8cfd2c3fa7169b6ec5d3950d6e848ed394411fd891
+
 [http://www.tildeslash.com/monit/dist/monit-4.10.1.tar.gz]
 md5=d3143b0bbd79b53f1b019d2fc1dae656
 sha256=f6a29300648381538a403f24506e75b94164e26c69c6861ca112d425edc9d193
@@ -21286,6 +21294,10 @@ sha256=d0425be8572be85b8a7ae802a19bcb73fdeac74906f7bcbbc129697ea6a86f3a
 md5=9e5888a79757eb0f47df118b39762ed6
 sha256=9d1cb3661e6c15059e4eecce323b3f118c243d1f17a1883e2b2d7ca0a16987e5
 
+[http://download.gnome.org/sources/vala/0.7/vala-0.7.1.tar.bz2]
+md5=109ebbd208be08f5d4927d4af6abf574
+sha256=d179f289532180c1285fc93d6df4c6fa4dd914473858f4e29d3da1553cafccb3
+
 [http://www.valgrind.org/downloads/valgrind-3.2.1.tar.bz2]
 md5=9407d33961186814cef0e6ecedfd6318
 sha256=7f9a15d7be16ca03a0912191e8d55a486bf69690e11bb76ccece3eaff3730a33
diff --git a/recipes/mokomaze/mokomaze-0.2.3/adapt_ttf_fontdir.patch b/recipes/mokomaze/mokomaze-0.2.3/adapt_ttf_fontdir.patch
new file mode 100644
index 0000000..c899529
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.2.3/adapt_ttf_fontdir.patch
@@ -0,0 +1,11 @@
+diff -r fd8e721228a3 src/Makefile.am
+--- a/src/Makefile.am	Mon May 04 10:29:40 2009 +0200
++++ b/src/Makefile.am	Mon May 04 10:31:38 2009 +0200
+@@ -3,7 +3,7 @@
+ AM_CPPFLAGS = \
+   -DDATADIR=\""$(datadir)"\" -D_GNU_SOURCE \
+   -DPIXMAPDIR=\""$(datadir)/pixmaps"\" \
+-  -DFONTDIR=\""/usr/share/fonts/truetype/ttf-liberation"\"
++  -DFONTDIR=\""/usr/share/fonts/truetype"\"
+ 
+ AM_CFLAGS = -Wall -pedantic -std=c99 @SDL_CFLAGS@
diff --git a/recipes/mokomaze/mokomaze-0.2.3/avoid_dim_suspend.patch b/recipes/mokomaze/mokomaze-0.2.3/avoid_dim_suspend.patch
new file mode 100644
index 0000000..1821f72
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.2.3/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": "bus-send --system --type=method_call --dest=org.shr.ophonekitd.Usage /org/shr/ophonekitd/Usage org.shr.ophonekitd.Usage.RequestResource string:Display",
++        "final": "bus-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.2.3/fix_desktop_file.patch b/recipes/mokomaze/mokomaze-0.2.3/fix_desktop_file.patch
new file mode 100644
index 0000000..7f45f0c
--- /dev/null
+++ b/recipes/mokomaze/mokomaze-0.2.3/fix_desktop_file.patch
@@ -0,0 +1,16 @@
+diff -r fd8e721228a3 data/mokomaze.desktop
+--- a/data/mokomaze.desktop	Mon May 04 10:29:40 2009 +0200
++++ b/data/mokomaze.desktop	Mon May 04 10:33:02 2009 +0200
+@@ -1,12 +1,10 @@
+ [Desktop Entry]
+ Name=Mokomaze
+ Comment=Labyrinth game
+-Encoding=UTF-8
+-Version=0.2.3
+ Type=Application
+ Exec=mokomaze
+ Terminal=false
+-Categories=Application;Game;SDL;
++Categories=Game;SDL;
+ X-MB-SingleInstance=true
+ Icon=mokomaze
diff --git a/recipes/mokomaze/mokomaze_0.2.3.bb b/recipes/mokomaze/mokomaze_0.2.3.bb
new file mode 100644
index 0000000..e2292c1
--- /dev/null
+++ b/recipes/mokomaze/mokomaze_0.2.3.bb
@@ -0,0 +1,22 @@
+DESCRIPTION="Classic game where you control a steel ball by tilting a wooden labyrinth"
+HOMEPAGE="http://mokomaze.projects.openmoko.org/"
+SECTION="x11/games"
+PRIORITY="optional"
+LICENSE="GPLv3"
+DEPENDS="libsdl-ttf libsdl-image"
+RDEPENDS="ttf-liberation-mono"
+
+
+PR="r4"
+SRC_URI="http://projects.openmoko.org/frs/download.php/764/${P}.tar.gz \
+         file://adapt_ttf_fontdir.patch;patch=1 \
+         file://fix_desktop_file.patch;patch=1 \
+         file://avoid_dim_suspend.patch;patch=1"
+
+inherit autotools
+
+# FIXME: This should suffice to specify the fontdir, but it does not work
+# Therefore we simply patch the makefile now to use the correct fontdir
+#EXTRA_OEMAKE="FONTDIR=${datadir}/fonts/truetype"
+
+
diff --git a/recipes/mokomaze/mokomaze_0.5.1.bb b/recipes/mokomaze/mokomaze_0.5.1.bb
new file mode 100644
index 0000000..8847c2f
--- /dev/null
+++ b/recipes/mokomaze/mokomaze_0.5.1.bb
@@ -0,0 +1,18 @@
+DESCRIPTION="Classic game where you control a steel ball by tilting a wooden labyrinth"
+HOMEPAGE="http://mokomaze.projects.openmoko.org/"
+SECTION="x11/games"
+PRIORITY="optional"
+LICENSE="GPLv3"
+DEPENDS="libsdl-ttf libsdl-image ode"
+RDEPENDS="ttf-liberation-mono"
+
+PR="r3"
+SRC_URI="http://projects.openmoko.org/frs/download.php/781/${P}.tar.gz"
+
+S=${WORKDIR}/mokomaze-0.5.0
+
+inherit autotools
+
+EXTRA_OEMAKE="FONTDIR=${datadir}/fonts/truetype"
+
+





More information about the Openembedded-commits mailing list