diff options
author | José Pekkarinen <koalinux@gmail.com> | 2017-08-01 23:19:37 +0300 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-08-03 01:17:14 +0200 |
commit | b216411002a45d0392987ccc4fe988e2b810f982 (patch) | |
tree | 40ce2c415a4c6a85d14e0188ff4f5204c382c625 /kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch | |
parent | kde-plasma/plasma-workspace: Remove obsolete files (diff) | |
download | gentoo-b216411002a45d0392987ccc4fe988e2b810f982.tar.gz gentoo-b216411002a45d0392987ccc4fe988e2b810f982.tar.bz2 gentoo-b216411002a45d0392987ccc4fe988e2b810f982.zip |
kde-plasma/plasma-workspace: Gentoo FHS script support for Wayland session
Gentoo-bug: 626746
Closes: https://github.com/gentoo/gentoo/pull/5270
Diffstat (limited to 'kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch')
-rw-r--r-- | kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch new file mode 100644 index 000000000000..de56ffe236c7 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.10-startplasmacompositor-script.patch @@ -0,0 +1,40 @@ +From a9b685f0dab7f21dfa3ed55011c035bab1c972d9 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Jos=C3=A9=20Pekkarinen?= <koalinux@gmail.com> +Date: Tue, 1 Aug 2017 23:09:24 +0300 +Subject: [PATCH] Source files in /etc/plasma/{startup,shutdown} + +--- + startkde/startplasmacompositor.cmake | 10 ++++++++++ + 1 file changed, 10 insertions(+) + +diff --git a/startkde/startplasmacompositor.cmake b/startkde/startplasmacompositor.cmake +index 5bcf26a..e965f19 100644 +--- a/startkde/startplasmacompositor.cmake ++++ b/startkde/startplasmacompositor.cmake +@@ -157,6 +157,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 ++ + echo 'startplasmacompositor: Starting up...' 1>&2 + + # Make sure that the KDE prefix is first in XDG_DATA_DIRS and that it's set at all. +@@ -232,6 +237,11 @@ fi + + echo 'startplasmacompositor: Shutting down...' 1>&2 + ++# 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.13.0 + |