From 289769d31a7aa49a23b495cd65113cdc3a33b9af Mon Sep 17 00:00:00 2001 From: 7c6f434c <7c6f434c@mail.ru> Date: Tue, 4 Aug 2026 23:39:06 +0200 Subject: [PATCH] xwinmosaic: drop GTK2-based, no upstream activity, minor utility --- pkgs/by-name/xw/xwinmosaic/package.nix | 55 -------------------------- pkgs/top-level/aliases.nix | 1 + 2 files changed, 1 insertion(+), 55 deletions(-) delete mode 100644 pkgs/by-name/xw/xwinmosaic/package.nix diff --git a/pkgs/by-name/xw/xwinmosaic/package.nix b/pkgs/by-name/xw/xwinmosaic/package.nix deleted file mode 100644 index 8436101ff10c..000000000000 --- a/pkgs/by-name/xw/xwinmosaic/package.nix +++ /dev/null @@ -1,55 +0,0 @@ -{ - lib, - stdenv, - fetchFromGitHub, - fetchpatch, - gtk2, - cmake, - pkg-config, - libxdamage, -}: - -stdenv.mkDerivation (finalAttrs: { - version = "0.4.2"; - pname = "xwinmosaic"; - - src = fetchFromGitHub { - owner = "soulthreads"; - repo = "xwinmosaic"; - tag = "v${finalAttrs.version}"; - sha256 = "16qhrpgn84fz0q3nfvaz5sisc82zk6y7c0sbvbr69zfx5fwbs1rr"; - }; - - patches = [ - # Pull upstream fix for -fno-common toolchains like upstream gcc-10: - # https://github.com/soulthreads/xwinmosaic/pull/33 - (fetchpatch { - name = "fno-common.patch"; - url = "https://github.com/soulthreads/xwinmosaic/commit/a193a3f30850327066e5a93b29316cba2735e10d.patch"; - sha256 = "0qpk802j5x6bsfvj6jqw1nz482jynwyk7yrrh4bsziwc53khm95q"; - }) - ]; - - nativeBuildInputs = [ - pkg-config - cmake - ]; - buildInputs = [ - gtk2 - libxdamage - ]; - - postPatch = '' - substituteInPlace CMakeLists.txt \ - --replace-fail "cmake_minimum_required (VERSION 2.8)" "cmake_minimum_required(VERSION 3.10)" - ''; - - meta = { - description = "X window switcher drawing a colourful grid"; - homepage = "https://github.com/soulthreads/xwinmosaic"; - license = lib.licenses.bsd2; - maintainers = [ lib.maintainers.raskin ]; - platforms = lib.platforms.linux; - mainProgram = "xwinmosaic"; - }; -}) diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix index dc782afb30f3..873155b0c504 100644 --- a/pkgs/top-level/aliases.nix +++ b/pkgs/top-level/aliases.nix @@ -2914,6 +2914,7 @@ mapAliases { xtrap = throw "XTrap was a proposed X11 extension that hasn't been in Xorg since X11R6 in 1994, it is deprecated and archived upstream."; # added 2025-12-13 xtreemfs = throw "'xtreemfs' has been removed as it was broken and unmaintained upstream"; # Added 2026-05-05 xulrunner = throw "'xulrunner' has been renamed to/replaced by 'firefox-unwrapped'"; # Converted to throw 2025-10-27 + xwinmosaic = throw "'xwinmosaic' has been removed due to gtk2 dependence"; # Added 2026-08-04 xxgdb = throw "'xxgdb' seems inactive and doesn't compile with glibc 2.42"; # Added 2025-09-28 xxHash = warnAlias "'xxHash' has been renamed to 'xxhash'" xxhash; # Added 2026-02-12 xzgv = throw "'xzgv' has been removed, as it depended on GTK 2. Consider using 'geeqie' or 'gthumb' instead."; # Added 2026-05-22