[oe-commits] Martin Jansa : iliwi: add patch to build with newer EFL

git version control git at git.openembedded.org
Wed Feb 16 17:56:15 UTC 2011


Module: openembedded.git
Branch: shr/testing2011.1
Commit: 7eb5cff91ca490365f2705bd331a45bda46b4cb8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7eb5cff91ca490365f2705bd331a45bda46b4cb8

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Fri Jan  7 08:30:13 2011 +0100

iliwi: add patch to build with newer EFL

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

---

 ...ementary-genlist_item_insert_before-API-c.patch |   29 ++++++++++++++++++++
 recipes/openmoko-3rdparty/iliwi_git.bb             |    9 ++++--
 2 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch b/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch
new file mode 100644
index 0000000..7b16182
--- /dev/null
+++ b/recipes/openmoko-3rdparty/iliwi/0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch
@@ -0,0 +1,29 @@
+From d1ad5f7b4e0bd96f7085392dcc9c9e7edc32d940 Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa at gmail.com>
+Date: Fri, 7 Jan 2011 08:24:27 +0100
+Subject: [PATCH] adapt to elementary genlist_item_insert_before API change from r55869
+
+---
+ src/view_main.vala |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/view_main.vala b/src/view_main.vala
+index 2aafdcc..03f561e 100644
+--- a/src/view_main.vala
++++ b/src/view_main.vala
+@@ -151,10 +151,10 @@ namespace iliwi.View {
+         while(found_place == false) {
+           if( network.preferred_network && list_network.preferred_network==false ) {
+             found_place = true;
+-            network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, Elm.GenlistItemFlags.NONE, item_select );
++            network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, null, Elm.GenlistItemFlags.NONE, item_select );
+           } else if( list_network.preferred_network==network.preferred_network && list_network.strength<=network.strength ) {
+             found_place = true;
+-            network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, Elm.GenlistItemFlags.NONE, item_select );
++            network.listitem = wifilist.item_insert_before( itc, (void*)network, listitem_tmp, null, Elm.GenlistItemFlags.NONE, item_select );
+           } else { // Couldn't find a place to put it
+             listitem_tmp2 = listitem_tmp.next_get();
+             listitem_tmp = listitem_tmp2;
+-- 
+1.7.4.rc1
+
diff --git a/recipes/openmoko-3rdparty/iliwi_git.bb b/recipes/openmoko-3rdparty/iliwi_git.bb
index bcda632..1cab077 100644
--- a/recipes/openmoko-3rdparty/iliwi_git.bb
+++ b/recipes/openmoko-3rdparty/iliwi_git.bb
@@ -6,11 +6,14 @@ DEPENDS = "dbus-glib elementary libgee"
 # killall and udhcpc from busybox are enough
 RDEPENDS_${PN} = "wireless-tools wpa-supplicant"
 
-SRCREV = "5be2b301033418fb9a33759047274b676034f096"
+SRCREV = "fcd77fada06f6373b0fb5771f78aaa9dcaa97036"
 PV = "0.0.1+gitr${SRCPV}"
-PR = "r8"
-
 SRC_URI = "git://github.com/Ebbe/Iliwi.git;protocol=http;branch=master"
+PR = "r10"
+
+SRC_URI = "git://github.com/Ebbe/Iliwi.git;protocol=http;branch=master \
+           file://0001-adapt-to-elementary-genlist_item_insert_before-API-c.patch \
+           file://new.vala.patch"
 S = "${WORKDIR}/git"
 
 inherit autotools vala





More information about the Openembedded-commits mailing list