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 314959 - Definition file generator (defgen.py)
Definition file generator (defgen.py)
Status: RESOLVED OBSOLETE
Product: pygobject
Classification: Bindings
Component: codegen
2.15.x
Other All
: Normal enhancement
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2005-08-31 17:10 UTC by Osvaldo Santana Neto
Modified: 2009-02-21 17:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
defgen source code (12.54 KB, application/x-compressed-tar)
2005-08-31 17:11 UTC, Osvaldo Santana Neto
Details

Description Osvaldo Santana Neto 2005-08-31 17:10:21 UTC
This is not a bug, this is just a contribution.
Comment 1 Osvaldo Santana Neto 2005-08-31 17:11:56 UTC
Created attachment 51619 [details]
defgen source code

This is the first version of defgen. Defgen is a new h2def.py implementation.
Comment 2 Gian Mario Tagliaretti 2007-10-27 20:22:13 UTC
Hi Osvaldo, I had a look at your defgen but I couldn't figure out how this will improve h2defs or defsgen.py (which uses ctypes) already in codegen.

Did you had the chance to do more work on it? Do you mind to spend a couple of words on the benefit of your defgen?

Thanks a lot in advance.
Comment 3 Osvaldo Santana Neto 2007-10-28 23:21:04 UTC
Hi Gian,

I've created this script a long time ago when I didn't know about h2def. But after knowing about h2def I've decided to put this file here because my implementation is a little bit better than h2def (with little modification we can generate other output formats).

The defgen is older than defsgen.py and I don't know much about the later to make a good comparison.

When I submited this file to the PyGTK maintainers they told me to take a look at the glib-introspection project and move the defgen.py to those project, but the glib-instrospection project didn't evolve much since them.

I have no plans to maintain defgen.py because I believe that the defsgen+ctypes approach is better than code-generation and real improvements on h2def/defgen/defsgen can only be done with glib/gobject improvements (eg. glib-introspection or some kind of IDL).

Comment 4 Gian Mario Tagliaretti 2009-02-21 17:23:03 UTC
Osvaldo,

please accept my apologies for writing back after such a long time, now that gobject-introspection is going very well I guess we can close this bug,

thanks for you contribution.