Created attachment 63654 [details] [review] Get udevrulesdir from pkg-config udev upstream moves the rulesdir around sometimes. Nowadays it is beneath $libdir, which even varies across distributions. Because of this, is it kind of stupid to hardcode the path in every package. But you can thank $deity that we have pkg-config and that udev actually provides the path to it's directory via a pkg-config variable. So colord should use this.
Patch is okay in theory, but it breaks make distcheck by: /usr/bin/install: cannot remove `/usr/lib/udev/rules.d/69-cd-sensors.rules': Permission denied /usr/bin/install: cannot remove `/usr/lib/udev/rules.d/95-cd-devices.rules': Permission denied Can you integrate the "$PKG_CONFIG --variable=udevdir udev" into test $prefix or similar permissions check please, thanks.
Created attachment 63690 [details] [review] Get udevrulesdir from pkg-config Like this? kind of untested, because make distcheck fails here because of unrelated reasons.
Pushed to master, thanks.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.