libwnck2: drop

libwnck2 is an old version that is unused in nixpkgs, and depends on gtk
2, which is being removed from nixpkgs.
This commit is contained in:
whispers
2026-08-10 23:35:52 -04:00
parent 144aa15a15
commit 79daccde27
3 changed files with 1 additions and 51 deletions

View File

@@ -1,50 +0,0 @@
{
lib,
stdenv,
fetchurl,
pkg-config,
gtk2,
intltool,
libxres,
libx11,
}:
stdenv.mkDerivation rec {
pname = "libwnck";
version = "2.31.0";
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "17isfjvrzgj5znld2a7zsk9vd39q9wnsysnw5jr8iz410z935xw3";
};
outputs = [
"out"
"dev"
"devdoc"
];
outputBin = "dev";
nativeBuildInputs = [
pkg-config
intltool
];
buildInputs = [
gtk2
libx11
libxres
];
# ?another optional: startup-notification
configureFlags = [ "--disable-introspection" ]; # not needed anywhere AFAIK
meta = {
description = "Library for creating task lists and pagers";
homepage = "https://gitlab.gnome.org/GNOME/libwnck";
license = lib.licenses.lgpl21;
maintainers = with lib.maintainers; [ johnazoidberg ];
# ./xutils.h:31:10: fatal error: 'gdk/gdkx.h' file not found
# #include <gdk/gdkx.h>
broken = stdenv.hostPlatform.isDarwin;
};
}

View File

@@ -1349,6 +1349,7 @@ mapAliases {
libva1-minimal = throw "'libva1-minimal' has been removed, as it is no longer required. Please use libva-minimal."; # Added 2026-05-14
libviper = throw "'libviper' was removed as it is broken and not maintained upstream"; # Added 2025-05-17
libWindowsWM = libwindowswm; # Added 2026-01-19
libwnck2 = throw "'libwnck2' has been removed as it depended on the deprecated GTK 2 engine."; # Added 2026-08-11
libwnck3 = throw "'libwnck3' has been renamed to/replaced by 'libwnck'"; # Converted to throw 2025-10-27
libX11 = libx11; # Added 2026-02-06
libXau = libxau; # Added 2026-02-06

View File

@@ -6106,7 +6106,6 @@ with pkgs;
libva-utils = callPackage ../development/libraries/libva/utils.nix { };
libwnck = callPackage ../development/libraries/libwnck { };
libwnck2 = callPackage ../development/libraries/libwnck/2.nix { };
libwpd = callPackage ../development/libraries/libwpd { };