Merge pull request #221839 from K900/kde-cleanups

treewide: assorted KDE-related updates and cleanups
This commit is contained in:
K900
2023-03-19 23:44:07 +03:00
committed by GitHub
11 changed files with 40 additions and 17 deletions
+2 -2
View File
@@ -16,10 +16,10 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
qtwebengine
grantlee grantleetheme
grantlee
kcmutils kdbusaddons ki18n kiconthemes kio kitemmodels ktextwidgets prison
akonadi-mime kcontacts kmime libkleo
];
propagatedBuildInputs = [ akonadi ];
propagatedBuildInputs = [ akonadi grantleetheme ];
outputs = [ "out" "dev" ];
}
@@ -10,7 +10,7 @@ mkDerivation {
license = with lib.licenses; [ gpl2Plus lgpl21Plus fdl12Plus ];
maintainers = kdepimTeam;
};
output = [ "out" "dev" ];
outputs = [ "out" "dev" ];
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
grantlee ki18n kiconthemes knewstuff kservice kxmlgui qtbase
+1 -1
View File
@@ -75,7 +75,7 @@ let
plasma-settings = callPackage ./plasma-settings.nix {};
plasmatube = callPackage ./plasmatube {};
qmlkonsole = callPackage ./qmlkonsole.nix {};
spacebar = callPackage ./spacebar.nix { inherit srcs; };
spacebar = callPackage ./spacebar.nix {};
tokodon = callPackage ./tokodon.nix {};
};
+1 -6
View File
@@ -1,7 +1,5 @@
{ lib
, mkDerivation
, gcc12Stdenv
, srcs
, cmake
, extra-cmake-modules
@@ -17,17 +15,14 @@
, knotifications
, kpeople
, libphonenumber
, libqofono
, modemmanager-qt
, protobuf
, qcoro
, qtquickcontrols2
}:
# Workaround for AArch64 still using GCC9.
gcc12Stdenv.mkDerivation rec {
mkDerivation {
pname = "spacebar";
inherit (srcs.spacebar) version src;
nativeBuildInputs = [
cmake
+1 -1
View File
@@ -19,10 +19,10 @@ mkDerivation {
ki18n
kcoreaddons
plasma-wayland-protocols
libepoxy
ffmpeg
mesa
pipewire
wayland
];
propagatedBuildInputs = [ libepoxy ];
}
@@ -2,14 +2,14 @@
mkDerivation rec {
pname = "grantlee";
version = "5.2.0";
version = "5.3.1";
grantleePluginPrefix = "lib/grantlee/${lib.versions.majorMinor version}";
src = fetchFromGitHub {
owner = "steveire";
repo = "grantlee";
rev = "v${version}";
sha256 = "sha256-mAbgzdBdIW1wOTQNBePQuyTgkKdpn1c+zR3H7mXHvgk=";
sha256 = "sha256-enP7b6A7Ndew2LJH569fN3IgPu2/KL5rCmU/jmKb9sY=";
};
buildInputs = [ qtbase qtscript ];
@@ -9,7 +9,7 @@ Index: grantlee-5.1.0/templates/lib/templateloader.cpp
- if (file.exists()
- && !fi.canonicalFilePath().contains(
- QDir(d->m_templateDirs.at(i)).canonicalPath()))
- return Template();
- return {};
++i;
}
@@ -1,5 +1,5 @@
{
mkDerivation,
mkDerivation, fetchpatch,
extra-cmake-modules,
breeze-icons, karchive, kcoreaddons, kconfigwidgets, ki18n, kitemviews,
qtbase, qtsvg, qttools,
@@ -9,6 +9,12 @@ mkDerivation {
pname = "kiconthemes";
patches = [
./default-theme-breeze.patch
# fix compile error
(fetchpatch {
url = "https://invent.kde.org/frameworks/kiconthemes/-/commit/d5d04e3c3fa92fbfd95eced39c3e272b8980563d.patch";
hash = "sha256-8YGWJg7+LrPpezW8ubObcFovI5DCVn3gbdH7KDdEeQw=";
})
];
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
@@ -12,14 +12,14 @@
mkDerivation rec {
pname = "kirigami-addons";
version = "0.6";
version = "0.7.2";
src = fetchFromGitLab {
domain = "invent.kde.org";
owner = "libraries";
repo = pname;
rev = "v${version}";
sha256 = "sha256-RUu/0O/YRVRsRYeASfW8UQ/Ql2VbLOdVySVo9/hAmLw=";
sha256 = "sha256-2s9ShwYd2hOb18WRA2nLst6Q4UBHvFL+g7Grpjclz9I=";
};
nativeBuildInputs = [
@@ -0,0 +1,20 @@
{ lib, mkDerivation, fetchurl, cmake, extra-cmake-modules, karchive, kconfigwidgets, kcoreaddons, ki18n, kxmlgui, qtkeychain }:
mkDerivation rec {
pname = "ktextaddons";
version = "1.1.0";
src = fetchurl {
url = "mirror://kde/stable/${pname}/${pname}-${version}.tar.xz";
hash = "sha256-BV1tHCD6kGI5Zj8PRZcEanLi1O7huS+qUijjtePDvik=";
};
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [ karchive kconfigwidgets kcoreaddons ki18n kxmlgui qtkeychain ];
meta = with lib; {
description = "Various text handling addons for KDE applications";
homepage = "https://invent.kde.org/libraries/ktextaddons/";
license = licenses.gpl2Plus;
maintainers = [];
};
}
+2
View File
@@ -20887,6 +20887,8 @@ with pkgs;
kronosnet = callPackage ../development/libraries/kronosnet { };
ktextaddons = libsForQt5.callPackage ../development/libraries/ktextaddons {};
l-smash = callPackage ../development/libraries/l-smash {
stdenv = gccStdenv;
};