remove kf515.makeKDEWrapper

This commit is contained in:
Thomas Tuegel 2015-10-18 09:24:59 -05:00
parent fa81cf0874
commit 5292e67e50
33 changed files with 132 additions and 149 deletions

View File

@ -1,13 +1,13 @@
{ plasmaPackage, extra-cmake-modules, bluez-qt, kcoreaddons { plasmaPackage, extra-cmake-modules, bluez-qt, kcoreaddons
, kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications , kdbusaddons, kded, ki18n, kiconthemes, kio, knotifications
, kwidgetsaddons, kwindowsystem, makeKDEWrapper, plasma-framework , kwidgetsaddons, kwindowsystem, makeQtWrapper, plasma-framework
, qtdeclarative, shared_mime_info , qtdeclarative, shared_mime_info
}: }:
plasmaPackage { plasmaPackage {
name = "bluedevil"; name = "bluedevil";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules makeKDEWrapper shared_mime_info extra-cmake-modules makeQtWrapper shared_mime_info
]; ];
buildInputs = [ buildInputs = [
kcoreaddons kdbusaddons kded kiconthemes knotifications kcoreaddons kdbusaddons kded kiconthemes knotifications
@ -17,7 +17,7 @@ plasmaPackage {
bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative bluez-qt ki18n kio kwindowsystem plasma-framework qtdeclarative
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/bluedevil-wizard" wrapQtProgram "$out/bin/bluedevil-wizard"
wrapKDEProgram "$out/bin/bluedevil-sendfile" wrapQtProgram "$out/bin/bluedevil-sendfile"
''; '';
} }

View File

@ -1,6 +1,6 @@
{ plasmaPackage, extra-cmake-modules, frameworkintegration { plasmaPackage, extra-cmake-modules, frameworkintegration
, kcmutils, kconfigwidgets, kcoreaddons, kdecoration, kguiaddons , kcmutils, kconfigwidgets, kcoreaddons, kdecoration, kguiaddons
, ki18n, kwindowsystem, makeKDEWrapper, qtx11extras , ki18n, kwindowsystem, makeQtWrapper, qtx11extras
}: }:
plasmaPackage { plasmaPackage {
@ -8,14 +8,14 @@ plasmaPackage {
sname = "breeze"; sname = "breeze";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kcmutils kconfigwidgets kcoreaddons kdecoration kguiaddons kcmutils kconfigwidgets kcoreaddons kdecoration kguiaddons
]; ];
propagatedBuildInputs = [ frameworkintegration ki18n kwindowsystem qtx11extras ]; propagatedBuildInputs = [ frameworkintegration ki18n kwindowsystem qtx11extras ];
cmakeFlags = [ "-DUSE_KDE4=OFF" ]; cmakeFlags = [ "-DUSE_Qt4=OFF" ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/breeze-settings5" wrapQtProgram "$out/bin/breeze-settings5"
''; '';
} }

View File

@ -1,11 +1,11 @@
{ plasmaPackage, extra-cmake-modules, kcmutils, kconfig { plasmaPackage, extra-cmake-modules, kcmutils, kconfig
, kdelibs4support, kdesu, kdoctools, ki18n, kiconthemes , kdelibs4support, kdesu, kdoctools, ki18n, kiconthemes
, kwindowsystem, makeKDEWrapper, qtsvg, qtx11extras , kwindowsystem, makeQtWrapper, qtsvg, qtx11extras
}: }:
plasmaPackage { plasmaPackage {
name = "kde-cli-tools"; name = "kde-cli-tools";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ buildInputs = [
kcmutils kconfig kdesu kiconthemes kcmutils kconfig kdesu kiconthemes
]; ];
@ -13,15 +13,15 @@ plasmaPackage {
kdelibs4support ki18n kwindowsystem qtsvg qtx11extras kdelibs4support ki18n kwindowsystem qtsvg qtx11extras
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kmimetypefinder5" wrapQtProgram "$out/bin/kmimetypefinder5"
wrapKDEProgram "$out/bin/ksvgtopng5" wrapQtProgram "$out/bin/ksvgtopng5"
wrapKDEProgram "$out/bin/ktraderclient5" wrapQtProgram "$out/bin/ktraderclient5"
wrapKDEProgram "$out/bin/kioclient5" wrapQtProgram "$out/bin/kioclient5"
wrapKDEProgram "$out/bin/kdecp5" wrapQtProgram "$out/bin/kdecp5"
wrapKDEProgram "$out/bin/keditfiletype5" wrapQtProgram "$out/bin/keditfiletype5"
wrapKDEProgram "$out/bin/kcmshell5" wrapQtProgram "$out/bin/kcmshell5"
wrapKDEProgram "$out/bin/kdemv5" wrapQtProgram "$out/bin/kdemv5"
wrapKDEProgram "$out/bin/kstart5" wrapQtProgram "$out/bin/kstart5"
wrapKDEProgram "$out/bin/kde-open5" wrapQtProgram "$out/bin/kde-open5"
''; '';
} }

View File

@ -1,6 +1,6 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kconfig { plasmaPackage, extra-cmake-modules, kdoctools, kconfig
, kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, kdelibs4support , kcoreaddons, kdbusaddons, ki18n, kinit, kcmutils, kdelibs4support
, khtml, kservice, makeKDEWrapper , khtml, kservice, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
@ -8,13 +8,13 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kconfig kcoreaddons kdbusaddons kinit kcmutils kservice kconfig kcoreaddons kdbusaddons kinit kcmutils kservice
]; ];
propagatedBuildInputs = [ kdelibs4support khtml ki18n ]; propagatedBuildInputs = [ kdelibs4support khtml ki18n ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/khelpcenter" wrapQtProgram "$out/bin/khelpcenter"
''; '';
} }

