Hello community, here is the log from the commit of package thermald for openSUSE:Factory checked in at 2020-10-23 12:22:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/thermald (Old) and /work/SRC/openSUSE:Factory/.thermald.new.3463 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "thermald" Fri Oct 23 12:22:51 2020 rev:8 rq:843564 version:2.3 Changes: -------- --- /work/SRC/openSUSE:Factory/thermald/thermald.changes 2020-08-19 18:58:54.991913909 +0200 +++ /work/SRC/openSUSE:Factory/.thermald.new.3463/thermald.changes 2020-10-23 12:24:43.600887284 +0200 @@ -1,0 +2,38 @@ +Wed Oct 21 09:43:37 UTC 2020 - Libor Pechacek <lpecha...@gmx.com> + +- Update to "Release 2.3" + * Merged changes from mjg59 for adaptive + * Requires Linux kernel version 5.8 or later + * By default tries --adaptive and fallback to old style + * Atleast some level of success to use adaptive option on: + (not expected to be on par with Windows DPTF) + Dell XPS 13 9360 + Dell XPS 13 9370 + Dell XPS 13 9380 + Dell XPS 13 7390 2-in-1 + Dell Insperion_7386 + HP Spectre x360 Convertible 15-ch0xx + HP ZBook 15 G5 + Lenovo Thinkpad T480 + * thermald will not run on Lenovo platforms with lap mode sysfs entry + +- Update to "Release 2.2" + * Ignore PPCC power limits when max and min power is same + * Regression in cpufreq cooling device causing min state to get stuck + +- Update to "Release 2.1" + * Workaround for invalid PPCC power limits + * Reduce polling for power when PPCC is not present + +- Update to "Release 2.0" + * Tiger Lake support + * PL1 limit setting from PPCC as is + * Optimize multi step, multi zone control + * Add new tag for product identification "product_sku" + +- Align build procedure with upstream recommendations + +- Fix build on 32bit platforms + Added patch fix-32bit-build.patch + +------------------------------------------------------------------- Old: ---- thermal_daemon-1.9.1.tar.gz New: ---- fix-32bit-build.patch thermal_daemon-2.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ thermald.spec ++++++ --- /var/tmp/diff_new_pack.AWMYIe/_old 2020-10-23 12:24:44.156888879 +0200 +++ /var/tmp/diff_new_pack.AWMYIe/_new 2020-10-23 12:24:44.160888891 +0200 @@ -22,7 +22,7 @@ %endif Name: thermald -Version: 1.9.1 +Version: 2.3 Release: 0 Summary: The Linux Thermal Daemon program from 01.org License: GPL-2.0-or-later @@ -36,11 +36,15 @@ Source11: thermal-monitor.png Patch0: fix-systemd-service.patch Patch1: fix-man-thermald_8.patch +# PATCH-FEATURE-UPSTREAM fix-32bit-build.patch https://github.com/intel/thermal_daemon/pull/264 +Patch2: fix-32bit-build.patch +BuildRequires: autoconf-archive BuildRequires: automake BuildRequires: dbus-1-devel BuildRequires: dbus-1-glib-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel +BuildRequires: gtk-doc BuildRequires: hicolor-icon-theme BuildRequires: libxml2-devel BuildRequires: pkgconfig @@ -51,7 +55,10 @@ BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(libevdev) +BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(systemd) +BuildRequires: pkgconfig(upower-glib) Requires(post): %fillup_prereq Suggests: acpica Suggests: dptfxtract @@ -78,14 +85,14 @@ %autosetup -n thermal_daemon-%{version} -p1 %build -autoreconf -fiv +NO_CONFIGURE=1 ./autogen.sh %configure -make %{?_smp_mflags} CFLAGS="%{optflags}" +%make_build CFLAGS="%{optflags}" %sysusers_generate_pre %{SOURCE2} power pushd tools/thermal_monitor %qmake5 ThermalMonitor.pro -make %{?_smp_mflags} +%make_build popd %install ++++++ fix-32bit-build.patch ++++++ >From 0710804c2c2747839231142c6be95485ed1707b7 Mon Sep 17 00:00:00 2001 From: Benjamin Berg <bb...@redhat.com> Date: Tue, 25 Aug 2020 15:01:56 +0200 Subject: [PATCH] adaptive: Fix 64bit printing on non-64bit machines --- src/thd_engine_adaptive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thd_engine_adaptive.cpp b/src/thd_engine_adaptive.cpp index acae7d41caed..8d33153044d5 100644 --- a/src/thd_engine_adaptive.cpp +++ b/src/thd_engine_adaptive.cpp @@ -183,7 +183,7 @@ void cthd_engine_adaptive::dump_apat() thd_log_info("..apat dump begin.. \n"); for (unsigned int i = 0; i < targets.size(); ++i) { thd_log_info( - "target_id:%lu name:%s participant:%s domain:%d code:%s argument:%s\n", + "target_id:%" PRIu64 " name:%s participant:%s domain:%d code:%s argument:%s\n", targets[i].target_id, targets[i].name.c_str(), targets[i].participant.c_str(), (int)targets[i].domain, targets[i].code.c_str(), targets[i].argument.c_str()); -- 2.28.0 ++++++ fix-systemd-service.patch ++++++ --- /var/tmp/diff_new_pack.AWMYIe/_old 2020-10-23 12:24:44.192888982 +0200 +++ /var/tmp/diff_new_pack.AWMYIe/_new 2020-10-23 12:24:44.192888982 +0200 @@ -1,6 +1,6 @@ --- a/data/thermald.service.in +++ b/data/thermald.service.in -@@ -3,9 +3,13 @@ +@@ -4,9 +4,13 @@ [Service] Type=dbus @@ -10,8 +10,8 @@ +EnvironmentFile=-/etc/sysconfig/thermald SuccessExitStatus=1 BusName=org.freedesktop.thermald --ExecStart=@sbindir@/thermald --no-daemon --dbus-enable -+ExecStart=@sbindir@/thermald --no-daemon --dbus-enable --config-file ${THERMALD_CONFIG} --poll-interval $THERMALD_POLL $THERMALD_OPTS +-ExecStart=@sbindir@/thermald --systemd --dbus-enable --adaptive ++ExecStart=@sbindir@/thermald --systemd --dbus-enable --adaptive --config-file ${THERMALD_CONFIG} --poll-interval $THERMALD_POLL $THERMALD_OPTS [Install] WantedBy=multi-user.target ++++++ thermal_daemon-1.9.1.tar.gz -> thermal_daemon-2.3.tar.gz ++++++ ++++ 7974 lines of diff (skipped)