From c21da82680dc3d20e42dc25eed137783cbff1f76 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 10 Oct 2015 10:06:36 -0500 Subject: [PATCH] propagate kdeclarative dependencies --- pkgs/desktops/plasma-5.4/kinfocenter.nix | 47 +++----------- pkgs/desktops/plasma-5.4/kwin/default.nix | 4 +- pkgs/desktops/plasma-5.4/milou.nix | 21 ++----- .../plasma-5.4/plasma-desktop/default.nix | 4 +- .../plasma-5.4/plasma-mediacenter.nix | 4 +- pkgs/desktops/plasma-5.4/plasma-nm.nix | 62 ++++--------------- pkgs/desktops/plasma-5.4/plasma-pa.nix | 20 ++---- .../plasma-5.4/plasma-workspace/default.nix | 4 +- .../kde-frameworks-5.14/kactivities.nix | 34 ++-------- .../kde-frameworks-5.14/kcmutils/default.nix | 24 ++----- .../plasma-framework/default.nix | 4 +- 11 files changed, 49 insertions(+), 179 deletions(-) diff --git a/pkgs/desktops/plasma-5.4/kinfocenter.nix b/pkgs/desktops/plasma-5.4/kinfocenter.nix index 89a3b4643830..11e7c6af6fd0 100644 --- a/pkgs/desktops/plasma-5.4/kinfocenter.nix +++ b/pkgs/desktops/plasma-5.4/kinfocenter.nix @@ -1,24 +1,7 @@ -{ plasmaPackage -, extra-cmake-modules -, kdoctools -, kcmutils -, kcompletion -, kconfig -, kconfigwidgets -, kcoreaddons -, kdbusaddons -, kdeclarative -, kdelibs4support -, ki18n -, kiconthemes -, kio -, kpackage -, kservice -, kwidgetsaddons -, kxmlgui -, libraw1394 -, pciutils -, solid +{ plasmaPackage, extra-cmake-modules, kdoctools, kcmutils +, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons +, kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kpackage +, kservice, kwidgetsaddons, kxmlgui, libraw1394, pciutils, solid }: plasmaPackage { @@ -28,25 +11,11 @@ plasmaPackage { kdoctools ]; buildInputs = [ - kcmutils - kcompletion - kconfig - kconfigwidgets - kcoreaddons - kdbusaddons - kdeclarative - kdelibs4support - ki18n - kiconthemes - kio - kpackage - kservice - kwidgetsaddons - kxmlgui - libraw1394 - pciutils - solid + kcmutils kcompletion kconfig kconfigwidgets kcoreaddons + kdbusaddons kdelibs4support ki18n kiconthemes kio kpackage + kservice kwidgetsaddons kxmlgui libraw1394 pciutils solid ]; + propagatedBuildInputs = [ kdeclarative ]; postInstall = '' wrapKDEProgram "$out/bin/kinfocenter" ''; diff --git a/pkgs/desktops/plasma-5.4/kwin/default.nix b/pkgs/desktops/plasma-5.4/kwin/default.nix index 958bc45180a3..e01a5bfed013 100644 --- a/pkgs/desktops/plasma-5.4/kwin/default.nix +++ b/pkgs/desktops/plasma-5.4/kwin/default.nix @@ -15,13 +15,13 @@ plasmaPackage { ]; buildInputs = [ epoxy kcompletion kcmutils kconfig kconfigwidgets kcoreaddons - kcrash kdeclarative kdecoration kglobalaccel ki18n kiconthemes + kcrash kdecoration kglobalaccel ki18n kiconthemes kinit kio knewstuff knotifications kpackage kservice kwayland kwidgetsaddons kwindowsystem kxmlgui libinput libICE libSM plasma-framework qtdeclarative qtscript qtx11extras udev wayland xcb-util-cursor ]; - propagatedBuildInputs = [ kactivities ]; + propagatedBuildInputs = [ kactivities kdeclarative ]; patches = [ ./kwin-import-plugin-follow-symlinks.patch ]; postInstall = '' wrapKDEProgram "$out/bin/kwin_x11" diff --git a/pkgs/desktops/plasma-5.4/milou.nix b/pkgs/desktops/plasma-5.4/milou.nix index 86698e8aee63..767848ccc0e2 100644 --- a/pkgs/desktops/plasma-5.4/milou.nix +++ b/pkgs/desktops/plasma-5.4/milou.nix @@ -1,12 +1,5 @@ -{ plasmaPackage -, extra-cmake-modules -, qtscript -, qtdeclarative -, kcoreaddons -, ki18n -, kdeclarative -, kservice -, plasma-framework +{ plasmaPackage, extra-cmake-modules, qtscript, qtdeclarative +, kcoreaddons, ki18n, kdeclarative, kservice, plasma-framework , krunner }: @@ -16,13 +9,7 @@ plasmaPackage { extra-cmake-modules ]; buildInputs = [ - qtscript - qtdeclarative - kcoreaddons - ki18n - kdeclarative - kservice - plasma-framework - krunner + qtscript kcoreaddons ki18n kservice plasma-framework krunner ]; + propagatedBuildInputs = [ kdeclarative qtdeclarative ]; } diff --git a/pkgs/desktops/plasma-5.4/plasma-desktop/default.nix b/pkgs/desktops/plasma-5.4/plasma-desktop/default.nix index be0920457819..9061cef1e87a 100644 --- a/pkgs/desktops/plasma-5.4/plasma-desktop/default.nix +++ b/pkgs/desktops/plasma-5.4/plasma-desktop/default.nix @@ -17,14 +17,14 @@ plasmaPackage { ]; buildInputs = [ attica boost fontconfig kcmutils - kdbusaddons kdeclarative kded kdelibs4support kemoticons + kdbusaddons kded kdelibs4support kemoticons kglobalaccel ki18n kitemmodels knewstuff knotifications knotifyconfig kpeople krunner kwallet kwin libcanberra_kde libXcursor libpulseaudio libXft libxkbfile phonon plasma-framework plasma-workspace qtdeclarative qtx11extras qtsvg xf86inputevdev xf86inputsynaptics xkeyboard_config xinput ]; - propagatedBuildInputs = [ baloo kactivities kauth ]; + propagatedBuildInputs = [ baloo kactivities kauth kdeclarative ]; patches = [ (substituteAll { src = ./0001-hwclock.patch; diff --git a/pkgs/desktops/plasma-5.4/plasma-mediacenter.nix b/pkgs/desktops/plasma-5.4/plasma-mediacenter.nix index b5b479c2d5e6..d86d9f1c6872 100644 --- a/pkgs/desktops/plasma-5.4/plasma-mediacenter.nix +++ b/pkgs/desktops/plasma-5.4/plasma-mediacenter.nix @@ -10,9 +10,9 @@ plasmaPackage { extra-cmake-modules ]; buildInputs = [ - kconfig kcoreaddons kdeclarative kguiaddons ki18n kio + kconfig kcoreaddons kguiaddons ki18n kio kservice kfilemetadata plasma-framework qtdeclarative qtmultimedia taglib ]; - propagatedBuildInputs = [ baloo kactivities ]; + propagatedBuildInputs = [ baloo kactivities kdeclarative ]; } diff --git a/pkgs/desktops/plasma-5.4/plasma-nm.nix b/pkgs/desktops/plasma-5.4/plasma-nm.nix index 1cf3ec27b36e..c7ddf6e89efa 100644 --- a/pkgs/desktops/plasma-5.4/plasma-nm.nix +++ b/pkgs/desktops/plasma-5.4/plasma-nm.nix @@ -1,29 +1,9 @@ -{ plasmaPackage -, extra-cmake-modules -, kdoctools -, kcompletion -, kconfigwidgets -, kcoreaddons -, kdbusaddons -, kdeclarative -, kdelibs4support -, ki18n -, kiconthemes -, kinit -, kio -, kitemviews -, knotifications -, kservice -, kwallet -, kwidgetsaddons -, kwindowsystem -, kxmlgui -, mobile_broadband_provider_info -, modemmanager-qt -, networkmanager-qt -, openconnect -, plasma-framework -, qtdeclarative +{ plasmaPackage, extra-cmake-modules, kdoctools, kcompletion +, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative +, kdelibs4support, ki18n, kiconthemes, kinit, kio, kitemviews +, knotifications, kservice, kwallet, kwidgetsaddons, kwindowsystem +, kxmlgui, mobile_broadband_provider_info, modemmanager-qt +, networkmanager-qt, openconnect, plasma-framework, qtdeclarative , solid }: @@ -34,31 +14,13 @@ plasmaPackage { kdoctools ]; buildInputs = [ - kcompletion - kconfigwidgets - kcoreaddons - kdbusaddons - kdeclarative - kdelibs4support - ki18n - kiconthemes - kinit - kio - kitemviews - knotifications - kservice - kwallet - kwidgetsaddons - kwindowsystem - kxmlgui - mobile_broadband_provider_info - modemmanager-qt - networkmanager-qt - openconnect - plasma-framework - qtdeclarative - solid + kcompletion kconfigwidgets kcoreaddons kdbusaddons kdelibs4support + ki18n kiconthemes kinit kio kitemviews knotifications kservice + kwallet kwidgetsaddons kwindowsystem kxmlgui + mobile_broadband_provider_info modemmanager-qt networkmanager-qt + openconnect plasma-framework qtdeclarative solid ]; + propagatedBuildInputs = [ kdeclarative ]; postInstall = '' wrapKDEProgram "$out/bin/kde5-nm-connection-editor" ''; diff --git a/pkgs/desktops/plasma-5.4/plasma-pa.nix b/pkgs/desktops/plasma-5.4/plasma-pa.nix index e82a5b814a6a..a5cc11d89ae9 100644 --- a/pkgs/desktops/plasma-5.4/plasma-pa.nix +++ b/pkgs/desktops/plasma-5.4/plasma-pa.nix @@ -1,12 +1,5 @@ -{ plasmaPackage -, extra-cmake-modules -, glib -, kconfigwidgets -, kcoreaddons -, kdeclarative -, kglobalaccel -, ki18n -, libpulseaudio +{ plasmaPackage, extra-cmake-modules, glib, kconfigwidgets +, kcoreaddons, kdeclarative, kglobalaccel, ki18n, libpulseaudio , plasma-framework }: @@ -16,13 +9,8 @@ plasmaPackage { extra-cmake-modules ]; buildInputs = [ - glib - kconfigwidgets - kcoreaddons - kdeclarative - kglobalaccel - ki18n - libpulseaudio + glib kconfigwidgets kcoreaddons kglobalaccel ki18n libpulseaudio plasma-framework ]; + propagatedBuildInputs = [ kdeclarative ]; } diff --git a/pkgs/desktops/plasma-5.4/plasma-workspace/default.nix b/pkgs/desktops/plasma-5.4/plasma-workspace/default.nix index 900036a2867b..b1e2010da319 100644 --- a/pkgs/desktops/plasma-5.4/plasma-workspace/default.nix +++ b/pkgs/desktops/plasma-5.4/plasma-workspace/default.nix @@ -17,7 +17,7 @@ plasmaPackage { kdoctools ]; buildInputs = [ - kcmutils kcrash kdbusaddons kdeclarative + kcmutils kcrash kdbusaddons kdelibs4support kdesu kdewebkit kglobalaccel kidletime kjsembed knewstuff knotifyconfig kpackage krunner ktexteditor ktextwidgets kwallet kwayland kwin kxmlrpcclient libdbusmenu libkscreen libSM @@ -25,7 +25,7 @@ plasmaPackage { qtscript qtx11extras solid wayland ]; propagatedBuildInputs = [ - baloo kactivities libksysguard + baloo kactivities kdeclarative libksysguard ]; patches = [ ./0001-startkde-NixOS-patches.patch ]; diff --git a/pkgs/development/libraries/kde-frameworks-5.14/kactivities.nix b/pkgs/development/libraries/kde-frameworks-5.14/kactivities.nix index c8e296bad805..ed0c7b6575ac 100644 --- a/pkgs/development/libraries/kde-frameworks-5.14/kactivities.nix +++ b/pkgs/development/libraries/kde-frameworks-5.14/kactivities.nix @@ -1,38 +1,16 @@ -{ kdeFramework, lib -, extra-cmake-modules -, boost -, kcmutils -, kconfig -, kcoreaddons -, kdbusaddons -, kdeclarative -, kglobalaccel -, ki18n -, kio -, kservice -, kwindowsystem -, kxmlgui -, qtdeclarative +{ kdeFramework, lib, extra-cmake-modules, boost, kcmutils, kconfig +, kcoreaddons, kdbusaddons, kdeclarative, kglobalaccel, ki18n +, kio, kservice, kwindowsystem, kxmlgui, qtdeclarative }: kdeFramework { name = "kactivities"; nativeBuildInputs = [ extra-cmake-modules ]; buildInputs = [ - boost - kcmutils - kconfig - kcoreaddons - kdbusaddons - kdeclarative - kglobalaccel - ki18n - kio - kservice - kwindowsystem - kxmlgui - qtdeclarative + boost kcmutils kconfig kcoreaddons kdbusaddons kglobalaccel ki18n + kio kservice kwindowsystem kxmlgui ]; + propagatedBuildInputs = [ kdeclarative qtdeclarative ]; postInstall = '' wrapKDEProgram "$out/bin/kactivitymanagerd" ''; diff --git a/pkgs/development/libraries/kde-frameworks-5.14/kcmutils/default.nix b/pkgs/development/libraries/kde-frameworks-5.14/kcmutils/default.nix index ac7a5af06a40..9fb366ae403c 100644 --- a/pkgs/development/libraries/kde-frameworks-5.14/kcmutils/default.nix +++ b/pkgs/development/libraries/kde-frameworks-5.14/kcmutils/default.nix @@ -1,29 +1,15 @@ -{ kdeFramework, lib -, extra-cmake-modules -, kconfigwidgets -, kcoreaddons -, kdeclarative -, ki18n -, kiconthemes -, kitemviews -, kpackage -, kservice -, kxmlgui +{ kdeFramework, lib, extra-cmake-modules, kconfigwidgets +, kcoreaddons, kdeclarative, ki18n, kiconthemes, kitemviews +, kpackage, kservice, kxmlgui }: kdeFramework { name = "kcmutils"; nativeBuildInputs = [ extra-cmake-modules ]; buildInputs = [ - kcoreaddons - kdeclarative - ki18n - kiconthemes - kitemviews - kpackage - kxmlgui + kcoreaddons ki18n kiconthemes kitemviews kpackage kxmlgui ]; - propagatedBuildInputs = [ kconfigwidgets kservice ]; + propagatedBuildInputs = [ kconfigwidgets kdeclarative kservice ]; patches = [ ./kcmutils-pluginselector-follow-symlinks.patch ]; meta = { maintainers = [ lib.maintainers.ttuegel ]; diff --git a/pkgs/development/libraries/kde-frameworks-5.14/plasma-framework/default.nix b/pkgs/development/libraries/kde-frameworks-5.14/plasma-framework/default.nix index 10ba63efdfd2..f9479aa39f62 100644 --- a/pkgs/development/libraries/kde-frameworks-5.14/plasma-framework/default.nix +++ b/pkgs/development/libraries/kde-frameworks-5.14/plasma-framework/default.nix @@ -10,10 +10,10 @@ kdeFramework { nativeBuildInputs = [ extra-cmake-modules kdoctools ]; buildInputs = [ karchive kconfig kconfigwidgets kcoreaddons - kdbusaddons kdeclarative kglobalaccel kguiaddons ki18n kiconthemes + kdbusaddons kglobalaccel kguiaddons ki18n kiconthemes kio knotifications kwindowsystem kxmlgui qtscript qtx11extras ]; - propagatedBuildInputs = [ kactivities kpackage kservice ]; + propagatedBuildInputs = [ kactivities kdeclarative kpackage kservice ]; postInstall = '' wrapKDEProgram "$out/bin/plasmapkg2" '';