kde5.plasma: unwrap everything

This commit is contained in:
Thomas Tuegel 2016-07-17 15:42:41 -05:00
parent e362442562
commit 795cfd578a
16 changed files with 36 additions and 127 deletions

View File

@ -1,22 +1,18 @@
{ plasmaPackage, ecm, bluez-qt, kcoreaddons {
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications plasmaPackage, ecm, shared_mime_info,
, kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework bluez-qt, kcoreaddons, kdbusaddons, kded, ki18n, kiconthemes, kio,
, qtdeclarative, shared_mime_info knotifications, kwidgetsaddons, kwindowsystem, plasma-framework, qtdeclarative
}: }:
plasmaPackage { plasmaPackage {
name = "bluedevil"; name = "bluedevil";
nativeBuildInputs = [ nativeBuildInputs = [ ecm shared_mime_info ];
ecm makeQtWrapper shared_mime_info
];
propagatedBuildInputs = [ propagatedBuildInputs = [
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative kcoreaddons
kdbusaddons kded kiconthemes knotifications kwidgetsaddons kdbusaddons kded kiconthemes knotifications kwidgetsaddons
]; ];
propagatedUserEnvPkgs = [ bluez-qt ]; propagatedUserEnvPkgs = [ bluez-qt.out ];
postInstall = '' postInstall = ''
wrapQtProgram "$out/bin/bluedevil-wizard"
wrapQtProgram "$out/bin/bluedevil-sendfile"
# Fix the location of logic.js for the plasmoid # Fix the location of logic.js for the plasmoid
ln -s $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js ln -s $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/code/logic.js $out/share/plasma/plasmoids/org.kde.plasma.bluetooth/contents/ui/logic.js
''; '';

View File

@ -1,25 +1,14 @@
{ plasmaPackage, ecm, kcmutils, kconfig {
, kdelibs4support, kdesu, kdoctools, ki18n, kiconthemes plasmaPackage, ecm,
, kwindowsystem, makeQtWrapper, qtsvg, qtx11extras kcmutils, kconfig, kdelibs4support, kdesu, kdoctools, ki18n, kiconthemes,
kwindowsystem, qtsvg, qtx11extras
}: }:
plasmaPackage { plasmaPackage {
name = "kde-cli-tools"; name = "kde-cli-tools";
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ]; nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdelibs4support ki18n kwindowsystem qtsvg qtx11extras kcmutils kconfig kdesu kcmutils kconfig kdesu kdelibs4support ki18n kiconthemes kwindowsystem qtsvg
kiconthemes qtx11extras
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kmimetypefinder5"
wrapQtProgram "$out/bin/ksvgtopng5"
wrapQtProgram "$out/bin/ktraderclient5"
wrapQtProgram "$out/bin/kioclient5"
wrapQtProgram "$out/bin/kdecp5"
wrapQtProgram "$out/bin/keditfiletype5"
wrapQtProgram "$out/bin/kcmshell5"
wrapQtProgram "$out/bin/kdemv5"
wrapQtProgram "$out/bin/kstart5"
wrapQtProgram "$out/bin/kde-open5"
'';
} }

View File

@ -1,23 +1,16 @@
{ plasmaPackage, ecm, kdoctools, kcmutils { plasmaPackage, ecm, kdoctools, kcmutils
, kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons , kcompletion, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons
, kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kpackage , kdeclarative, kdelibs4support, ki18n, kiconthemes, kio, kpackage
, kservice, kwidgetsaddons, kxmlgui, libraw1394, makeQtWrapper , kservice, kwidgetsaddons, kxmlgui, libraw1394
, pciutils, solid , pciutils, solid
}: }:
plasmaPackage { plasmaPackage {
name = "kinfocenter"; name = "kinfocenter";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdeclarative kdelibs4support ki18n kio kcmutils kcompletion kconfig kdeclarative kdelibs4support ki18n kio kcmutils kcompletion kconfig
kconfigwidgets kcoreaddons kdbusaddons kiconthemes kpackage kservice kconfigwidgets kcoreaddons kdbusaddons kiconthemes kpackage kservice
kwidgetsaddons kxmlgui libraw1394 pciutils solid kwidgetsaddons kxmlgui libraw1394 pciutils solid
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kinfocenter"
'';
} }

View File

@ -1,18 +1,11 @@
{ plasmaPackage, ecm, kdoctools, ki18n, kxmlgui { plasmaPackage, ecm, kdoctools, ki18n, kxmlgui
, kdbusaddons, kiconthemes, kio, sonnet, kdelibs4support, makeQtWrapper , kdbusaddons, kiconthemes, kio, sonnet, kdelibs4support
}: }:
plasmaPackage { plasmaPackage {
name = "kmenuedit"; name = "kmenuedit";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdelibs4support ki18n kio sonnet kxmlgui kdbusaddons kiconthemes kdelibs4support ki18n kio sonnet kxmlgui kdbusaddons kiconthemes
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kmenuedit"
'';
} }

View File

@ -1,19 +1,13 @@
{ plasmaPackage, ecm, kconfig, kconfigwidgets { plasmaPackage, ecm, kconfig, kconfigwidgets
, kdbusaddons, kglobalaccel, ki18n, kwidgetsaddons, kxmlgui , kdbusaddons, kglobalaccel, ki18n, kwidgetsaddons, kxmlgui
, libkscreen, makeQtWrapper, qtdeclarative, qtgraphicaleffects , libkscreen, qtdeclarative, qtgraphicaleffects
}: }:
plasmaPackage { plasmaPackage {
name = "kscreen"; name = "kscreen";
nativeBuildInputs = [ nativeBuildInputs = [ ecm ];
ecm
makeQtWrapper
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kglobalaccel ki18n libkscreen qtdeclarative qtgraphicaleffects kconfig kglobalaccel ki18n libkscreen qtdeclarative qtgraphicaleffects kconfig
kconfigwidgets kdbusaddons kwidgetsaddons kxmlgui kconfigwidgets kdbusaddons kwidgetsaddons kxmlgui
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kscreen-console"
'';
} }

View File

@ -5,10 +5,7 @@
plasmaPackage { plasmaPackage {
name = "kscreenlocker"; name = "kscreenlocker";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdeclarative plasma-framework qtdeclarative kcmutils kcrash kdelibs4support kdeclarative plasma-framework qtdeclarative kcmutils kcrash kdelibs4support
kglobalaccel kidletime kwayland libXcursor pam wayland kglobalaccel kidletime kwayland libXcursor pam wayland

View File

@ -1,12 +1,9 @@
{ plasmaPackage, ecm, kdoctools, kcoreaddons { plasmaPackage, ecm, kdoctools, kcoreaddons
, ki18n, kwallet, kwidgetsaddons, makeQtWrapper , ki18n, kwallet, kwidgetsaddons
}: }:
plasmaPackage { plasmaPackage {
name = "ksshaskpass"; name = "ksshaskpass";
nativeBuildInputs = [ ecm kdoctools makeQtWrapper ]; nativeBuildInputs = [ ecm kdoctools ];
propagatedBuildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons ]; propagatedBuildInputs = [ kcoreaddons ki18n kwallet kwidgetsaddons ];
postInstall = ''
wrapQtProgram "$out/bin/ksshaskpass"
'';
} }

View File

@ -1,20 +1,13 @@
{ plasmaPackage, ecm, kdoctools, kconfig { plasmaPackage, ecm, kdoctools, kconfig
, kcoreaddons, kdelibs4support, ki18n, kitemviews, knewstuff , kcoreaddons, kdelibs4support, ki18n, kitemviews, knewstuff
, kiconthemes, libksysguard, makeQtWrapper , kiconthemes, libksysguard
}: }:
plasmaPackage { plasmaPackage {
name = "ksysguard"; name = "ksysguard";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard
kdelibs4support ki18n kdelibs4support ki18n
]; ];
postInstall = ''
wrapQtProgram "$out/bin/ksysguardd"
'';
} }

View File

@ -13,7 +13,6 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
ecm ecm
kdoctools kdoctools
makeQtWrapper
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
kactivities kdeclarative kglobalaccel ki18n kio kscreenlocker kwindowsystem kactivities kdeclarative kglobalaccel ki18n kio kscreenlocker kwindowsystem
@ -25,8 +24,4 @@ plasmaPackage {
]; ];
patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ]; cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
postInstall = ''
wrapQtProgram "$out/bin/kwin_x11"
wrapQtProgram "$out/bin/kwin_wayland"
'';
} }

