treewide: deprecate Plasma 5 (#383664)

authored by K900 and committed by GitHub 5525603a ec2ab40d

+62 -44
+4 -2
doc/release-notes/rl-2505.section.md
··· 53 53 54 54 ### Deprecations {#sec-nixpkgs-release-25.05-lib-deprecations} 55 55 56 - `functor` is an implementation detail and should not be relied upon, but since its status wasn't clear and it has had some use cases without alternatives, changes are being handled as gracefully as possible. Deprecations within functor: 57 - - `functor.wrapped` is now deprecated for some types and using it will give a warning with migration instructions. It is deprecated for these types: 56 + - `functor` is an implementation detail and should not be relied upon, but since its status wasn't clear and it has had some use cases without alternatives, changes are being handled as gracefully as possible. Deprecations within functor: 57 + - `functor.wrapped` is now deprecated for some types and using it will give a warning with migration instructions. It is deprecated for these types: 58 58 - `lib.types.attrsWith` 59 59 - `lib.types.listOf` 60 + 61 + - Plasma 5 and Qt 5 based versions of associated software are deprecated in NixOS 25.05, and will be removed in NixOS 25.11. Users are encouraged to upgrade to Plasma 6.
+3
nixos/modules/services/x11/desktop-managers/plasma5.nix
··· 168 168 config = mkMerge [ 169 169 # Common Plasma dependencies 170 170 (mkIf (cfg.enable || cfg.mobile.enable || cfg.bigscreen.enable) { 171 + warnings = [ 172 + "Plasma 5 has been deprecated and will be removed in NixOS 25.11. Please migrate your configuration to Plasma 6." 173 + ]; 171 174 172 175 security.wrappers = { 173 176 kwin_wayland = {
+55 -42
pkgs/top-level/aliases.nix
··· 40 40 p4 = "${prefix}transmission_4${suffix}"; 41 41 in "${p} has been renamed to ${p3} since ${p4} is also available. Note that upgrade caused data loss for some users so backup is recommended (see NixOS 24.11 release notes for details)"; 42 42 43 + deprecatedPlasma5Packages = { 44 + inherit (plasma5Packages) 45 + akonadi akregator arianna ark bluedevil bomber bovo breeze-grub breeze-gtk 46 + breeze-icons breeze-plymouth breeze-qt5 colord-kde discover dolphin dragon elisa falkon 47 + ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook 48 + kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce 49 + kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config 50 + kdenlive kdeplasma-addons kdevelop-pg-qt kdevelop-unwrapped kdev-php 51 + kdev-python kdevelop kdf kdialog kdiamond keditbookmarks kfind 52 + kgamma5 kget kgpg khelpcenter kig kigo killbots kinfocenter kitinerary 53 + kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot 54 + knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact 55 + konversation korganizer kpkpass krdc kreversi krfb kscreen kscreenlocker 56 + kshisen ksquares ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch 57 + kturtle kwallet-pam kwalletmanager kwave kwayland-integration kwin kwrited 58 + marble merkuro milou minuet okular oxygen oxygen-icons5 picmi 59 + plasma-browser-integration plasma-desktop plasma-integration plasma-nano 60 + plasma-nm plasma-pa plasma-mobile plasma-systemmonitor plasma-thunderbolt 61 + plasma-vault plasma-workspace plasma-workspace-wallpapers polkit-kde-agent 62 + powerdevil qqc2-breeze-style sddm-kcm skanlite skanpage spectacle 63 + systemsettings xdg-desktop-portal-kde yakuake zanshin 64 + ; 65 + 66 + inherit (plasma5Packages.thirdParty) 67 + krohnkite 68 + krunner-ssh 69 + krunner-symbols 70 + kwin-dynamic-workspaces 71 + kwin-tiling 72 + plasma-applet-caffeine-plus 73 + plasma-applet-virtual-desktop-bar 74 + ; 75 + 76 + inherit (libsForQt5) 77 + sddm 78 + ; 79 + }; 80 + 81 + makePlasma5Throw = name: throw '' 82 + The top-level ${name} alias has been removed. 83 + 84 + Please explicitly use kdePackages.${name} for the latest Qt 6-based version, 85 + or libsForQt5.${name} for the deprecated Qt 5 version. 86 + 87 + Note that Qt 5 versions of most KDE software will be removed in NixOS 25.11. 88 + ''; 89 + 90 + plasma5Throws = lib.mapAttrs (k: _: makePlasma5Throw k) deprecatedPlasma5Packages; 91 + 43 92 # Make sure that we are not shadowing something from all-packages.nix. 44 93 checkInPkgs = n: alias: 45 94 if builtins.hasAttr n super ··· 476 525 gfortran49 = throw "'gfortran49' has been removed from nixpkgs"; # Added 2024-09-11 477 526 gfortran7 = throw "gfortran7 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-11-20 478 527 gfortran8 = throw "gfortran8 has been removed from Nixpkgs, as it is unmaintained and obsolete"; # Added 2024-11-20 479 - ghostwriter = libsForQt5.kdeGear.ghostwriter; # Added 2023-03-18 528 + ghostwriter = makePlasma5Throw "ghostwriter"; # Added 2023-03-18 480 529 git-codeowners = throw "'git-codeowners' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 481 530 gmp5 = throw "'gmp5' has been removed as it is unmaintained. Consider using 'gmp' instead"; # Added 2024-10-28 482 531 gmpc = throw "'gmpc' has been removed due to lack of maintenance upstream. Consider using 'plattenalbum' instead"; # Added 2024-09-14 ··· 664 713 kgx = gnome-console; # Added 2022-02-19 665 714 kibana7 = throw "Kibana 7.x has been removed from nixpkgs as it depends on an end of life Node.js version and received no maintenance in time."; # Added 2023-30-10 666 715 kibana = kibana7; 667 - kio-admin = libsForQt5.kdeGear.kio-admin; # Added 2023-03-18 716 + kio-admin = makePlasma5Throw "kio-admin"; # Added 2023-03-18 668 717 kiwitalk = throw "KiwiTalk has been removed because the upstream has been deprecated at the request of Kakao and it's now obsolete."; # Added 2024-10-10 669 718 kodiGBM = kodi-gbm; 670 719 kodiPlain = kodi; ··· 964 1013 ''; # Added 2024-06-25 965 1014 nextcloud27Packages = throw "Nextcloud27 is EOL!"; # Added 2024-06-25 966 1015 nagiosPluginsOfficial = monitoring-plugins; 967 - neochat = libsForQt5.kdeGear.neochat; # added 2022-05-10 1016 + neochat = makePlasma5Throw "neochat"; # added 2022-05-10 968 1017 nerdfonts = throw '' 969 1018 nerdfonts has been separated into individual font packages under the namespace nerd-fonts. 970 1019 For example change: ··· 1091 1140 paperoni = throw "paperoni has been removed, because it is unmaintained"; # Added 2024-07-14 1092 1141 paperless = throw "'paperless' has been renamed to/replaced by 'paperless-ngx'"; # Converted to throw 2024-10-17 1093 1142 paperless-ng = paperless-ngx; # Added 2022-04-11 1094 - partition-manager = libsForQt5.partitionmanager; # Added 2024-01-08 1143 + partition-manager = makePlasma5Throw "partitionmanager"; # Added 2024-01-08 1095 1144 patchelfStable = patchelf; # Added 2024-01-25 1096 1145 paup = paup-cli; # Added 2024-09-11 1097 1146 pcsctools = pcsc-tools; # Added 2023-12-07 ··· 1577 1626 xtrlock-pam = throw "xtrlock-pam has been removed because it is unmaintained for 10 years and doesn't support Python 3.10 or newer"; # Added 2025-01-25 1578 1627 xulrunner = firefox-unwrapped; # Added 2023-11-03 1579 1628 xvfb_run = throw "'xvfb_run' has been renamed to/replaced by 'xvfb-run'"; # Converted to throw 2024-10-17 1580 - xwaylandvideobridge = libsForQt5.xwaylandvideobridge; # Added 2024-09-27 1629 + xwaylandvideobridge = makePlasma5Throw "xwaylandvideobridge"; # Added 2024-09-27 1581 1630 xxv = throw "'xxv' has been removed due to lack of upstream maintenance"; # Added 2025-01-25 1582 1631 1583 1632 ### Y ### ··· 1627 1676 between mixed versions of qt. See: 1628 1677 https://github.com/NixOS/nixpkgs/pull/101369 */ 1629 1678 1630 - inherit (plasma5Packages) 1631 - akonadi akregator arianna ark bluedevil bomber bovo breeze-grub breeze-gtk 1632 - breeze-icons breeze-plymouth breeze-qt5 colord-kde discover dolphin dragon elisa falkon 1633 - ffmpegthumbs filelight granatier gwenview k3b kactivitymanagerd kaddressbook 1634 - kalzium kapman kapptemplate kate katomic kblackbox kblocks kbounce 1635 - kcachegrind kcalc kcharselect kcolorchooser kde-cli-tools kde-gtk-config 1636 - kdenlive kdeplasma-addons kdevelop-pg-qt kdevelop-unwrapped kdev-php 1637 - kdev-python kdevelop kdf kdialog kdiamond keditbookmarks kfind 1638 - kgamma5 kget kgpg khelpcenter kig kigo killbots kinfocenter kitinerary 1639 - kleopatra klettres klines kmag kmail kmenuedit kmines kmix kmplot 1640 - knavalbattle knetwalk knights kollision kolourpaint kompare konsole kontact 1641 - konversation korganizer kpkpass krdc kreversi krfb kscreen kscreenlocker 1642 - kshisen ksquares ksshaskpass ksystemlog kteatime ktimer ktorrent ktouch 1643 - kturtle kwallet-pam kwalletmanager kwave kwayland-integration kwin kwrited 1644 - marble merkuro milou minuet okular oxygen oxygen-icons5 picmi 1645 - plasma-browser-integration plasma-desktop plasma-integration plasma-nano 1646 - plasma-nm plasma-pa plasma-mobile plasma-systemmonitor plasma-thunderbolt 1647 - plasma-vault plasma-workspace plasma-workspace-wallpapers polkit-kde-agent 1648 - powerdevil qqc2-breeze-style sddm-kcm skanlite skanpage spectacle 1649 - systemsettings xdg-desktop-portal-kde yakuake zanshin 1650 - ; 1651 - 1652 1679 kalendar = merkuro; # Renamed in 23.08 1653 1680 kfloppy = throw "kfloppy has been removed upstream in KDE Gear 23.08"; 1654 - 1655 - inherit (plasma5Packages.thirdParty) 1656 - krohnkite 1657 - krunner-ssh 1658 - krunner-symbols 1659 - kwin-dynamic-workspaces 1660 - kwin-tiling 1661 - plasma-applet-caffeine-plus 1662 - plasma-applet-virtual-desktop-bar 1663 - ; 1664 - 1665 - inherit (libsForQt5) 1666 - sddm 1667 - ; 1668 1681 1669 1682 inherit (pidginPackages) 1670 1683 pidgin-indicator ··· 1694 1707 purple-facebook 1695 1708 ; 1696 1709 1697 - } 1710 + } // plasma5Throws