After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626229 - Migrate from PyGTK to PyGObject introspection-based bindings
Migrate from PyGTK to PyGObject introspection-based bindings
Status: RESOLVED OBSOLETE
Product: gtk-vnc
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-vnc-maint
gtk-vnc-maint
Depends on:
Blocks: 626218
 
 
Reported: 2010-08-06 16:27 UTC by André Klapper
Modified: 2010-08-06 17:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.31/2.32



Description André Klapper 2010-08-06 16:27:17 UTC
Grep'ing for pygtk-2.0 it seems that this module uses the stable bindings provided by PyGTK. 

As it is unlikely that anybody will continue maintaining these stable bindings, applications using PyGTK should be ported to using the dynamic Python bindings provided by PyGObject (now that PyGI has been merged into PyGObject).
The feedback on migration provided by application maintainers will also help PyGObject to improve its dynamic bindings.

Please see http://live.gnome.org/GnomeGoals/PythonIntrospectionPorting for more information and guidelines.

For help there is a mailing list at http://www.daa.com.au/mailman/listinfo/pygtk . For getting involved in the development of pygobject there is a mailing list at http://mail.gnome.org/mailman/listinfo/python-hackers-list . There is also the #python IRC channel on irc.gimp.net.

./gtk-vnc/configure.ac:  PKG_CHECK_MODULES(PYGTK, pygtk-2.0 >= $PYGTK_REQUIRED)
Comment 1 Daniel P. Berrange 2010-08-06 16:39:05 UTC
GTK-VNC already provides GObject introspection data for its APIs. eg this example using GJS/Seed

http://git.gnome.org/browse/gtk-vnc/tree/examples/gvncviewer.js

The PyGTK2 based binding is kept for backwards compatibility. If you build GTK-VNC against GTK3, then the legacy binding will be explicitly disabled:

http://mail.gnome.org/archives/gtk-vnc-list/2010-July/msg00019.html

Unless there's something extra required for PyGObject beyond just providing GIR data, then this can be closed
Comment 2 André Klapper 2010-08-06 17:26:23 UTC
Oh great. Thanks a lot for explaining!