Re: [Gtk-osx-users] pygtk 2.22.0 100% cpu bug (solution included)
Status: Beta
Brought to you by:
jralls
From: John R. <jr...@ce...> - 2011-02-04 17:09:58
|
On Feb 4, 2011, at 4:22 AM, Antoine Martin wrote: > Hi, > > There's a bug in most recent versions of pygtk which can cause 100% cpu > usage in pygtk apps: > https://bugzilla.gnome.org/show_bug.cgi?id=640738 > > This affects 2.22 which is what gtk-osx uses by default, to fix my > gtk-osx app, I simply added: > branches["pygtk"] = "http://winswitch.org/src/pygtk-2.22.1.tar.bz2" > to my .jhbuildrc-custom > The pygtk version above is just 2.22.0 plus this one patch. > Thought others might be interested. > > Also, if anyone needs to package a pygtk application for osx, I have put > my experience/instructions here: > http://winswitch.org/dev/macosx.html > They are very much based on tryton's, which were an excellent starting > point for me. It's not all pretty... but it works reliably! Thanks for pointing that out. I've just finished an overhaul of the stable moduleset, and I'll include the patch when I push it. (I need to test everything first.) Regards, John Ralls |