Bug 54999

Summary: Use tp-glib single header
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: tp-farstreamAssignee: Olivier Crête <olivier.crete>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium CC: jonny.lamb, smcv, xclaesse
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2012-09-17 08:46:14 UTC
telepathy-glib 1.0 will only allow to include telepathy-glib.h and telepathy-glib-dbus.h.

We can enforce this behaviour with tp-glib master by defining:
AC_DEFINE(TP_DISABLE_SINGLE_INCLUDE, 1, [Disable single include header])

It would be cool to do that in tp-farstream so Empathy could start using this macro and so make the porting to 1.0 easier.
Comment 1 Olivier Crête 2012-09-17 16:51:39 UTC
This seems to be only available in the 0.19.x branch, so I guess this will have to wait until you have a stable branch of tp-glib to use.
Comment 2 Xavier Claessens 2012-09-17 16:53:11 UTC
We'll release 0.20 shortly, in time for GNOME 3.6.0.
Comment 3 Simon McVittie 2012-09-17 17:02:09 UTC
telepathy-glib 0.19.x are development releases but are API- and ABI-stable, if that helps.

(In other words: unlike GLib, once we have released API/ABI in an odd-numbered branch, it stays.)
Comment 4 Olivier Crête 2012-09-17 17:14:08 UTC
commit 7d487ccde03cefe7938affe4c0f98360cef7ba8d
Author: Olivier Crête <olivier.crete@collabora.com>
Date:   Mon Sep 17 13:13:24 2012 -0400

    Only include telepathy-glib.h
    
    Also bump telepathy-glib requirement to 0.19.0
    
    https://bugs.freedesktop.org/show_bug.cgi?id=54999

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.