From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BACF9138334 for ; Sat, 20 Jul 2019 22:15:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C69A4E077C; Sat, 20 Jul 2019 22:15:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D1F1E077C for ; Sat, 20 Jul 2019 22:15:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E1AD4348265 for ; Sat, 20 Jul 2019 22:15:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 826BC6D5 for ; Sat, 20 Jul 2019 22:15:46 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1563660346.7fa0e743a95e1816d766dceb9430d13c7d70bcd6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: kde-plasma/plasma-workspace/, kde-plasma/plasma-workspace/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: kde-plasma/plasma-workspace/files/plasma-workspace-5.16.3-x11sessionrename.patch kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild X-VCS-Directories: kde-plasma/plasma-workspace/ kde-plasma/plasma-workspace/files/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 7fa0e743a95e1816d766dceb9430d13c7d70bcd6 X-VCS-Branch: master Date: Sat, 20 Jul 2019 22:15:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: af2ef2f1-c501-44c2-afce-5326458a2db0 X-Archives-Hash: 1b4f4b7b253ae6efd92cd0d3a0d3b5b3 commit: 7fa0e743a95e1816d766dceb9430d13c7d70bcd6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jul 20 20:07:13 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jul 20 22:05:46 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fa0e743 kde-plasma/plasma-workspace: Rename Xorg session To make it distinguishable from Wayland session regardless of DM hacks. SDDM hack can be dropped any time, both changes are still pending upstreams. Closes: https://bugs.gentoo.org/689120 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner gentoo.org> .../plasma-workspace-5.16.3-x11sessionrename.patch | 91 ++++++++++++++++++++++ .../plasma-workspace-5.16.3.ebuild | 1 + 2 files changed, 92 insertions(+) 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 new file mode 100644 index 00000000000..a851f5f54b8 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.16.3-x11sessionrename.patch @@ -0,0 +1,91 @@ +From bcabb38b1f07a52847752fb54eb61696a1312a61 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner +Date: Tue, 2 Jul 2019 10:13:54 +0200 +Subject: [PATCH] Fix Name conflict between plasma.desktop and + plasmawayland.desktop + +Summary: +SDDM as of 0.18.1 appends " (Wayland)" to the Name of any session file it +finds in wayland-sessions dir, and Plasma is relying on that behaviour to +distinguish between its X11 and Wayland sessions. This leads to duplicate +"Plasma" entries on any other DM not applying the same hack, e.g. lightdm, +and users are lost without downstream patching. + +Instead of waiting for which of (SDDM, Plasma) is doing something about +it first, renaming X11 session to "Plasma on Xorg" appears to be the most +elegant solution out of the deadlock. SDDM can be fixed any time later. + +CCBUG: https://bugs.kde.org/show_bug.cgi?id=368409 +See also: https://github.com/sddm/sddm/pull/997 + +Reviewers: #plasma + +Subscribers: plasma-devel + +Tags: #plasma + +Differential Revision: https://phabricator.kde.org/D22210 +--- + plasma.desktop.cmake | 46 +---------------------------- + 1 file changed, 1 insertion(+), 45 deletions(-) + +diff --git a/plasma.desktop.cmake b/plasma.desktop.cmake +index 4d361606d..099de2908 100644 +--- a/plasma.desktop.cmake ++++ b/plasma.desktop.cmake +@@ -3,51 +3,7 @@ Type=XSession + Exec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-x11 + TryExec=${CMAKE_INSTALL_FULL_BINDIR}/startplasma-x11 + DesktopNames=KDE +-Name=Plasma +-Name[ar]=بلازما +-Name[bs]=Plazma +-Name[ca]=Plasma +-Name[ca@valencia]=Plasma +-Name[cs]=Plasma +-Name[da]=Plasma +-Name[de]=Plasma +-Name[el]=Plasma +-Name[en_GB]=Plasma +-Name[es]=Plasma +-Name[et]=Plasma +-Name[eu]=Plasma +-Name[fi]=Plasma +-Name[fr]=Plasma +-Name[gl]=Plasma +-Name[he]=פלזמה +-Name[hu]=Plasma +-Name[id]=Plasma +-Name[is]=Plasma +-Name[it]=Plasma +-Name[ja]=プラズマ +-Name[ko]=Plasma +-Name[lt]=Plasma +-Name[nb]=Plasma +-Name[nds]=Plasma +-Name[nl]=Plasma +-Name[nn]=Plasma +-Name[pa]=ਪਲਾਜ਼ਮਾ +-Name[pl]=Plazma +-Name[pt]=Plasma +-Name[pt_BR]=Plasma +-Name[ru]=Plasma +-Name[sk]=Plasma +-Name[sl]=Plasma +-Name[sr]=Плазма +-Name[sr@ijekavian]=Плазма +-Name[sr@ijekavianlatin]=Plasma +-Name[sr@latin]=Plasma +-Name[sv]=Plasma +-Name[tr]=Plama +-Name[uk]=Плазма +-Name[x-test]=xxPlasmaxx +-Name[zh_CN]=Plasma +-Name[zh_TW]=Plasma ++Name=Plasma on Xorg + Comment=Plasma by KDE + Comment[ar]=بلازما كدي + Comment[bs]=Plazma od strane KDe +-- +2.22.0 + diff --git a/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild b/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild index 5fbd5a4e8ad..80931e5994e 100644 --- a/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild +++ b/kde-plasma/plasma-workspace/plasma-workspace-5.16.3.ebuild @@ -118,6 +118,7 @@ PATCHES=( "${FILESDIR}/${PN}-5.14.80-startkde-script.patch" "${FILESDIR}/${PN}-5.10-startplasmacompositor-script.patch" "${FILESDIR}/${PN}-5.14.2-split-libkworkspace.patch" + "${FILESDIR}/${PN}-5.16.3-x11sessionrename.patch" ) RESTRICT+=" test"