View File

@ -6,17 +6,13 @@
, plasma-framework, plasma-workspace, qtdeclarative, qtx11extras , plasma-framework, plasma-workspace, qtdeclarative, qtx11extras
, qtsvg, libXcursor, libXft, libxkbfile, xf86inputevdev , qtsvg, libXcursor, libXft, libxkbfile, xf86inputevdev
, xf86inputsynaptics, xinput, xkeyboard_config, xorgserver , xf86inputsynaptics, xinput, xkeyboard_config, xorgserver
, libcanberra_kde, libpulseaudio, makeQtWrapper, utillinux , libcanberra_kde, libpulseaudio, utillinux
, qtquickcontrols, ksysguard , qtquickcontrols, ksysguard
}: }:
plasmaPackage rec { plasmaPackage rec {
name = "plasma-desktop"; name = "plasma-desktop";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
makeQtWrapper
];
buildInputs = [ buildInputs = [
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels knewstuff attica boost fontconfig kcmutils kdbusaddons kded kitemmodels knewstuff
knotifications knotifyconfig kwallet libcanberra_kde libXcursor knotifications knotifyconfig kwallet libcanberra_kde libXcursor
@ -42,14 +38,4 @@ plasmaPackage rec {
"-DEvdev_INCLUDE_DIRS=${xf86inputevdev.dev}/include/xorg" "-DEvdev_INCLUDE_DIRS=${xf86inputevdev.dev}/include/xorg"
"-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg" "-DSynaptics_INCLUDE_DIRS=${xf86inputsynaptics}/include/xorg"
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kaccess"
wrapQtProgram "$out/bin/solid-action-desktop-gen"
wrapQtProgram "$out/bin/knetattach"
wrapQtProgram "$out/bin/krdb"
wrapQtProgram "$out/bin/kapplymousetheme"
wrapQtProgram "$out/bin/kfontinst"
wrapQtProgram "$out/bin/kcm-touchpad-list-devices"
wrapQtProgram "$out/bin/kfontview"
'';
} }

View File

@ -2,7 +2,7 @@
, kcompletion, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative , kcompletion, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative
, kdelibs4support, ki18n, kiconthemes, kinit, kio, kitemviews , kdelibs4support, ki18n, kiconthemes, kinit, kio, kitemviews
, knotifications, kservice, kwallet, kwidgetsaddons, kwindowsystem , knotifications, kservice, kwallet, kwidgetsaddons, kwindowsystem
, kxmlgui, makeQtWrapper, mobile_broadband_provider_info , kxmlgui, mobile_broadband_provider_info
, modemmanager-qt, networkmanager-qt, openconnect, plasma-framework , modemmanager-qt, networkmanager-qt, openconnect, plasma-framework
, qca-qt5, qtdeclarative, solid , qca-qt5, qtdeclarative, solid
}: }:
@ -15,11 +15,7 @@ plasmaPackage {
inherit mobile_broadband_provider_info; inherit mobile_broadband_provider_info;
}) })
]; ];
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
makeQtWrapper
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework kdeclarative kdelibs4support ki18n kio kwindowsystem plasma-framework
qtdeclarative kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes qtdeclarative kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes
@ -27,7 +23,4 @@ plasmaPackage {
mobile_broadband_provider_info modemmanager-qt networkmanager-qt openconnect mobile_broadband_provider_info modemmanager-qt networkmanager-qt openconnect
qca-qt5 solid qca-qt5 solid
]; ];
postInstall = ''
wrapQtProgram "$out/bin/kde5-nm-connection-editor"
'';
} }

