redshift-plasma-applet: drop (#455078)

This commit is contained in:
Vladimír Čunát
2025-11-15 16:28:19 +00:00
committed by GitHub
3 changed files with 1 additions and 75 deletions

View File

@@ -1,73 +0,0 @@
{
lib,
stdenv,
cmake,
extra-cmake-modules,
plasma-framework,
kwindowsystem,
redshift,
fetchFromGitHub,
fetchpatch,
}:
let
version = "1.0.18";
in
stdenv.mkDerivation {
pname = "redshift-plasma-applet";
inherit version;
src = fetchFromGitHub {
owner = "kotelnik";
repo = "plasma-applet-redshift-control";
rev = "v${version}";
sha256 = "122nnbafa596rxdxlfshxk45lzch8c9342bzj7kzrsjkjg0xr9pq";
};
patches = [
# This patch fetches from out-of-source repo because the GitHub copy is frozen,
# the active fork is now on invent.kde.org. Remove this patch when a new version is released and src is updated
# Redshift version >= 1.12 requires the -P option to clear the existing effects before applying shading.
# Without it scrolling makes the screen gets darker and darker until it is impossible to see anything.
(fetchpatch {
url = "https://invent.kde.org/plasma/plasma-redshift-control/-/commit/898c3a4cfc6c317915f1e664078d8606497c4049.patch";
sha256 = "0b6pa3fcj698mgqnc85jbbmcl3qpf418mh06qgsd3c4v237my0nv";
})
];
patchPhase = ''
substituteInPlace package/contents/ui/main.qml \
--replace "redshiftCommand: 'redshift'" \
"redshiftCommand: '${redshift}/bin/redshift'" \
--replace "redshiftOneTimeCommand: 'redshift -O " \
"redshiftOneTimeCommand: '${redshift}/bin/redshift -O "
substituteInPlace package/contents/ui/config/ConfigAdvanced.qml \
--replace "'redshift -V'" \
"'${redshift}/bin/redshift -V'"
'';
nativeBuildInputs = [
cmake
extra-cmake-modules
];
buildInputs = [
plasma-framework
kwindowsystem
];
dontWrapQtApps = true;
meta = with lib; {
description = "KDE Plasma 5 widget for controlling Redshift";
homepage = "https://github.com/kotelnik/plasma-applet-redshift-control";
license = licenses.gpl2Plus;
platforms = platforms.linux;
maintainers = with maintainers; [
benley
zraexy
];
};
}

View File

@@ -1353,6 +1353,7 @@ mapAliases {
redoc-cli = throw "'redoc-cli' been removed because it has been marked as broken since at least November 2024. Consider using 'redocly' instead."; # Added 2025-10-01 redoc-cli = throw "'redoc-cli' been removed because it has been marked as broken since at least November 2024. Consider using 'redocly' instead."; # Added 2025-10-01
redocly-cli = throw "'redocly-cli' has been renamed to/replaced by 'redocly'"; # Converted to throw 2025-10-27 redocly-cli = throw "'redocly-cli' has been renamed to/replaced by 'redocly'"; # Converted to throw 2025-10-27
redpanda = throw "'redpanda' has been renamed to/replaced by 'redpanda-client'"; # Converted to throw 2025-10-27 redpanda = throw "'redpanda' has been renamed to/replaced by 'redpanda-client'"; # Converted to throw 2025-10-27
redshift-plasma-applet = throw "'redshift-plasma-applet' has been removed as it is obsolete and lacks maintenance upstream."; # Added 2025-11-09
remotebox = throw "remotebox has been removed because it was unmaintained and broken for a long time"; # Added 2025-09-11 remotebox = throw "remotebox has been removed because it was unmaintained and broken for a long time"; # Added 2025-09-11
responsively-app = throw "'responsively-app' has been removed due to lack of maintainance upstream."; # Added 2025-06-25 responsively-app = throw "'responsively-app' has been removed due to lack of maintainance upstream."; # Added 2025-06-25
retroarchBare = throw "'retroarchBare' has been renamed to/replaced by 'retroarch-bare'"; # Converted to throw 2025-10-27 retroarchBare = throw "'retroarchBare' has been renamed to/replaced by 'retroarch-bare'"; # Converted to throw 2025-10-27

View File

@@ -13372,8 +13372,6 @@ with pkgs;
gammastep gammastep
; ;
redshift-plasma-applet = libsForQt5.callPackage ../applications/misc/redshift-plasma-applet { };
### SCIENCE/CHEMISTY ### SCIENCE/CHEMISTY
avogadrolibs = libsForQt5.callPackage ../development/libraries/science/chemistry/avogadrolibs { }; avogadrolibs = libsForQt5.callPackage ../development/libraries/science/chemistry/avogadrolibs { };