mate-themes: Revert removal and remove GTK2 (#548318)

This commit is contained in:
Bobby Rong
2026-08-02 04:39:56 +00:00
committed by GitHub
2 changed files with 71 additions and 1 deletions

View File

@@ -0,0 +1,71 @@
{
stdenv,
lib,
fetchFromGitHub,
autoreconfHook,
pkg-config,
gettext,
mate-icon-theme,
gtk3,
gdk-pixbuf,
librsvg,
gitUpdater,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "mate-themes";
version = "3.22.26-unstable-2026-06-25";
src = fetchFromGitHub {
owner = "mate-desktop";
repo = "mate-themes";
# For `build: add --enable-gtk2 configure flag`
# nixpkgs-update: no auto update
rev = "3eba5d520b9ae1c64ef6c42ac442a7a97d38f7c7";
hash = "sha256-IZc1LxjHnwmvUOqGGnfzFdNI8dfyB3juOgY28xrXf1c=";
};
strictDeps = true;
nativeBuildInputs = [
autoreconfHook
pkg-config
gettext
gtk3
];
buildInputs = [
mate-icon-theme
gdk-pixbuf
librsvg
];
configureFlags = [
"--disable-gtk2"
];
dontDropIconThemeCache = true;
postInstall = ''
gtk-update-icon-cache "$out"/share/icons/ContrastHigh
'';
enableParallelBuilding = true;
passthru.updateScript = gitUpdater {
odd-unstable = true;
rev-prefix = "v";
};
meta = {
description = "Set of themes from MATE";
homepage = "https://mate-desktop.org";
license = with lib.licenses; [
lgpl21Plus
lgpl3Only
gpl3Plus
];
platforms = lib.platforms.unix;
teams = [ lib.teams.mate ];
};
})

View File

@@ -1562,7 +1562,6 @@ mapAliases {
massif-visualizer = throw "'massif-visualizer' has been removed due to outdated KF5 dependencies."; # Added 2026-05-01
mastodon-bot = throw "'mastodon-bot' has been removed because it was archived by upstream in 2021."; # Added 2025-11-07
matcha-gtk-theme = throw "'matcha-gtk-theme' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
mate-themes = throw "'mate-themes' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
materia-theme = throw "'materia-theme' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22
material-kwin-decoration = throw "'material-kwin-decoration' has been removed, as it is only compatible with Plasma 5, which is EOL"; # Added 2025-08-20
matheria-theme-transparent = throw "'matheria-theme-transparent' has been removed because it depended on 'gtk-engine-murrine', which was removed because it was unmaintained upstream and depended on GTK 2."; # Added 2026-07-22