GNOME Bugzilla – Bug 689859
folks.pc requires telepathy
Last modified: 2012-12-07 19:58:14 UTC
When compiling with --disable-telepathy-backend on a system without Telepathy, the resulting folks.pc still has a Require entry for telepathy-glib and therefore is unusable. When compiling with Telepathy support, apps using folks.pc end up linking againstlibtelepathy-glib.so.0 even though they and libfolks don't need it. Therefore I think that telepathy-glib should be removed from folks.pc. A folks-telepathy.pc needs to be created for the Telepathy backend, similar to folks-eds.pc. Then apps which expect Telepathy to be included in folks.pc need to be adapted.
Wait, there *is* already a folks-telepathy.pc. Then I cannot think of any reason to not just remove telepathy-glib from folks.pc.
(In reply to comment #0) > When compiling with Telepathy support, apps using folks.pc end up linking > againstlibtelepathy-glib.so.0 even though they and libfolks don't need it. When removing telepathy-glib, the library is no longer linked in and everything still works.
Created attachment 230995 [details] [review] remove telepathy-glib from folks.pc
Review of attachment 230995 [details] [review]: Good catch. Please push to master!
Committed as 8c4ec6251