[telepathy-gabble/master] Add a variable with the path to Gabble to .pc files
Will Thompson
will.thompson at collabora.co.uk
Thu Jan 21 04:05:33 PST 2010
Tests for out-of-tree Gabble plugins need to know where Gabble lives in
order to set its working directory and environment variables, etc. It's
possible to set the latter on the tests' dbus-daemon, but having the
path to Gabble allows plugins' test framework look more like Gabble's
(with their own directory of D-Bus services, rather than relying on the
installed set).
Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
gabble/telepathy-gabble-uninstalled.pc.in | 2 ++
gabble/telepathy-gabble.pc.in | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/gabble/telepathy-gabble-uninstalled.pc.in b/gabble/telepathy-gabble-uninstalled.pc.in
index 338f7b0..cd1670b 100644
--- a/gabble/telepathy-gabble-uninstalled.pc.in
+++ b/gabble/telepathy-gabble-uninstalled.pc.in
@@ -6,6 +6,8 @@ libdir=@libdir@
plugindir=${libdir}/telepathy/gabble-0
+gabblepath=@abs_top_builddir@/src/telepathy-gabble # For plugins' tests
+
Name: Telepathy-Gabble
Description: XMPP backend for the Telepathy framework
Version: @VERSION@
diff --git a/gabble/telepathy-gabble.pc.in b/gabble/telepathy-gabble.pc.in
index c01a900..d566118 100644
--- a/gabble/telepathy-gabble.pc.in
+++ b/gabble/telepathy-gabble.pc.in
@@ -2,8 +2,10 @@ prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
+libexecdir=@libexecdir@
plugindir=${libdir}/telepathy/gabble-0
+gabblepath=${libexecdir}/telepathy-gabble # For plugins' tests
Name: Telepathy-Gabble
Description: XMPP backend for the Telepathy framework
--
1.5.6.5
More information about the telepathy-commits
mailing list