Bug 42296

Summary: tp-glib creates insufficient binding for ContactInfoField with old versions of Vala
Product: Telepathy Reporter: Travis Reitter <travis.reitter>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: bigon
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Bump Vala requirement

Description Travis Reitter 2011-10-26 17:08:08 UTC
Created attachment 52809 [details] [review]
Bump Vala requirement

If tp-glib is built with valac-0.12, it doesn't generate a Vala binding for the ContactInfoField constructor.

Folks depends upon this constructor, so building tp-glib with valac-0.12 and later Folks with valac-0.14 (or later) results in the following build failure (caught by Laurent):

VALAC  libfolks_telepathy_la_vala.stamp
tpf-persona-store.vala:2196.19-2196.67: error: `TelepathyGLib.ContactInfoField' does not have a default constructor
var field = new ContactInfoField ("bday", parameters, values);
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Once this fix is included in a release of tp-glib, Folks will depend upon that version.

(Vala 0.14.0 is the stable version for Gnome 3.2 and is included in the latest releases of the major distros).
Comment 1 Will Thompson 2011-11-11 10:56:21 UTC
Merged to 0.16 and master!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.