diff --git a/powerdevil-5.19.5-libddcutil-0.9.9.patch b/powerdevil-5.19.5-libddcutil-0.9.9.patch new file mode 100644 index 0000000..5bf6001 --- /dev/null +++ b/powerdevil-5.19.5-libddcutil-0.9.9.patch @@ -0,0 +1,11 @@ +--- powerdevil-5.19.5/daemon/backends/upower/ddcutilbrightness.cpp.orig 2020-09-02 09:38:36.855000000 +0200 ++++ powerdevil-5.19.5/daemon/backends/upower/ddcutilbrightness.cpp 2020-09-02 09:37:12.911000000 +0200 +@@ -56,7 +56,7 @@ + + DDCA_Feature_List vcpList; + ddca_get_feature_list_by_dref(DDCA_SUBSET_COLOR, dh, false, &vcpList); +- qCDebug(POWERDEVIL) << "ddca_feature_list: "<< ddca_feature_list_string(&vcpList, "0x", ","); ++ qCDebug(POWERDEVIL) << "ddca_feature_list: "<< ddca_feature_list_string(vcpList, "0x", ","); + QVector tmpVcpList; + for (int iVcp = 0; iVcp < m_usedVcp.count(); ++iVcp) { + DDCA_Non_Table_Vcp_Value returnValue; diff --git a/powerdevil.spec b/powerdevil.spec index 733f838..1fdd55c 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -1,7 +1,7 @@ %define plasmaver %(echo %version | cut -d. -f1-3) Name: powerdevil -Version: 5.19.4 +Version: 5.19.5 Release: 1mamba Summary: KDE Plasma 5 power management Group: Graphical Desktop/Applications/Configuration @@ -10,6 +10,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/plasma/%{plasmaver}/powerdevil-%{version}.tar.xz +Patch0: powerdevil-5.19.5-libddcutil-0.9.9.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -49,6 +50,7 @@ BuildRequires: libxcb-devel BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules +BuildRequires: libddcutil-devel >= 0.9.9 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -66,6 +68,7 @@ This package contains shared libraries for %{name}. %prep %setup -q +%patch0 -p1 %build %cmake_kde5 -d build \ @@ -112,6 +115,9 @@ This package contains shared libraries for %{name}. %{_libdir}/libpowerdevilui.so.* %changelog +* Wed Sep 02 2020 Automatic Build System 5.19.5-1mamba +- automatic version update by autodist + * Fri Jul 31 2020 Automatic Build System 5.19.4-1mamba - automatic version update by autodist