summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2014-01-31 21:11:52 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-02-23 23:21:14 +0100
commit9234bcb0d30e66db7b8fcfd867086185649ecbae (patch)
treefaddf5d0a24254d5e6121f92aa83b901c14ff450 /meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch
parent29a37034c1205cd468815be33c69dcb560e77b67 (diff)
downloadmeta-openembedded-9234bcb0d30e66db7b8fcfd867086185649ecbae.tar.gz
python-efl: upgrade from separate recipes to shared python-efl-1.8.1
* python-ecore, python-edbus, python-edje, python-elementary, python-emotion, python-evas are now built from single source tree * announcements: 1.8.0: http://sourceforge.net/mailarchive/message.php?msg_id=31728838 1.8.1: http://sourceforge.net/mailarchive/message.php?msg_id=31862842 * be aware that upgrade-path wont probably work correctly and that you have to manually cleanup your sysroots before migrating to new shared efl recipe, for details see https://bugzilla.yoctoproject.org/show_bug.cgi?id=4102 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch')
-rw-r--r--meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch b/meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch
deleted file mode 100644
index 3b0cdc627c..0000000000
--- a/meta-efl/recipes-devtools/python/python-edje/0001-fix-unicode-conversion.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From fa12a33b5a3c0e86231ca84967d9eff456e5f314 Mon Sep 17 00:00:00 2001
2From: Jan Luebbe <jluebbe@debian.org>
3Date: Sat, 9 Aug 2008 18:30:04 +0200
4Subject: [PATCH] fix unicode conversion
5
6---
7 edje/edje.c_edje_object.pxi | 11 +++++++----
8 1 files changed, 7 insertions(+), 4 deletions(-)
9
10diff --git a/edje/edje.c_edje_object.pxi b/edje/edje.c_edje_object.pxi
11index 0f4da68..21c237e 100644
12--- a/edje/edje.c_edje_object.pxi
13+++ b/edje/edje.c_edje_object.pxi
14@@ -415,17 +415,20 @@
15 else:
16 raise TypeError("func must be callable or None")
17
18- def part_text_set(self, char *part, char *text):
19- edje_object_part_text_set(self.obj, part, text)
20+ def part_text_set(self, char *part, text):
21+ cdef char *s
22+ u = text.encode("utf8")
23+ s = u
24+ edje_object_part_text_set(self.obj, part, s)
25
26 def part_text_get(self, char *part):
27- "@rtype: str"
28+ "@rtype: unicode"
29 cdef const_char_ptr s
30 s = edje_object_part_text_get(self.obj, part)
31 if s == NULL:
32 return None
33 else:
34- return s
35+ return s.decode("utf8")
36
37 def part_text_select_all(self, char *part):
38 edje_object_part_text_select_all(self.obj, part)