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 649526 - Add autotools vapi generation a la GObject-Introspection
Add autotools vapi generation a la GObject-Introspection
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
unspecified
Other Linux
: Normal major
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2011-05-06 01:15 UTC by Daniel Espinosa
Modified: 2012-01-21 05:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add autotools integration for vapigen for upstream bindings (7.56 KB, patch)
2012-01-17 22:25 UTC, Evan Nemerson
none Details | Review

Description Daniel Espinosa 2011-05-06 01:15:37 UTC
GObject Introspection have a gide and macros to add GIR and typelib generation at source code compilation time. See at:

https://live.gnome.org/GObjectIntrospection/AutotoolsIntegration

If Vala allows this, any module can add this support using AutoTools, and on installing valac will have updated vapi files when new releases of the module.

GI allows to get API updates for new version automatically, while Vala have "static" vapi distributed by its source tree, when the library add new API if the binding maintener doesn't updates vapi Vala will lacks this new functionalists. Adding AutoTools support to generate vapi files in the library source code and allow to install updated vapi files to be used by Vala, will be a good improvement and deprecate manual updating of vapi.
Comment 1 Evan Nemerson 2012-01-17 22:25:48 UTC
Created attachment 205488 [details] [review]
Add autotools integration for vapigen for upstream bindings
Comment 2 Evan Nemerson 2012-01-21 05:12:44 UTC
commit 32faf1522c8ebc09f2ec9388fbe96c20c232af70
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Fri Jan 20 21:09:47 2012 -0800

    Add autotools vapigen integration for upstream bindings
    
    Fixes bug 649526.