colord: move the DBus configuration to /etc

NixOS generates /etc/dbus-1/system.conf including the configuration
of all the dbus derivations. Unfortunately, colord places the configuration
into $out/share instead of expected $out/etc.

This commit patches colord to use the expected path.

https://github.com/hughsie/colord/issues/61
This commit is contained in:
Jan Tojnar 2017-11-12 03:30:35 +01:00
parent d76faaa2d7
commit fabc930ddd
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -36,6 +36,13 @@
)
endif
@@ -50,5 +50,5 @@
output : 'org.freedesktop.ColorManager.conf',
configuration : con2,
install: true,
- install_dir: join_paths(get_option('datadir'), 'dbus-1', 'system.d') ,
+ install_dir: join_paths(get_option('prefix'), 'etc', 'dbus-1', 'system.d') ,
)
--- a/meson.build
+++ b/meson.build
@@ -258,6 +258,3 @@