Patchwork [meta-efl,15/16] python-elementary: temporary fix to get it build

login
register
mail settings
Submitter Martin Jansa
Date Dec. 6, 2011, 9:57 a.m.
Message ID <a096d83f165d3ac28a228faa35d888c96af832d0.1323165311.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/16283/
State Accepted
Commit 9bae3e30eb007b3b7de6cec007fabb847f9ca8c5
Headers show

Comments

Martin Jansa - Dec. 6, 2011, 9:57 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 ...ementary-temporary-fix-for-build-breakage.patch |   49 ++++++++++++++++++++
 .../python/python-elementary_svn.bb                |    4 +-
 2 files changed, 52 insertions(+), 1 deletions(-)
 create mode 100644 meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch

Patch

diff --git a/meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch b/meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch
new file mode 100644
index 0000000..ef61c99
--- /dev/null
+++ b/meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch
@@ -0,0 +1,49 @@ 
+From 61b8233c582bcb1786bfcafa984abfd523fedcca Mon Sep 17 00:00:00 2001
+From: Martin Jansa <Martin.Jansa@gmail.com>
+Date: Thu, 1 Dec 2011 22:07:38 +0100
+Subject: [PATCH] python-elementary: temporary fix for build breakage
+
+Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
+---
+ .../include/elementary/c_elementary.pxd            |    8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/include/elementary/c_elementary.pxd b/include/elementary/c_elementary.pxd
+index 16535c5..09986f8 100644
+--- a/include/elementary/c_elementary.pxd
++++ b/include/elementary/c_elementary.pxd
+@@ -169,13 +169,13 @@ cdef extern from "Elementary.h":
+         evas.c_evas.Eina_Bool hover_top
+         evas.c_evas.Eina_Bool hover_bottom
+ 
+-    ctypedef char *(*GenlistItemLabelGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
++    ctypedef char *(*GenlistItemTextGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef evas.c_evas.Evas_Object *(*GenlistItemIconGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef evas.c_evas.Eina_Bool (*GenlistItemStateGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef void (*GenlistItemDelFunc)(void *data, evas.c_evas.Evas_Object *obj)
+ 
+     ctypedef struct Elm_Genlist_Item_Class_Func:
+-        GenlistItemLabelGetFunc label_get
++        GenlistItemTextGetFunc text_get
+         GenlistItemIconGetFunc content_get
+         GenlistItemStateGetFunc state_get
+         GenlistItemDelFunc del_ "del"
+@@ -184,13 +184,13 @@ cdef extern from "Elementary.h":
+         char *item_style
+         Elm_Genlist_Item_Class_Func func
+ 
+-    ctypedef char *(*GengridItemLabelGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
++    ctypedef char *(*GengridItemTextGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef evas.c_evas.Evas_Object *(*GengridItemIconGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef evas.c_evas.Eina_Bool (*GengridItemStateGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
+     ctypedef void (*GengridItemDelFunc)(void *data, evas.c_evas.Evas_Object *obj)
+ 
+     ctypedef struct Elm_Gengrid_Item_Class_Func:
+-        GengridItemLabelGetFunc label_get
++        GengridItemTextGetFunc text_get
+         GengridItemIconGetFunc content_get
+         GengridItemStateGetFunc state_get
+         GengridItemDelFunc del_ "del"
+-- 
+1.7.8.rc4
+
diff --git a/meta-efl/recipes-devtools/python/python-elementary_svn.bb b/meta-efl/recipes-devtools/python/python-elementary_svn.bb
index fd4ea6d..37a8ffa 100644
--- a/meta-efl/recipes-devtools/python/python-elementary_svn.bb
+++ b/meta-efl/recipes-devtools/python/python-elementary_svn.bb
@@ -1,7 +1,9 @@ 
 require python-efl.inc
 LICENSE = "LGPLv3"
 LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 SRCREV = "${EFL_SRCREV}"
 DEPENDS += "elementary python-evas"
 RDEPENDS_${PN} += "python-evas python-ecore python-edje" 
+
+SRC_URI += " file://0001-python-elementary-temporary-fix-for-build-breakage.patch"