From 39449b2f783619f09af4c0fa5979dfd9670fd2cf Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Tue, 12 Feb 2019 23:01:58 +0100 Subject: [PATCH] kde-plasma/plasma-workspace: Add missing patch Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- ...ma-workspace-5.14.80-startkde-script.patch | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 kde-plasma/plasma-workspace/files/plasma-workspace-5.14.80-startkde-script.patch diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.14.80-startkde-script.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.14.80-startkde-script.patch new file mode 100644 index 000000000000..44e86a0169c3 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.14.80-startkde-script.patch @@ -0,0 +1,39 @@ +From bf569560bf195ac4e79d65d4103a7161a6a2f2ac Mon Sep 17 00:00:00 2001 +From: Elias Probst +Date: Sat, 4 Jul 2015 11:33:01 +0200 +Subject: [PATCH] [startkde] Gentoo FHS script support + +--- + startkde/startkde.cmake | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake +index 2585600..9350158 100644 +--- a/startkde/startkde.cmake ++++ b/startkde/startkde.cmake +@@ -210,6 +210,11 @@ for prefix in `echo $scriptpath`; do + done + done + ++# Gentoo part for FHS installs ++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/plasma/startup/"*.sh; do ++ test -r "${file}" && . "${file}" ++done ++ + # Set a left cursor instead of the standard X11 "X" cursor, since I've heard + # from some users that they're confused and don't know what to do. This is + # especially necessary on slow machines, where starting KDE takes one or two +@@ -417,6 +422,11 @@ for prefix in `echo "$scriptpath"`; do + done + done + ++# Gentoo part for FHS installs ++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/plasma/shutdown/"*.sh; do ++ test -r "${file}" && . "${file}" ++done ++ + unset KDE_FULL_SESSION + xprop -root -remove KDE_FULL_SESSION + unset KDE_SESSION_VERSION +-- +2.3.6 -- 2.26.2