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 667907 - Vala bindings are installed to wrong location
Vala bindings are installed to wrong location
Status: RESOLVED FIXED
Product: libgda
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-14 07:55 UTC by Evan Nemerson
Modified: 2012-06-22 19:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Evan Nemerson 2012-01-14 07:55:51 UTC
It looks like the Vala bindings are currently installed to the version-specific vapi directory. Bindings that don't depend on a specific version of Vala (i.e., don't link to libvala) should just install to $datadir/vala/vapi

As it is, the libgda-4.0 bindings will conflict with the vapi installed by Vala, and will not be used when people upgrade to a new version of Vala.

Once libgda releases a version (of libgda-4.0) which installs to the correct location I think we can go ahead and remove the bindings from Vala so your bindings are picked up instead of those distributed with Vala.
Comment 1 Daniel Espinosa 2012-01-20 20:18:36 UTC
I will modify installation of Vala bindings from version specific to $datadir/vala/vapi, for both libgda-4.0.vapi and libgda-5.0.vapi

I hope to include this modifications in 4.2.13 and 5.0.3, including some backports from master.
Comment 2 Daniel Espinosa 2012-01-23 20:49:25 UTC
Vala bindings for upcoming 5.2 is now in master.

http://git.gnome.org/browse/libgda/commit/?id=50920b5c1b02bbb29f45b47fcc0ac40d81c49d87
Comment 3 Daniel Espinosa 2012-01-23 23:55:03 UTC
Vala bindings corrections for 5.0.x is now in place for upcoming 5.0.3:

http://git.gnome.org/browse/libgda/commit/?h=LIBGDA_5.0&id=91304792a24f8c40cc848b223d883b946fb8658f
Comment 4 Daniel Espinosa 2012-01-24 22:17:11 UTC
libgda's Vala bindings now are installed at $(datadir)/vala/vapi for upcoming 4.2.13, se at:

http://git.gnome.org/browse/libgda/commit/?h=LIBGDA_4.2&id=12a0491a9f126c522bc989ad64b6b5303d5f71cf
Comment 5 Murray Cumming 2012-02-02 11:28:44 UTC
So is this bug fixed now?
Comment 6 Evan Nemerson 2012-06-22 19:57:36 UTC
Yes.