From 2d5d0ab450702be3b03cd8d21f2d28b635bdb7d2 Mon Sep 17 00:00:00 2001 From: Bart Brouns Date: Fri, 2 Jan 2026 13:41:32 +0100 Subject: [PATCH] lash: remove This has not been maintained upstream since 2009, and it doesn't build with GCC 15 --- pkgs/by-name/la/lash/gcc-47.patch | 11 ------ pkgs/by-name/la/lash/package.nix | 62 ------------------------------- pkgs/by-name/la/lash/socket.patch | 16 -------- pkgs/top-level/aliases.nix | 1 + 4 files changed, 1 insertion(+), 89 deletions(-) delete mode 100644 pkgs/by-name/la/lash/gcc-47.patch delete mode 100644 pkgs/by-name/la/lash/package.nix delete mode 100644 pkgs/by-name/la/lash/socket.patch diff --git a/pkgs/by-name/la/lash/gcc-47.patch b/pkgs/by-name/la/lash/gcc-47.patch deleted file mode 100644 index 774add431fab..000000000000 --- a/pkgs/by-name/la/lash/gcc-47.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -rupN liblash/lash.c lash-0.5.4/liblash/lash.c ---- a/liblash/lash.c 2007-03-09 10:34:40.000000000 -0500 -+++ b/liblash/lash.c 2012-07-22 18:17:46.003963521 -0400 -@@ -22,6 +22,7 @@ - #include - #include - #include -+#include - #include - #include - #include diff --git a/pkgs/by-name/la/lash/package.nix b/pkgs/by-name/la/lash/package.nix deleted file mode 100644 index 6a8ef9eafa43..000000000000 --- a/pkgs/by-name/la/lash/package.nix +++ /dev/null @@ -1,62 +0,0 @@ -{ - lib, - stdenv, - fetchurl, - alsa-lib, - gtk2, - libjack2, - libuuid, - libxml2, - makeWrapper, - pkg-config, - readline, -}: - -stdenv.mkDerivation rec { - pname = "lash"; - version = "0.5.4"; - - src = fetchurl { - url = "mirror://savannah/lash/${pname}-${version}.tar.gz"; - sha256 = "05kc4brcx8mncai0rj2gz4s4bsrsy9q8xlnaddf75i0m8jl7snhh"; - }; - - # http://permalink.gmane.org/gmane.linux.redhat.fedora.extras.cvs/822346 - patches = [ - ./socket.patch - ./gcc-47.patch - ]; - - nativeBuildInputs = [ - pkg-config - makeWrapper - ]; - buildInputs = [ - alsa-lib - gtk2 - libjack2 - libxml2 - readline - ]; - propagatedBuildInputs = - assert libuuid != null; - [ libuuid ]; - NIX_LDFLAGS = "-lm -lpthread -luuid"; - - postInstall = '' - for i in lash_control lash_panel - do wrapProgram "$out/bin/$i" --prefix LD_LIBRARY_PATH ":" "${libuuid}/lib" - done - ''; - - meta = { - description = "Linux Audio Session Handler"; - longDescription = '' - Session management system for GNU/Linux audio applications. - ''; - homepage = "https://www.nongnu.org/lash"; - license = lib.licenses.gpl2Plus; - platforms = lib.platforms.linux; - maintainers = [ ]; - }; -} diff --git a/pkgs/by-name/la/lash/socket.patch b/pkgs/by-name/la/lash/socket.patch deleted file mode 100644 index c28259214443..000000000000 --- a/pkgs/by-name/la/lash/socket.patch +++ /dev/null @@ -1,16 +0,0 @@ -Via http://bugs.gentoo.org/show_bug.cgi?id=229603 - ---- lash-0.5.4/liblash/socket.c 2008-06-26 15:20:44.227064193 +0200 -+++ lash-0.5.4/liblash/socket.c 2008-06-26 15:21:18.245063129 +0200 -@@ -20,6 +20,11 @@ - - #define _POSIX_SOURCE /* addrinfo */ - -+#ifdef LASH_BUILD -+#define _GNU_SOURCE -+#include "config.h" -+#endif /* LASH_BUILD */ -+ - #include - #include - #include diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index 9ab28f264f13..b72800de1734 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -835,6 +835,7 @@ mapAliases { languageMachines.uctodata = uctodata; # Added 2025-10-7 lanzaboote-tool = throw "lanzaboote-tool has been removed due to lack of integration maintenance with nixpkgs. Consider using the Nix expressions provided by https://github.com/nix-community/lanzaboote"; # Added 2025-07-23 larynx = throw "'larynx' has been renamed to/replaced by 'piper-tts'"; # Converted to throw 2025-10-27 + lash = throw "'lash' has been removed, as it is unmaintained upstream"; # Added 2026-01-02 LASzip2 = throw "'LASzip2' has been renamed to/replaced by 'laszip_2'"; # Converted to throw 2025-10-27 LASzip = throw "'LASzip' has been renamed to/replaced by 'laszip'"; # Converted to throw 2025-10-27 latinmodern-math = throw "'latinmodern-math' has been renamed to/replaced by 'lmmath'"; # Converted to throw 2025-10-27