[Gtk-osx-users] pygtk 2.22.0 100% cpu bug (solution included)
Status: Beta
Brought to you by:
jralls
From: Antoine M. <an...@na...> - 2011-02-04 12:22:17
|
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! Cheers Antoine |