mkLibsForQt5: Inherit libraries from Plasma 5 and KDE Applications

This commit is contained in:
Thomas Tuegel 2017-02-26 15:02:32 -06:00
parent 1d71027632
commit b58b07f903
No known key found for this signature in database
GPG Key ID: 22CBF5249D4B4D59
2 changed files with 54 additions and 33 deletions

View File

@ -35,9 +35,7 @@ let
lxqt-about = callPackage ./core/lxqt-about { }; lxqt-about = callPackage ./core/lxqt-about { };
lxqt-admin = callPackage ./core/lxqt-admin { }; lxqt-admin = callPackage ./core/lxqt-admin { };
lxqt-common = callPackage ./core/lxqt-common { }; lxqt-common = callPackage ./core/lxqt-common { };
lxqt-config = callPackage ./core/lxqt-config { lxqt-config = callPackage ./core/lxqt-config { };
inherit (pkgs.plasma5) libkscreen;
};
lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { }; lxqt-globalkeys = callPackage ./core/lxqt-globalkeys { };
lxqt-l10n = callPackage ./core/lxqt-l10n { }; lxqt-l10n = callPackage ./core/lxqt-l10n { };
lxqt-notificationd = callPackage ./core/lxqt-notificationd { }; lxqt-notificationd = callPackage ./core/lxqt-notificationd { };
@ -67,7 +65,7 @@ let
preRequisitePackages = [ preRequisitePackages = [
pkgs.gvfs # virtual file systems support for PCManFM-QT pkgs.gvfs # virtual file systems support for PCManFM-QT
pkgs.libsForQt5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel pkgs.libsForQt5.kwindowsystem # provides some QT5 plugins needed by lxqt-panel
pkgs.plasma5.libkscreen # provides plugins for screen management software pkgs.libsForQt5.libkscreen # provides plugins for screen management software
pkgs.libfm pkgs.libfm
pkgs.libfm-extra pkgs.libfm-extra
pkgs.lxmenu-data pkgs.lxmenu-data
@ -120,7 +118,7 @@ let
qlipper qlipper
### Default icon theme ### Default icon theme
qt5.oxygen-icons5 pkgs.oxygen-icons5
### Screen saver ### Screen saver
pkgs.xscreensaver pkgs.xscreensaver

View File

@ -6292,7 +6292,7 @@ with pkgs;
cmakeWithGui = cmakeCurses.override { useQt4 = true; }; cmakeWithGui = cmakeCurses.override { useQt4 = true; };
# Does not actually depend on Qt 5 # Does not actually depend on Qt 5
inherit (kdeFrameworks) extra-cmake-modules; inherit (kdeFrameworks) extra-cmake-modules kapidox kdoctools;
coccinelle = callPackage ../development/tools/misc/coccinelle { coccinelle = callPackage ../development/tools/misc/coccinelle {
ocamlPackages = ocamlPackages_4_01_0; ocamlPackages = ocamlPackages_4_01_0;
@ -9356,11 +9356,27 @@ with pkgs;
### KDE FRAMEWORKS ### KDE FRAMEWORKS
inherit (kdeFrameworks.override { libsForQt5 = self; }) inherit (kdeFrameworks.override { libsForQt5 = self; })
attica; attica baloo bluez-qt frameworkintegration kactivities kactivities-stats
karchive kauth kbookmarks kcmutils kcodecs kcompletion kconfig
kconfigwidgets kcoreaddons kcrash kdbusaddons kdeclarative kdelibs4support
kdesignerplugin kdnssd kemoticons kfilemetadata kglobalaccel kguiaddons
khtml ki18n kiconthemes kidletime kimageformats kio kitemmodels kitemviews
kjobwidgets kjs kjsembed kmediaplayer knewstuff knotifications
knotifyconfig kpackage kparts kpeople kplotting kpty kross krunner
kservice ktexteditor ktextwidgets kunitconversion kwallet kwayland
kwidgetsaddons kwindowsystem kxmlgui kxmlrpcclient modemmanager-qt
networkmanager-qt plasma-framework solid sonnet syntax-highlighting
threadweaver;
### LIBRARIES ### KDE PLASMA 5
### BUILD SUPPORT inherit (plasma5.override { libsForQt5 = self; })
kdecoration libkscreen libksysguard plasma-integration;
### KDE APPLICATIONS
inherit (kdeApplications.override { libsForQt5 = self; })
libkdcraw libkexiv2 libkipi libkomparediff2;
### LIBRARIES ### LIBRARIES
@ -12814,7 +12830,6 @@ with pkgs;
calligra = kde4.callPackage ../applications/office/calligra { calligra = kde4.callPackage ../applications/office/calligra {
vc = vc_0_7; vc = vc_0_7;
oxygen_icons = libsForQt5.oxygen-icons5;
}; };
camlistore = callPackage ../applications/misc/camlistore { }; camlistore = callPackage ../applications/misc/camlistore { };
@ -14071,29 +14086,34 @@ with pkgs;
kde-telepathy = kde4.callPackage ../applications/networking/instant-messengers/telepathy/kde {}; kde-telepathy = kde4.callPackage ../applications/networking/instant-messengers/telepathy/kde {};
kdeApplications = recurseIntoAttrs (import ../applications/kde { kdeApplications =
inherit stdenv lib libsForQt5 fetchurl recurseIntoAttrs; let
inherit kdeDerivation plasma5; mkApplications = import ../applications/kde;
inherit attica phonon; attrs = {
}); inherit stdenv lib libsForQt5 fetchurl recurseIntoAttrs;
inherit kdeDerivation plasma5;
inherit attica phonon;
};
in
recurseIntoAttrs (makeOverridable mkApplications attrs);
inherit (kdeApplications)
ark dolphin filelight gwenview kate kdenlive kcalc kcolorchooser kgpg
khelpcenter kig konsole marble okteta okular spectacle;
kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { }; kdeconnect = libsForQt5.callPackage ../applications/misc/kdeconnect { };
kdecoration-viewer = libsForQt5.callPackage ../tools/misc/kdecoration-viewer { kdecoration-viewer = libsForQt5.callPackage ../tools/misc/kdecoration-viewer { };
inherit (plasma5) kdecoration;
}; inherit (kdeFrameworks) kdesu;
kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix {}; kdevelop-pg-qt = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop-pg-qt.nix {};
kdevelop = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix { kdevelop = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevelop.nix {
inherit (kdeApplications) konsole;
inherit (plasma5) libksysguard;
llvmPackages = llvmPackages_38; llvmPackages = llvmPackages_38;
}; };
kdevplatform = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevplatform.nix { kdevplatform = libsForQt5.callPackage ../applications/editors/kdevelop5/kdevplatform.nix { };
inherit (kdeApplications) libkomparediff2;
};
keepnote = callPackage ../applications/office/keepnote { }; keepnote = callPackage ../applications/office/keepnote { };
@ -14115,18 +14135,14 @@ with pkgs;
qt = qt4; qt = qt4;
}; };
kile = libsForQt5.callPackage ../applications/editors/kile { kile = libsForQt5.callPackage ../applications/editors/kile { };
inherit (kdeApplications) konsole;
};
kino = callPackage ../applications/video/kino { kino = callPackage ../applications/video/kino {
inherit (gnome2) libglade; inherit (gnome2) libglade;
ffmpeg = ffmpeg_2; ffmpeg = ffmpeg_2;
}; };
kipi-plugins = libsForQt5.callPackage ../applications/graphics/kipi-plugins { kipi-plugins = libsForQt5.callPackage ../applications/graphics/kipi-plugins { };
inherit (kdeApplications) libkipi;
};
kiwix = callPackage ../applications/misc/kiwix { kiwix = callPackage ../applications/misc/kiwix {
stdenv = overrideCC stdenv gcc49; stdenv = overrideCC stdenv gcc49;
@ -16838,10 +16854,17 @@ with pkgs;
pantheon-terminal = callPackage ../desktops/pantheon/apps/pantheon-terminal { }; pantheon-terminal = callPackage ../desktops/pantheon/apps/pantheon-terminal { };
}; };
plasma5 = recurseIntoAttrs (import ../desktops/plasma-5 { inherit (kdeFrameworks) kded kinit;
inherit libsForQt5 kdeDerivation lib fetchurl;
inherit (gnome3) gconf; plasma5 =
}); let
mkPlasma5 = import ../desktops/plasma-5;
attrs = {
inherit libsForQt5 kdeDerivation lib fetchurl;
inherit (gnome3) gconf;
};
in
recurseIntoAttrs (makeOverridable mkPlasma5 attrs);
redshift = callPackage ../applications/misc/redshift { redshift = callPackage ../applications/misc/redshift {
inherit (python3Packages) python pygobject3 pyxdg; inherit (python3Packages) python pygobject3 pyxdg;