View File

@ -1,7 +1,7 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kcmutils { plasmaPackage, extra-cmake-modules, 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, makeKDEWrapper , kservice, kwidgetsaddons, kxmlgui, libraw1394, makeQtWrapper
, pciutils, solid , pciutils, solid
}: }:
@ -10,7 +10,7 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kcmutils kcompletion kconfig kconfigwidgets kcoreaddons kcmutils kcompletion kconfig kconfigwidgets kcoreaddons
@ -19,6 +19,6 @@ plasmaPackage {
]; ];
propagatedBuildInputs = [ kdeclarative kdelibs4support ki18n kio ]; propagatedBuildInputs = [ kdeclarative kdelibs4support ki18n kio ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kinfocenter" wrapQtProgram "$out/bin/kinfocenter"
''; '';
} }

View File

@ -1,5 +1,5 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, ki18n, kxmlgui { plasmaPackage, extra-cmake-modules, kdoctools, ki18n, kxmlgui
, kdbusaddons, kiconthemes, kio, sonnet, kdelibs4support, makeKDEWrapper , kdbusaddons, kiconthemes, kio, sonnet, kdelibs4support, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
@ -7,13 +7,13 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kxmlgui kdbusaddons kiconthemes kxmlgui kdbusaddons kiconthemes
]; ];
propagatedBuildInputs = [ kdelibs4support ki18n kio sonnet ]; propagatedBuildInputs = [ kdelibs4support ki18n kio sonnet ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kmenuedit" wrapQtProgram "$out/bin/kmenuedit"
''; '';
} }

View File

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

View File

@ -1,13 +1,13 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kcoreaddons { plasmaPackage, extra-cmake-modules, kdoctools, kcoreaddons
, ki18n, kwallet, kwidgetsaddons, makeKDEWrapper , ki18n, kwallet, kwidgetsaddons, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
name = "ksshaskpass"; name = "ksshaskpass";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ kcoreaddons kwallet kwidgetsaddons ]; buildInputs = [ kcoreaddons kwallet kwidgetsaddons ];
propagatedBuildInputs = [ ki18n ]; propagatedBuildInputs = [ ki18n ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/ksshaskpass" wrapQtProgram "$out/bin/ksshaskpass"
''; '';
} }

View File

