forked from drath/libratbag
When developing with ratbagd, we need to test against master, not the system-wide installed daemon. Allow to name space ratbagd with the creation of a new (not installed) rabtagd.devel daemon, that is tagged with the git sha of the ratbagd folder. Handle this namespace in ratbagctl by looking at an environment variable RATBAGCTL_DEVEL. Then provide a python script that launches both rabtagd.devel and ratbagctl with the correct environment variable set so that they can talk to each other. Note that we blindly overwrite the dbus .conf file as nobody else than developers should have one. Note: the tagging of ratbagd.devel (like the meson bit) won't run unless a rebuild is triggered. So we don't necessarily always get the right git tag. However, touching ratbagctl.in triggers a rebuild, so we should be OK-ish. Fixes #206 Signed-off-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
148 B
Executable File
148 B
Executable File