From 2c4c712a7017e32d04622233450e183fe30ffea7 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 21 Mar 2015 18:46:54 -0500 Subject: [PATCH] kde4: use kdelibs from kdeApps_stable Upstream is releasing bugfixes to kdelibs only through KDE Applications releases, so this is the correct way to get updates until we discontinue KDE 4. This also ensures that kdeApps and kde4 are using the same version of kdelibs; different versions appear to be causing integration issues. --- pkgs/applications/kde-apps-14.12/default.nix | 4 ++-- pkgs/desktops/kde-4.14/default.nix | 4 +++- pkgs/top-level/all-packages.nix | 5 +++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/kde-apps-14.12/default.nix b/pkgs/applications/kde-apps-14.12/default.nix index 555d4d472bcc..b34418401a0a 100644 --- a/pkgs/applications/kde-apps-14.12/default.nix +++ b/pkgs/applications/kde-apps-14.12/default.nix @@ -281,10 +281,10 @@ let buildInputs = super.kremotecontrol.buildInputs ++ [xlibs.libXtst]; }; - krfb = with pkgs; super.krfb // { + krfb = super.krfb // { buildInputs = super.krfb.buildInputs - ++ [xlibs.libXtst kde4.telepathy.common_internals]; + ++ [pkgs.xlibs.libXtst kde4.telepathy.common_internals]; }; libkdcraw = with pkgs; super.libkdcraw // { diff --git a/pkgs/desktops/kde-4.14/default.nix b/pkgs/desktops/kde-4.14/default.nix index 2b8e5d313cc7..f11a139aec72 100644 --- a/pkgs/desktops/kde-4.14/default.nix +++ b/pkgs/desktops/kde-4.14/default.nix @@ -1,4 +1,4 @@ -{ callPackage, callPackageOrig, stdenv, qt48, release ? "4.14.3" }: +{ callPackage, callPackageOrig, stdenv, qt48, release ? "4.14.3", kdelibs }: let branch = "4.14"; @@ -27,6 +27,8 @@ kde.modules // kde.individual // { inherit (kde) manifest modules individual splittedModuleList; + inherit kdelibs; + akonadi = callPackage ./support/akonadi { }; qt4 = qt48; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1ee388356262..3e1f78f29298 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10841,6 +10841,10 @@ let kdeApps_14_12 = recurseIntoAttrs (callPackage ../applications/kde-apps-14.12 { kf5 = kf57; qt5 = qt54; + pkgs = pkgs // { + cmake = cmake-3_2; + }; + kde4 = kde4.override { inherit (kdeApps_14_12) kdelibs; }; }); kdeApps_stable = kdeApps_14_12; kdeApps_latest = kdeApps_14_12; @@ -12840,6 +12844,7 @@ let callPackage = newScope (self // { cmake = cmake-3_2; }); kde4 = callPackageOrig dir { inherit callPackage callPackageOrig; + kdelibs = kdeApps_stable.kdelibs; }; in kde4 // { inherit kde4;