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 584126 - gdl binding doesn't compile with gdl 2.27.2
gdl binding doesn't compile with gdl 2.27.2
Status: RESOLVED WONTFIX
Product: gnome-python-extras
Classification: Deprecated
Component: gdl
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-05-28 14:15 UTC by Vincent Untz
Modified: 2014-08-02 13:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.71 KB, patch)
2009-05-28 18:41 UTC, Gian Mario Tagliaretti
none Details | Review
Another patch for gdl (535 bytes, patch)
2009-10-16 20:57 UTC, Aliaksandr Stelmachonak
none Details | Review

Description Vincent Untz 2009-05-28 14:15:36 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)
Comment 1 Gian Mario Tagliaretti 2009-05-28 18:41:58 UTC
Created attachment 135508 [details] [review]
patch
Comment 2 David Ronis 2009-09-23 20:09:11 UTC
The patch seems to work.  I'm surprised that there doesn't seem to have been a release since 2/2009.
Comment 3 Aliaksandr Stelmachonak 2009-10-16 20:55:25 UTC
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.
Comment 4 Aliaksandr Stelmachonak 2009-10-16 20:57:18 UTC
Created attachment 145634 [details] [review]
Another patch for gdl

Another patch for gdl - should be applied after first one (created by Gian Mario Tagliaretti)
Comment 5 Alexey Rusakov 2009-12-24 23:32:29 UTC
Checked this pair of patches - they work, thanks!
Comment 6 Emilio Pozuelo Monfort 2010-04-23 17:17:18 UTC
The last patch (145634) hasn't been committed.
Comment 7 Yaakov Selkowitz 2011-12-05 04:50:06 UTC
Development of the static Python bindings has ceased,
Comment 8 André Klapper 2014-08-02 13:04:25 UTC
The last gnome-python-extras code changes took place in April 2011:
https://git.gnome.org/browse/archive/gnome-python-extras/log/

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.