[Bug 31473] Adjust the g-i namespace for tp-glib to "TelepathyGLib"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Nov 8 18:58:00 CET 2010


https://bugs.freedesktop.org/show_bug.cgi?id=31473

--- Comment #3 from Travis Reitter <travis.reitter at collabora.co.uk> 2010-11-08 09:58:00 PST ---
(In reply to comment #2)
> Does this file need to be installed, or is it enough to have it next to the
> .gir when vapigen is run?
> 
> You say "fixes". Is our .gir file wrong? Is Vala wrong? Is this going to need
> "fixing" repeatedly?

No, the metadata file doesn't need to be installed. It's just for making
binding-generation-time adjustments. (If there are suddenly other g-i bindings
for tp-glib that we don't include in our source tree, we can install it, but I
don't see that ever happening).

Our GIR file is fine. Vala's convention is to just use the C namespace for Vala
bindings. So, way back when, I was using the namespace "Tp" for our Vala
bindings. Then I switched it to "TelepathyGLib" for consistency, and now Vala's
caught up vapigen (operating on GIR) to the same convention as vapigen
(operating on GIDL).

To avoid breaking compatibility, this metadata file keeps the Vala bindings'
namespace as "TelepathyGLib".

Since this just catches up to existing Vala convention, this shouldn't change
in the future.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list