plasma53.plasma-workspace: fix missing paths

+30 -19
+11 -11
pkgs/desktops/plasma-5.3/default.nix
··· 12 12 # make a copy of this directory first. After copying, be sure to delete ./tmp 13 13 # if it exists. Then follow the minor update instructions. 14 14 15 - { autonix, kf5, pkgs, qt5, stdenv, debug ? false }: 15 + { autonix, kf5, kdeApps, pkgs, qt5, stdenv, debug ? false }: 16 16 17 17 with stdenv.lib; with autonix; 18 18 ··· 143 143 }; 144 144 145 145 plasma-workspace = with pkgs; super.plasma-workspace // { 146 - patches = [ 147 - (substituteAll { 148 - src = ./plasma-workspace/0001-startkde-NixOS-patches.patch; 149 - inherit (pkgs) bash gnused gnugrep socat; 150 - inherit (kf5) kconfig kinit kservice; 151 - inherit (pkgs.xorg) mkfontdir xmessage xprop xrdb xset xsetroot; 152 - qt5tools = qt5.tools; 153 - dbus_tools = pkgs.dbus.tools; 154 - }) 155 - ]; 146 + patches = [ ./plasma-workspace/0001-startkde-NixOS-patches.patch ]; 156 147 buildInputs = with xlibs; 157 148 super.plasma-workspace.buildInputs ++ [ libSM libXcursor pam ]; 149 + 150 + inherit (pkgs) bash gnused gnugrep socat; 151 + inherit (kf5) kconfig kinit kservice; 152 + inherit (pkgs.xorg) mkfontdir xmessage xprop xrdb xset xsetroot; 153 + kde_workspace = kdeApps.kde-workspace; 154 + qt5tools = qt5.tools; 155 + dbus_tools = pkgs.dbus.tools; 156 + 158 157 postPatch = '' 158 + substituteAllInPlace startkde/startkde.cmake 159 159 substituteInPlace startkde/kstartupconfig/kstartupconfig.cpp \ 160 160 --replace kdostartupconfig5 $out/bin/kdostartupconfig5 161 161 '';
+18 -8
pkgs/desktops/plasma-5.3/plasma-workspace/0001-startkde-NixOS-patches.patch
··· 1 - From 37abdee4e25f6aff55da838864d1a67a7be758ad Mon Sep 17 00:00:00 2001 1 + From ff61c8ba856328a60e29938466b69d0bb38a357f Mon Sep 17 00:00:00 2001 2 2 From: Thomas Tuegel <ttuegel@gmail.com> 3 3 Date: Tue, 2 Jun 2015 11:21:43 -0500 4 4 Subject: [PATCH] startkde: NixOS patches 5 5 6 6 --- 7 - startkde/startkde.cmake | 214 ++++++++++++++++++++---------------------------- 8 - 1 file changed, 87 insertions(+), 127 deletions(-) 7 + startkde/startkde.cmake | 218 ++++++++++++++++++++---------------------------- 8 + 1 file changed, 89 insertions(+), 129 deletions(-) 9 9 10 10 diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake 11 - index 24e5c1b..787d719 100644 11 + index 24e5c1b..e7bdd32 100644 12 12 --- a/startkde/startkde.cmake 13 13 +++ b/startkde/startkde.cmake 14 14 @@ -1,8 +1,31 @@ ··· 93 93 94 94 #This is basically setting defaults so we can use them with kstartupconfig5 95 95 cat >$configDir/startupconfigkeys <<EOF 96 - @@ -106,53 +111,19 @@ toolBarFont=Oxygen-Sans,9,-1,5,50,0,0,0,0,0 96 + @@ -106,55 +111,21 @@ toolBarFont=Oxygen-Sans,9,-1,5,50,0,0,0,0,0 97 97 EOF 98 98 } 99 99 ··· 148 148 if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" ; then 149 149 - @EXPORT_XCURSOR_PATH@ 150 150 151 - kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize" 151 + - kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize" 152 + + @kde_workspace@/bin/kapplymousetheme "$kcminputrc_mouse_cursortheme" "$kcminputrc_mouse_cursorsize" 152 153 if test $? -eq 10; then 153 - @@ -168,15 +139,33 @@ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" 154 + XCURSOR_THEME=breeze_cursors 155 + export XCURSOR_THEME 156 + @@ -168,21 +139,39 @@ if test -n "$kcminputrc_mouse_cursortheme" -o -n "$kcminputrc_mouse_cursorsize" 154 157 fi 155 158 fi 156 159 ··· 175 178 +# Make sure that D-Bus is running 176 179 +# D-Bus autolaunch is broken 177 180 +if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then 178 - + eval `@dbus_tools@/dbus-launch --sh-syntax --exit-with-session` 181 + + eval `@dbus_tools@/bin/dbus-launch --sh-syntax --exit-with-session` 179 182 +fi 180 183 +if @qt5tools@/bin/qdbus >/dev/null 2>/dev/null; then 181 184 + : # ok ··· 189 192 ksplash_pid= 190 193 if test -z "$dl"; then 191 194 # the splashscreen and progress indicator 195 + case "$ksplashrc_ksplash_engine" in 196 + KSplashQML) 197 + - ksplash_pid=`ksplashqml "${ksplashrc_ksplash_theme}" --pid` 198 + + ksplash_pid=`@out@/bin/ksplashqml "${ksplashrc_ksplash_theme}" --pid` 199 + ;; 200 + None) 201 + ;; 192 202 @@ -205,8 +194,7 @@ fi 193 203 # For anything else (that doesn't set env vars, or that needs a window manager), 194 204 # better use the Autostart folder.
+1
pkgs/top-level/all-packages.nix
··· 13846 13846 13847 13847 plasma53 = recurseIntoAttrs (callPackage ../desktops/plasma-5.3 { 13848 13848 kf5 = kf510; 13849 + kdeApps = kdeApps_15_04; 13849 13850 }); 13850 13851 plasma5_latest = plasma53; 13851 13852 plasma5_stable = plasma53;