diff options
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/kde/alligator.nix (renamed from pkgs/applications/plasma-mobile/alligator.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/angelfish.nix (renamed from pkgs/applications/plasma-mobile/angelfish.nix) | 8 | ||||
-rw-r--r-- | pkgs/applications/kde/audiotube.nix (renamed from pkgs/applications/plasma-mobile/audiotube.nix) | 4 | ||||
-rw-r--r-- | pkgs/applications/kde/calindori.nix (renamed from pkgs/applications/plasma-mobile/calindori.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/default.nix | 18 | ||||
-rw-r--r-- | pkgs/applications/kde/kalk.nix (renamed from pkgs/applications/plasma-mobile/kalk.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/kasts.nix (renamed from pkgs/applications/plasma-mobile/kasts.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/kclock.nix (renamed from pkgs/applications/plasma-mobile/kclock.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/keysmith.nix (renamed from pkgs/applications/plasma-mobile/keysmith.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/koko.nix (renamed from pkgs/applications/plasma-mobile/koko.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/krecorder.nix (renamed from pkgs/applications/plasma-mobile/krecorder.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/ktrip.nix (renamed from pkgs/applications/plasma-mobile/ktrip.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/kweather.nix (renamed from pkgs/applications/plasma-mobile/kweather.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/neochat.nix (renamed from pkgs/applications/plasma-mobile/neochat.nix) | 7 | ||||
-rw-r--r-- | pkgs/applications/kde/plasmatube/default.nix (renamed from pkgs/applications/plasma-mobile/plasmatube/default.nix) | 10 | ||||
-rw-r--r-- | pkgs/applications/kde/qmlkonsole.nix (renamed from pkgs/applications/plasma-mobile/qmlkonsole.nix) | 0 | ||||
-rw-r--r-- | pkgs/applications/kde/tokodon.nix (renamed from pkgs/applications/plasma-mobile/tokodon.nix) | 21 | ||||
-rw-r--r-- | pkgs/applications/plasma-mobile/default.nix | 16 | ||||
-rw-r--r-- | pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch | 25 |
19 files changed, 27 insertions, 82 deletions
diff --git a/pkgs/applications/plasma-mobile/alligator.nix b/pkgs/applications/kde/alligator.nix index 4470141af2962..4470141af2962 100644 --- a/pkgs/applications/plasma-mobile/alligator.nix +++ b/pkgs/applications/kde/alligator.nix diff --git a/pkgs/applications/plasma-mobile/angelfish.nix b/pkgs/applications/kde/angelfish.nix index 7a7e48d736d0c..6de8e703bd70d 100644 --- a/pkgs/applications/plasma-mobile/angelfish.nix +++ b/pkgs/applications/kde/angelfish.nix @@ -3,7 +3,6 @@ , cmake , corrosion , extra-cmake-modules -, gcc12 , kconfig , kcoreaddons , kdbusaddons @@ -15,13 +14,14 @@ , kwindowsystem , qtfeedback , qtquickcontrols2 +, qqc2-desktop-style , qtwebengine , rustPlatform , srcs # These must be updated in tandem with package updates. -, cargoShaForVersion ? "23.01.0" -, cargoSha256 ? "sha256-dIXA875HsG56baHrTWw9L560n4s0wRv6Ag/2oj1x0gk=" +, cargoShaForVersion ? "23.03.80" +, cargoSha256 ? "sha256-nXWQNXVlPWRQdDPXR5NsHJR6kaLxV7UxPC0OIubH/4c=" }: # Guard against incomplete updates. @@ -46,7 +46,6 @@ mkDerivation rec { cmake corrosion extra-cmake-modules - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 ] ++ (with rustPlatform; [ cargoSetupHook rust.cargo @@ -65,6 +64,7 @@ mkDerivation rec { kwindowsystem qtfeedback qtquickcontrols2 + qqc2-desktop-style qtwebengine ]; diff --git a/pkgs/applications/plasma-mobile/audiotube.nix b/pkgs/applications/kde/audiotube.nix index 14bfc6d18917e..0bd22ee06f63a 100644 --- a/pkgs/applications/plasma-mobile/audiotube.nix +++ b/pkgs/applications/kde/audiotube.nix @@ -2,7 +2,6 @@ , mkDerivation , extra-cmake-modules -, gcc12 , wrapGAppsHook , gst_all_1 @@ -10,6 +9,7 @@ , kcrash , ki18n , kirigami2 +, kirigami-addons , qtimageformats , qtmultimedia , qtquickcontrols2 @@ -22,7 +22,6 @@ mkDerivation rec { nativeBuildInputs = [ extra-cmake-modules wrapGAppsHook - gcc12 # doesn't build with GCC 9 from stdenv on aarch64 python3Packages.wrapPython python3Packages.pybind11 ]; @@ -32,6 +31,7 @@ mkDerivation rec { kcrash ki18n kirigami2 + kirigami-addons qtimageformats qtmultimedia qtquickcontrols2 diff --git a/pkgs/applications/plasma-mobile/calindori.nix b/pkgs/applications/kde/calindori.nix index bb10fa7bb10c7..bb10fa7bb10c7 100644 --- a/pkgs/applications/plasma-mobile/calindori.nix +++ b/pkgs/applications/kde/calindori.nix diff --git a/pkgs/applications/kde/default.nix b/pkgs/applications/kde/default.nix index 6a57ccf9ee6ed..3ffb345a3477c 100644 --- a/pkgs/applications/kde/default.nix +++ b/pkgs/applications/kde/default.nix @@ -235,6 +235,24 @@ let umbrello = callPackage ./umbrello.nix {}; yakuake = callPackage ./yakuake.nix {}; zanshin = callPackage ./zanshin.nix {}; + + # Plasma Mobile Gear + alligator = callPackage ./alligator.nix {}; + angelfish = callPackage ./angelfish.nix { inherit srcs; }; + audiotube = callPackage ./audiotube.nix {}; + calindori = callPackage ./calindori.nix {}; + kalk = callPackage ./kalk.nix {}; + kasts = callPackage ./kasts.nix {}; + kclock = callPackage ./kclock.nix {}; + keysmith = callPackage ./keysmith.nix {}; + koko = callPackage ./koko.nix {}; + krecorder = callPackage ./krecorder.nix {}; + ktrip = callPackage ./ktrip.nix {}; + kweather = callPackage ./kweather.nix {}; + neochat = callPackage ./neochat.nix {}; + plasmatube = callPackage ./plasmatube {}; + qmlkonsole = callPackage ./qmlkonsole.nix {}; + tokodon = callPackage ./tokodon.nix {}; }; in lib.makeScope libsForQt5.newScope packages diff --git a/pkgs/applications/plasma-mobile/kalk.nix b/pkgs/applications/kde/kalk.nix index 8d63991fb0808..8d63991fb0808 100644 --- a/pkgs/applications/plasma-mobile/kalk.nix +++ b/pkgs/applications/kde/kalk.nix diff --git a/pkgs/applications/plasma-mobile/kasts.nix b/pkgs/applications/kde/kasts.nix index 59b455398203d..59b455398203d 100644 --- a/pkgs/applications/plasma-mobile/kasts.nix +++ b/pkgs/applications/kde/kasts.nix diff --git a/pkgs/applications/plasma-mobile/kclock.nix b/pkgs/applications/kde/kclock.nix index 6212fa8b0400b..6212fa8b0400b 100644 --- a/pkgs/applications/plasma-mobile/kclock.nix +++ b/pkgs/applications/kde/kclock.nix diff --git a/pkgs/applications/plasma-mobile/keysmith.nix b/pkgs/applications/kde/keysmith.nix index eaca7f68e24be..eaca7f68e24be 100644 --- a/pkgs/applications/plasma-mobile/keysmith.nix +++ b/pkgs/applications/kde/keysmith.nix diff --git a/pkgs/applications/plasma-mobile/koko.nix b/pkgs/applications/kde/koko.nix index 3543a7284bffd..3543a7284bffd 100644 --- a/pkgs/applications/plasma-mobile/koko.nix +++ b/pkgs/applications/kde/koko.nix diff --git a/pkgs/applications/plasma-mobile/krecorder.nix b/pkgs/applications/kde/krecorder.nix index 71164d1b02d43..71164d1b02d43 100644 --- a/pkgs/applications/plasma-mobile/krecorder.nix +++ b/pkgs/applications/kde/krecorder.nix diff --git a/pkgs/applications/plasma-mobile/ktrip.nix b/pkgs/applications/kde/ktrip.nix index 5377dd1065865..5377dd1065865 100644 --- a/pkgs/applications/plasma-mobile/ktrip.nix +++ b/pkgs/applications/kde/ktrip.nix diff --git a/pkgs/applications/plasma-mobile/kweather.nix b/pkgs/applications/kde/kweather.nix index d6a1f999ce651..d6a1f999ce651 100644 --- a/pkgs/applications/plasma-mobile/kweather.nix +++ b/pkgs/applications/kde/kweather.nix diff --git a/pkgs/applications/plasma-mobile/neochat.nix b/pkgs/applications/kde/neochat.nix index 8b3da82b8b885..4df33add6795e 100644 --- a/pkgs/applications/plasma-mobile/neochat.nix +++ b/pkgs/applications/kde/neochat.nix @@ -1,6 +1,5 @@ -{ gcc12Stdenv +{ mkDerivation , lib -, srcs , cmake , extra-cmake-modules @@ -30,10 +29,8 @@ , sonnet }: -# Workaround for AArch64 not using GCC11 yet. -gcc12Stdenv.mkDerivation rec { +mkDerivation { pname = "neochat"; - inherit (srcs.neochat) version src; nativeBuildInputs = [ cmake diff --git a/pkgs/applications/plasma-mobile/plasmatube/default.nix b/pkgs/applications/kde/plasmatube/default.nix index c9753babeaaf0..555b9f801c228 100644 --- a/pkgs/applications/plasma-mobile/plasmatube/default.nix +++ b/pkgs/applications/kde/plasmatube/default.nix @@ -11,7 +11,6 @@ , mpv , qtmultimedia , qtquickcontrols2 -, yt-dlp }: mkDerivation { @@ -37,15 +36,6 @@ mkDerivation { gstreamer ]); - patches = [ - ./0001-Add-placeholders-for-runtime-dependencies.patch - ]; - - postPatch = '' - substituteInPlace src/videomodel.cpp \ - --replace "@yt-dlp@" "${yt-dlp}/bin/yt-dlp" - ''; - preFixup = '' qtWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; diff --git a/pkgs/applications/plasma-mobile/qmlkonsole.nix b/pkgs/applications/kde/qmlkonsole.nix index da892fb47c0e4..da892fb47c0e4 100644 --- a/pkgs/applications/plasma-mobile/qmlkonsole.nix +++ b/pkgs/applications/kde/qmlkonsole.nix diff --git a/pkgs/applications/plasma-mobile/tokodon.nix b/pkgs/applications/kde/tokodon.nix index f93336d40fa8c..bf40a5a001550 100644 --- a/pkgs/applications/plasma-mobile/tokodon.nix +++ b/pkgs/applications/kde/tokodon.nix @@ -11,7 +11,6 @@ , kirigami2 , kirigami-addons , knotifications -, libwebsockets , qqc2-desktop-style , qtbase , qtkeychain @@ -21,29 +20,11 @@ , qtwebsockets , kitemmodels , pimcommon - -# Workarounds for the point release being missing. -, libsForQt5 -, fetchFromGitLab }: -# NOTE: we cannot use `mkDerivation` injected by the Plasma Mobile package -# set for the point release, as the point release was not uploaded to -# the Plasma Mobile gear repo, and the injected `mkDerivation` only can -# use the src (and version) from the `srcs` set. -libsForQt5.mkDerivation rec { +mkDerivation { pname = "tokodon"; - version = "23.01.0"; - # NOTE: the tokodon point release was not uploaded to the Plasma Mobile gear repo. - src = fetchFromGitLab { - domain = "invent.kde.org"; - owner = "network"; - repo = pname; - rev = "v${version}"; - hash = "sha256-iJRyKEFdoWtZLZ/nkMvy2S7EF+JRHXi3O0DswfrClDU="; - }; - nativeBuildInputs = [ cmake extra-cmake-modules diff --git a/pkgs/applications/plasma-mobile/default.nix b/pkgs/applications/plasma-mobile/default.nix index 255b3828f7682..97076070ae600 100644 --- a/pkgs/applications/plasma-mobile/default.nix +++ b/pkgs/applications/plasma-mobile/default.nix @@ -57,26 +57,10 @@ let inherit mkDerivation; }; in { - alligator = callPackage ./alligator.nix {}; - angelfish = callPackage ./angelfish.nix { inherit srcs; }; - audiotube = callPackage ./audiotube.nix {}; - calindori = callPackage ./calindori.nix {}; - kalk = callPackage ./kalk.nix {}; - kasts = callPackage ./kasts.nix {}; - kclock = callPackage ./kclock.nix {}; - keysmith = callPackage ./keysmith.nix {}; - koko = callPackage ./koko.nix {}; - krecorder = callPackage ./krecorder.nix {}; - ktrip = callPackage ./ktrip.nix {}; - kweather = callPackage ./kweather.nix {}; - neochat = callPackage ./neochat.nix { inherit srcs; }; plasma-dialer = callPackage ./plasma-dialer.nix {}; plasma-phonebook = callPackage ./plasma-phonebook.nix {}; plasma-settings = callPackage ./plasma-settings.nix {}; - plasmatube = callPackage ./plasmatube {}; - qmlkonsole = callPackage ./qmlkonsole.nix {}; spacebar = callPackage ./spacebar.nix {}; - tokodon = callPackage ./tokodon.nix {}; }; in lib.makeScope libsForQt5.newScope packages diff --git a/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch b/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch deleted file mode 100644 index 704b92b2b01a7..0000000000000 --- a/pkgs/applications/plasma-mobile/plasmatube/0001-Add-placeholders-for-runtime-dependencies.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 7a9405ed02b0d86839644a2c237ca7ca8b891b76 Mon Sep 17 00:00:00 2001 -From: Samuel Dionne-Riel <samuel@dionne-riel.com> -Date: Wed, 30 Nov 2022 21:07:56 -0500 -Subject: [PATCH] Add placeholders for runtime dependencies - ---- - src/videomodel.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/videomodel.cpp b/src/videomodel.cpp -index 4bb3451..b558f31 100644 ---- a/src/videomodel.cpp -+++ b/src/videomodel.cpp -@@ -121,7 +121,7 @@ QString VideoModel::remoteUrl() - return {}; - } - -- QString youtubeDl = QStringLiteral("yt-dlp"); -+ QString youtubeDl = QStringLiteral("@yt-dlp@"); - QStringList arguments; - arguments << QLatin1String("--dump-json") - << m_videoId; --- -2.38.0 - |