Hello community,

here is the log from the commit of package thermald for openSUSE:Factory 
checked in at 2018-11-09 07:55:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/thermald (Old)
 and      /work/SRC/openSUSE:Factory/.thermald.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "thermald"

Fri Nov  9 07:55:29 2018 rev:5 rq:647322 version:1.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/thermald/thermald.changes        2017-04-06 
11:02:08.667632337 +0200
+++ /work/SRC/openSUSE:Factory/.thermald.new/thermald.changes   2018-11-09 
07:55:43.271621787 +0100
@@ -1,0 +2,50 @@
+Fri Nov  2 17:28:31 UTC 2018 - tr...@suse.de
+
+- Fix build for Leap 42.3 (include missing header file)
+A fix_missing_include.patch
+- Fix build for i586
+A fix_long_int_i586_issue.patch
+- Remove thermal-conf.xml as done mainline and add it to the docs
+  directory. This is an example only.
+
+-------------------------------------------------------------------
+Mon Oct  1 08:13:40 UTC 2018 - egotth...@suse.com
+
+- Update to "Release 1.8"
+  * Support of KBL-G with discrete GPU
+  * Fast removal of any cooling action which was applied once
+    temperature is normal
+  * Android support
+  * Add Hot trip point, which when reached just calls "suspend"
+  * Adding new tag "DependsOn" which enable/disable trip based on some other 
trip
+  * Polling interval can be configured via thermal xml config
+  * Per trip PID control
+  * Simplify RAPL cooling device
+
+- Update to "Release 1.7.2"
+  * Workwround for platform with invalid thermal table
+  * Error printing for RAPL constraint sysfs read on failure
+  * thermal-conf.xml.auto  can be read from /etc/thermald, which allows user to
+    modify generated thermal-conf.xml from /var/run/thermald and copy to
+    /etc/termald
+
+-------------------------------------------------------------------
+Wed Dec 13 14:55:43 UTC 2017 - mplus...@suse.com
+
+- Update to version 1.7.1:
+  * Removed dptfxtract binary as there is an issue in packaging
+    this with GPL source for distributions
+- Changes for version 1.7.0:
+  * Add GeminiLake
+  * Add dptfxtract tool, which converts DPTF tables to thermald
+    tables using best effort
+  * Changes to accommodate dptfxtract tool conversions
+  * Better facility to configure fan controls
+  * PID control optimization
+  * Fix powerlimit write errors because of bad FW settings of power
+    limits
+  * More restrictive compile options and warnings as errors
+  * Improve logging
+  * Android build fixes
+
+-------------------------------------------------------------------

Old:
----
  thermald-1.6.tar.gz

New:
----
  _service
  _servicedata
  fix_long_int_i586_issue.patch
  fix_missing_include.patch
  thermald-1.8.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ thermald.spec ++++++
--- /var/tmp/diff_new_pack.gDg4hs/_old  2018-11-09 07:55:46.731617835 +0100
+++ /var/tmp/diff_new_pack.gDg4hs/_new  2018-11-09 07:55:46.759617803 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package thermald
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,21 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           thermald
-Version:        1.6
+Version:        1.8
 Release:        0
 Summary:        The Linux Thermal Daemon program from 01.org
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          System/Daemons
-Url:            https://01.org/linux-thermal-daemon
+URL:            https://01.org/linux-thermal-daemon
 Source0:        
https://github.com/01org/thermal_daemon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source1:        thermald.conf
+Patch0:         fix_long_int_i586_issue.patch
+Patch1:         fix_missing_include.patch
 BuildRequires:  automake
 BuildRequires:  dbus-1-devel
 BuildRequires:  dbus-1-glib-devel
@@ -41,6 +43,7 @@
 
 %prep
 %setup -q -n thermal_daemon-%{version}
+%autopatch -p1
 
 %build
 autoreconf -fiv
@@ -53,9 +56,7 @@
 %install
 %make_install
 
