Bastien Nocera
29c79c9e3b
3.5
2023-07-25 10:28:22 +02:00
Gioele Barabucci
caa0318903
build: Install D-Bus policy in /usr/share, not /etc
...
dbus supports policy files in both /usr/share/dbus-1/system.d and
/etc/dbus-1/systemd. The recently released dbus 1.14.0, officially
deprecates installing packages' default policies into /etc/dbus-1/systemd,
instead reserving it for the sysadmin. This is the same idea as the
difference between /usr/lib/udev/rules.d and /etc/udev/rules.d.
See https://bugs.debian.org/1006631
2023-07-24 15:54:21 +02:00
Bastien Nocera
cd6d5e653e
3.4
2022-07-15 15:08:38 +02:00
Bastien Nocera
e4f0e05af3
tests: Make tests a build option
...
And don't skip tests if any test dependencies are missing.
2022-04-04 17:51:47 +02:00
Bastien Nocera
0b1574d0eb
main: Check whether user is allowed to claim a sensor
...
Check whether a particular user/D-Bus client is allowed to claim a
sensor.
The ClaimCompass method on net.hadess.SensorProxy.Compass doesn't have a
check as only the geoclue user is allowed to access this interface, as
per the D-Bus configuration.
2021-09-29 12:06:55 +02:00
Bastien Nocera
63a84af6a2
data: Add polkit policy description
...
Describe and set defaults for claiming sensors.
2021-09-29 11:54:26 +02:00
Bastien Nocera
83d963b345
3.3
2021-08-16 14:52:44 +02:00
Bastien Nocera
b6c4c7ccb7
3.2
2021-08-15 00:30:39 +02:00
Bastien Nocera
7559d9b652
build: Require a newer libgudev to fix scale parsing errors
2021-08-15 00:18:43 +02:00
Bastien Nocera
49d3771716
3.1
2021-06-14 13:40:32 +02:00
Bastien Nocera
9300c064bd
build: Update version
...
meson port was started before 3.0 was released, and we haven't had a
meson release yet, so this slipped.
2021-06-14 13:40:32 +02:00
Bastien Nocera
df7472f3bc
tests: Add test suite
...
IIO devices aren't supported by umockdev, so make do with supporting
hwmon devices, as well as our 2 fake light and compass drivers.
2021-01-15 12:35:41 +01:00
Bastien Nocera
23859b43ce
build: Require newer gudev for the uncached sysfs attr API
2020-09-29 16:56:51 +02:00
Bastien Nocera
80588ea42a
build: Make sure libexecdir is an absolute path
2020-08-07 11:21:53 +02:00
Bastien Nocera
0e5ae3798c
build: Update meson.build license to match COPYING
2020-07-03 11:54:59 +02:00
Bastien Nocera
af2f3a1055
build: Install daemon in libexecdir
...
Rather than sbindir, which would have meant it could be in the PATH.
2020-06-27 14:02:32 +02:00
Bastien Nocera
cf1ac31f55
build: Add meson build system files
2020-06-26 18:16:42 +02:00