1 |
commit: 7fa0e743a95e1816d766dceb9430d13c7d70bcd6 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 20 20:07:13 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 20 22:05:46 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa0e743 |
7 |
|
8 |
kde-plasma/plasma-workspace: Rename Xorg session |
9 |
|
10 |
To make it distinguishable from Wayland session regardless of DM hacks. |
11 |
SDDM hack can be dropped any time, both changes are still pending upstreams. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/689120 |
14 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
.../plasma-workspace-5.16.3-x11sessionrename.patch | 91 ++++++++++++++++++++++ |
18 |
.../plasma-workspace-5.16.3.ebuild | 1 + |
19 |
2 files changed, 92 insertions(+) |
20 |
|
21 |
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.16.3-x11sessionrename.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.16.3-x11sessionrename.patch |
22 |
new file mode 100644 |
23 |
index 00000000000..a851f5f54b8 |
24 |
--- /dev/null |
25 |
+++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.16.3-x11sessionrename.patch |
26 |
@@ -0,0 +1,91 @@ |
27 |
+From bcabb38b1f07a52847752fb54eb61696a1312a61 Mon Sep 17 00:00:00 2001 |
28 |
+From: Andreas Sturmlechner <asturm@g.o> |
29 |
+Date: Tue, 2 Jul 2019 10:13:54 +0200 |
30 |
+Subject: [PATCH] Fix Name conflict between plasma.desktop and |
31 |
+ plasmawayland.desktop |
32 |
+ |
33 |
+Summary: |
34 |
+SDDM as of 0.18.1 appends " (Wayland)" to the Name of any session file it |
35 |
+finds in wayland-sessions dir, and Plasma is relying on that behaviour to |
36 |
+distinguish between its X11 and Wayland sessions. This leads to duplicate |
37 |
+"Plasma" entries on any other DM not applying the same hack, e.g. lightdm, |
38 |
+and users are lost without downstream patching. |
39 |
+ |
40 |
+Instead of waiting for which of (SDDM, Plasma) is doing something about |
41 |
+it first, renaming X11 session to "Plasma on Xorg" appears to be the most |
42 |
+elegant solution out of the deadlock. SDDM can be fixed any time later. |
43 |
+ |
44 |
+CCBUG: https://bugs.kde.org/show_bug.cgi?id=368409 |
45 |
+See also: https://github.com/sddm/sddm/pull/997 |
46 |
+ |
47 |
+Reviewers: #plasma |
48 |
+ |
49 |
+Subscribers: plasma-devel |
50 |
+ |
51 |
+Tags: #plasma |
52 |
+ |
53 |
+Differential Revision: https://phabricator.kde.org/D22210 |
54 |
+--- |
55 |
+ plasma.desktop.cmake | 46 +---------------------------- |
56 |
+ 1 file changed, 1 insertion(+), 45 deletions(-) |
57 |
+ |
58 |
+diff --git a/plasma.desktop.cmake b/plasma.desktop.cmake |
59 |
+index 4d361606d..099de2908 100644 |
60 |
+--- a/plasma.desktop.cmake |
61 |
++++ b/plasma.desktop.cmake |
62 |
+@@ -3,51 +3,7 @@ Type=XSession |
63 |
+ Exec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-x11 |
64 |
+ TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-x11 |
65 |
+ DesktopNames=KDE |
66 |
+-Name=Plasma |
67 |
+-Name[ar]=بلازما |
68 |
+-Name[bs]=Plazma |
69 |
+-Name[ca]=Plasma |
70 |
+-Name[ca@valencia]=Plasma |
71 |
+-Name[cs]=Plasma |
72 |
+-Name[da]=Plasma |
73 |
+-Name[de]=Plasma |
74 |
+-Name[el]=Plasma |
75 |
+-Name[en_GB]=Plasma |
76 |
+-Name[es]=Plasma |
77 |
+-Name[et]=Plasma |
78 |
+-Name[eu]=Plasma |
79 |
+-Name[fi]=Plasma |
80 |
+-Name[fr]=Plasma |
81 |
+-Name[gl]=Plasma |
82 |
+-Name[he]=פלזמה |
83 |
+-Name[hu]=Plasma |
84 |
+-Name[id]=Plasma |
85 |
+-Name[is]=Plasma |
86 |
+-Name[it]=Plasma |
87 |
+-Name[ja]=プラズマ |
88 |
+-Name[ko]=Plasma |
89 |
+-Name[lt]=Plasma |
90 |
+-Name[nb]=Plasma |
91 |
+-Name[nds]=Plasma |
92 |
+-Name[nl]=Plasma |
93 |
+-Name[nn]=Plasma |
94 |
+-Name[pa]=ਪਲਾਜ਼ਮਾ |
95 |
+-Name[pl]=Plazma |
96 |
+-Name[pt]=Plasma |
97 |
+-Name[pt_BR]=Plasma |
98 |
+-Name[ru]=Plasma |
99 |
+-Name[sk]=Plasma |
100 |
+-Name[sl]=Plasma |
101 |
+-Name[sr]=Плазма |
102 |
+-Name[sr@ijekavian]=Плазма |
103 |
+-Name[sr@ijekavianlatin]=Plasma |
104 |
+-Name[sr@latin]=Plasma |
105 |
+-Name[sv]=Plasma |
106 |
+-Name[tr]=Plama |
107 |
+-Name[uk]=Плазма |
108 |
+-Name[x-test]=xxPlasmaxx |
109 |
+-Name[zh_CN]=Plasma |
110 |
+-Name[zh_TW]=Plasma |
111 |
++Name=Plasma on Xorg |
112 |
+ Comment=Plasma by KDE |
113 |
+ Comment[ar]=بلازما كدي |
114 |
+ Comment[bs]=Plazma od strane KDe |
115 |
+-- |
116 |
+2.22.0 |
117 |
+ |
118 |
|
119 |
diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild |
120 |
index 5fbd5a4e8ad..80931e5994e 100644 |
121 |
--- a/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild |
122 |
+++ b/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild |
123 |
@@ -118,6 +118,7 @@ PATCHES=( |
124 |
"${FILESDIR}/${PN}-5.14.80-startkde-script.patch" |
125 |
"${FILESDIR}/${PN}-5.10-startplasmacompositor-script.patch" |
126 |
"${FILESDIR}/${PN}-5.14.2-split-libkworkspace.patch" |
127 |
+ "${FILESDIR}/${PN}-5.16.3-x11sessionrename.patch" |
128 |
) |
129 |
|
130 |
RESTRICT+=" test" |