Skip to content

Commit

Permalink
Merge pull request #117947 from ttuegel/update-kde
Browse files Browse the repository at this point in the history
KDE Frameworks 5.80 and Applications 20.12.3
  • Loading branch information
ttuegel authored Apr 7, 2021
2 parents f1e22d4 + e1aa8a7 commit e4d788f
Show file tree
Hide file tree
Showing 117 changed files with 1,501 additions and 1,592 deletions.
2 changes: 1 addition & 1 deletion pkgs/applications/kde/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( http://download.kde.org/stable/release-service/20.12.2/src -A '*.tar.xz' )
WGET_ARGS=( http://download.kde.org/stable/release-service/20.12.3/src -A '*.tar.xz' )
1,792 changes: 896 additions & 896 deletions pkgs/applications/kde/srcs.nix

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/bluedevil.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ mkDerivation {
ki18n kio kwindowsystem plasma-framework kcoreaddons kdbusaddons kded
kiconthemes knotifications kwidgetsaddons
];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
24 changes: 16 additions & 8 deletions pkgs/desktops/plasma-5/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ existing packages here and modify it as necessary.
}:

let
minQtVersion = "5.15";
broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];

srcs = import ./srcs.nix {
inherit fetchurl;
mirror = "mirror://kde";
Expand Down Expand Up @@ -81,14 +88,15 @@ let
defaultSetupHook = if hasBin && hasDev then propagateBin else null;
setupHook = args.setupHook or defaultSetupHook;

meta = {
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
homepage = "http://www.kde.org";
} // (args.meta or {});
meta =
let meta = args.meta or {}; in
meta // {
homepage = meta.homepage or "http://www.kde.org";
license = meta.license or license;
maintainers = (meta.maintainers or []) ++ maintainers;
platforms = meta.platforms or lib.platforms.linux;
broken = meta.broken or broken;
};
in
mkDerivation (args // {
name = "${name}-${version}";
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/discover.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

mkDerivation {
name = "discover";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools python3 ];
buildInputs = [
# discount is needed for libmarkdown
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kactivitymanagerd.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

mkDerivation {
name = "kactivitymanagerd";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
boost kconfig kcoreaddons kdbusaddons kglobalaccel ki18n kio kwindowsystem
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kdecoration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ mkDerivation {
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase ki18n ];
outputs = [ "out" "dev" ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kgamma5.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ mkDerivation {
name = "kgamma5";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kconfig kconfigwidgets ki18n qtx11extras libXxf86vm ];
meta.broken = lib.versionOlder qtbase.version "5.15";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/khotkeys.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ mkDerivation {
plasma-framework plasma-workspace qtx11extras
];
outputs = [ "bin" "dev" "out" ];
meta.broken = lib.versionOlder qtbase.version "5.14";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kinfocenter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

mkDerivation {
name = "kinfocenter";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kdbusaddons
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kscreenlocker.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

mkDerivation {
name = "kscreenlocker";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kcmutils kcrash kdeclarative kdelibs4support kglobalaccel kidletime kwayland
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/ksshaskpass.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ mkDerivation {
name = "ksshaskpass";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/ksysguard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

mkDerivation {
name = "ksysguard";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kwayland-integration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ mkDerivation {
name = "kwayland-integration";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kguiaddons kidletime kwindowsystem kwayland qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kwayland-server/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ mkDerivation {
kwayland plasma-wayland-protocols wayland wayland-protocols
];
patches = [ ./0001-Use-KDE_INSTALL_TARGETS_DEFAULT_ARGS-when-installing.patch ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/kwrited.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ mkDerivation {
name = "kwrited";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kcoreaddons kdbusaddons ki18n knotifications kpty qtbase ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
3 changes: 0 additions & 3 deletions pkgs/desktops/plasma-5/libkscreen/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@

mkDerivation {
name = "libkscreen";
meta = {
broken = lib.versionOlder qtbase.version "5.15.0";
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kwayland libXrandr qtx11extras ];
outputs = [ "out" "dev" ];
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/libksysguard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

mkDerivation {
name = "libksysguard";
meta.broken = lib.versionOlder qtbase.version "5.14.0";
patches = [
./0001-qdiriterator-follow-symlinks.patch
];
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/milou.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

mkDerivation {
name = "milou";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kcoreaddons kdeclarative ki18n kitemmodels krunner kservice plasma-framework
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/plasma-nm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

mkDerivation {
name = "plasma-nm";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools qttools ];
buildInputs = [
kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/plasma-pa.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ mkDerivation {

qtbase qtdeclarative
];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/plasma-systemmonitor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

mkDerivation {
name = "plasma-systemmonitor";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules kdoctools ];
buildInputs = [
qtquickcontrols2
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/polkit-kde-agent.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ mkDerivation {
knotifications kwindowsystem polkit-qt
];
outputs = [ "out" "dev" ];
meta.broken = lib.versionOlder qtbase.version "5.15.0";
}
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/sddm-kcm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@

mkDerivation {
name = "sddm-kcm";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules shared-mime-info ];
buildInputs = [
libpthreadstubs
Expand Down
1 change: 0 additions & 1 deletion pkgs/desktops/plasma-5/xdg-desktop-portal-kde.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

mkDerivation {
name = "xdg-desktop-portal-kde";
meta.broken = lib.versionOlder qtbase.version "5.15.0";
nativeBuildInputs = [ extra-cmake-modules gettext kdoctools ];
buildInputs = [
cups epoxy mesa pcre pipewire wayland wayland-protocols
Expand Down
6 changes: 1 addition & 5 deletions pkgs/development/libraries/kde-frameworks/attica.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{ mkDerivation, lib, extra-cmake-modules, qtbase }:
{ mkDerivation, extra-cmake-modules, qtbase }:

mkDerivation {
name = "attica";
meta = {
maintainers = [ lib.maintainers.ttuegel ];
broken = builtins.compareVersions qtbase.version "5.14.0" < 0;
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtbase ];
outputs = [ "out" "dev" ];
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/libraries/kde-frameworks/baloo.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
mkDerivation, lib,
mkDerivation,
extra-cmake-modules,
kauth, kconfig, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n,
kidletime, kio, lmdb, qtbase, qtdeclarative, solid,
}:

mkDerivation {
name = "baloo";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kauth kconfig kcrash kdbusaddons ki18n kio kidletime lmdb qtdeclarative
Expand Down
6 changes: 1 addition & 5 deletions pkgs/development/libraries/kde-frameworks/bluez-qt.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
{ mkDerivation, lib
{ mkDerivation
, extra-cmake-modules
, qtbase, qtdeclarative
}:

mkDerivation {
name = "bluez-qt";
meta = {
maintainers = [ lib.maintainers.ttuegel ];
broken = builtins.compareVersions qtbase.version "5.7.0" < 0;
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ qtdeclarative ];
propagatedBuildInputs = [ qtbase ];
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/libraries/kde-frameworks/breeze-icons.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{ mkDerivation, lib, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:
{ mkDerivation, extra-cmake-modules, gtk3, qtsvg, hicolor-icon-theme }:

mkDerivation {
name = "breeze-icons";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules gtk3 ];
buildInputs = [ qtsvg ];
propagatedBuildInputs = [
Expand Down
26 changes: 17 additions & 9 deletions pkgs/development/libraries/kde-frameworks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ existing packages here and modify it as necessary.

let

minQtVersion = "5.14";
broken = lib.versionOlder libsForQt5.qtbase.version minQtVersion;
maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];

srcs = import ./srcs.nix {
inherit fetchurl;
mirror = "mirror://kde";
Expand Down Expand Up @@ -72,14 +79,15 @@ let
defaultSetupHook = if hasSeparateDev then propagateBin else null;
setupHook = args.setupHook or defaultSetupHook;

meta = {
homepage = "http://www.kde.org";
license = with lib.licenses; [
lgpl21Plus lgpl3Plus bsd2 mit gpl2Plus gpl3Plus fdl12
];
maintainers = with lib.maintainers; [ ttuegel nyanloutre ];
platforms = lib.platforms.linux;
} // (args.meta or {});
meta =
let meta = args.meta or {}; in
meta // {
homepage = meta.homepage or "http://www.kde.org";
license = meta.license or license;
maintainers = (meta.maintainers or []) ++ maintainers;
platforms = meta.platforms or lib.platforms.linux;
broken = meta.broken or broken;
};

in mkDerivation (args // {
name = "${name}-${version}";
Expand Down Expand Up @@ -158,7 +166,7 @@ let
kiconthemes = callPackage ./kiconthemes {};
kinit = callPackage ./kinit {};
kio = callPackage ./kio {};
knewstuff = callPackage ./knewstuff.nix {};
knewstuff = callPackage ./knewstuff {};
knotifyconfig = callPackage ./knotifyconfig.nix {};
kparts = callPackage ./kparts.nix {};
kpeople = callPackage ./kpeople.nix {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,5 @@ mkDerivation {
platforms = platforms.linux ++ platforms.darwin;
homepage = "http://www.kde.org";
license = licenses.bsd2;
maintainers = [ maintainers.ttuegel ];
};
}
2 changes: 1 addition & 1 deletion pkgs/development/libraries/kde-frameworks/fetch.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.79/ -A '*.tar.xz' )
WGET_ARGS=( https://download.kde.org/stable/frameworks/5.80/ -A '*.tar.xz' )
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
mkDerivation, lib,
mkDerivation,
extra-cmake-modules,
kbookmarks, kcompletion, kconfig, kconfigwidgets, ki18n, kiconthemes, kio,
knewstuff, knotifications, kpackage, kwidgetsaddons, libXcursor, qtx11extras
}:

mkDerivation {
name = "frameworkintegration";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
kbookmarks kcompletion kconfig ki18n kio knewstuff knotifications kpackage
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
mkDerivation, lib,
mkDerivation,
extra-cmake-modules,
boost, kactivities, kconfig, qtbase,
}:

mkDerivation {
name = "kactivities-stats";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ boost kactivities kconfig ];
propagatedBuildInputs = [ qtbase ];
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/libraries/kde-frameworks/kactivities.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
{
mkDerivation, lib,
mkDerivation,
extra-cmake-modules,
boost, kconfig, kcoreaddons, kio, kwindowsystem, qtbase, qtdeclarative,
}:

mkDerivation {
name = "kactivities";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [
boost kconfig kcoreaddons kio kwindowsystem qtdeclarative
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/kde-frameworks/kapidox.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

mkDerivation {
name = "kapidox";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules python3 python3.pkgs.setuptools ];
postFixup = ''
moveToOutput bin $bin
Expand Down
6 changes: 1 addition & 5 deletions pkgs/development/libraries/kde-frameworks/karchive.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
{
mkDerivation, lib,
mkDerivation,
extra-cmake-modules,
bzip2, xz, qtbase, zlib,
}:

mkDerivation {
name = "karchive";
meta = {
maintainers = [ lib.maintainers.ttuegel ];
broken = builtins.compareVersions qtbase.version "5.14.0" < 0;
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ bzip2 xz zlib ];
propagatedBuildInputs = [ qtbase ];
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/libraries/kde-frameworks/kauth/default.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
mkDerivation, lib, propagate,
mkDerivation, propagate,
extra-cmake-modules, kcoreaddons, polkit-qt, qttools
}:

mkDerivation {
name = "kauth";
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ polkit-qt qttools ];
propagatedBuildInputs = [ kcoreaddons ];
Expand Down
Loading

0 comments on commit e4d788f

Please sign in to comment.