View File

@ -4,6 +4,7 @@
plasmaPackage { plasmaPackage {
name = "plasma-workspace-wallpapers"; name = "plasma-workspace-wallpapers";
outputs = [ "out" ];
nativeBuildInputs = [ nativeBuildInputs = [
ecm ecm
]; ];

View File

@ -14,9 +14,7 @@
plasmaPackage { plasmaPackage {
name = "plasma-workspace"; name = "plasma-workspace";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm kdoctools
];
buildInputs = [ buildInputs = [
baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative baloo kactivities kcmutils kconfig kcrash kdbusaddons kdeclarative
kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff kdelibs4support kdesu kglobalaccel kidletime kjsembed knewstuff

View File

@ -1,22 +1,12 @@
{ plasmaPackage {
, ecm plasmaPackage, ecm,
, ki18n kcoreaddons, kconfig, kcrash, kdbusaddons, ki18n, kiconthemes, knotifications,
, kwindowsystem kwidgetsaddons, kwindowsystem, polkit-qt
, kdbusaddons
, kwidgetsaddons
, kcoreaddons
, kcrash
, kconfig
, kiconthemes
, knotifications
, polkit-qt
}: }:
plasmaPackage { plasmaPackage {
name = "polkit-kde-agent"; name = "polkit-kde-agent";
nativeBuildInputs = [ nativeBuildInputs = [ ecm ];
ecm
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kdbusaddons kwidgetsaddons kcoreaddons kcrash kconfig ki18n kiconthemes kdbusaddons kwidgetsaddons kcoreaddons kcrash kconfig ki18n kiconthemes
knotifications kwindowsystem polkit-qt knotifications kwindowsystem polkit-qt

View File

@ -6,10 +6,7 @@
plasmaPackage { plasmaPackage {
name = "powerdevil"; name = "powerdevil";
nativeBuildInputs = [ nativeBuildInputs = [ ecm kdoctools ];
ecm
kdoctools
];
propagatedBuildInputs = [ propagatedBuildInputs = [
kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth kconfig kdbusaddons knotifyconfig solid udev bluez-qt kactivities kauth
kdelibs4support kglobalaccel ki18n kio kidletime kwayland libkscreen kdelibs4support kglobalaccel ki18n kio kidletime kwayland libkscreen

View File

@ -11,7 +11,4 @@ plasmaPackage {
kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice kcmutils kconfig kdbusaddons khtml ki18n kiconthemes kio kitemviews kservice
kwindowsystem kxmlgui qtquickcontrols kwindowsystem kxmlgui qtquickcontrols
]; ];
postInstall = ''
wrapQtProgram "$out/bin/systemsettings5"
'';
} }