@ -1,6 +1,6 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kconfig { plasmaPackage, extra-cmake-modules, kdoctools, kconfig
, kcoreaddons, kdelibs4support, ki18n, kitemviews, knewstuff , kcoreaddons, kdelibs4support, ki18n, kitemviews, knewstuff
, kiconthemes, libksysguard, makeKDEWrapper , kiconthemes, libksysguard, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
@ -8,14 +8,14 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard kconfig kcoreaddons kitemviews knewstuff kiconthemes libksysguard
]; ];
propagatedBuildInputs = [ kdelibs4support ki18n ]; propagatedBuildInputs = [ kdelibs4support ki18n ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/ksysguardd" wrapQtProgram "$out/bin/ksysguardd"
wrapKDEProgram "$out/bin/ksysguard" wrapQtProgram "$out/bin/ksysguard"
''; '';
} }

View File

@ -4,7 +4,7 @@
, ki18n, kiconthemes, kinit, kio, knewstuff, knotifications , ki18n, kiconthemes, kinit, kio, knewstuff, knotifications
, kpackage, kservice, kwayland, kwidgetsaddons, kwindowsystem , kpackage, kservice, kwayland, kwidgetsaddons, kwindowsystem
, kxmlgui, libinput, libICE, libSM, plasma-framework, qtdeclarative , kxmlgui, libinput, libICE, libSM, plasma-framework, qtdeclarative
, qtscript, qtx11extras, udev, wayland, xcb-util-cursor , qtscript, qtx11extras, udev, wayland, xcb-util-cursor, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
@ -12,6 +12,7 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
epoxy kcompletion kcmutils kconfig kconfigwidgets kcoreaddons epoxy kcompletion kcmutils kconfig kconfigwidgets kcoreaddons
@ -25,7 +26,7 @@ plasmaPackage {
]; ];
patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kwin_x11" wrapQtProgram "$out/bin/kwin_x11"
wrapKDEProgram "$out/bin/kwin_wayland" wrapQtProgram "$out/bin/kwin_wayland"
''; '';
} }

View File

@ -1,12 +1,12 @@
{ plasmaPackage, extra-cmake-modules, ki18n, kcmutils, kconfig { plasmaPackage, extra-cmake-modules, ki18n, kcmutils, kconfig
, kdecoration, kguiaddons, kwidgetsaddons, kservice, kcompletion , kdecoration, kguiaddons, kwidgetsaddons, kservice, kcompletion
, frameworkintegration, kwindowsystem, makeKDEWrapper, qtx11extras , frameworkintegration, kwindowsystem, makeQtWrapper, qtx11extras
}: }:
plasmaPackage { plasmaPackage {
name = "oxygen"; name = "oxygen";
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules makeKDEWrapper extra-cmake-modules makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kcmutils kconfig kdecoration kguiaddons kwidgetsaddons kcmutils kconfig kdecoration kguiaddons kwidgetsaddons
@ -14,7 +14,7 @@ plasmaPackage {
]; ];
propagatedBuildInputs = [ frameworkintegration ki18n kwindowsystem qtx11extras ]; propagatedBuildInputs = [ frameworkintegration ki18n kwindowsystem qtx11extras ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/oxygen-demo5" wrapQtProgram "$out/bin/oxygen-demo5"
wrapKDEProgram "$out/bin/oxygen-settings5" wrapQtProgram "$out/bin/oxygen-settings5"
''; '';
} }

View File

@ -6,7 +6,7 @@
, 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, makeKDEWrapper, utillinux , libcanberra_kde, libpulseaudio, makeQtWrapper, utillinux
}: }:
plasmaPackage rec { plasmaPackage rec {
@ -14,7 +14,7 @@ plasmaPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
attica boost fontconfig kcmutils kdbusaddons kded kitemmodels attica boost fontconfig kcmutils kdbusaddons kded kitemmodels
@ -52,13 +52,13 @@ plasmaPackage rec {
cd "$NIX_BUILD_TOP" cd "$NIX_BUILD_TOP"
wrapKDEProgram "$out/bin/kaccess" wrapQtProgram "$out/bin/kaccess"
wrapKDEProgram "$out/bin/solid-action-desktop-gen" wrapQtProgram "$out/bin/solid-action-desktop-gen"
wrapKDEProgram "$out/bin/knetattach" wrapQtProgram "$out/bin/knetattach"
wrapKDEProgram "$out/bin/krdb" wrapQtProgram "$out/bin/krdb"
wrapKDEProgram "$out/bin/kapplymousetheme" wrapQtProgram "$out/bin/kapplymousetheme"
wrapKDEProgram "$out/bin/kfontinst" wrapQtProgram "$out/bin/kfontinst"
wrapKDEProgram "$out/bin/kcm-touchpad-list-devices" wrapQtProgram "$out/bin/kcm-touchpad-list-devices"
wrapKDEProgram "$out/bin/kfontview" wrapQtProgram "$out/bin/kfontview"
''; '';
} }

View File

@ -2,7 +2,7 @@
, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative , 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, makeKDEWrapper, mobile_broadband_provider_info , kxmlgui, makeQtWrapper, mobile_broadband_provider_info
, modemmanager-qt, networkmanager-qt, openconnect, plasma-framework , modemmanager-qt, networkmanager-qt, openconnect, plasma-framework
, qtdeclarative, solid , qtdeclarative, solid
}: }:
@ -12,7 +12,7 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes kcompletion kconfigwidgets kcoreaddons kdbusaddons kiconthemes
@ -25,6 +25,6 @@ plasmaPackage {
qtdeclarative qtdeclarative
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kde5-nm-connection-editor" wrapQtProgram "$out/bin/kde5-nm-connection-editor"
''; '';
} }

