pkg-config: add a couple of additional variables to .pc
authorLennart Poettering <lennart@poettering.net>
Wed, 23 Jun 2010 01:14:27 +0000 (03:14 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 Jun 2010 01:14:27 +0000 (03:14 +0200)
We already export the session services dir in the .pc file, add the
system services dir too, as well as the interfaces dir, so that packages
can drop their files into the right place.

Eventually we need to move the system-services dir to a place that is
relocatable to /lib/dbus, and this change makes the location queriable
for other projects, as a first step towards that goal.

dbus-1.pc.in

index 866f81c..e3e63c4 100644 (file)
@@ -5,11 +5,12 @@ includedir=@includedir@
 system_bus_default_address=@DBUS_SYSTEM_BUS_DEFAULT_ADDRESS@
 sysconfdir=@EXPANDED_SYSCONFDIR@
 session_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/services
+system_bus_services_dir=@EXPANDED_DATADIR@/dbus-1/system-services
+interfaces_dir=@EXPANDED_DATADIR@/dbus-1/interfaces
 daemondir=@DBUS_DAEMONDIR@
 
 Name: dbus
 Description: Free desktop message bus
 Version: @VERSION@
-Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@ 
+Libs: -L${libdir} -ldbus-1 @DBUS_CLIENT_LIBS@
 Cflags: -I${includedir}/dbus-1.0 -I${libdir}/dbus-1.0/include
-