[Bug 27178] don't install private headers, and privatize most of the API/ABI

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 24 20:57:11 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=27178





--- Comment #9 from Cosimo Alfarano <cosimo.alfarano at collabora.co.uk>  2010-03-24 12:56:49 PST ---
> It seems that the daemon uses these, so they need to be visible to it as well
as within the library, but (e.g.) Empathy and Moblin don't need these headers
or the symbols they export. Am I understanding correctly?

Yes.
Following the chat about symbols we had a week ago, I pointed them out in order
to clarify what might be split into a convenience lib to be used only by the
service, and what in the official shared one.

Substantially this set (the same you quoted)

observer.c
dbus-service.c
channel.c
channel-factory.c
channel-text.c
log-store-factory.c
debug.c
action-chain.c

contains symbols that are never accessed outside the set itself and main(),
which can statically link the convenience library, including them all, and
dynamically link the official library.

This is true if we exclude tests/ which I don't think is a problem.

Clients will link only the official library.
This to avoid most of the non public symbols to be appear in the official
library.


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



More information about the telepathy-bugs mailing list