diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-11 04:39:52 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-11 04:39:52 +0000 |
commit | 09829072bc77a99750fd01ac8b7e46c232b0f60e (patch) | |
tree | 6d78838312d0ab1623acc0bf60729efa77bfa4a4 /kde-plasma/plasma-workspace/files | |
parent | 04b35f566703f8bb84d52e8d2ff2f0f54c21900b (diff) |
gentoo auto-resync : 11:11:2023 - 04:39:52
Diffstat (limited to 'kde-plasma/plasma-workspace/files')
3 files changed, 104 insertions, 0 deletions
diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-GLIBC_LOCALE-check.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-GLIBC_LOCALE-check.patch new file mode 100644 index 000000000000..0dee8bce65f5 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-GLIBC_LOCALE-check.patch @@ -0,0 +1,28 @@ +From 292822e16ada9122594ac2c8573633e5a50e63dd Mon Sep 17 00:00:00 2001 +From: Gleb Popov <6yearold@gmail.com> +Date: Tue, 24 Oct 2023 22:03:20 +0300 +Subject: [PATCH] kcms/region_language: Fix check for GLIBC_LOCALE. + +The GLIBC_LOCALE_AUTO is created by the #cmakedefine01 directive and thus is +always defined. + +(cherry picked from commit 196966b02bf40a971bdf8888a2fa8ba7db0106f1) +--- + config-workspace.h.cmake | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config-workspace.h.cmake b/config-workspace.h.cmake +index b696cd8fa5..e05f1c9749 100644 +--- a/config-workspace.h.cmake ++++ b/config-workspace.h.cmake +@@ -15,6 +15,6 @@ + #cmakedefine01 GLIBC_LOCALE_AUTO + #cmakedefine01 GLIBC_LOCALE_GENERATED + +-#if defined(GLIBC_LOCALE_AUTO) || defined(GLIBC_LOCALE_GENERATED) ++#if GLIBC_LOCALE_AUTO == 1 || GLIBC_LOCALE_GENERATED == 1 + #define GLIBC_LOCALE + #endif +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-nightcolor-autolocation.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-nightcolor-autolocation.patch new file mode 100644 index 000000000000..17286608fc8d --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-fix-nightcolor-autolocation.patch @@ -0,0 +1,47 @@ +From b8544fc070e88614feb9c198f6ea910c91f3c5d5 Mon Sep 17 00:00:00 2001 +From: Ismael Asensio <isma.af@gmail.com> +Date: Mon, 6 Nov 2023 19:13:37 +0000 +Subject: [PATCH] kcms/nightcolor: Fix nightcolor with automatic location + +As it turns out that the UI never send the geo-location to the +backend so backend always fallbacks to (0, 0) lat and lon +coordinates unless manually changed by `qdbus` commad.. + +BUG: 469730 +FIXED-IN: 5.27.10 + + +(cherry picked from commit cb2b0e9c036d844d87fd104a3ae031b59243eaa5) +--- + kcms/nightcolor/package/contents/ui/main.qml | 15 +++++++++++++++ + 1 file changed, 15 insertions(+) + +diff --git a/kcms/nightcolor/package/contents/ui/main.qml b/kcms/nightcolor/package/contents/ui/main.qml +index c7d237f13b..418c05d42f 100644 +--- a/kcms/nightcolor/package/contents/ui/main.qml ++++ b/kcms/nightcolor/package/contents/ui/main.qml +@@ -60,6 +60,21 @@ KCM.SimpleKCM { + } + } + ++ // Update backend when locator is changed ++ Connections { ++ target: locator ++ function onLatitudeChanged() { ++ if (root.doneLocating) { ++ kcm.nightColorSettings.latitudeAuto = locator.latitude ++ } ++ } ++ function onLongitudeChanged() { ++ if (root.doneLocating) { ++ kcm.nightColorSettings.longitudeAuto = locator.latitude ++ } ++ } ++ } ++ + header: ColumnLayout{ + Kirigami.InlineMessage { + id: errorMessage +-- +GitLab + diff --git a/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-reset-KSMClient-state.patch b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-reset-KSMClient-state.patch new file mode 100644 index 000000000000..26a35bba5c91 --- /dev/null +++ b/kde-plasma/plasma-workspace/files/plasma-workspace-5.27.9-reset-KSMClient-state.patch @@ -0,0 +1,29 @@ +From 6e88325d25c06d3e8fdca49d13dd5a6d5ccefc0c Mon Sep 17 00:00:00 2001 +From: xiaofeng zhou <rpg2010@yeah.net> +Date: Wed, 1 Nov 2023 18:14:22 +0000 +Subject: [PATCH] Reset KSMClient state even when logout is cancelled + +Now the KSMClient state is properly reset when a log out is canceled, preventing some funny business +when the state is not cleared. For example inside of KSMServer::handlePendingInteractions, when it +checks if a client has pending interactions. + +(cherry picked from commit b5b2c757e98511a7eb6c56b9e009e98f0e132c26) +--- + ksmserver/logout.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ksmserver/logout.cpp b/ksmserver/logout.cpp +index f267338860..fb912714ba 100644 +--- a/ksmserver/logout.cpp ++++ b/ksmserver/logout.cpp +@@ -346,6 +346,7 @@ void KSMServer::cancelShutdown(KSMClient *c) + if (!discard.isEmpty()) + executeCommand(discard); + } ++ c->resetState(); + } + } + state = Idle; +-- +GitLab + |