plasma-mobile: 23.1 -> 23.04.0, (partially) absorb into kde/gear

K900 9f5fbf00 590436c1

+88 -143
+18
pkgs/applications/kde/default.nix
··· 235 235 umbrello = callPackage ./umbrello.nix {}; 236 236 yakuake = callPackage ./yakuake.nix {}; 237 237 zanshin = callPackage ./zanshin.nix {}; 238 + 239 + # Plasma Mobile Gear 240 + alligator = callPackage ./alligator.nix {}; 241 + angelfish = callPackage ./angelfish.nix { inherit srcs; }; 242 + audiotube = callPackage ./audiotube.nix {}; 243 + calindori = callPackage ./calindori.nix {}; 244 + kalk = callPackage ./kalk.nix {}; 245 + kasts = callPackage ./kasts.nix {}; 246 + kclock = callPackage ./kclock.nix {}; 247 + keysmith = callPackage ./keysmith.nix {}; 248 + koko = callPackage ./koko.nix {}; 249 + krecorder = callPackage ./krecorder.nix {}; 250 + ktrip = callPackage ./ktrip.nix {}; 251 + kweather = callPackage ./kweather.nix {}; 252 + neochat = callPackage ./neochat.nix {}; 253 + plasmatube = callPackage ./plasmatube {}; 254 + qmlkonsole = callPackage ./qmlkonsole.nix {}; 255 + tokodon = callPackage ./tokodon.nix {}; 238 256 }; 239 257 240 258 in lib.makeScope libsForQt5.newScope packages
+59
pkgs/applications/kde/tokodon.nix
··· 1 + { lib 2 + , mkDerivation 3 + 4 + , cmake 5 + , extra-cmake-modules 6 + , pkg-config 7 + 8 + , kconfig 9 + , kdbusaddons 10 + , ki18n 11 + , kirigami2 12 + , kirigami-addons 13 + , knotifications 14 + , qqc2-desktop-style 15 + , qtbase 16 + , qtkeychain 17 + , qtmultimedia 18 + , qtquickcontrols2 19 + , qttools 20 + , qtwebsockets 21 + , kitemmodels 22 + , pimcommon 23 + }: 24 + 25 + mkDerivation { 26 + pname = "tokodon"; 27 + 28 + nativeBuildInputs = [ 29 + cmake 30 + extra-cmake-modules 31 + pkg-config 32 + ]; 33 + 34 + buildInputs = [ 35 + kconfig 36 + kdbusaddons 37 + ki18n 38 + kirigami2 39 + kirigami-addons 40 + knotifications 41 + qqc2-desktop-style 42 + qtbase 43 + qtkeychain 44 + qtmultimedia 45 + qtquickcontrols2 46 + qttools 47 + qtwebsockets 48 + kitemmodels 49 + pimcommon 50 + ]; 51 + 52 + meta = with lib; { 53 + description = "A Mastodon client for Plasma and Plasma Mobile"; 54 + homepage = "https://invent.kde.org/network/tokodon"; 55 + license = licenses.gpl3Plus; 56 + platforms = platforms.unix; 57 + maintainers = with maintainers; [ matthiasbeyer ]; 58 + }; 59 + }
pkgs/applications/plasma-mobile/alligator.nix pkgs/applications/kde/alligator.nix
+4 -4
pkgs/applications/plasma-mobile/angelfish.nix pkgs/applications/kde/angelfish.nix
··· 3 3 , cmake 4 4 , corrosion 5 5 , extra-cmake-modules 6 - , gcc12 7 6 , kconfig 8 7 , kcoreaddons 9 8 , kdbusaddons ··· 15 14 , kwindowsystem 16 15 , qtfeedback 17 16 , qtquickcontrols2 17 + , qqc2-desktop-style 18 18 , qtwebengine 19 19 , rustPlatform 20 20 , srcs 21 21 22 22 # These must be updated in tandem with package updates. 23 - , cargoShaForVersion ? "23.01.0" 24 - , cargoSha256 ? "sha256-dIXA875HsG56baHrTWw9L560n4s0wRv6Ag/2oj1x0gk=" 23 + , cargoShaForVersion ? "23.03.80" 24 + , cargoSha256 ? "sha256-nXWQNXVlPWRQdDPXR5NsHJR6kaLxV7UxPC0OIubH/4c=" 25 25 }: 26 26 27 27 # Guard against incomplete updates. ··· 46 46 cmake 47 47 corrosion 48 48 extra-cmake-modules 49 - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 50 49 ] ++ (with rustPlatform; [ 51 50 cargoSetupHook 52 51 rust.cargo ··· 65 64 kwindowsystem 66 65 qtfeedback 67 66 qtquickcontrols2 67 + qqc2-desktop-style 68 68 qtwebengine 69 69 ]; 70 70
+2 -2
pkgs/applications/plasma-mobile/audiotube.nix pkgs/applications/kde/audiotube.nix
··· 2 2 , mkDerivation 3 3 4 4 , extra-cmake-modules 5 - , gcc12 6 5 , wrapGAppsHook 7 6 8 7 , gst_all_1 ··· 10 9 , kcrash 11 10 , ki18n 12 11 , kirigami2 12 + , kirigami-addons 13 13 , qtimageformats 14 14 , qtmultimedia 15 15 , qtquickcontrols2 ··· 22 22 nativeBuildInputs = [ 23 23 extra-cmake-modules 24 24 wrapGAppsHook 25 - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 26 25 python3Packages.wrapPython 27 26 python3Packages.pybind11 28 27 ]; ··· 32 31 kcrash 33 32 ki18n 34 33 kirigami2 34 + kirigami-addons 35 35 qtimageformats 36 36 qtmultimedia 37 37 qtquickcontrols2
pkgs/applications/plasma-mobile/calindori.nix pkgs/applications/kde/calindori.nix
-16
pkgs/applications/plasma-mobile/default.nix
··· 57 57 inherit mkDerivation; 58 58 }; 59 59 in { 60 - alligator = callPackage ./alligator.nix {}; 61 - angelfish = callPackage ./angelfish.nix { inherit srcs; }; 62 - audiotube = callPackage ./audiotube.nix {}; 63 - calindori = callPackage ./calindori.nix {}; 64 - kalk = callPackage ./kalk.nix {}; 65 - kasts = callPackage ./kasts.nix {}; 66 - kclock = callPackage ./kclock.nix {}; 67 - keysmith = callPackage ./keysmith.nix {}; 68 - koko = callPackage ./koko.nix {}; 69 - krecorder = callPackage ./krecorder.nix {}; 70 - ktrip = callPackage ./ktrip.nix {}; 71 - kweather = callPackage ./kweather.nix {}; 72 - neochat = callPackage ./neochat.nix { inherit srcs; }; 73 60 plasma-dialer = callPackage ./plasma-dialer.nix {}; 74 61 plasma-phonebook = callPackage ./plasma-phonebook.nix {}; 75 62 plasma-settings = callPackage ./plasma-settings.nix {}; 76 - plasmatube = callPackage ./plasmatube {}; 77 - qmlkonsole = callPackage ./qmlkonsole.nix {}; 78 63 spacebar = callPackage ./spacebar.nix {}; 79 - tokodon = callPackage ./tokodon.nix {}; 80 64 }; 81 65 82 66 in lib.makeScope libsForQt5.newScope packages
pkgs/applications/plasma-mobile/kalk.nix pkgs/applications/kde/kalk.nix
pkgs/applications/plasma-mobile/kasts.nix pkgs/applications/kde/kasts.nix
pkgs/applications/plasma-mobile/kclock.nix pkgs/applications/kde/kclock.nix
pkgs/applications/plasma-mobile/keysmith.nix pkgs/applications/kde/keysmith.nix
pkgs/applications/plasma-mobile/koko.nix pkgs/applications/kde/koko.nix
pkgs/applications/plasma-mobile/krecorder.nix pkgs/applications/kde/krecorder.nix
pkgs/applications/plasma-mobile/ktrip.nix pkgs/applications/kde/ktrip.nix
pkgs/applications/plasma-mobile/kweather.nix pkgs/applications/kde/kweather.nix
+2 -5
pkgs/applications/plasma-mobile/neochat.nix pkgs/applications/kde/neochat.nix
··· 1 - { gcc12Stdenv 1 + { mkDerivation 2 2 , lib 3 - , srcs 4 3 5 4 , cmake 6 5 , extra-cmake-modules ··· 30 29 , sonnet 31 30 }: 32 31 33 - # Workaround for AArch64 not using GCC11 yet. 34 - gcc12Stdenv.mkDerivation rec { 32 + mkDerivation { 35 33 pname = "neochat"; 36 - inherit (srcs.neochat) version src; 37 34 38 35 nativeBuildInputs = [ 39 36 cmake
-25
pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch
··· 1 - From 7a9405ed02b0d86839644a2c237ca7ca8b891b76 Mon Sep 17 00:00:00 2001 2 - From: Samuel Dionne-Riel <samuel@dionne-riel.com> 3 - Date: Wed, 30 Nov 2022 21:07:56 -0500 4 - Subject: [PATCH] Add placeholders for runtime dependencies 5 - 6 - --- 7 - src/videomodel.cpp | 2 +- 8 - 1 file changed, 1 insertion(+), 1 deletion(-) 9 - 10 - diff --git a/src/videomodel.cpp b/src/videomodel.cpp 11 - index 4bb3451..b558f31 100644 12 - --- a/src/videomodel.cpp 13 - +++ b/src/videomodel.cpp 14 - @@ -121,7 +121,7 @@ QString VideoModel::remoteUrl() 15 - return {}; 16 - } 17 - 18 - - QString youtubeDl = QStringLiteral("yt-dlp"); 19 - + QString youtubeDl = QStringLiteral("@yt-dlp@"); 20 - QStringList arguments; 21 - arguments << QLatin1String("--dump-json") 22 - << m_videoId; 23 - -- 24 - 2.38.0 25 -
-10
pkgs/applications/plasma-mobile/plasmatube/default.nix pkgs/applications/kde/plasmatube/default.nix
··· 11 11 , mpv 12 12 , qtmultimedia 13 13 , qtquickcontrols2 14 - , yt-dlp 15 14 }: 16 15 17 16 mkDerivation { ··· 36 35 gst-plugins-good 37 36 gstreamer 38 37 ]); 39 - 40 - patches = [ 41 - ./0001-Add-placeholders-for-runtime-dependencies.patch 42 - ]; 43 - 44 - postPatch = '' 45 - substituteInPlace src/videomodel.cpp \ 46 - --replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp" 47 - ''; 48 38 49 39 preFixup = '' 50 40 qtWrapperArgs+=("''${gappsWrapperArgs[@]}")
pkgs/applications/plasma-mobile/qmlkonsole.nix pkgs/applications/kde/qmlkonsole.nix
-78
pkgs/applications/plasma-mobile/tokodon.nix
··· 1 - { lib 2 - , mkDerivation 3 - 4 - , cmake 5 - , extra-cmake-modules 6 - , pkg-config 7 - 8 - , kconfig 9 - , kdbusaddons 10 - , ki18n 11 - , kirigami2 12 - , kirigami-addons 13 - , knotifications 14 - , libwebsockets 15 - , qqc2-desktop-style 16 - , qtbase 17 - , qtkeychain 18 - , qtmultimedia 19 - , qtquickcontrols2 20 - , qttools 21 - , qtwebsockets 22 - , kitemmodels 23 - , pimcommon 24 - 25 - # Workarounds for the point release being missing. 26 - , libsForQt5 27 - , fetchFromGitLab 28 - }: 29 - 30 - # NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package 31 - # set for the point release, as the point release was not uploaded to 32 - # the Plasma Mobile gear repo, and the injected `mkDerivation` only can 33 - # use the src (and version) from the `srcs` set. 34 - libsForQt5.mkDerivation rec { 35 - pname = "tokodon"; 36 - 37 - version = "23.01.0"; 38 - # NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo. 39 - src = fetchFromGitLab { 40 - domain = "invent.kde.org"; 41 - owner = "network"; 42 - repo = pname; 43 - rev = "v${version}"; 44 - hash = "sha256-iJRyKEFdoWtZLZ/nkMvy2S7EF+JRHXi3O0DswfrClDU="; 45 - }; 46 - 47 - nativeBuildInputs = [ 48 - cmake 49 - extra-cmake-modules 50 - pkg-config 51 - ]; 52 - 53 - buildInputs = [ 54 - kconfig 55 - kdbusaddons 56 - ki18n 57 - kirigami2 58 - kirigami-addons 59 - knotifications 60 - qqc2-desktop-style 61 - qtbase 62 - qtkeychain 63 - qtmultimedia 64 - qtquickcontrols2 65 - qttools 66 - qtwebsockets 67 - kitemmodels 68 - pimcommon 69 - ]; 70 - 71 - meta = with lib; { 72 - description = "A Mastodon client for Plasma and Plasma Mobile"; 73 - homepage = "https://invent.kde.org/network/tokodon"; 74 - license = licenses.gpl3Plus; 75 - platforms = platforms.unix; 76 - maintainers = with maintainers; [ matthiasbeyer ]; 77 - }; 78 - }
+3 -3
pkgs/top-level/aliases.nix
··· 80 80 amuleDaemon = throw "amuleDaemon was renamed to amule-daemon"; # Added 2022-02-11 81 81 amuleGui = throw "amuleGui was renamed to amule-gui"; # Added 2022-02-11 82 82 amsn = throw "amsn has been removed due to being unmaintained"; # Added 2020-12-09 83 - angelfish = libsForQt5.plasmaMobileGear.angelfish; # Added 2021-10-06 83 + angelfish = libsForQt5.kdeGear.angelfish; # Added 2021-10-06 84 84 ansible_2_11 = throw "Ansible 2.11 goes end of life in 2022/11 and can't be supported throughout the 22.05 release cycle"; # Added 2022-03-30 85 85 ansible_2_10 = throw "Ansible 2.10 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30 86 86 ansible_2_9 = throw "Ansible 2.9 went end of life in 2022/05 and has subsequently been dropped"; # Added 2022-03-30 ··· 782 782 kexectools = kexec-tools; # Added 2021-09-03 783 783 kexpand = "kexpand awless has been dropped due to the lack of maintanence from upstream since 2017"; # Added 2022-06-01 784 784 keybase-go = throw "'keybase-go' has been renamed to/replaced by 'keybase'"; # Converted to throw 2022-02-22 785 - keysmith = libsForQt5.plasmaMobileGear.keysmith; # Added 2021-07-14 785 + keysmith = libsForQt5.kdeGear.keysmith; # Added 2021-07-14 786 786 kgx = gnome-console; # Added 2022-02-19 787 787 kibana7-oss = throw "kibana7-oss has been removed, as the distribution is no longer provided by upstream. https://github.com/NixOS/nixpkgs/pull/114456"; # Added 2021-06-09 788 788 kicad-with-packages3d = kicad; # Added 2019-11-25 ··· 1087 1087 navit = throw "navit has been removed from nixpkgs, due to being unmaintained"; # Added 2021-06-07 1088 1088 ncat = throw "'ncat' has been renamed to/replaced by 'nmap'"; # Converted to throw 2022-02-22 1089 1089 neap = throw "neap was removed from nixpkgs, as it relies on python2"; # Added 2022-01-12 1090 - neochat = libsForQt5.plasmaMobileGear.neochat; # added 2022-05-10 1090 + neochat = libsForQt5.kdeGear.neochat; # added 2022-05-10 1091 1091 netease-cloud-music = throw "netease-cloud-music has been removed together with deepin"; # Added 2020-08-31 1092 1092 nettools_mptcp = throw "'nettools_mptcp' has been moved to https://github.com/teto/mptcp-flake"; # Converted to throw 2022-10-04 1093 1093 networkmanager_fortisslvpn = throw "'networkmanager_fortisslvpn' has been renamed to/replaced by 'networkmanager-fortisslvpn'"; # Converted to throw 2022-02-22