-# Upstart file not needed
-rm %{buildroot}%{_sysconfdir}/init/thermald.conf
-ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcthermald
+ln -s service %{buildroot}%{_sbindir}/rcthermald
 install -Dm644 "%{_sourcedir}/thermald.conf" 
"%{buildroot}/%{_libexecdir}/modules-load.d/thermald.conf"
 
 %post
@@ -68,16 +69,15 @@
 %service_del_postun thermald.service
 
 %files
-%defattr(-,root,root)
 %dir %{_datadir}/dbus-1/system-services
 %dir %{_sysconfdir}/dbus-1/system.d
 %dir %{_sysconfdir}/thermald
 %config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.thermald.conf
-%config %{_sysconfdir}/thermald/thermal-conf.xml
+%doc data/thermal-conf.xml
 %config %{_sysconfdir}/thermald/thermal-cpu-cdev-order.xml
 %{_datadir}/dbus-1/system-services/org.freedesktop.thermald.service
-%{_mandir}/man5/thermal-conf.xml.5%{ext_man}
-%{_mandir}/man8/thermald.8%{ext_man}
+%{_mandir}/man5/thermal-conf.xml.5%{?ext_man}
+%{_mandir}/man8/thermald.8%{?ext_man}
 %{_sbindir}/thermald
 %dir %{_libexecdir}/modules-load.d
 %{_libexecdir}/modules-load.d/thermald.conf

++++++ _service ++++++
<services>
  <service mode="disabled" name="tar_scm">
    <param name="url">https://github.com/intel/thermal_daemon.git</param>
    <param name="scm">git</param>
    <param name="changesgenerate">enable</param>
    <param name="filename">thermal_daemon</param>
    <param name="versionformat">1.8</param>
  </service>
</services>

++++++ _servicedata ++++++
<servicedata>
<service name="tar_scm">
                <param 
name="url">https://github.com/intel/thermal_daemon.git</param>
              <param 
name="changesrevision">c87866e6f0b87be890ecd905ece89031cdba0c0c</param></service></servicedata>++++++
 fix_long_int_i586_issue.patch ++++++
Index: thermal_daemon-1.8/src/thd_zone.cpp
===================================================================
--- thermal_daemon-1.8.orig/src/thd_zone.cpp    2018-09-12 22:58:08.000000000 
+0200
+++ thermal_daemon-1.8/src/thd_zone.cpp 2018-11-02 18:34:30.651800655 +0100
@@ -102,9 +102,13 @@ int cthd_zone::read_user_set_psv_temp()
        return temp;
 }
 
+#define __STDC_FORMAT_MACROS
+
+#include <inttypes.h>
+
 void cthd_zone::sort_and_update_poll_trip() {
-       thd_log_debug("sort_and_update_poll_trip: trip_points_size =%lu\n",
-                       trip_points.size());
+       thd_log_debug("sort_and_update_poll_trip: trip_points_size =%"
+                      PRIuPTR, trip_points.size());
        if (trip_points.size()) {
                unsigned int polling_trip = 0;
 
++++++ fix_missing_include.patch ++++++
From: Thomas Renninger <tr...@suse.de>

Fix compile issue:
src/thd_trip_point.h:46:38: error: 'INT32_MAX' was not declared in this scope
 #define TRIP_PT_INVALID_TARGET_STATE INT32_MAX


Index: thermal_daemon-1.8/src/thd_trip_point.h
===================================================================
--- thermal_daemon-1.8.orig/src/thd_trip_point.h        2018-09-12 
22:58:08.000000000 +0200
+++ thermal_daemon-1.8/src/thd_trip_point.h     2018-11-02 15:57:22.742358004 
+0100
@@ -30,6 +30,7 @@
 #include "thd_preference.h"
 #include "thd_cdev.h"
 #include <time.h>
+#include <stdint.h>
 #include <vector>
 #include <algorithm>    // std::sort
 #include <stdexcept>
++++++ thermald-1.6.tar.gz -> thermald-1.8.tar.gz ++++++
++++ 34351 lines of diff (skipped)


Reply via email to