From 58f9fcdf4b94b13ee51af105106ca2a4b38454c3 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Sun, 10 Nov 2019 20:47:04 -0500 Subject: [PATCH] pantheon.switchboard: 2.3.6 -> 2.3.7 Drops libunity https://github.com/elementary/switchboard/pull/109. https://github.com/elementary/switchboard/releases/tag/2.3.7 --- pkgs/desktops/pantheon/apps/switchboard/default.nix | 6 ++---- .../pantheon/apps/switchboard/plugs-path-env.patch | 10 +++------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/pkgs/desktops/pantheon/apps/switchboard/default.nix b/pkgs/desktops/pantheon/apps/switchboard/default.nix index 5c10cc0e9e4b..30f870671eee 100644 --- a/pkgs/desktops/pantheon/apps/switchboard/default.nix +++ b/pkgs/desktops/pantheon/apps/switchboard/default.nix @@ -11,20 +11,19 @@ , granite , gettext , clutter-gtk -, libunity , elementary-icon-theme , wrapGAppsHook }: stdenv.mkDerivation rec { pname = "switchboard"; - version = "2.3.6"; + version = "2.3.7"; src = fetchFromGitHub { owner = "elementary"; repo = pname; rev = version; - sha256 = "0lsrn636b0f9a58jbid6mlhgrf8ajnh7phwmhgxz55sz7k7qa58g"; + sha256 = "160aar5dqd019vn28cm0d0ijj1i6mwpqkl7a1l4lpasw12drxwxz"; }; passthru = { @@ -49,7 +48,6 @@ stdenv.mkDerivation rec { granite gtk3 libgee - libunity ]; patches = [ diff --git a/pkgs/desktops/pantheon/apps/switchboard/plugs-path-env.patch b/pkgs/desktops/pantheon/apps/switchboard/plugs-path-env.patch index f5d8567bffed..d5931d59ec9a 100644 --- a/pkgs/desktops/pantheon/apps/switchboard/plugs-path-env.patch +++ b/pkgs/desktops/pantheon/apps/switchboard/plugs-path-env.patch @@ -1,13 +1,9 @@ diff --git a/lib/PlugsManager.vala b/lib/PlugsManager.vala -index 75d0eaf..c227908 100644 +index 8b21e7b..bc36321 100644 --- a/lib/PlugsManager.vala +++ b/lib/PlugsManager.vala -@@ -34,10 +34,18 @@ public class Switchboard.PlugsManager : GLib.Object { - private Gee.LinkedList plugs; - - public signal void plug_added (Switchboard.Plug plug); -- -+ +@@ -36,7 +36,15 @@ public class Switchboard.PlugsManager : GLib.Object { + private PlugsManager () { plugs = new Gee.LinkedList (); - var base_folder = File.new_for_path (Build.PLUGS_DIR);