GNOME Bugzilla – Bug 584126
gdl binding doesn't compile with gdl 2.27.2
Last modified: 2014-08-02 13:04:25 UTC
Latest gdl removed some API from the public API and now the python bindings fail to compile.
gdl.c: In function '_wrap_gdl_dock_tablabel_activate':
gdl.c:1530: warning: implicit declaration of function 'gdl_dock_tablabel_activate'
gdl.c:1530: warning: implicit declaration of function 'GDL_DOCK_TABLABEL'
gdl.c: In function '_wrap_gdl_dock_tablabel_deactivate':
gdl.c:1540: warning: implicit declaration of function 'gdl_dock_tablabel_deactivate'
gdl.c: In function 'pygdl_register_classes':
gdl.c:1790: error: 'GDL_TYPE_DOCK_NOTEBOOK' undeclared (first use in this function)
gdl.c:1790: error: (Each undeclared identifier is reported only once
gdl.c:1790: error: for each function it appears in.)
gdl.c:1794: error: 'GDL_TYPE_DOCK_PANED' undeclared (first use in this function)
gdl.c:1797: error: 'GDL_TYPE_DOCK_TABLABEL' undeclared (first use in this function)
Created attachment 135508 [details] [review]
The patch seems to work. I'm surprised that there doesn't seem to have been a release since 2/2009.
This patch is not enough - after applying it compilation succeed, but while performing import gdl in python, you still will have exceptions. So, you need another additional patch (find attached). After applying both you will have workable installation.
Created attachment 145634 [details] [review]
Another patch for gdl
Another patch for gdl - should be applied after first one (created by Gian Mario Tagliaretti)
Checked this pair of patches - they work, thanks!
The last patch (145634) hasn't been committed.
Development of the static Python bindings has ceased,
The last gnome-python-extras code changes took place in April 2011:
This project is not under active development anymore.
This project got recently archived in GNOME Git.
It is currently unlikely that there will be any further active development.
Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again. If you are interested in maintainership, inform https://mail.gnome.org/mailman/listinfo/desktop-devel-list
gnome-python-extras wrapped application and library API in GNOME 2. For Python in GNOME 3, see https://wiki.gnome.org/Projects/PyGObject and its gobject-introspection approach.