diff options
author | worldofpeace <worldofpeace@protonmail.ch> | 2019-06-11 02:40:21 -0400 |
---|---|---|
committer | worldofpeace <worldofpeace@protonmail.ch> | 2019-06-11 03:00:35 -0400 |
commit | f7bbb18f83f46b6e95663469e06ece2d2aba854c (patch) | |
tree | 702340b9b76f527a97086ef928bbfcbc294121d4 | |
parent | b0bea52821b8c1f0c1c6a04b6d8750930600c779 (diff) | |
download | nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar.gz nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar.bz2 nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar.lz nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar.xz nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.tar.zst nixpkgs-f7bbb18f83f46b6e95663469e06ece2d2aba854c.zip |
pantheon.elementary-settings-daemon: 3.32.0 -> 3.30.2
This downgrade is needed temporarily to alleviate breakages such as [0] to Pantheon on Unstable. [0]: https://github.com/elementary/gala/issues/518
-rw-r--r-- | pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix | 9 | ||||
-rw-r--r-- | pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch | 30 |
2 files changed, 21 insertions, 18 deletions
diff --git a/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix b/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix index aa451ba7516..d8514c51f4f 100644 --- a/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix +++ b/pkgs/desktops/pantheon/services/elementary-settings-daemon/default.nix @@ -36,25 +36,26 @@ , systemd , tzdata , upower +, libXtst , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "elementary-settings-daemon"; - version = "3.32.0"; + version = "3.30.2"; projectName = "gnome-settings-daemon"; src = fetchurl { url = "mirror://gnome/sources/${projectName}/${stdenv.lib.versions.majorMinor version}/${projectName}-${version}.tar.xz"; - sha256 = "15w3sn9qf1zqlmk8c93kgrh2a20s62m5yfizkp21m5ylrrd07f63"; + sha256 = "0c663csa3gnsr6wm0xfll6aani45snkdj7zjwjfzcwfh8w4a3z12"; }; # Source for ubuntu's patchset src2 = fetchgit { url = "https://git.launchpad.net/~ubuntu-desktop/ubuntu/+source/${projectName}"; rev = "refs/tags/ubuntu/${version}-1ubuntu1"; - sha256 = "0ayd50mr0pv2h4j1r1haf8y2hj8jv59vypa7lx8jis0llrm7s3yn"; + sha256 = "02awkhw6jqm7yh812mw0nsdmsljfi8ksz8mvd2qpns5pcv002g2c"; }; # We've omitted the 53_sync_input_sources_to_accountsservice patch because it breaks the build. @@ -71,6 +72,7 @@ stdenv.mkDerivation rec { "${patchPath}/64_restore_terminal_keyboard_shortcut_schema.patch" "${patchPath}/correct_logout_action.patch" "${patchPath}/ubuntu-lid-close-suspend.patch" + "${patchPath}/revert-wacom-migration.patch" "${patchPath}/revert-gsettings-removals.patch" "${patchPath}/revert-mediakeys-dbus-interface-drop.patch" "${patchPath}/ubuntu_ibus_configs.patch" @@ -129,6 +131,7 @@ stdenv.mkDerivation rec { gsettings-desktop-schemas gtk3 lcms2 + libXtst libcanberra-gtk3 libgnomekbd # for org.gnome.libgnomekbd.keyboard schema libgudev diff --git a/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch b/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch index dcdc83934ba..c073b23e6b9 100644 --- a/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch +++ b/pkgs/desktops/pantheon/services/elementary-settings-daemon/global-backlight-helper.patch @@ -1,18 +1,18 @@ -diff --git a/plugins/power/gsd-backlight.c b/plugins/power/gsd-backlight.c -index d7d10fd2..5619d6ad 100644 ---- a/plugins/power/gsd-backlight.c -+++ b/plugins/power/gsd-backlight.c -@@ -358,7 +358,7 @@ gsd_backlight_run_set_helper (GsdBacklight *backlight, GTask *task) - proc = g_subprocess_new (G_SUBPROCESS_FLAGS_STDOUT_SILENCE, - &error, - "pkexec", -- LIBEXECDIR "/gsd-backlight-helper", -+ "/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper", - g_udev_device_get_sysfs_path (backlight->udev_device), - data->value_str, NULL); - } else { +diff --git a/plugins/power/gpm-common.c b/plugins/power/gpm-common.c +index e83f1549..15890053 100644 +--- a/plugins/power/gpm-common.c ++++ b/plugins/power/gpm-common.c +@@ -452,7 +452,7 @@ run_backlight_helper (enum BacklightHelperCommand command, + gchar *argv[5] = { 0 }; + + argv[0] = "pkexec"; +- argv[1] = LIBEXECDIR "/gsd-backlight-helper"; ++ argv[1] = "/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper"; + argv[2] = helper_args[command]; + argv[3] = value; + diff --git a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in -index f16300f8..79d6bd17 100644 +index f16300f8..f19bba3e 100644 --- a/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in +++ b/plugins/power/org.gnome.settings-daemon.plugins.power.policy.in.in @@ -25,7 +25,7 @@ @@ -22,5 +22,5 @@ index f16300f8..79d6bd17 100644 - <annotate key="org.freedesktop.policykit.exec.path">@libexecdir@/gsd-backlight-helper</annotate> + <annotate key="org.freedesktop.policykit.exec.path">/run/current-system/sw/bin/elementary-settings-daemon/gsd-backlight-helper</annotate> </action> - + </policyconfig> |