Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/files/, kde-plasma/plasma-workspace/
Date: Tue, 29 Oct 2019 22:22:35
Message-Id: 1572387696.457145c9d97bbcaace74b8bdacf20af972c61693.asturm@gentoo
1 commit: 457145c9d97bbcaace74b8bdacf20af972c61693
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 29 21:27:28 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Tue Oct 29 22:21:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457145c9
7
8 kde-plasma/plasma-workspace: Drop translations of Plasma session name
9
10 We need to remove all translations in order to not reproduce the initial issue.
11
12 Package-Manager: Portage-2.3.78, Repoman-2.3.17
13 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
14
15 ...sma-workspace-5.17.2-waylandsessionrename.patch | 91 ++++++++++++++++++++++
16 .../plasma-workspace-5.17.2.ebuild | 2 +-
17 2 files changed, 92 insertions(+), 1 deletion(-)
18
19 diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch
20 new file mode 100644
21 index 00000000000..71d1ce4abb8
22 --- /dev/null
23 +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.17.2-waylandsessionrename.patch
24 @@ -0,0 +1,91 @@
25 +From 36bc9bfd9661f88039a8945688e07b0626b48610 Mon Sep 17 00:00:00 2001
26 +From: Andreas Sturmlechner <asturm@g.o>
27 +Date: Tue, 15 Oct 2019 18:33:45 +0200
28 +Subject: [PATCH 1/2] Fix Name conflict between plasma.desktop and
29 + plasmawayland.desktop
30 +
31 +Summary:
32 +SDDM until 0.18.1 appends " (Wayland)" to the name of any session file it
33 +finds in wayland-sessions dir, and Plasma is relying on that behaviour to
34 +distinguish between its X11 and Wayland sessions. This leads to duplicate
35 +"Plasma" entries on any other DM not applying the same hack, e.g. lightdm,
36 +and users are lost without downstream patching.
37 +
38 +SDDM in 0.19 only appends " (Wayland)" in case the session name does
39 +not already end with this, to avoid duplicating it.
40 +
41 +CCBUG: https://bugs.kde.org/show_bug.cgi?id=368409
42 +See also: https://github.com/sddm/sddm/pull/997
43 +
44 +Reviewers: #plasma, davidedmundson, fvogt, ngraham
45 +
46 +Reviewed By: #plasma, davidedmundson, fvogt, ngraham
47 +
48 +Subscribers: ngraham, pino, rdieter, fvogt, davidedmundson, plasma-devel
49 +
50 +Tags: #plasma
51 +
52 +Differential Revision: https://phabricator.kde.org/D22210
53 +---
54 + login-sessions/plasmawayland.desktop.cmake | 2 +-
55 + 1 file changed, 1 insertion(+), 1 deletion(-)
56 +
57 +diff --git a/login-sessions/plasmawayland.desktop.cmake b/login-sessions/plasmawayland.desktop.cmake
58 +index 64f997ea4..3e9b46bc9 100644
59 +--- a/login-sessions/plasmawayland.desktop.cmake
60 ++++ b/login-sessions/plasmawayland.desktop.cmake
61 +@@ -2,51 +2,7 @@
62 + Exec=dbus-run-session ${CMAKE_INSTALL_FULL_BINDIR}/startplasma-wayland
63 + TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-wayland
64 + DesktopNames=KDE
65 +-Name=Plasma
66 +-Name[ar]=بلازما
67 +-Name[bs]=Plazma
68 +-Name[ca]=Plasma
69 +-Name[ca@valencia]=Plasma
70 +-Name[cs]=Plasma
71 +-Name[da]=Plasma
72 +-Name[de]=Plasma
73 +-Name[el]=Plasma
74 +-Name[en_GB]=Plasma
75 +-Name[es]=Plasma
76 +-Name[et]=Plasma
77 +-Name[eu]=Plasma
78 +-Name[fi]=Plasma
79 +-Name[fr]=Plasma
80 +-Name[gl]=Plasma
81 +-Name[he]=פלזמה
82 +-Name[hu]=Plasma
83 +-Name[id]=Plasma
84 +-Name[is]=Plasma
85 +-Name[it]=Plasma
86 +-Name[ja]=プラズマ
87 +-Name[ko]=Plasma
88 +-Name[lt]=Plasma
89 +-Name[nb]=Plasma
90 +-Name[nds]=Plasma
91 +-Name[nl]=Plasma
92 +-Name[nn]=Plasma
93 +-Name[pa]=ਪਲਾਜ਼ਮਾ
94 +-Name[pl]=Plazma
95 +-Name[pt]=Plasma
96 +-Name[pt_BR]=Plasma
97 +-Name[ru]=Plasma
98 +-Name[sk]=Plasma
99 +-Name[sl]=Plasma
100 +-Name[sr]=Плазма
101 +-Name[sr@ijekavian]=Плазма
102 +-Name[sr@ijekavianlatin]=Plasma
103 +-Name[sr@latin]=Plasma
104 +-Name[sv]=Plasma
105 +-Name[tr]=Plama
106 +-Name[uk]=Плазма
107 +-Name[x-test]=xxPlasmaxx
108 +-Name[zh_CN]=Plasma
109 +-Name[zh_TW]=Plasma
110 ++Name=Plasma (Wayland)
111 + Comment=Plasma by KDE
112 + Comment[ar]=بلازما كدي
113 + Comment[bs]=Plazma od strane KDe
114 +--
115 +2.23.0
116
117 diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.17.2.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.17.2.ebuild
118 index 18496a7cf26..1e58c5789d8 100644
119 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.17.2.ebuild
120 +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.17.2.ebuild
121 @@ -118,7 +118,7 @@ PDEPEND="
122
123 PATCHES=(
124 "${FILESDIR}/${PN}-5.14.2-split-libkworkspace.patch"
125 - "${FILESDIR}/${PN}-5.17.0-waylandsessionrename.patch"
126 + "${FILESDIR}/${P}-waylandsessionrename.patch"
127 )
128
129 RESTRICT+=" test"