plasma53.plasma-workspace: fix missing paths

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