[E-devel] [PATCH] fix python-e* build issue with newer cython
Hello, due to recent API changes in cython [0] the python-efl bindings won't build with the next cython release. The attached patches are fixing this issue. Please apply them to svn. Thanks, Manuel [0] https://github.com/cython/cython/commit/e3c9a78686b7a7f0d36da8e6189b1e1fb4037c73 python-evas: Index: evas/evas.c_evas_object.pxi === --- evas/evas.c_evas_object.pxi (Revision 56317) +++ evas/evas.c_evas_object.pxi (Arbeitskopie) @@ -217,7 +217,7 @@ anti_alias_set, anti_alias_get, anti_alias, pointer_mode_set, pointer_mode_get, pointer_mode """ -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self.obj = NULL self.evas = None self.data = dict() Index: evas/evas.c_evas_canvas.pxi === --- evas/evas.c_evas_canvas.pxi (Revision 56317) +++ evas/evas.c_evas_canvas.pxi (Arbeitskopie) @@ -117,7 +117,7 @@ obscured_clear, render_updates, render, norender, freeze_get, output_method_set, output_method_get, output_method """ -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self.obj = NULL self._callbacks = [None] * evas_canvas_event_callbacks_len Index: evas/evas.c_evas_object_smart.pxi === --- evas/evas.c_evas_object_smart.pxi (Revision 56317) +++ evas/evas.c_evas_object_smart.pxi (Arbeitskopie) @@ -359,7 +359,7 @@ @see: L{ClippedSmartObject} """ -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self._smart_callbacks = dict() cls = self.__class__ self._m_delete = _smart_class_get_impl_method(cls, "delete") python-emotion: Index: emotion/emotion.c_emotion.pyx === --- emotion/emotion.c_emotion.pyx (Revision 56317) +++ emotion/emotion.c_emotion.pyx (Arbeitskopie) @@ -50,7 +50,7 @@ cdef class Emotion(evas.c_evas.Object): -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self._emotion_callbacks = {} def __init__(self, c_evas.Canvas canvas not None, **kargs): python-elementary: Index: elementary/elementary.c_elementary_genlist.pxi === --- elementary/elementary.c_elementary_genlist.pxi (Revision 56317) +++ elementary/elementary.c_elementary_genlist.pxi (Arbeitskopie) @@ -126,7 +126,7 @@ cdef readonly object _state_get_func cdef readonly object _del_func -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self._item_style = "default" self._label_get_func = None self._icon_get_func = None Index: elementary/elementary.c_elementary_list.pxi === --- elementary/elementary.c_elementary_list.pxi (Revision 56317) +++ elementary/elementary.c_elementary_list.pxi (Arbeitskopie) @@ -49,7 +49,7 @@ cdef Elm_List_Item *item cdef object cbt -def __new__(self): +def __cinit__(self): self.item = NULL def __del_cb(self): Index: elementary/elementary.c_elementary_gengrid.pxi === --- elementary/elementary.c_elementary_gengrid.pxi (Revision 56317) +++ elementary/elementary.c_elementary_gengrid.pxi (Arbeitskopie) @@ -126,7 +126,7 @@ cdef readonly object _state_get_func cdef readonly object _del_func -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self._item_style = "default" self._label_get_func = None self._icon_get_func = None python-edje: Index: edje/edje.c_edje_object.pxi === --- edje/edje.c_edje_object.pxi (Revision 56317) +++ edje/edje.c_edje_object.pxi (Arbeitskopie) @@ -139,7 +139,7 @@ ... >>> my_edje.message_handler_set(msg_dbg) """ -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self._signal_callbacks = {} def __init__(self, c_evas.Canvas canvas not None, **kargs): python-ecore: Index: ecore/ecore.c_ecore_exe.pxi === --- ecore/ecore.c_ecore_exe.pxi (Revision 56317) +++ ecore/ecore.c_ecore_exe.pxi (Arbeitskopie) @@ -91,7 +91,7 @@ cdef class ExeEventFilter: -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self.exe = NULL self.handler = NULL self.owner = None @@ -280,7 +280,7 @@ One may delete handlers explicitly with L{EventHandler.delete()} method. """ -def __new__(self, *a, **ka): +def __cinit__(self, *a, **ka): self.exe = NULL self.__data = None self.__callbacks = {} Index: eco
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
in svn 2011/1/27 Manuel Traut : > Hello, > > due to recent API changes in cython [0] the python-efl bindings won't build > with > the next cython release. > > The attached patches are fixing this issue. Please apply them to svn. > > Thanks, > > Manuel > > [0] > https://github.com/cython/cython/commit/e3c9a78686b7a7f0d36da8e6189b1e1fb4037c73 > > python-evas: > > Index: evas/evas.c_evas_object.pxi > === > --- evas/evas.c_evas_object.pxi (Revision 56317) > +++ evas/evas.c_evas_object.pxi (Arbeitskopie) > @@ -217,7 +217,7 @@ > anti_alias_set, anti_alias_get, anti_alias, pointer_mode_set, > pointer_mode_get, pointer_mode > """ > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self.obj = NULL > self.evas = None > self.data = dict() > Index: evas/evas.c_evas_canvas.pxi > === > --- evas/evas.c_evas_canvas.pxi (Revision 56317) > +++ evas/evas.c_evas_canvas.pxi (Arbeitskopie) > @@ -117,7 +117,7 @@ > obscured_clear, render_updates, render, norender, freeze_get, > output_method_set, output_method_get, output_method > """ > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self.obj = NULL > self._callbacks = [None] * evas_canvas_event_callbacks_len > > Index: evas/evas.c_evas_object_smart.pxi > === > --- evas/evas.c_evas_object_smart.pxi (Revision 56317) > +++ evas/evas.c_evas_object_smart.pxi (Arbeitskopie) > @@ -359,7 +359,7 @@ > > @see: L{ClippedSmartObject} > """ > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self._smart_callbacks = dict() > cls = self.__class__ > self._m_delete = _smart_class_get_impl_method(cls, "delete") > > python-emotion: > > Index: emotion/emotion.c_emotion.pyx > === > --- emotion/emotion.c_emotion.pyx (Revision 56317) > +++ emotion/emotion.c_emotion.pyx (Arbeitskopie) > @@ -50,7 +50,7 @@ > > > cdef class Emotion(evas.c_evas.Object): > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self._emotion_callbacks = {} > > def __init__(self, c_evas.Canvas canvas not None, **kargs): > > python-elementary: > > Index: elementary/elementary.c_elementary_genlist.pxi > === > --- elementary/elementary.c_elementary_genlist.pxi (Revision 56317) > +++ elementary/elementary.c_elementary_genlist.pxi (Arbeitskopie) > @@ -126,7 +126,7 @@ > cdef readonly object _state_get_func > cdef readonly object _del_func > > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self._item_style = "default" > self._label_get_func = None > self._icon_get_func = None > Index: elementary/elementary.c_elementary_list.pxi > === > --- elementary/elementary.c_elementary_list.pxi (Revision 56317) > +++ elementary/elementary.c_elementary_list.pxi (Arbeitskopie) > @@ -49,7 +49,7 @@ > cdef Elm_List_Item *item > cdef object cbt > > - def __new__(self): > + def __cinit__(self): > self.item = NULL > > def __del_cb(self): > Index: elementary/elementary.c_elementary_gengrid.pxi > === > --- elementary/elementary.c_elementary_gengrid.pxi (Revision 56317) > +++ elementary/elementary.c_elementary_gengrid.pxi (Arbeitskopie) > @@ -126,7 +126,7 @@ > cdef readonly object _state_get_func > cdef readonly object _del_func > > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self._item_style = "default" > self._label_get_func = None > self._icon_get_func = None > > python-edje: > > Index: edje/edje.c_edje_object.pxi > === > --- edje/edje.c_edje_object.pxi (Revision 56317) > +++ edje/edje.c_edje_object.pxi (Arbeitskopie) > @@ -139,7 +139,7 @@ > ... > >>> my_edje.message_handler_set(msg_dbg) > """ > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self._signal_callbacks = {} > > def __init__(self, c_evas.Canvas canvas not None, **kargs): > > python-ecore: > > Index: ecore/ecore.c_ecore_exe.pxi > === > --- ecore/ecore.c_ecore_exe.pxi (Revision 56317) > +++ ecore/ecore.c_ecore_exe.pxi (Arbeitskopie) > @@ -91,7 +91,7 @@ > > > cdef class ExeEventFilter: > - def __new__(self, *a, **ka): > + def __cinit__(self, *a, **ka): > self.exe = NULL > self.handler = NULL > self.owner = None > @@ -280,7 +280,7 @@ > On
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: > due to recent API changes in cython [0] the python-efl bindings won't > build with the next cython release. > > The attached patches are fixing this issue. Please apply them to svn. My problem is that they wont compile under the long term stable ubuntu. Simply coz the version of cython there is not bleeding edge enough. "long term stable" is usually not "bleeding edge", and should never be for good reasons. I don't want blood on my computer. /me just woke up and might have remembered things wrong, but most of python-EFL is not compiling here coz SOMETHING is not bleeding edge enough. signature.asc Description: PGP signature -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On 01/27/2011 10:47 PM, David Seikel wrote: > On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: > >> due to recent API changes in cython [0] the python-efl bindings won't >> build with the next cython release. >> >> The attached patches are fixing this issue. Please apply them to svn. > > My problem is that they wont compile under the long term stable > ubuntu. Simply coz the version of cython there is not bleeding edge > enough. "long term stable" is usually not "bleeding edge", and should > never be for good reasons. I don't want blood on my computer. > > /me just woke up and might have remembered things wrong, but most of > python-EFL is not compiling here coz SOMETHING is not bleeding edge > enough. Did you read the change in cython? In the version required it was a deprecated feature, in the new version it is removed. S. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Thu, 27 Jan 2011 23:02:50 +0100 Sebastian Dransfeld wrote: > On 01/27/2011 10:47 PM, David Seikel wrote: > > On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut > > wrote: > > > >> due to recent API changes in cython [0] the python-efl bindings > >> won't build with the next cython release. > >> > >> The attached patches are fixing this issue. Please apply them to > >> svn. > > > > My problem is that they wont compile under the long term stable > > ubuntu. Simply coz the version of cython there is not bleeding edge > > enough. "long term stable" is usually not "bleeding edge", and > > should never be for good reasons. I don't want blood on my > > computer. > > > > /me just woke up and might have remembered things wrong, but most of > > python-EFL is not compiling here coz SOMETHING is not bleeding edge > > enough. > > Did you read the change in cython? In the version required it was a > deprecated feature, in the new version it is removed. checking for Cython >= 0.13... no cython --version Cython version 0.11.2 THAT's what I'm talking about. This is the stable Ubuntu, with it's particular version of Cython. I have good reasons for generally sticking with this version of Ubuntu and the versions of packages that come with it. Unsurprisingly enough, a lot of people have good reasons to stick with the stable release of one of the most popular distros to. So, can we have a suitable fix for older cython versions to please? signature.asc Description: PGP signature -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Thursday, January 27, 2011, David Seikel wrote: > On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: > >> due to recent API changes in cython [0] the python-efl bindings won't >> build with the next cython release. >> >> The attached patches are fixing this issue. Please apply them to svn. > > My problem is that they wont compile under the long term stable > ubuntu. Simply coz the version of cython there is not bleeding edge > enough. "long term stable" is usually not "bleeding edge", and should > never be for good reasons. I don't want blood on my computer. And you use efl from svn? ROTFL > > /me just woke up and might have remembered things wrong, but most of > python-EFL is not compiling here coz SOMETHING is not bleeding edge > enough. > -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Thu, 27 Jan 2011 23:36:43 -0200 Gustavo Sverzut Barbieri wrote: > On Thursday, January 27, 2011, David Seikel wrote: > > On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut > > wrote: > > > >> due to recent API changes in cython [0] the python-efl bindings > >> won't build with the next cython release. > >> > >> The attached patches are fixing this issue. Please apply them to > >> svn. > > > > My problem is that they wont compile under the long term stable > > ubuntu. Simply coz the version of cython there is not bleeding edge > > enough. "long term stable" is usually not "bleeding edge", and > > should never be for good reasons. I don't want blood on my > > computer. > > And you use efl from svn? ROTFL Yep, I'm one of the developers. :-P signature.asc Description: PGP signature -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Fri, 28 Jan 2011 09:36:43 +0800, Gustavo Sverzut Barbieri wrote: > On Thursday, January 27, 2011, David Seikel wrote: >> On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: >> >>> due to recent API changes in cython [0] the python-efl bindings won't >>> build with the next cython release. >>> >>> The attached patches are fixing this issue. Please apply them to svn. >> >> My problem is that they wont compile under the long term stable >> ubuntu. Simply coz the version of cython there is not bleeding edge >> enough. "long term stable" is usually not "bleeding edge", and should >> never be for good reasons. I don't want blood on my computer. > > And you use efl from svn? ROTFL In my experience (as user), it is very safe to use efl from svn. Way safer than the "stable" releases of many other projects :) -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Fri, 28 Jan 2011 13:34:01 +0800 "P Purkayastha" said: > On Fri, 28 Jan 2011 09:36:43 +0800, Gustavo Sverzut Barbieri > wrote: > > > On Thursday, January 27, 2011, David Seikel wrote: > >> On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: > >> > >>> due to recent API changes in cython [0] the python-efl bindings won't > >>> build with the next cython release. > >>> > >>> The attached patches are fixing this issue. Please apply them to svn. > >> > >> My problem is that they wont compile under the long term stable > >> ubuntu. Simply coz the version of cython there is not bleeding edge > >> enough. "long term stable" is usually not "bleeding edge", and should > >> never be for good reasons. I don't want blood on my computer. > > > > And you use efl from svn? ROTFL > > In my experience (as user), it is very safe to use efl from svn. Way safer > than the "stable" releases of many other projects :) that kind of comment should get put up on e.org in bright blinky flashing gold lights. :) -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
On Fri, 28 Jan 2011 13:34:01 +0800 "P Purkayastha" wrote: > On Fri, 28 Jan 2011 09:36:43 +0800, Gustavo Sverzut Barbieri > wrote: > > > On Thursday, January 27, 2011, David Seikel wrote: > >> On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: > >> > >>> due to recent API changes in cython [0] the python-efl bindings won't > >>> build with the next cython release. > >>> > >>> The attached patches are fixing this issue. Please apply them to svn. > >> > >> My problem is that they wont compile under the long term stable > >> ubuntu. Simply coz the version of cython there is not bleeding edge > >> enough. "long term stable" is usually not "bleeding edge", and should > >> never be for good reasons. I don't want blood on my computer. > > > > And you use efl from svn? ROTFL > > In my experience (as user), it is very safe to use efl from svn. Way safer > than the "stable" releases of many other projects :) You must get lucky and not pull right after my commits. -- Mike Blumenkrantz Zentific: NULL pointer dereferences now 50% off! -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [PATCH] fix python-e* build issue with newer cython
2011/1/28 Mike Blumenkrantz : > On Fri, 28 Jan 2011 13:34:01 +0800 > "P Purkayastha" wrote: > >> On Fri, 28 Jan 2011 09:36:43 +0800, Gustavo Sverzut Barbieri >> wrote: >> >> > On Thursday, January 27, 2011, David Seikel wrote: >> >> On Thu, 27 Jan 2011 16:58:35 +0100 Manuel Traut wrote: >> >> >> >>> due to recent API changes in cython [0] the python-efl bindings won't >> >>> build with the next cython release. >> >>> >> >>> The attached patches are fixing this issue. Please apply them to svn. >> >> >> >> My problem is that they wont compile under the long term stable >> >> ubuntu. Simply coz the version of cython there is not bleeding edge >> >> enough. "long term stable" is usually not "bleeding edge", and should >> >> never be for good reasons. I don't want blood on my computer. >> > >> > And you use efl from svn? ROTFL >> >> In my experience (as user), it is very safe to use efl from svn. Way safer >> than the "stable" releases of many other projects :) > You must get lucky and not pull right after my commits. > That's called "being subscribed to the commit mailing list", not luck. > -- > Mike Blumenkrantz > Zentific: NULL pointer dereferences now 50% off! > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel