Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/
Date: Sat, 04 Jul 2015 14:48:46
Message-Id: 1436015351.2e88b36c1e59478154b4ee8899c38917c3bb8e5f.johu@gentoo
1 commit: 2e88b36c1e59478154b4ee8899c38917c3bb8e5f
2 Author: Elias Probst <mail <AT> eliasprobst <DOT> eu>
3 AuthorDate: Sat Jul 4 09:35:23 2015 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 4 13:09:11 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=2e88b36c
7
8 [kde-plasma/plasma-workspace] Update startkde Gentoo FHS patch for 5.4
9
10 Package-Manager: portage-2.2.20
11
12 .../plasma-workspace-5.4-startkde-script.patch | 40 ++++++++++++++++++++++
13 .../plasma-workspace/plasma-workspace-9999.ebuild | 2 +-
14 2 files changed, 41 insertions(+), 1 deletion(-)
15
16 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-startkde-script.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-startkde-script.patch
17 new file mode 100644
18 index 0000000..1630080
19 --- /dev/null
20 +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.4-startkde-script.patch
21 @@ -0,0 +1,40 @@
22 +From bf569560bf195ac4e79d65d4103a7161a6a2f2ac Mon Sep 17 00:00:00 2001
23 +From: Elias Probst <mail@×××××××××××.eu>
24 +Date: Sat, 4 Jul 2015 11:33:01 +0200
25 +Subject: [PATCH] [startkde] Gentoo FHS script support
26 +
27 +---
28 + startkde/startkde.cmake | 10 ++++++++++
29 + 1 file changed, 10 insertions(+)
30 +
31 +diff --git a/startkde/startkde.cmake b/startkde/startkde.cmake
32 +index 2585600..9350158 100644
33 +--- a/startkde/startkde.cmake
34 ++++ b/startkde/startkde.cmake
35 +@@ -210,6 +210,11 @@ for prefix in `echo $scriptpath`; do
36 + done
37 + done
38 +
39 ++# Gentoo part for FHS installs
40 ++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/plasma/startup/"*.sh; do
41 ++ test -r "${file}" && . "${file}"
42 ++done
43 ++
44 + # Activate the kde font directories.
45 + #
46 + # There are 4 directories that may be used for supplying fonts for KDE.
47 +@@ -417,6 +422,11 @@ for prefix in `echo "$scriptpath"`; do
48 + done
49 + done
50 +
51 ++# Gentoo part for FHS installs
52 ++for file in "@GENTOO_PORTAGE_EPREFIX@/etc/plasma/shutdown/"*.sh; do
53 ++ test -r "${file}" && . "${file}"
54 ++done
55 ++
56 + unset KDE_FULL_SESSION
57 + xprop -root -remove KDE_FULL_SESSION
58 + unset KDE_SESSION_VERSION
59 +--
60 +2.3.6
61 +
62
63 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
64 index 6c2b55a..5a4bbde 100644
65 --- a/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
66 +++ b/kde-plasma/plasma-workspace/plasma-workspace-9999.ebuild
67 @@ -121,7 +121,7 @@ DEPEND="${COMMON_DEPEND}
68 x11-proto/xproto
69 "
70
71 -PATCHES=( "${FILESDIR}/${PN}-startkde-script.patch" )
72 +PATCHES=( "${FILESDIR}/${PN}-5.4-startkde-script.patch" )
73
74 RESTRICT="test"