Merge #310170: xfce.xfce4-namebar-plugin: drop

+1 -45
+1 -2
pkgs/desktops/xfce/default.nix
··· 132 133 xfce4-i3-workspaces-plugin = callPackage ./panel-plugins/xfce4-i3-workspaces-plugin { }; 134 135 - xfce4-namebar-plugin = callPackage ./panel-plugins/xfce4-namebar-plugin { }; 136 - 137 xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin { }; 138 139 xfce4-notes-plugin = callPackage ./panel-plugins/xfce4-notes-plugin { }; ··· 172 thunar-bare = self.thunar.override { thunarPlugins = [ ]; }; # added 2019-11-04 173 174 xfce4-hardware-monitor-plugin = throw "xfce.xfce4-hardware-monitor-plugin has been removed: abandoned by upstream and does not build"; # added 2023-01-15 175 }); 176 }
··· 132 133 xfce4-i3-workspaces-plugin = callPackage ./panel-plugins/xfce4-i3-workspaces-plugin { }; 134 135 xfce4-netload-plugin = callPackage ./panel-plugins/xfce4-netload-plugin { }; 136 137 xfce4-notes-plugin = callPackage ./panel-plugins/xfce4-notes-plugin { }; ··· 170 thunar-bare = self.thunar.override { thunarPlugins = [ ]; }; # added 2019-11-04 171 172 xfce4-hardware-monitor-plugin = throw "xfce.xfce4-hardware-monitor-plugin has been removed: abandoned by upstream and does not build"; # added 2023-01-15 173 + xfce4-namebar-plugin = throw "xfce.xfce4-namebar-plugin has been removed: abandoned by upstream and does not build"; # added 2024-05-08 174 }); 175 }
-43
pkgs/desktops/xfce/panel-plugins/xfce4-namebar-plugin/default.nix
··· 1 - { lib, stdenv, pkg-config, fetchFromGitHub, python3, vala 2 - , gtk3, libwnck, libxfce4util, xfce4-panel, wafHook, xfce 3 - , gitUpdater 4 - }: 5 - 6 - stdenv.mkDerivation rec { 7 - pname = "xfce4-namebar-plugin"; 8 - version = "1.0.0"; 9 - 10 - src = fetchFromGitHub { 11 - owner = "HugLifeTiZ"; 12 - repo = pname; 13 - rev = "v${version}"; 14 - sha256 = "sha256-aKrJzf9rwCyXAJsRIXdBzmJBASuXD5I5kZrp+atx4FA="; 15 - }; 16 - 17 - nativeBuildInputs = [ pkg-config vala wafHook python3 ]; 18 - buildInputs = [ gtk3 libwnck libxfce4util xfce4-panel ]; 19 - 20 - postPatch = '' 21 - substituteInPlace src/namebar.vala --replace 'var dirs = Environment.get_system_data_dirs()' "string[] dirs = { \"$out/share\" }" 22 - substituteInPlace src/preferences.vala --replace 'var dir_strings = Environment.get_system_data_dirs()' "string[] dir_strings = { \"$out/share\" }" 23 - ''; 24 - 25 - passthru.updateScript = gitUpdater { 26 - rev-prefix = "v"; 27 - }; 28 - 29 - meta = with lib; { 30 - homepage = "https://github.com/HugLifeTiZ/xfce4-namebar-plugin"; 31 - description = "Plugin which integrates titlebar and window controls into the xfce4-panel"; 32 - license = licenses.mit; 33 - platforms = platforms.linux; 34 - maintainers = with maintainers; [ ] ++ teams.xfce.members; 35 - # Does not build with vala 0.48 or later 36 - # libxfce4panel-2.0.vapi:92.3-92.41: error: overriding method `Xfce.PanelPlugin.remote_event' is incompatible 37 - # with base method `bool Xfce.PanelPluginProvider.remote_event (string, GLib.Value, uint)': too few parameters. 38 - # public virtual signal bool remote_event (string name, GLib.Value value); 39 - # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 40 - # Upstream has no activity since 20 May 2020 41 - broken = true; 42 - }; 43 - }
···