View File

@ -6,7 +6,7 @@
, libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt , libdbusmenu, libkscreen, libSM, libXcursor, networkmanager-qt
, pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland , pam, phonon, plasma-framework, qtquick1, qtscript, qtx11extras, wayland
, libksysguard, bash, coreutils, gnused, gnugrep, socat, kconfig , libksysguard, bash, coreutils, gnused, gnugrep, socat, kconfig
, kinit, kservice, makeKDEWrapper, qttools, dbus_tools, mkfontdir, xmessage , kinit, kservice, makeQtWrapper, qttools, dbus_tools, mkfontdir, xmessage
, xprop, xrdb, xset, xsetroot, solid, qtquickcontrols , xprop, xrdb, xset, xsetroot, solid, qtquickcontrols
}: }:
@ -15,7 +15,7 @@ plasmaPackage rec {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kcmutils kcrash kdbusaddons kdesu kdewebkit kjsembed knewstuff kcmutils kcrash kdbusaddons kdesu kdewebkit kjsembed knewstuff
@ -43,19 +43,18 @@ plasmaPackage rec {
''; '';
postInstall = '' postInstall = ''
export QT_WRAPPER_IMPURE=1 export QT_WRAPPER_IMPURE=1
export KDE_WRAPPER_IMPURE=1 wrapQtProgram "$out/bin/ksmserver"
wrapKDEProgram "$out/bin/ksmserver" wrapQtProgram "$out/bin/plasmawindowed"
wrapKDEProgram "$out/bin/plasmawindowed" wrapQtProgram "$out/bin/kcminit_startup"
wrapKDEProgram "$out/bin/kcminit_startup" wrapQtProgram "$out/bin/ksplashqml"
wrapKDEProgram "$out/bin/ksplashqml" wrapQtProgram "$out/bin/kcheckrunning"
wrapKDEProgram "$out/bin/kcheckrunning" wrapQtProgram "$out/bin/systemmonitor"
wrapKDEProgram "$out/bin/systemmonitor" wrapQtProgram "$out/bin/kstartupconfig5"
wrapKDEProgram "$out/bin/kstartupconfig5" wrapQtProgram "$out/bin/startplasmacompositor"
wrapKDEProgram "$out/bin/startplasmacompositor" wrapQtProgram "$out/bin/kdostartupconfig5"
wrapKDEProgram "$out/bin/kdostartupconfig5" wrapQtProgram "$out/bin/klipper"
wrapKDEProgram "$out/bin/klipper" wrapQtProgram "$out/bin/kuiserver5"
wrapKDEProgram "$out/bin/kuiserver5" wrapQtProgram "$out/bin/krunner"
wrapKDEProgram "$out/bin/krunner" wrapQtProgram "$out/bin/plasmashell"
wrapKDEProgram "$out/bin/plasmashell"
''; '';
} }

View File

