[oe-commits] Martin Jansa : minneo: bump SRCREV, add edje-native depends

git version control git at git.openembedded.org
Thu Nov 25 12:28:27 UTC 2010


Module: openembedded.git
Branch: master
Commit: 2bffdb50983b98f68bb6c01ed3cdcb920ba66843
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=2bffdb50983b98f68bb6c01ed3cdcb920ba66843

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Thu Nov 25 11:40:01 2010 +0100

minneo: bump SRCREV, add edje-native depends

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/openmoko-3rdparty/minneo/setup.py.patch |   20 ++++++++++++++++++++
 recipes/openmoko-3rdparty/minneo_svn.bb         |   13 ++++++++++---
 2 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/recipes/openmoko-3rdparty/minneo/setup.py.patch b/recipes/openmoko-3rdparty/minneo/setup.py.patch
new file mode 100644
index 0000000..a7b6033
--- /dev/null
+++ b/recipes/openmoko-3rdparty/minneo/setup.py.patch
@@ -0,0 +1,20 @@
+--- trunk.orig/setup.py	2010-11-25 13:10:09.000000000 +0100
++++ trunk/setup.py	2010-11-25 13:11:15.000000000 +0100
+@@ -50,13 +50,12 @@
+     for root, dirs, files in os.walk('data/themes/'):
+         if root == 'data/themes/' or root.find('images') >= 0 or root.find('.svn') >= 0:
+             continue
+-        for i, file_name in enumerate(files):
++        theme_files = []
++        for file_name in files:
+             if file_name == 'minneo.edj':
+-                files[i] = os.path.join(root, file_name)
+-            else:
+-                del files[i]
++                theme_files.append(os.path.join(root, file_name))
+         theme_name = os.path.basename(root)
+-        l.append((os.path.join('share/minneo/themes', theme_name), files))
++        l.append((os.path.join('share/minneo/themes', theme_name), theme_files))
+     return l
+ 
+ def main():
diff --git a/recipes/openmoko-3rdparty/minneo_svn.bb b/recipes/openmoko-3rdparty/minneo_svn.bb
index 89aac56..be90faf 100644
--- a/recipes/openmoko-3rdparty/minneo_svn.bb
+++ b/recipes/openmoko-3rdparty/minneo_svn.bb
@@ -5,12 +5,13 @@ AUTHOR = "Valéry Febvre <vfebvre at easter-eggs.com>"
 SECTION = "x11/applications"
 PRIORITY = "optional"
 
-SRCREV = "4"
-PV = "1.0.1+svnr${SRCPV}"
+SRCREV = "6"
+PV = "1.0.2+svnr${SRCPV}"
 
 PACKAGE_ARCH = "all"
 
-SRC_URI = "svn://minneo.googlecode.com/svn;module=trunk;proto=http"
+SRC_URI = "svn://minneo.googlecode.com/svn;module=trunk;proto=http \
+           file://setup.py.patch"
 S = "${WORKDIR}/trunk"
 
 inherit distutils
@@ -18,3 +19,9 @@ inherit distutils
 FILES_${PN} += "${datadir}/minneo ${datadir}/applications/minneo.desktop ${datadir}/pixmaps/minneo.png"
 
 RDEPENDS_${PN} += "python-audio python-pyalsaaudio python-elementary"
+DEPENDS = "edje-native"
+
+do_compile_append() {
+        cd ${S}/data/themes
+        ${STAGING_BINDIR_NATIVE}/edje_cc -id ${S}/data/themes/default ${S}/data/themes/default/minneo.edc
+}





More information about the Openembedded-commits mailing list