summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch49
-rw-r--r--meta-efl/recipes-devtools/python/python-elementary_svn.bb4
2 files changed, 52 insertions, 1 deletions
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 000000000..ef61c991c
--- /dev/null
+++ b/meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch
@@ -0,0 +1,49 @@
1From 61b8233c582bcb1786bfcafa984abfd523fedcca Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Thu, 1 Dec 2011 22:07:38 +0100
4Subject: [PATCH] python-elementary: temporary fix for build breakage
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7---
8 .../include/elementary/c_elementary.pxd | 8 ++++----
9 1 files changed, 4 insertions(+), 4 deletions(-)
10
11diff --git a/include/elementary/c_elementary.pxd b/include/elementary/c_elementary.pxd
12index 16535c5..09986f8 100644
13--- a/include/elementary/c_elementary.pxd
14+++ b/include/elementary/c_elementary.pxd
15@@ -169,13 +169,13 @@ cdef extern from "Elementary.h":
16 evas.c_evas.Eina_Bool hover_top
17 evas.c_evas.Eina_Bool hover_bottom
18
19- ctypedef char *(*GenlistItemLabelGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
20+ ctypedef char *(*GenlistItemTextGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
21 ctypedef evas.c_evas.Evas_Object *(*GenlistItemIconGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
22 ctypedef evas.c_evas.Eina_Bool (*GenlistItemStateGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
23 ctypedef void (*GenlistItemDelFunc)(void *data, evas.c_evas.Evas_Object *obj)
24
25 ctypedef struct Elm_Genlist_Item_Class_Func:
26- GenlistItemLabelGetFunc label_get
27+ GenlistItemTextGetFunc text_get
28 GenlistItemIconGetFunc content_get
29 GenlistItemStateGetFunc state_get
30 GenlistItemDelFunc del_ "del"
31@@ -184,13 +184,13 @@ cdef extern from "Elementary.h":
32 char *item_style
33 Elm_Genlist_Item_Class_Func func
34
35- ctypedef char *(*GengridItemLabelGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
36+ ctypedef char *(*GengridItemTextGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
37 ctypedef evas.c_evas.Evas_Object *(*GengridItemIconGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
38 ctypedef evas.c_evas.Eina_Bool (*GengridItemStateGetFunc)(void *data, evas.c_evas.Evas_Object *obj, const_char_ptr part)
39 ctypedef void (*GengridItemDelFunc)(void *data, evas.c_evas.Evas_Object *obj)
40
41 ctypedef struct Elm_Gengrid_Item_Class_Func:
42- GengridItemLabelGetFunc label_get
43+ GengridItemTextGetFunc text_get
44 GengridItemIconGetFunc content_get
45 GengridItemStateGetFunc state_get
46 GengridItemDelFunc del_ "del"
47--
481.7.8.rc4
49
diff --git a/meta-efl/recipes-devtools/python/python-elementary_svn.bb b/meta-efl/recipes-devtools/python/python-elementary_svn.bb
index fd4ea6d29..37a8ffae4 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 @@
1require python-efl.inc 1require python-efl.inc
2LICENSE = "LGPLv3" 2LICENSE = "LGPLv3"
3LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" 3LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6"
4PR = "${INC_PR}.1" 4PR = "${INC_PR}.2"
5SRCREV = "${EFL_SRCREV}" 5SRCREV = "${EFL_SRCREV}"
6DEPENDS += "elementary python-evas" 6DEPENDS += "elementary python-evas"
7RDEPENDS_${PN} += "python-evas python-ecore python-edje" 7RDEPENDS_${PN} += "python-evas python-ecore python-edje"
8
9SRC_URI += " file://0001-python-elementary-temporary-fix-for-build-breakage.patch"