-m
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/plasma5-workspace?expand=0&rev=645
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
From 3b38de153c2ff78b97174d5d7b4258a74173e5c3 Mon Sep 17 00:00:00 2001
|
||||
From: Fabian Vogt <fabian@ritter-vogt.de>
|
||||
Date: Tue, 7 Jun 2022 14:12:03 +0200
|
||||
Subject: [PATCH] startkde: Reload systemd on Plasma start
|
||||
|
||||
If the time between logout and relogin is short enough or a separate session
|
||||
is open during that time, the systemd user instance keeps running. This means
|
||||
that generators like the one for XDG autostart handling aren't run again, which
|
||||
effectively means it's still using the configuration from the previous session.
|
||||
|
||||
Just reload systemd on every login to make sure its state is fresh.
|
||||
---
|
||||
startkde/startplasma.cpp | 12 ++++++++++++
|
||||
1 file changed, 12 insertions(+)
|
||||
|
||||
diff --git a/startkde/startplasma.cpp b/startkde/startplasma.cpp
|
||||
index dc928a62d..9f026e033 100644
|
||||
--- a/startkde/startplasma.cpp
|
||||
+++ b/startkde/startplasma.cpp
|
||||
@@ -504,6 +504,17 @@ void resetSystemdFailedUnits()
|
||||
QDBusConnection::sessionBus().call(message);
|
||||
}
|
||||
|
||||
+// Reload systemd to make sure the current configuration is active, which also reruns generators.
|
||||
+// Needed for e.g. XDG autostart changes to become effective.
|
||||
+void reloadSystemd()
|
||||
+{
|
||||
+ QDBusMessage message = QDBusMessage::createMethodCall(QStringLiteral("org.freedesktop.systemd1"),
|
||||
+ QStringLiteral("/org/freedesktop/systemd1"),
|
||||
+ QStringLiteral("org.freedesktop.systemd1.Manager"),
|
||||
+ QStringLiteral("Reload"));
|
||||
+ QDBusConnection::sessionBus().call(message);
|
||||
+}
|
||||
+
|
||||
bool hasSystemdService(const QString &serviceName)
|
||||
{
|
||||
qDBusRegisterMetaType<QPair<QString, QString>>();
|
||||
@@ -611,6 +622,7 @@ static void migrateUserScriptsAutostart()
|
||||
bool startPlasmaSession(bool wayland)
|
||||
{
|
||||
resetSystemdFailedUnits();
|
||||
+ reloadSystemd();
|
||||
OrgKdeKSplashInterface iface(QStringLiteral("org.kde.KSplash"), QStringLiteral("/KSplash"), QDBusConnection::sessionBus());
|
||||
iface.setStage(QStringLiteral("startPlasma"));
|
||||
// finally, give the session control to the session manager
|
||||
--
|
||||
2.36.1
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71f21366c20768f0eceab3a0e2e6dee3ec470b7dd8645fd41550ce4eec0246d9
|
||||
size 18565464
|
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmKGHqEACgkQ11dEg7tX
|
||||
sY1jzg/9GP10tVRA2oFcUt5Ko4GqTYHYWMgYnCxY+YAD9rNLmgJY/j1eoHW8C5Dh
|
||||
kMAJnTAYW5yaM/EHz9OPXJJJFoL7wHABDJT9ISYCwiw64p3OJSskfF/BtwpNLGpb
|
||||
9Vx/MWGPxhCe+EQiy2UNaGrATjn3wBE9Zkd4UmXOJ1IBGPoRBXo/ZfBwF8Af8IP0
|
||||
QXzgdd2kyvfKjiox16LwmN8AcUMFQjEmeAknPnuoCbwOdEy0BnBI11gpLiOw9gPa
|
||||
JUm/LDypACxRCm6hw0FaHVrXfcHTE/tdBpW/lGo2ghqX+7qJ5sl1b1IfR57eR4H5
|
||||
csonb3g+D+Vl9V7TmGDThX/8QBO9ChNCiASod4XLXcG8VvyvGoqKh1jr5MHFLb5J
|
||||
kAR69kslwHJRimwKmqhjHfftxfLB++uSIA7T1jzbx4rl2638HJSPgWw/0eQ+pa5T
|
||||
QoiruzazWjgFEKQHjF+ouvgcG2CbKk4EMx5dzwXTOdYAuQ9sUrCM/1bc4bbmSHGm
|
||||
pzN4Rth1y+0y3P+1oS7PJrUQ/9sm6QrQBQ4e84423Uo/FoTYQsHdKge1FqEyKuBX
|
||||
sK+OAUMiVUmADjl/50I+3+wMO4YX2A/VgD3CCd4dQd1FfHAeKL7GdJBAxd60RsEq
|
||||
geOygp+NXnTQ4eFtGr6pBNlfUm573z5iLeFIsh7As+u6g93cWUw=
|
||||
=ZGut
|
||||
-----END PGP SIGNATURE-----
|
3
plasma-workspace-5.25.0.tar.xz
Normal file
3
plasma-workspace-5.25.0.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:565462d89e60fcbede133ceaf4fa75a92702187acdb291dbc8b9e1b90d077bc1
|
||||
size 18568884
|
16
plasma-workspace-5.25.0.tar.xz.sig
Normal file
16
plasma-workspace-5.25.0.tar.xz.sig
Normal file
@@ -0,0 +1,16 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmKhuysACgkQ11dEg7tX
|
||||
sY0oixAArqKO211hLUhwnHo7GZav7n0pLxEotYctlI5W2sY0bQl/C6fww7inZNhU
|
||||
AfcT0wsOivUpCnelWhx6FqZYnfFYkmEga4eC+9LjjlxBYM1XaCVLC4V75csxVZrr
|
||||
dk61dZDckat81YItD6Ctxt483zjwcxD2KpPH1bvmvyev02CIaLRKGvKf9ekbX3Zk
|
||||
wNYMc0gUewufB7q7zeh8bG//uybZX+w6CCeWZ1mPq/+k3Z+/Is6y9gk9lNBMjpKG
|
||||
Ef3+rbySX2WI/+UlObKzc5k21IhKi4hc7RMJrTTRsGH0KMhNkVuSgGISGGL0EFiS
|
||||
hFo1tDQp+Vz6HAsD2S8vNMUmW5bJ5Cs3WsLd18zx9WpzdUYNOurAcDU188m1Iurz
|
||||
mOa5gRu7lmnCPj5pomaeoztX8MLhkuHP3WQEGzEVpc9PZ/SLBVmR5hjTEvYrRB07
|
||||
V9wub5g8cVG+5zvRGXtyuIo5k7M1XtK01fN3C+sCzTmfuk6JNN1jD+hToeke8O1N
|
||||
7Au8JoHg9jl5njsbjrj4KZ8ZFC3GhjqB25awJE3sAL5GupnJ2zMR6v1djrHi9jpO
|
||||
qkqLAkSWxrU8N0kee5Egu7UEo70lKOcTrZygPTqWer+ko4VlRKjaqIr2I/X9OeZD
|
||||
GfvhFXC7VUQmrIbCvrtxZag0WxGcGqp1X+sfn+kXM+UEtGT6WYY=
|
||||
=b7fm
|
||||
-----END PGP SIGNATURE-----
|
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 9 11:15:05 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 5.25.0
|
||||
* New bugfix release
|
||||
* For more details please see:
|
||||
* https://kde.org/announcements/plasma/5/5.25.0
|
||||
- Too many changes to list here
|
||||
- Drop patches, now upstream:
|
||||
* 0001-startkde-Reload-systemd-on-Plasma-start.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 7 12:55:36 UTC 2022 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
@@ -29,20 +29,18 @@ Name: plasma5-workspace
|
||||
%{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
|
||||
# Latest ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF)
|
||||
%{!?_plasma5_version: %define _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')}
|
||||
Version: 5.24.90
|
||||
Version: 5.25.0
|
||||
Release: 0
|
||||
Summary: The KDE Plasma Workspace Components
|
||||
License: GPL-2.0-or-later
|
||||
Group: System/GUI/KDE
|
||||
URL: http://www.kde.org/
|
||||
Source: https://download.kde.org/unstable/plasma/%{version}/plasma-workspace-%{version}.tar.xz
|
||||
Source: plasma-workspace-%{version}.tar.xz
|
||||
%if %{with released}
|
||||
Source1: https://download.kde.org/unstable/plasma/%{version}/plasma-workspace-%{version}.tar.xz.sig
|
||||
Source1: plasma-workspace-%{version}.tar.xz.sig
|
||||
Source2: plasma.keyring
|
||||
%endif
|
||||
Source3: xprop-kde-full-session.desktop
|
||||
# PATCH-FIX-UPSTREAM
|
||||
Patch1: 0001-startkde-Reload-systemd-on-Plasma-start.patch
|
||||
# PATCHES 501-??? are PATCH-FIX-OPENSUSE
|
||||
Patch501: 0001-Use-qdbus-qt5.patch
|
||||
Patch502: 0001-Ignore-default-sddm-face-icons.patch
|
||||
|
Reference in New Issue
Block a user