diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-12-01 20:34:26 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-12-06 13:08:30 +0100 |
commit | 9bae3e30eb007b3b7de6cec007fabb847f9ca8c5 (patch) | |
tree | fa8c140f4a237a9bddba7f9163a24243903ea9cb /meta-efl/recipes-devtools | |
parent | 4ae0bea8d39f6dab75b99dcc19410ee086fcdae7 (diff) | |
download | meta-openembedded-9bae3e30eb007b3b7de6cec007fabb847f9ca8c5.tar.gz |
python-elementary: temporary fix to get it build
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-efl/recipes-devtools')
-rw-r--r-- | meta-efl/recipes-devtools/python/python-elementary/0001-python-elementary-temporary-fix-for-build-breakage.patch | 49 | ||||
-rw-r--r-- | meta-efl/recipes-devtools/python/python-elementary_svn.bb | 4 |
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 @@ | |||
1 | From 61b8233c582bcb1786bfcafa984abfd523fedcca Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Thu, 1 Dec 2011 22:07:38 +0100 | ||
4 | Subject: [PATCH] python-elementary: temporary fix for build breakage | ||
5 | |||
6 | Signed-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 | |||
11 | diff --git a/include/elementary/c_elementary.pxd b/include/elementary/c_elementary.pxd | ||
12 | index 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 | -- | ||
48 | 1.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 @@ | |||
1 | require python-efl.inc | 1 | require python-efl.inc |
2 | LICENSE = "LGPLv3" | 2 | LICENSE = "LGPLv3" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=6a6a8e020838b23406c81b19c1d46df6" |
4 | PR = "${INC_PR}.1" | 4 | PR = "${INC_PR}.2" |
5 | SRCREV = "${EFL_SRCREV}" | 5 | SRCREV = "${EFL_SRCREV}" |
6 | DEPENDS += "elementary python-evas" | 6 | DEPENDS += "elementary python-evas" |
7 | RDEPENDS_${PN} += "python-evas python-ecore python-edje" | 7 | RDEPENDS_${PN} += "python-evas python-ecore python-edje" |
8 | |||
9 | SRC_URI += " file://0001-python-elementary-temporary-fix-for-build-breakage.patch" | ||