@ -1,6 +1,6 @@
{ plasmaPackage, extra-cmake-modules, kdoctools, kitemviews { plasmaPackage, extra-cmake-modules, kdoctools, kitemviews
, kcmutils, ki18n, kio, kservice, kiconthemes, kwindowsystem , kcmutils, ki18n, kio, kservice, kiconthemes, kwindowsystem
, kxmlgui, kdbusaddons, kconfig, khtml, makeKDEWrapper , kxmlgui, kdbusaddons, kconfig, khtml, makeQtWrapper
}: }:
plasmaPackage { plasmaPackage {
@ -8,7 +8,7 @@ plasmaPackage {
nativeBuildInputs = [ nativeBuildInputs = [
extra-cmake-modules extra-cmake-modules
kdoctools kdoctools
makeKDEWrapper makeQtWrapper
]; ];
buildInputs = [ buildInputs = [
kitemviews kcmutils kservice kiconthemes kxmlgui kdbusaddons kitemviews kcmutils kservice kiconthemes kxmlgui kdbusaddons
@ -16,6 +16,6 @@ plasmaPackage {
]; ];
propagatedBuildInputs = [ khtml ki18n kio kwindowsystem ]; propagatedBuildInputs = [ khtml ki18n kio kwindowsystem ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/systemsettings5" wrapQtProgram "$out/bin/systemsettings5"
''; '';
} }

View File

@ -1,11 +1,11 @@
{ kdeFramework, lib, extra-cmake-modules, kauth, kconfig { kdeFramework, lib, extra-cmake-modules, kauth, kconfig
, kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n, kidletime , kcoreaddons, kcrash, kdbusaddons, kfilemetadata, ki18n, kidletime
, kio, lmdb, makeKDEWrapper, qtbase, qtquick1, solid , kio, lmdb, makeQtWrapper, qtbase, qtquick1, solid
}: }:
kdeFramework { kdeFramework {
name = "baloo"; name = "baloo";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
buildInputs = [ buildInputs = [
kconfig kcrash kdbusaddons lmdb qtquick1 solid kconfig kcrash kdbusaddons lmdb qtquick1 solid
]; ];
@ -13,11 +13,11 @@ kdeFramework {
kauth kcoreaddons kfilemetadata ki18n kio kidletime qtbase kauth kcoreaddons kfilemetadata ki18n kio kidletime qtbase
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/baloo_file" wrapQtProgram "$out/bin/baloo_file"
wrapKDEProgram "$out/bin/baloo_file_extractor" wrapQtProgram "$out/bin/baloo_file_extractor"
wrapKDEProgram "$out/bin/balooctl" wrapQtProgram "$out/bin/balooctl"
wrapKDEProgram "$out/bin/baloosearch" wrapQtProgram "$out/bin/baloosearch"
wrapKDEProgram "$out/bin/balooshow" wrapQtProgram "$out/bin/balooshow"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -105,7 +105,6 @@ let
solid = callPackage ./solid.nix {}; solid = callPackage ./solid.nix {};
sonnet = callPackage ./sonnet.nix {}; sonnet = callPackage ./sonnet.nix {};
threadweaver = callPackage ./threadweaver.nix {}; threadweaver = callPackage ./threadweaver.nix {};
makeKDEWrapper = callPackage ./make-kde-wrapper.nix { inherit makeSetupHook; };
}; };
newScope = scope: pkgs.qt55Libs.newScope ({ inherit kdeFramework; } // scope); newScope = scope: pkgs.qt55Libs.newScope ({ inherit kdeFramework; } // scope);

View File

@ -1,11 +1,11 @@
{ kdeFramework, lib, extra-cmake-modules, boost, kcmutils, kconfig { kdeFramework, lib, extra-cmake-modules, boost, kcmutils, kconfig
, kcoreaddons, kdbusaddons, kdeclarative, kglobalaccel, ki18n , kcoreaddons, kdbusaddons, kdeclarative, kglobalaccel, ki18n
, kio, kservice, kwindowsystem, kxmlgui, makeKDEWrapper, qtdeclarative , kio, kservice, kwindowsystem, kxmlgui, makeQtWrapper, qtdeclarative
}: }:
kdeFramework { kdeFramework {
name = "kactivities"; name = "kactivities";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
buildInputs = [ buildInputs = [
boost kcmutils kconfig kcoreaddons kdbusaddons kservice boost kcmutils kconfig kcoreaddons kdbusaddons kservice
kxmlgui kxmlgui
@ -14,7 +14,7 @@ kdeFramework {
kdeclarative kglobalaccel ki18n kio kwindowsystem qtdeclarative kdeclarative kglobalaccel ki18n kio kwindowsystem qtdeclarative
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kactivitymanagerd" wrapQtProgram "$out/bin/kactivitymanagerd"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,14 +1,14 @@
{ kdeFramework, lib { kdeFramework, lib
, extra-cmake-modules , extra-cmake-modules
, makeKDEWrapper , makeQtWrapper
}: }:
kdeFramework { kdeFramework {
name = "kconfig"; name = "kconfig";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kreadconfig5" wrapQtProgram "$out/bin/kreadconfig5"
wrapKDEProgram "$out/bin/kwriteconfig5" wrapQtProgram "$out/bin/kwriteconfig5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,15 +1,15 @@
{ kdeFramework, lib, extra-cmake-modules, kauth, kcodecs, kconfig { kdeFramework, lib, extra-cmake-modules, kauth, kcodecs, kconfig
, kdoctools, kguiaddons, ki18n, kwidgetsaddons, makeKDEWrapper , kdoctools, kguiaddons, ki18n, kwidgetsaddons, makeQtWrapper
}: }:
kdeFramework { kdeFramework {
name = "kconfigwidgets"; name = "kconfigwidgets";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ kguiaddons ]; buildInputs = [ kguiaddons ];
propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ]; propagatedBuildInputs = [ kauth kconfig kcodecs ki18n kwidgetsaddons ];
patches = [ ./0001-qdiriterator-follow-symlinks.patch ]; patches = [ ./0001-qdiriterator-follow-symlinks.patch ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/preparetips5" wrapQtProgram "$out/bin/preparetips5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,15 +1,15 @@
{ kdeFramework, lib { kdeFramework, lib
, extra-cmake-modules , extra-cmake-modules
, makeKDEWrapper , makeQtWrapper
, qtx11extras , qtx11extras
}: }:
kdeFramework { kdeFramework {
name = "kdbusaddons"; name = "kdbusaddons";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
propagatedBuildInputs = [ qtx11extras ]; propagatedBuildInputs = [ qtx11extras ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kquitapp5" wrapQtProgram "$out/bin/kquitapp5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,12 +1,12 @@
{ kdeFramework, lib, extra-cmake-modules, epoxy, kconfig { kdeFramework, lib, extra-cmake-modules, epoxy, kconfig
, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kpackage , kglobalaccel, kguiaddons, ki18n, kiconthemes, kio, kpackage
, kwidgetsaddons, kwindowsystem, makeKDEWrapper, pkgconfig , kwidgetsaddons, kwindowsystem, makeQtWrapper, pkgconfig
, qtdeclarative , qtdeclarative
}: }:
kdeFramework { kdeFramework {
name = "kdeclarative"; name = "kdeclarative";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
buildInputs = [ buildInputs = [
epoxy kguiaddons kiconthemes kwidgetsaddons epoxy kguiaddons kiconthemes kwidgetsaddons
]; ];
@ -14,7 +14,7 @@ kdeFramework {
kconfig kglobalaccel ki18n kio kpackage kwindowsystem qtdeclarative kconfig kglobalaccel ki18n kio kpackage kwindowsystem qtdeclarative
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kpackagelauncherqml" wrapQtProgram "$out/bin/kpackagelauncherqml"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,5 +1,5 @@
{ kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45 { kdeFramework, lib, extra-cmake-modules, docbook_xml_dtd_45
, docbook5_xsl, karchive, ki18n, makeKDEWrapper, perl, perlPackages , docbook5_xsl, karchive, ki18n, makeQtWrapper, perl, perlPackages
}: }:
kdeFramework { kdeFramework {
@ -7,7 +7,7 @@ kdeFramework {
nativeBuildInputs = [ extra-cmake-modules ]; nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ karchive ]; buildInputs = [ karchive ];
propagatedBuildInputs = [ ki18n ]; propagatedBuildInputs = [ ki18n ];
propagatedNativeBuildInputs = [ makeKDEWrapper perl perlPackages.URI ]; propagatedNativeBuildInputs = [ makeQtWrapper perl perlPackages.URI ];
cmakeFlags = [ cmakeFlags = [
"-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook" "-DDocBookXML4_DTD_DIR=${docbook_xml_dtd_45}/xml/dtd/docbook"
"-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook" "-DDocBookXSL_DIR=${docbook5_xsl}/xml/xsl/docbook"

View File

@ -5,17 +5,17 @@
, kcrash , kcrash
, kdbusaddons , kdbusaddons
, kwindowsystem , kwindowsystem
, makeKDEWrapper , makeQtWrapper
, qtx11extras , qtx11extras
}: }:
kdeFramework { kdeFramework {
name = "kglobalaccel"; name = "kglobalaccel";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ]; buildInputs = [ kconfig kcoreaddons kcrash kdbusaddons ];
propagatedBuildInputs = [ kwindowsystem qtx11extras ]; propagatedBuildInputs = [ kwindowsystem qtx11extras ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kglobalaccel5" wrapQtProgram "$out/bin/kglobalaccel5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -2,13 +2,13 @@
, kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons , kbookmarks, kcompletion, kconfig, kconfigwidgets, kcoreaddons
, kdbusaddons, kdoctools, ki18n, kiconthemes, kitemviews , kdbusaddons, kdoctools, ki18n, kiconthemes, kitemviews
, kjobwidgets, knotifications, kservice, ktextwidgets, kwallet , kjobwidgets, knotifications, kservice, ktextwidgets, kwallet
, kwidgetsaddons, kwindowsystem, kxmlgui, makeKDEWrapper , kwidgetsaddons, kwindowsystem, kxmlgui, makeQtWrapper
, qtscript, qtx11extras, solid , qtscript, qtx11extras, solid
}: }:
kdeFramework { kdeFramework {
name = "kio"; name = "kio";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ buildInputs = [
acl karchive kconfig kcoreaddons kdbusaddons kiconthemes acl karchive kconfig kcoreaddons kdbusaddons kiconthemes
knotifications ktextwidgets kwallet kwidgetsaddons knotifications ktextwidgets kwallet kwidgetsaddons
@ -19,10 +19,10 @@ kdeFramework {
kservice kwindowsystem kxmlgui solid qtx11extras kservice kwindowsystem kxmlgui solid qtx11extras
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kcookiejar5" wrapQtProgram "$out/bin/kcookiejar5"
wrapKDEProgram "$out/bin/ktelnetservice5" wrapQtProgram "$out/bin/ktelnetservice5"
wrapKDEProgram "$out/bin/ktrash5" wrapQtProgram "$out/bin/ktrash5"
wrapKDEProgram "$out/bin/kmailservice5" wrapQtProgram "$out/bin/kmailservice5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,14 +1,14 @@
{ kdeFramework, lib { kdeFramework, lib
, extra-cmake-modules , extra-cmake-modules
, kdoctools , kdoctools
, makeKDEWrapper , makeQtWrapper
}: }:
kdeFramework { kdeFramework {
name = "kjs"; name = "kjs";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kjs5" wrapQtProgram "$out/bin/kjs5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,15 +1,15 @@
{ kdeFramework, lib, extra-cmake-modules, kdoctools, ki18n, kjs { kdeFramework, lib, extra-cmake-modules, kdoctools, ki18n, kjs
, makeKDEWrapper, qtsvg , makeQtWrapper, qtsvg
}: }:
kdeFramework { kdeFramework {
name = "kjsembed"; name = "kjsembed";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ qtsvg ]; buildInputs = [ qtsvg ];
propagatedBuildInputs = [ ki18n kjs ]; propagatedBuildInputs = [ ki18n kjs ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kjscmd5" wrapQtProgram "$out/bin/kjscmd5"
wrapKDEProgram "$out/bin/kjsconsole" wrapQtProgram "$out/bin/kjsconsole"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -5,12 +5,12 @@
, kcoreaddons , kcoreaddons
, kdoctools , kdoctools
, ki18n , ki18n
, makeKDEWrapper , makeQtWrapper
}: }:
kdeFramework { kdeFramework {
name = "kpackage"; name = "kpackage";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ karchive kconfig ]; buildInputs = [ karchive kconfig ];
propagatedBuildInputs = [ kcoreaddons ki18n ]; propagatedBuildInputs = [ kcoreaddons ki18n ];
patches = [ patches = [
@ -18,7 +18,7 @@ kdeFramework {
./0002-qdiriterator-follow-symlinks.patch ./0002-qdiriterator-follow-symlinks.patch
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kpackagetool5" wrapQtProgram "$out/bin/kpackagetool5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,19 +1,19 @@
{ kdeFramework, lib, extra-cmake-modules, kconfig, kcoreaddons { kdeFramework, lib, extra-cmake-modules, kconfig, kcoreaddons
, kdbusaddons, kdoctools, ki18n, kiconthemes, knotifications , kdbusaddons, kdoctools, ki18n, kiconthemes, knotifications
, kservice, kwidgetsaddons, kwindowsystem, libgcrypt, makeKDEWrapper , kservice, kwidgetsaddons, kwindowsystem, libgcrypt, makeQtWrapper
}: }:
kdeFramework { kdeFramework {
name = "kwallet"; name = "kwallet";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ buildInputs = [
kconfig kcoreaddons kdbusaddons kiconthemes knotifications kconfig kcoreaddons kdbusaddons kiconthemes knotifications
kservice kwidgetsaddons libgcrypt kservice kwidgetsaddons libgcrypt
]; ];
propagatedBuildInputs = [ ki18n kwindowsystem ]; propagatedBuildInputs = [ ki18n kwindowsystem ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/kwalletd5" wrapQtProgram "$out/bin/kwalletd5"
wrapKDEProgram "$out/bin/kwallet-query" wrapQtProgram "$out/bin/kwallet-query"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,3 +0,0 @@
{ makeSetupHook, makeQtWrapper }:
makeSetupHook { deps = [ makeQtWrapper ]; } ./make-kde-wrapper.sh

View File

@ -1,13 +0,0 @@
makeKDEWrapper() {
local old="$1"
local new="$2"
shift
shift
makeQtWrapper "$old" "$new" "$@"
}
wrapKDEProgram() {
local prog="$1"
shift
wrapQtProgram "$prog" "$@"
}

View File

@ -2,12 +2,12 @@
, kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative , kconfig, kconfigwidgets, kcoreaddons, kdbusaddons, kdeclarative
, kdoctools, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio , kdoctools, kglobalaccel, kguiaddons, ki18n, kiconthemes, kio
, knotifications, kpackage, kservice, kwindowsystem, kxmlgui , knotifications, kpackage, kservice, kwindowsystem, kxmlgui
, makeKDEWrapper, qtscript, qtx11extras , makeQtWrapper, qtscript, qtx11extras
}: }:
kdeFramework { kdeFramework {
name = "plasma-framework"; name = "plasma-framework";
nativeBuildInputs = [ extra-cmake-modules kdoctools makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules kdoctools makeQtWrapper ];
buildInputs = [ buildInputs = [
karchive kconfig kconfigwidgets kcoreaddons kdbusaddons kguiaddons karchive kconfig kconfigwidgets kcoreaddons kdbusaddons kguiaddons
kiconthemes knotifications kxmlgui qtscript kiconthemes knotifications kxmlgui qtscript
@ -17,7 +17,7 @@ kdeFramework {
qtx11extras qtx11extras
]; ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/plasmapkg2" wrapQtProgram "$out/bin/plasmapkg2"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];

View File

@ -1,15 +1,15 @@
{ kdeFramework, lib { kdeFramework, lib
, extra-cmake-modules , extra-cmake-modules
, makeKDEWrapper , makeQtWrapper
, qtdeclarative , qtdeclarative
}: }:
kdeFramework { kdeFramework {
name = "solid"; name = "solid";
nativeBuildInputs = [ extra-cmake-modules makeKDEWrapper ]; nativeBuildInputs = [ extra-cmake-modules makeQtWrapper ];
buildInputs = [ qtdeclarative ]; buildInputs = [ qtdeclarative ];
postInstall = '' postInstall = ''
wrapKDEProgram "$out/bin/solid-hardware5" wrapQtProgram "$out/bin/solid-hardware5"
''; '';
meta = { meta = {
maintainers = [ lib.maintainers.ttuegel ]; maintainers = [ lib.maintainers.ttuegel ];