Commit da8d0549 authored by Kalev Lember's avatar Kalev Lember Committed by Zeeshan Ali

Move DBus interface files to their canonical location

Install them into /usr/share/dbus-1/interfaces/.

At the same time, also rename the files as per convention: instead of
geoclue-interface.xml and geoclue-agent-interface.xml, rename them to
org.freedesktop.GeoClue2.xml and org.freedesktop.GeoClue2.Agent.xml,
respectfully.

This shouldn't require any changes in apps using geoclue since they use
pkgconfig to get the paths of the interface descrition files.

https://bugs.freedesktop.org/show_bug.cgi?id=76004
parent b561f162
......@@ -8,8 +8,8 @@ if BUILD_GEOIP_SERVER
SUBDIRS += geoip-server
endif # BUILD_GEOIP_SERVER
interfacedir = $(datadir)/geoclue-$(GEOCLUE_API_VERSION)
interface_DATA = geoclue-interface.xml
interfacedir = $(datadir)/dbus-1/interfaces
interface_DATA = org.freedesktop.GeoClue2.xml
dbus_built_sources = geoclue-interface.c geoclue-interface.h
geoclue-interface.c: geoclue-interface.h
......
include $(top_srcdir)/Makefile.decl
interfacedir = $(datadir)/geoclue-2.0
interface_DATA = geoclue-agent-interface.xml
interfacedir = $(datadir)/dbus-1/interfaces
interface_DATA = org.freedesktop.GeoClue2.Agent.xml
docs-org.freedesktop.GeoClue2.Agent.xml: Makefile.am $(interface_DATA)
$(AM_V_GEN)$(GDBUS_CODEGEN) \
......
......@@ -3,8 +3,8 @@ exec_prefix=@exec_prefix@
datarootdir=@datarootdir@
datadir=@datadir@
dbus_interface=${datadir}/geoclue-2.0/geoclue-interface.xml
agent_dbus_interface=${datadir}/geoclue-2.0/geoclue-agent-interface.xml
dbus_interface=${datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
agent_dbus_interface=${datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
Name: Geoclue
Description: The Geoinformation Service
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment