epel9
Rex Dieter 4 years ago
parent bad93e9c54
commit 61eb7db7a9

1
.gitignore vendored

@ -64,3 +64,4 @@
/powerdevil-5.21.3.tar.xz
/powerdevil-5.21.4.tar.xz
/powerdevil-5.21.5.tar.xz
/powerdevil-5.21.90.tar.xz

@ -1,12 +0,0 @@
diff '--color=auto' -r -U3 powerdevil-5.21.5.orig/daemon/powerdevilpolicyagent.cpp powerdevil-5.21.5/daemon/powerdevilpolicyagent.cpp
--- powerdevil-5.21.5.orig/daemon/powerdevilpolicyagent.cpp 2021-05-04 15:57:30.000000000 +0300
+++ powerdevil-5.21.5/daemon/powerdevilpolicyagent.cpp 2021-05-05 03:45:17.021313522 +0300
@@ -236,7 +236,7 @@
return;
}
- QDBusPendingReply<QDBusObjectPath> session = m_managerIface.data()->asyncCall(QLatin1String("GetSessionByPID"), (quint32) QCoreApplication::applicationPid());
+ QDBusPendingReply<QDBusObjectPath> session = m_managerIface.data()->asyncCall(QLatin1String("GetSession"), QStringLiteral("auto"));
session.waitForFinished();
if (!session.isValid()) {

@ -1,13 +1,13 @@
%global kf5_version 5.42.0
%global kf5_version 5.82.0
Name: powerdevil
Version: 5.21.5
Release: 2%{?dist}
Version: 5.21.90
Release: 1%{?dist}
Summary: Manages the power consumption settings of a Plasma Shell
License: GPLv2+
URL: https://cgit.kde.org/%{name}.git
URL: https://invent.kde.org/plasma/%{name}
%global plasma_version %(echo %{version} | cut -d. -f1,2,3)
%global revision %(echo %{version} | cut -d. -f3)
@ -23,8 +23,6 @@ Source0: http://download.kde.org/%{stable}/plasma/%{plasma_version}/%{name}-%{ve
## upstream patches
## upstreamable patches
# https://bugs.kde.org/show_bug.cgi?id=433408
Patch0: powerdevil-5.21.4-get_session-auto.patch
# filter plugin provides
%global __provides_exclude_from ^(%{_kf5_qtplugindir}/.*\\.so)$
@ -74,10 +72,11 @@ of a daemon (a KDED module) and a KCModule for its configuration.
%build
%{cmake_kf5}
%cmake_kf5
%cmake_build
%install
%cmake_install
@ -117,6 +116,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so
%{_userunitdir}/plasma-powerdevil.service
%changelog
* Sat May 15 2021 Rex Dieter <rdieter@fedoraproject.org> - 5.21.90-1
- 5.21.90
* Wed May 05 2021 Yaroslav Sidlovsky <zawertun@gmail.com> - 5.21.5-2
- added patch to fix #433408

@ -1 +1 @@
SHA512 (powerdevil-5.21.5.tar.xz) = 0d6b9cbd5cbf5cf3d34e3053f352d86586ed3672ddfae068531b899827d65b9e42c5ec0013f684deca501528590ec5074371fa7699aae4d6a20b120e319b625c
SHA512 (powerdevil-5.21.90.tar.xz) = 45b0ac33d9d701a06981b6041ad6e19ecb6b33013053ae0ae87a4be9dddbfbc084e68cbc18d4032f9dd7d61ac4b0df020a3298ba856e92ffd83ee56440dc1f86

Loading…
Cancel
Save