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 | |
parent | 4ae0bea8d39f6dab75b99dcc19410ee086fcdae7 (diff) |
python-elementary: temporary fix to get it build
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-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 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" |