diff --git a/fix_double_brightness_restore_on_lid_open.patch b/fix_double_brightness_restore_on_lid_open.patch deleted file mode 100644 index 24d4288..0000000 --- a/fix_double_brightness_restore_on_lid_open.patch +++ /dev/null @@ -1,36 +0,0 @@ -From b30c584d6a724d350b7b8f6a30cc4bbbf9dbac3d Mon Sep 17 00:00:00 2001 -From: Werner Sembach -Date: Tue, 30 Jan 2024 14:26:53 +0100 -Subject: [PATCH] kbd backlight: Fix double brightness restore on - LidOpen-resume - -This fixes the issue that on LidOpen-resume the brightness might get restored -two times. Once to the correct vallue and once incorrectly to 0. - -To archive this it uses the same simple "don't restore to 0"-policy as is used -in dimdisplay.cpp, dpms.cpp, and handlebuttonevent.cpp. - -Signed-off-by: Werner Sembach - -(cherry picked from commit aa2fa106) ---- - daemon/actions/bundled/keyboardbrightnesscontrol.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/daemon/actions/bundled/keyboardbrightnesscontrol.cpp b/daemon/actions/bundled/keyboardbrightnesscontrol.cpp -index a7c5f6408..760e17ff5 100644 ---- a/daemon/actions/bundled/keyboardbrightnesscontrol.cpp -+++ b/daemon/actions/bundled/keyboardbrightnesscontrol.cpp -@@ -75,7 +75,7 @@ KeyboardBrightnessControl::KeyboardBrightnessControl(QObject* parent, const QVar - // My laptop sets the keyboard brightness to zero when I close the lid and it suspends - // this makes sure the keyboard brightness is restored when we wake up :) - connect(backend(), &PowerDevil::BackendInterface::resumeFromSuspend, this, [this] { -- if (m_lastKeyboardBrightness > -1) { -+ if (m_lastKeyboardBrightness > 0) { - setKeyboardBrightnessSilent(m_lastKeyboardBrightness); - } - }); --- -GitLab - - diff --git a/powerdevil.spec b/powerdevil.spec index d3b06b5..7efbf55 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -1,8 +1,8 @@ %global kf5_version 5.82.0 Name: powerdevil -Version: 5.27.10 -Release: 3%{?dist} +Version: 5.27.11 +Release: 1%{?dist} Summary: Manages the power consumption settings of a Plasma Shell License: GPLv2+ @@ -20,7 +20,6 @@ URL: https://invent.kde.org/plasma/%{name} Source0: http://download.kde.org/%{stable}/plasma/%{plasma_version}/%{name}-%{version}.tar.xz # Upstream patches -Patch0: fix_double_brightness_restore_on_lid_open.patch # filter plugin provides %global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$ @@ -135,6 +134,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %{_kf5_qtplugindir}/powerdevil/action/powerdevil_*.so %changelog +* Sat Mar 09 2024 Alessandro Astone - 5.27.11-1 +- 5.27.11 + * Fri Feb 23 2024 Alessandro Astone - 5.27.10-3 - Require ddcutil for udev rules diff --git a/sources b/sources index d671b15..2138a30 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (powerdevil-5.27.10.tar.xz) = 7bee5e98e5e1cedfc94c7e5d5296c88a88269f2838bb937073bd27cd0bc0ee696ae7134386ea84ea60b8ed18c5bdb6d2a715fd599c0836d62a3191183a47d47e +SHA512 (powerdevil-5.27.11.tar.xz) = 7ea5640d42c3aa4bc21091a56452202f798ed3df3cfab6b0f38895cdd558fe877e463bf2c801914ded2511777b353d6e252f9dcee2856b1995b6f08c84cc3b84