epel9^2
Marc Deop i Argemí 1 year ago
parent 2c6cba4995
commit fc3ba2730b
No known key found for this signature in database
GPG Key ID: 0BD48519688058E8

@ -1,47 +0,0 @@
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

@ -27,15 +27,13 @@
Name: plasma-workspace Name: plasma-workspace
Summary: Plasma workspace, applications and applets Summary: Plasma workspace, applications and applets
Version: 5.27.9.1 Version: 5.27.10
Release: 3%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: https://invent.kde.org/plasma/%{name} URL: https://invent.kde.org/plasma/%{name}
# Temporary commenting out as there is a re-release Source0: http://download.kde.org/%{stable_kf5}/plasma/%{version}/%{name}-%{version}.tar.xz
#Source0: http://download.kde.org/%{stable_kf5}/plasma/%{version}/%{name}-%{version}.tar.xz
Source0: http://download.kde.org/%{stable_kf5}/plasma/5.27.9/%{name}-%{version}.tar.xz
# filter qml/plugins provides # filter qml/plugins provides
%global __provides_exclude_from ^(%{_kf5_qmldir}/.*\\.so|%{_kf5_qtplugindir}/.*\\.so)$ %global __provides_exclude_from ^(%{_kf5_qmldir}/.*\\.so|%{_kf5_qtplugindir}/.*\\.so)$
@ -57,9 +55,6 @@ Source40: ssh-agent.conf
Source41: spice-vdagent.conf Source41: spice-vdagent.conf
# upstream patches # upstream patches
# https://invent.kde.org/plasma/plasma-workspace/-/commit/b8544fc070e88614feb9c198f6ea910c91f3c5d5
# https://bugzilla.redhat.com/show_bug.cgi?id=2250757
Patch1: b8544fc070e88614feb9c198f6ea910c91f3c5d5.patch
## upstreamable Patches ## upstreamable Patches
@ -805,6 +800,9 @@ fi
%changelog %changelog
* Sat Dec 16 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.10-1
- 5.27.10
* Sat Nov 25 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.9.1-3 * Sat Nov 25 2023 Marc Deop i Argemí <marcdeop@fedoraproject.org> - 5.27.9.1-3
- Add upstream patch #2250757 - Add upstream patch #2250757

@ -1,2 +1,2 @@
SHA512 (breeze-fedora-0.2.tar.gz) = ff800e686b0dcb498f321bb94d3a8274c89c092f5408ef1ec3fc65333f046aea43444144ecaf166792f807014383af87b1180dc7540905fc10dc375309f8b2a8 SHA512 (breeze-fedora-0.2.tar.gz) = ff800e686b0dcb498f321bb94d3a8274c89c092f5408ef1ec3fc65333f046aea43444144ecaf166792f807014383af87b1180dc7540905fc10dc375309f8b2a8
SHA512 (plasma-workspace-5.27.9.1.tar.xz) = 6aa1e69bba9b293646d5d2c819ec8ab1ba8b82b3a050f7122cdfa8c3580bffe8a7fe1e6422bb0f6e87d716df609e5fd49f2e20ebbe7296e43663eeca6d897442 SHA512 (plasma-workspace-5.27.10.tar.xz) = de56a884c05101672b5339cd64b345351f602b33b14daa666e18427251980f557dd65fe35f77c3a361507e3372b05e03b713123e2a7cad29c6bba2af2b43b5a7

Loading…
Cancel
Save