forked from pool/powerdevil6
Compare commits
67 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 67554899a0 | |||
|
|
64e3c1ece1 | ||
| 962b8cfd75 | |||
|
|
468e1a121d | ||
| 361d05fddf | |||
|
|
18f25821c2 | ||
|
|
49ab6ca1f0 | ||
|
|
321b5bfe12 | ||
| 5362fd917a | |||
|
|
a1791695cc | ||
| 24277017df | |||
|
|
77d91b2cca | ||
| 97a7fd1308 | |||
|
|
ed745efdcc | ||
| 5a68383ed0 | |||
|
|
3ef9d72521 | ||
| 7bfabba07d | |||
|
|
156ddfcf40 | ||
| fc1c4e364a | |||
|
|
9df6eade4f | ||
|
|
bb40fe9726 | ||
|
|
9fd0218ab7 | ||
| 1998ef3748 | |||
|
|
844dc21224 | ||
| 14460dac1e | |||
|
|
a48f728585 | ||
| 5419633f7a | |||
|
|
8d73cdd9da | ||
| 62311ffb94 | |||
|
|
2f402f83ca | ||
| 784c14428d | |||
|
|
e922423c68 | ||
| 61e13231e5 | |||
|
|
2a9668c677 | ||
|
|
34e7a04c51 | ||
| bb0c964dc3 | |||
| 1e9c28f777 | |||
|
|
f17828ae60 | ||
| 0b41a6c8cd | |||
|
|
c108b0fb66 | ||
| 7542e2e476 | |||
|
|
e8cb8f176d | ||
| 6205063123 | |||
|
|
dceb88e1d3 | ||
| 648efbe1ec | |||
|
|
eea0e8d39e | ||
| 24f68b5b9c | |||
| 3e605ee375 | |||
|
|
857fd906fb | ||
|
|
e88ab3e321 | ||
| 209d3f01f0 | |||
|
|
f3dd23e597 | ||
| 71e6239952 | |||
|
|
59058ba993 | ||
| 58a3b6c88a | |||
|
|
d0da96d1a6 | ||
| d40beb4148 | |||
|
|
b791ebf290 | ||
| c3d641ee36 | |||
|
|
0bd25152fd | ||
| 65e9f7344d | |||
| c5573e06cc | |||
|
|
597dc61a53 | ||
|
|
655d8fb9c5 | ||
| 9258c81b3f | |||
|
|
c6ff518d5f | ||
|
|
a91db735f5 |
@@ -1,53 +0,0 @@
|
||||
From 8c1686c9e97edb9a06e06e2f41cfe5351cef7986 Mon Sep 17 00:00:00 2001
|
||||
From: Jakob Petsovits <jpetso@petsovits.com>
|
||||
Date: Thu, 18 Jul 2024 17:14:06 +0000
|
||||
Subject: [PATCH] daemon: Don't leave dangling Action pointers in idle-time
|
||||
containers
|
||||
|
||||
If we delete the Action but don't clean up related map/set elements,
|
||||
the powerdevil daemon can crash e.g. in Core::onResumingFromIdle()
|
||||
and Core::onKIdleTimeoutReached().
|
||||
|
||||
This has been an issue since commit 584cfdf0 (or d91bc62f on 6.1)
|
||||
which made it possible for already-created actions to get deleted
|
||||
again at a later time.
|
||||
|
||||
BUG: 490356
|
||||
BUG: 490421
|
||||
|
||||
|
||||
(cherry picked from commit 7a929fa01ed036f60c5a15c72416b4e40eb03160)
|
||||
|
||||
Co-authored-by: Jakob Petsovits <jpetso@petsovits.com>
|
||||
---
|
||||
daemon/powerdevilcore.cpp | 14 ++++++++++----
|
||||
1 file changed, 10 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/daemon/powerdevilcore.cpp b/daemon/powerdevilcore.cpp
|
||||
index 915ca0ad..838b5c05 100644
|
||||
--- a/daemon/powerdevilcore.cpp
|
||||
+++ b/daemon/powerdevilcore.cpp
|
||||
@@ -224,10 +224,16 @@ void Core::refreshActions()
|
||||
}
|
||||
|
||||
// Remove now-unsupported actions
|
||||
- std::erase_if(m_actionPool, [](const auto &pair) {
|
||||
- const auto &[name, action] = pair;
|
||||
- return !action->isSupported();
|
||||
- });
|
||||
+ for (auto it = m_actionPool.begin(); it != m_actionPool.end();) {
|
||||
+ Action *action = it->second.get();
|
||||
+ if (!action->isSupported()) {
|
||||
+ m_registeredActionTimeouts.remove(action);
|
||||
+ m_pendingResumeFromIdleActions.remove(action);
|
||||
+ it = m_actionPool.erase(it);
|
||||
+ } else {
|
||||
+ ++it;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
|
||||
bool Core::isActionSupported(const QString &actionName)
|
||||
--
|
||||
2.45.2
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:624f8c9498056d3c7065bb72a61a381fa2021dc36f5a1f32c735435b239918f3
|
||||
size 965420
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmaWVVMACgkQ11dEg7tX
|
||||
sY1mGw/+N4ySMnQzp0dJWP6yVYTIphdbdZQtf9ExLvkSgsKln11I53/hIquSV/Zq
|
||||
9ocJrwA3h7WnO7Y2kAAiecXxMDh6pUR+ZgaQn1uJTpwIvf/E1bnP/WOMvCVNlCRl
|
||||
bQedOYMBz6aVPhjwDyqVhZAPbrKWrPDUQGy5X7z5r80IgaGokvgtqk0S6HKAr9r8
|
||||
lOgCimvC2SoWlPSuWFnLlu8nXuQxkxQ6O2qY3xBfyxbZuOTrhTtt0XIzwQ7Y/Tf0
|
||||
onHGSYqga8N5vuX8j/eyu+obYXdgmukNRU73O9dXkik2/dbTLEHDidwgeA2c/4t5
|
||||
Lze/DsEYcJnXY4cv3IyvBs+3gMXzMGt/Mc+xEZKH5V2M+85UVsNWehpthFh1/BJJ
|
||||
hPNj92/XRL1iY6ReFdYXQPzX1q6XmMWJi/pY+5P/XDWrw8AqyrP6T9s6CI79tomD
|
||||
v7XkuLx/J+w7M0cnzKLqL6BDlAuGzi7/g1Efgy4v2s6n0Nk0BoP0HzNip/1YX7mz
|
||||
XnKt0ofFZRg9fCvQqUJ3ozNvjruQrcH1DMe0zTSKyNqLV5LQRkLsV7a1FgrbuYNd
|
||||
GSwhIM2Hz7uIpIQZK8M6osFBno5Jmp77cfJWITQvR3l7ramqVD05gI85YyQc9/h7
|
||||
mEGU/afgvcQf5BxvviKVAqO8v0TUASkmylrnsBiZ13tXo5v5Rks=
|
||||
=1Dp4
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a1a966e2e2498305e33397ef27dfa68d10255fcb7099b0d91c5eda8d429013e5
|
||||
size 967284
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmayGNoACgkQ11dEg7tX
|
||||
sY05Ow/8C3h3FfK6QeZeu3S3RSKJlfX5wD8dnVRRj9/7Kt1xUGFhY300OKCiUwFg
|
||||
qmP+GLpxv4kmZ+1xCAObRorBYpt5dADOvRstGDlpwn/Z7Sn19JhMrXIZVvSarvnf
|
||||
fl0II3IMmzO9ckd8Lpsg9Aoj8d/p1OHgD5G/a5pEMvsGA5GVlkFuuj64LIt0X3+M
|
||||
0KTJTLjUDRJLIcTgT79SiJTJqtpqeiLlIkt0s2HYRLugDsCjYVnC3C9WYFnDS2ZV
|
||||
BJZ2YJKh9VkQ9XACYZXPO73X4cvGaOk3rk/yDhmaGsrEMS4nw89qICG3GVx5/XBO
|
||||
tfxxDZJGqEDwLPPsKTAeOxPHvGwTn2Gkb8L0JiEFw7ZD51SMAsO9nzZHBD09P1EF
|
||||
jAVSnNJmDfCFyMhhI/c9jfTZGkveEdirFvHlOZ7E6R+xQSAmqjEwOVg7kxU6AlIy
|
||||
9kQgf4GuW+tQI9lriMJyfC/jSvZMblBa6K0HmdrmchDYxYm5ATmmpN/jgsyXtr9q
|
||||
WPMbwYsvVvGv4VqTyv8dn0HHabE4ZQASm7tk1GU1mhvRafE312IPaNv2F5SLjqVc
|
||||
TOViHrPkBoCrTnWeij+c/1Vg7KyJ9ssqQajF5aSsGSgc+qnR62RfLJeyQiBMs8jn
|
||||
AGCH8RInHuV/pZP8h3bcc+t7CXL/ZynPBo9XV/shSfGwreDFHjQ=
|
||||
=h8V0
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:050e1c6fcf07da2cd7bfe22a618aa91504bb2b00bd31aa68121b903cde9d845d
|
||||
size 967780
|
||||
@@ -1,16 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAABCgAdFiEE4KPrIC+OV1KOE+cv11dEg7tXsY0FAmbgCR0ACgkQ11dEg7tX
|
||||
sY3Pjg//XF+1wW+HnmZjq2cGBvUJkOf1kuEKmCgzksIiSjHL4qDzC4bxrt5zwNQ7
|
||||
3UdnwkjtL75vBGAP7j/8pu7i6QOIO7RMSDKr5i5k4yzLGMKwm9/jxDWqMJd8EeNw
|
||||
9hmK5+DvRyin/f/40/fDnpxZSWBc6VtmGoIcIt09TS8e6ZUOnHCzFwxp1StXDlbo
|
||||
yVLf2LBerj3JaTOH9ZGZ40Ae+6T1RxwlmSkHMVudTjB/BepRybJmb7tioAK8waGK
|
||||
tf1Yx79wVyjMm5bxeJUNn4BSYJPUwyHqfznm65VLZ23ceHqoh762U4+0HgggtLD8
|
||||
8JoHLPjK1rQu4O9wd0sCUDiRe6WY5KyzI1s6NpqJjo235/G11SIRiKqx1y/xWG2Z
|
||||
etQSmqZkDYtGMx82YXMbHz2mRUHFpkYqoHFIFluqXDCH042qXiBQEeEqV6OMUtb6
|
||||
6A34wKRg7CTBDOmK3HCBrbx67GdVSkvuOZw5keyv7O4DRbfES9wtc12j+vJ+WKDE
|
||||
5VBkj5q9ODL9jNkgSUnqLSj2eElnL4vicQtR1aaJRtXgE4fWzmgi0JuQvHgeeKS0
|
||||
HgUHEqL2ofALigvRmkjWA2gEfrQmfb0x6JP45AF+XJN0aexYePxd/CmSY0CjyGH+
|
||||
L5eiGnQeA1KixO7VPOWx8xJv8OdTR/uaP+5AmsOIDEiBCHse8qw=
|
||||
=1iNk
|
||||
-----END PGP SIGNATURE-----
|
||||
3
powerdevil-6.4.2.tar.xz
Normal file
3
powerdevil-6.4.2.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cbf89f25efc8cb87c47c52eb575781b236a353796f73172a43b88d441662c6c5
|
||||
size 1229252
|
||||
11
powerdevil-6.4.2.tar.xz.sig
Normal file
11
powerdevil-6.4.2.tar.xz.sig
Normal file
@@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCgAdFiEEs8s2ZVJUC+Bu6a2XEZaMRJKMrvwFAmhjylEACgkQEZaMRJKM
|
||||
rvz86wf+OI2Oy1CTK3l3Q5LLCDHadbEUlZYT5RgOXIR3yoEeKd+3i2OxuguC/yvR
|
||||
wI2i6CprKcvBJpXso062ADNdYQcByw7Fnb8aB2/AvJXkjx9SP24QR/hBa+DdpuCT
|
||||
jX/N6T3WMxKL7JgBLfQqTRQj0B4LNChajl/ctO+lkcdIU4W80NXqjwun7oYILBT4
|
||||
rHCJKTf03d1Ve5hG/LXkOOB5Hgm8+3UMpqblyhYC4MlTRsyui02s2VTW4zw3D871
|
||||
Ev7FSbpAYhoPBLo1nPPKhFia960pDKU4lW1buSy5Z3iNaO7njUfZqCMzWp575+vb
|
||||
yezYiLswlDFIJwh6qSbax7omsuhanA==
|
||||
=1HbW
|
||||
-----END PGP SIGNATURE-----
|
||||
@@ -1,3 +1,236 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 1 13:11:49 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.4.2:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.4.2
|
||||
- Changes since 6.4.1:
|
||||
* Update version for new release 6.4.2
|
||||
* systemd: disable CAP_WAKE_ALARM (kde#506052)
|
||||
* Don't suspend while already suspending
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 24 11:56:32 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.4.1:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.4.1
|
||||
- Changes since 6.4.0:
|
||||
* Update version for new release 6.4.1
|
||||
* PowerDevilAction: refresh action timers on inhibition changes (kde#504553)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 12 10:38:03 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.4.0:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.4.0
|
||||
- Changes since 6.3.91:
|
||||
* Update version for new release 6.4.0
|
||||
* Achieve WCAG AA text contrast for de-emphasized labels
|
||||
* applets: fix plasmashell freeze on very wide panels
|
||||
* applets: update bugzilla urls
|
||||
* kcm: correct buddyFor relationship for script items (kde#504668)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 29 21:24:29 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.91:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.91
|
||||
- Changes since 6.3.90:
|
||||
* Update version for new release 6.3.91
|
||||
* applets/batterymonitor: don't ask to install PPD when already installed (kde#504889)
|
||||
* applets/batterymonitor: only show one battery icon in desktop tray (kde#504697)
|
||||
* daemon: Fix triggering an assert in KConfigGroup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 19 19:39:08 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.90:
|
||||
* New feature release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.90
|
||||
- Too many changes to list here
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 6 20:14:30 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.5:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.5
|
||||
- Changes since 6.3.4:
|
||||
* update version for new release
|
||||
* daemon: Don't crash if using powerdevil 6.3 with kwin 6.2 (kde#501446)
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 2 10:06:02 UTC 2025 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Update to 6.3.4
|
||||
* New bugfix release
|
||||
* For more details please see:
|
||||
* https://kde.org/announcements/plasma/6/6.3.4
|
||||
- Changes since 6.3.3:
|
||||
* Set up KAboutData earlier
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 11 14:45:13 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.3:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.3
|
||||
- Changes since 6.3.2:
|
||||
* update version for new release
|
||||
* applets/batterymonitor: Warn about higher energy consumption when blocking sleep
|
||||
* kcm: Show warning when disabling autosuspend or setting it too long (kde#501057)
|
||||
* daemon: Fix charge threshold support for Dell laptops, maybe more (kde#497200)
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 25 19:39:02 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.2:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.2
|
||||
- Changes since 6.3.1:
|
||||
* update version for new release
|
||||
* applets/brightness: fix Return press on switch (kde#500702)
|
||||
* actions/screenbrightnesscontrol: Only enable for systems with battery (kde#498771)
|
||||
* actions/screenbrightnesscontrol: More robust against display changes (kde#498771)
|
||||
* daemon/controllers: Introduce DisplayFilter helper class
|
||||
* daemon: Move brightness key handling to ScreenBrightnessAgent
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 18 14:46:15 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.1:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.1
|
||||
- Changes since 6.3.0:
|
||||
* update version for new release
|
||||
* KeyboardBrightnessController: Drop isValid() check for upower interface (kde#486067)
|
||||
* applets/battery: Fix navigation keyboard cycle for the Up key (kde#489099)
|
||||
* kcm: Set buddyFor mnemonics
|
||||
* applets/battery: Fix Space Key on inhibition buttons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 6 13:47:21 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.3.0:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.3.0
|
||||
- Changes since 6.2.91:
|
||||
* update version for new release
|
||||
* kcm: Keep header "Advanced Power Settings…" action visible
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 23 13:47:21 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.91:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.91
|
||||
- Changes since 6.2.90:
|
||||
* update version for new release
|
||||
* daemon: Make sure to load newly supported actions after a refresh (kde#497362)
|
||||
* daemon: Ensure legacy display ids exist before comparing the first one
|
||||
* daemon/actions: don't immediately suspend when the external monitor gets removed (kde#486328)
|
||||
* actions/handlebuttonevents: also trigger suspend if we wake up with the lid closed (kde#476492)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 11 18:30:54 UTC 2025 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.90:
|
||||
* New feature release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.90
|
||||
- Too many changes to list here
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 31 20:51:57 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.5:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.5
|
||||
- Changes since 6.2.4:
|
||||
* update version for new release
|
||||
* daemon: Don't crash in PowerDevil::Core::unloadAllActiveActions() (kde#492349)
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 15:47:58 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.4:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.4
|
||||
- Changes since 6.2.3:
|
||||
* update version for new release
|
||||
* Add dedicated headset and headphone icon for low battery notification
|
||||
* applets/brightness: toggle nightlight only, when enabled (kde#496457)
|
||||
* applets: allow to detect tlp without solid or upower (kde#495918)
|
||||
* applets/brightness: Make brightness of multiple applets stay in sync (kde#495661)
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 5 13:30:46 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.3:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.3
|
||||
- Changes since 6.2.2:
|
||||
* update version for new release
|
||||
* Applets/batterymonitor: correct dbus watcher
|
||||
* applets: react to power-profile-daemon dbus registration (kde#492859)
|
||||
* daemon: Only write DDC brightness after reading and comparing first
|
||||
* daemon: Set ddcutil as missing if initialization fails
|
||||
* autotests: only enable dbus debug message for backlighthelper in brightnesstest
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 14:08:55 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.2:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.2
|
||||
- Changes since 6.2.1:
|
||||
* update version for new release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 15 16:53:54 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.1:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.1
|
||||
- Changes since 6.2.0:
|
||||
* update version for new release
|
||||
* applets/brightness: More robustness for surviving plugin destruction
|
||||
* daemon: Retry failed DDC/CI brightness write also on monitor wake-up
|
||||
* daemon: Retry failed DDC/CI reads and writes repeatedly
|
||||
* applets/brightness: Survive plugin destruction after async wait
|
||||
* update version for new release
|
||||
* applets/brightness: Avoid producing duplicate display sliders (kde#493844)
|
||||
* daemon/actions/dimdisplay: Set brightness separately per display (kde#493111)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 5 10:44:39 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.2.0:
|
||||
* New bugfix release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.2.0
|
||||
- Changes since 6.1.90:
|
||||
* update version for new release
|
||||
* applet: fix power profile label not visible when using ppd
|
||||
* Port popup to PlasmaExtras.Menu (kde#492493)
|
||||
* daemon: Do not compare const and non-const QMap iterator (kde#493519)
|
||||
* applets/batterymonitor: React to D-Bus service (un)register events
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 17 14:54:55 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
- Update to 6.1.90:
|
||||
* New feature release
|
||||
* For more details see https://kde.org/announcements/plasma/6/6.1.90
|
||||
- Too many changes to list here
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 14:55:28 UTC 2024 - Fabian Vogt <fabian@ritter-vogt.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package powerdevil6
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,13 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define kf6_version 6.2.0
|
||||
%define qt6_version 6.6.0
|
||||
%define kf6_version 6.14.0
|
||||
%define qt6_version 6.8.0
|
||||
|
||||
%define rname powerdevil
|
||||
%bcond_without released
|
||||
Name: powerdevil6
|
||||
Version: 6.1.5
|
||||
Version: 6.4.2
|
||||
Release: 0
|
||||
# Full Plasma 6 version (e.g. 6.0.0)
|
||||
%{!?_plasma6_bugfix: %define _plasma6_bugfix %{version}}
|
||||
@@ -55,12 +55,16 @@ BuildRequires: cmake(KF6KIO) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6KirigamiPlatform) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Notifications) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6NotifyConfig) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Runner) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(KF6Screen) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(KF6Solid) >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6XmlGui) >= %{kf6_version}
|
||||
BuildRequires: cmake(LibKWorkspace) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(PlasmaActivities) >= %{_plasma6_bugfix}
|
||||
BuildRequires: cmake(PlasmaWaylandProtocols)
|
||||
BuildRequires: cmake(QCoro6)
|
||||
BuildRequires: cmake(Qt6DBus) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6WaylandClient) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
BuildRequires: pkgconfig(ddcutil)
|
||||
BuildRequires: pkgconfig(libcap)
|
||||
@@ -101,30 +105,42 @@ configuring Power settings.
|
||||
|
||||
%find_lang %{name} --all-name --with-html
|
||||
|
||||
rm -rv %{buildroot}%{_kf6_libdir}/libpowerdevil{core,configcommonprivate}.so
|
||||
rm -rv %{buildroot}%{_kf6_libdir}/libpowerdevilcore.so
|
||||
|
||||
%post
|
||||
%ldconfig
|
||||
%{systemd_user_post plasma-powerdevil.service plasma-powerprofile-osd.service}
|
||||
%{systemd_user_post plasma-powerdevil.service}
|
||||
|
||||
%preun
|
||||
%{systemd_user_preun plasma-powerdevil.service plasma-powerprofile-osd.service}
|
||||
%{systemd_user_preun plasma-powerdevil.service}
|
||||
|
||||
%postun
|
||||
%ldconfig
|
||||
%{systemd_user_postun plasma-powerdevil.service plasma-powerprofile-osd.service}
|
||||
%{systemd_user_postun plasma-powerdevil.service}
|
||||
|
||||
%files
|
||||
%license COPYING*
|
||||
%doc %{_kf6_htmldir}/en/kcontrol/
|
||||
%{_kf6_applicationsdir}/kcm_mobile_power.desktop
|
||||
%{_kf6_applicationsdir}/kcm_powerdevilprofilesconfig.desktop
|
||||
%{_kf6_appstreamdir}/org.kde.plasma.battery.appdata.xml
|
||||
%{_kf6_appstreamdir}/org.kde.plasma.brightness.appdata.xml
|
||||
%{_kf6_configdir}/autostart/powerdevil.desktop
|
||||
%{_kf6_dbuspolicydir}/org.kde.powerdevil.backlighthelper.conf
|
||||
%{_kf6_dbuspolicydir}/org.kde.powerdevil.discretegpuhelper.conf
|
||||
%{_kf6_debugdir}/batterymonitor.categories
|
||||
%{_kf6_debugdir}/powerdevil.categories
|
||||
%{_kf6_libdir}/libpowerdevilconfigcommonprivate.so.*
|
||||
%{_kf6_debugdir}/brightness.categories
|
||||
%{_kf6_libdir}/libpowerdevilcore.so.*
|
||||
%{_kf6_libexecdir}/kauth/backlighthelper
|
||||
%{_kf6_libexecdir}/kauth/chargethresholdhelper
|
||||
%{_kf6_libexecdir}/kauth/discretegpuhelper
|
||||
%{_kf6_notificationsdir}/powerdevil.notifyrc
|
||||
%{_kf6_plasmadir}/plasmoids/org.kde.plasma.battery/
|
||||
%{_kf6_plasmadir}/plasmoids/org.kde.plasma.brightness/
|
||||
%dir %{_kf6_plugindir}/kf6/krunner
|
||||
%{_kf6_plugindir}/kf6/krunner/krunner_powerdevil.so
|
||||
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_mobile_power.so
|
||||
%{_kf6_plugindir}/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so
|
||||
%dir %{_kf6_plugindir}/powerdevil/
|
||||
%dir %{_kf6_plugindir}/powerdevil/action
|
||||
@@ -135,8 +151,11 @@ rm -rv %{buildroot}%{_kf6_libdir}/libpowerdevil{core,configcommonprivate}.so
|
||||
%{_kf6_plugindir}/powerdevil/action/powerdevil_keyboardbrightnesscontrolaction.so
|
||||
%{_kf6_plugindir}/powerdevil/action/powerdevil_powerprofileaction.so
|
||||
%{_kf6_plugindir}/powerdevil/action/powerdevil_runscriptaction.so
|
||||
%{_kf6_plugindir}/powerdevil/action/powerdevil_screenbrightnesscontrolaction.so
|
||||
%{_kf6_plugindir}/powerdevil/action/powerdevil_suspendsessionaction.so
|
||||
%{_kf6_sharedir}/dbus-1/services/org.kde.powerdevil.powerProfileOsdService.service
|
||||
%dir %{_kf6_qmldir}/org/kde/plasma/private/
|
||||
%{_kf6_qmldir}/org/kde/plasma/private/batterymonitor/
|
||||
%{_kf6_qmldir}/org/kde/plasma/private/brightnesscontrolplugin/
|
||||
%{_kf6_sharedir}/dbus-1/system-services/org.kde.powerdevil.backlighthelper.service
|
||||
%{_kf6_sharedir}/dbus-1/system-services/org.kde.powerdevil.chargethresholdhelper.service
|
||||
%{_kf6_sharedir}/dbus-1/system-services/org.kde.powerdevil.discretegpuhelper.service
|
||||
@@ -144,13 +163,8 @@ rm -rv %{buildroot}%{_kf6_libdir}/libpowerdevil{core,configcommonprivate}.so
|
||||
%{_kf6_sharedir}/polkit-1/actions/org.kde.powerdevil.backlighthelper.policy
|
||||
%{_kf6_sharedir}/polkit-1/actions/org.kde.powerdevil.chargethresholdhelper.policy
|
||||
%{_kf6_sharedir}/polkit-1/actions/org.kde.powerdevil.discretegpuhelper.policy
|
||||
%{_kf6_libexecdir}/kauth/backlighthelper
|
||||
%{_kf6_libexecdir}/kauth/chargethresholdhelper
|
||||
%{_kf6_libexecdir}/kauth/discretegpuhelper
|
||||
%{_libexecdir}/org_kde_powerdevil
|
||||
%{_libexecdir}/power_profile_osd_service
|
||||
%{_userunitdir}/plasma-powerdevil.service
|
||||
%{_userunitdir}/plasma-powerprofile-osd.service
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%exclude %{_kf6_htmldir}/en/kcontrol
|
||||
|
||||
Reference in New Issue
Block a user