[oe-commits] Angus Ainslie : python-ecore: fixing ecore bindings

GIT User account git at amethyst.openembedded.net
Tue Apr 14 15:07:57 UTC 2009


Module: openembedded.git
Branch: fso/milestone5.5
Commit: 672084e8e9368f4390dcd6e204711c9856d16592
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=672084e8e9368f4390dcd6e204711c9856d16592

Author: Angus Ainslie <nytowl at openmoko.org>
Date:   Mon Apr 13 22:44:30 2009 -0600

python-ecore: fixing ecore bindings

ecore_x_window_del was renamed to ecore_x_window_free

---

 packages/python/files/ecore_window_free.patch |   22 ++++++++++++++++++++++
 packages/python/python-ecore_svn.bb           |    2 ++
 2 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/packages/python/files/ecore_window_free.patch b/packages/python/files/ecore_window_free.patch
new file mode 100644
index 0000000..7d2606b
--- /dev/null
+++ b/packages/python/files/ecore_window_free.patch
@@ -0,0 +1,22 @@
+--- python-ecore/ecore/x/ecore.x.c_ecore_x_window.pxi.orig	2009-04-13 22:20:36.000000000 -0600
++++ python-ecore/ecore/x/ecore.x.c_ecore_x_window.pxi	2009-04-13 22:21:54.000000000 -0600
+@@ -99,7 +99,7 @@
+     def delete(self):
+         "Deletes the current window."
+         if self.xid != 0:
+-            ecore_x_window_del(self.xid)
++            ecore_x_window_free(self.xid)
+             self.xid = 0
+ 
+     def delete_request_send(self):
+--- python-ecore/include/ecore/x/c_ecore_x.pxd.orig	2009-04-13 22:20:58.000000000 -0600
++++ python-ecore/include/ecore/x/c_ecore_x.pxd	2009-04-13 22:21:25.000000000 -0600
+@@ -919,7 +919,7 @@
+     Ecore_X_Window ecore_x_window_input_new(Ecore_X_Window parent, int x, int y, int w, int h)
+     void ecore_x_window_configure(Ecore_X_Window win, Ecore_X_Window_Configure_Mask mask, int x, int y, int w, int h, int border_width, Ecore_X_Window sibling, int stack_mode)
+     void ecore_x_window_cursor_set(Ecore_X_Window win, Ecore_X_Cursor c)
+-    void ecore_x_window_del(Ecore_X_Window win)
++    void ecore_x_window_free(Ecore_X_Window win)
+     void ecore_x_window_ignore_set(Ecore_X_Window win, int ignore)
+     Ecore_X_Window *ecore_x_window_ignore_list(int *num)
+ 
diff --git a/packages/python/python-ecore_svn.bb b/packages/python/python-ecore_svn.bb
index 9907b27..163562c 100644
--- a/packages/python/python-ecore_svn.bb
+++ b/packages/python/python-ecore_svn.bb
@@ -2,6 +2,8 @@ require python-efl.inc
 DEPENDS += "python-evas ecore"
 RDEPENDS += "python-evas"
 
+SRC_URI += "file://ecore_window_free.patch;patch=1"
+
 do_stage() {
     distutils_stage_all
 }





More information about the Openembedded-commits mailing list