gnome3.gnome-settings-daemon: remove backlight helper

Brightnessn can now be controlled through dbus via systemd/logind, which
gsd prefers if available.
This commit is contained in:
Tor Hedin Brønner 2020-02-10 22:08:29 +01:00 committed by Jan Tojnar
parent c48ba8044a
commit c7cf166533
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4

View File

@ -53,7 +53,6 @@ stdenv.mkDerivation rec {
src = ./fix-paths.patch;
inherit tzdata mousetweaks;
})
./global-backlight-helper.patch
];
nativeBuildInputs = [
@ -103,11 +102,6 @@ stdenv.mkDerivation rec {
# we're using plain
NIX_CFLAGS_COMPILE = "-DG_DISABLE_CAST_CHECKS";
# So the polkit policy can reference /run/current-system/sw/bin/gnome-settings-daemon/gsd-backlight-helper
postFixup = ''
mkdir -p $out/bin/gnome-settings-daemon
ln -s $out/libexec/gsd-backlight-helper $out/bin/gnome-settings-daemon/gsd-backlight-helper
'';
postPatch = ''
for f in gnome-settings-daemon/codegen.py plugins/power/gsd-power-constants-update.pl meson_post_install.py; do