72 Commits

Author SHA256 Message Date
Thomas Renninger
5e1edd2e13 Merge remote-tracking branch 'obs/factory' into PR_factory_f5d07a9 2026-02-26 16:18:16 +01:00
Thomas Renninger
9ebe0db9ce Forward factory to slfo-main
Automated forward of factory to slfo-main using git-obs.
2026-02-24 16:24:39 +01:00
421e760d14 Accepting request 1334572 from hardware
- Remove power group
- Adjust URL to github repository
A power_user_cleanups.patch
D thermald-group.conf

- Remove thermal-monitor package (compare with last commit message
  of mainline update changelog below)
D thermal-monitor.desktop
D thermal-monitor.png
D 0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch
- Update to version 2.5.10.58.git+49457fb:
  * Add NovaLake
  * Auto discover paths for int3400
  * Change to const ref for blockedlist_paths
  * Add ARM backend and enable ARM platform detection
  * Invoke parser_init before platform_match
  * Refactor Intel-specific logic into separate files
  * Use delegating constructors to avoid duplication
  * Annotate overridden methods with override
  * Update Release to 2.5.11
  * Check for start path instead of anywhere
  * 2.5.11-rc release
  * Add NOT_EQUAL(4) comparison type for APCT
  * Fix some dbus test script and handling
  * Fix bug introduced while shuffling rapl cdev
  * Return error on non when file not present
  * Fix clang-tidy warning for thd_gddv
  * Change trip_pt_cdev_t to class
  * Avoid copy-by-value for sorting functions
  * Use C++11 default copy constructor and operator=

OBS-URL: https://build.opensuse.org/request/show/1334572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=22
2026-02-24 14:40:29 +00:00
59dcdfd34f - Remove power group
- Adjust URL to github repository
A power_user_cleanups.patch
D thermald-group.conf

OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=60
2026-02-23 09:58:25 +00:00
01d2e53f6e - Remove thermal-monitor package (compare with last commit message
of mainline update changelog below)
D thermal-monitor.desktop
D thermal-monitor.png
D 0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch

OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=59
2026-02-20 15:46:40 +00:00
f4a8401379 - Update to version 2.5.10.58.git+49457fb:
* Add NovaLake
  * Auto discover paths for int3400
  * Change to const ref for blockedlist_paths
  * Add ARM backend and enable ARM platform detection
  * Invoke parser_init before platform_match
  * Refactor Intel-specific logic into separate files
  * Use delegating constructors to avoid duplication
  * Annotate overridden methods with override
  * Update Release to 2.5.11
  * Check for start path instead of anywhere
  * 2.5.11-rc release
  * Add NOT_EQUAL(4) comparison type for APCT
  * Fix some dbus test script and handling
  * Fix bug introduced while shuffling rapl cdev
  * Return error on non when file not present
  * Fix clang-tidy warning for thd_gddv
  * Change trip_pt_cdev_t to class
  * Avoid copy-by-value for sorting functions
  * Use C++11 default copy constructor and operator=
  * XML config file sanity
  * Add sysfs path for Wildcat Lake
  * Add Wildcat Lake to support list
  * Fix test scripts
  * Add rapl_controller back
  * Fix loglevel=debug
  * Change the config file path
  * Coverity fixes
  * Use unique_ptr to avoid manual memory management
  * Allow root only sender and allow only sysfs paths

OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=58
2026-02-18 15:14:19 +00:00
64ccdf0797 Accepting request 1330151 from hardware
OBS-URL: https://build.opensuse.org/request/show/1330151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=21
2026-01-31 15:17:49 +00:00
f5d07a973e Accepting request 1330151 from hardware
OBS-URL: https://build.opensuse.org/request/show/1330151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=21
2026-01-31 15:17:49 +00:00
d2144f6f61 - Move update-desktop-file dependency into with_thermalmonitor which
is_openSUSE only and by that remove update-desktop-file dependency for SLE
  (jsc#PED-15244)
  Do the bigger cleanup and replace update-desktop-file with translate-suse-desktop
  for openSUSE with a follow up.

OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=56
2026-01-31 12:33:48 +00:00
cc90942b80 Accepting request 1330150 from home:trenn:branches:hardware
- Move update-desktop-file dependency into with_thermalmonitor which
  is_openSUSE only and by that remove update-desktop-file dependency for SLE
  (jsc#PED-15244)
  Do the bigger cleanup and replace update-desktop-file with translate-suse-desktop
  for openSUSE with a follow up.

OBS-URL: https://build.opensuse.org/request/show/1330150
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=56
2026-01-31 12:33:48 +00:00
7c8c93848d Accepting request 1325947 from hardware
OBS-URL: https://build.opensuse.org/request/show/1325947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=20
2026-01-08 14:28:55 +00:00
8626f34964 Accepting request 1325947 from hardware
OBS-URL: https://build.opensuse.org/request/show/1325947
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=20
2026-01-08 14:28:55 +00:00
7a2b161ca2 Accepting request 1324794 from home:dimstar:Factory
Together with sr#1324793, this manages to build on old and new systems

OBS-URL: https://build.opensuse.org/request/show/1324794
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=54
2026-01-08 11:30:12 +00:00
c573df684e Together with sr#1324793, this manages to build on old and new systems
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=54
2026-01-08 11:30:12 +00:00
23704bcbc1 Accepting request 1319982 from hardware
OBS-URL: https://build.opensuse.org/request/show/1319982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=19
2025-11-26 16:15:07 +00:00
5b37117195 Accepting request 1319982 from hardware
OBS-URL: https://build.opensuse.org/request/show/1319982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=19
2025-11-26 16:15:07 +00:00
56a2ed9c9a Accepting request 1319970 from home:favogt:branches:hardware
- Switch _service to use mode="manual"
- Replace fix_qcustomplot_name.patch with
  0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch
- Update to version 2.5.10.4.git+f284686:
  * itmt3 support
  * Compile issue on i586 for time_t print
  * Fix version in README.txt
  * Update version to 2.5.10
  * Release 2.5.10
  * Fix coverity reported error
  * Check for target code ITMT3
  * Update Panther Lake sysfs paths
  * Use correct format specifier for time_t
  * Don't reset clamp bit for MSR RAPL
  * Add power floor event processing
  * Dynamic zone: Fix the call to add cdevs
  * Also fix dir leak on error return path
  * Fix resource leak on opened dir descriptor
  * Release 2.5.9
  * Intel P-state passive mode
  * Add Panther Lake to the supported list
  * Auto detect int3400 base path
  * Fix file descriptor leaks on error return paths
  * src: thd_dbus_interface: add extra sanity check on introspection_data
  * test: Fix spelling mistake "Ploting" -> "Plotting"
  * Update kernel module for API update
  * gddv test file generator
  * Load GDDV from a file
  * Replace " \n" with "\n"
  * Release 2.5.8

OBS-URL: https://build.opensuse.org/request/show/1319970
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=52
2025-11-25 12:08:38 +00:00
e3ca3d7280 - Switch _service to use mode="manual"
- Replace fix_qcustomplot_name.patch with
  0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch
- Update to version 2.5.10.4.git+f284686:
  * itmt3 support
  * Compile issue on i586 for time_t print
  * Fix version in README.txt
  * Update version to 2.5.10
  * Release 2.5.10
  * Fix coverity reported error
  * Check for target code ITMT3
  * Update Panther Lake sysfs paths
  * Use correct format specifier for time_t
  * Don't reset clamp bit for MSR RAPL
  * Add power floor event processing
  * Dynamic zone: Fix the call to add cdevs
  * Also fix dir leak on error return path
  * Fix resource leak on opened dir descriptor
  * Release 2.5.9
  * Intel P-state passive mode
  * Add Panther Lake to the supported list
  * Auto detect int3400 base path
  * Fix file descriptor leaks on error return paths
  * src: thd_dbus_interface: add extra sanity check on introspection_data
  * test: Fix spelling mistake "Ploting" -> "Plotting"
  * Update kernel module for API update
  * gddv test file generator
  * Load GDDV from a file
  * Replace " \n" with "\n"
  * Release 2.5.8

OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=52
2025-11-25 12:08:38 +00:00
44443b5c78 Accepting request 1186571 from hardware
OBS-URL: https://build.opensuse.org/request/show/1186571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=18
2024-07-11 18:30:25 +00:00
54175c68ce Accepting request 1186571 from hardware
OBS-URL: https://build.opensuse.org/request/show/1186571
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=18
2024-07-11 18:30:25 +00:00
9bda0422f3 Accepting request 1185862 from home:amanzini:branches:hardware
- Update to version 2.5.7.17.git+fc7464a:
  * Use common macro for temperature conversion
  * Account when no adaptive conditions present
  * Remove dbus-glib-devel
  * Add Lunar Lake M support
  * thd_engine_default: Drop modem support
  * main: remove deprecated API
  * Remove dependency on lzma lib
  * Add security reporting file
  * Downgrade log level on "Unsupported condition"
  * Fix seg fault when there is no config file
  * Process a single trip in a zone with a target state
  * Fix Terminate and Reinit method
  * Fix incorrect ioctl numbers used for reading PSVT

OBS-URL: https://build.opensuse.org/request/show/1185862
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=50
2024-07-10 10:30:05 +00:00
7db0187b72 Accepting request 1185862 from home:amanzini:branches:hardware
- Update to version 2.5.7.17.git+fc7464a:
  * Use common macro for temperature conversion
  * Account when no adaptive conditions present
  * Remove dbus-glib-devel
  * Add Lunar Lake M support
  * thd_engine_default: Drop modem support
  * main: remove deprecated API
  * Remove dependency on lzma lib
  * Add security reporting file
  * Downgrade log level on "Unsupported condition"
  * Fix seg fault when there is no config file
  * Process a single trip in a zone with a target state
  * Fix Terminate and Reinit method
  * Fix incorrect ioctl numbers used for reading PSVT

OBS-URL: https://build.opensuse.org/request/show/1185862
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=50
2024-07-10 10:30:05 +00:00
25f28c0c88 Accepting request 1132506 from hardware
OBS-URL: https://build.opensuse.org/request/show/1132506
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=17
2023-12-11 20:51:39 +00:00
255322e34e Accepting request 1132501 from home:favogt:branches:hardware
- Remove use of %with_thermalmonitor where not necessary
- Check for %is_opensuse instead of %suse_version
- Remove wrong %config from a data file
- Package the ThermalMonitor license file

OBS-URL: https://build.opensuse.org/request/show/1132501
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=48
2023-12-11 13:54:58 +00:00
7343f454ca Accepting request 1129916 from home:aschnell:branches:hardware
- build ThermalMonitor only if qcustomplot is available

OBS-URL: https://build.opensuse.org/request/show/1129916
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=47
2023-12-11 13:32:24 +00:00
c32ec9e6a4 Accepting request 1117522 from hardware
Dbus API config file move from /etc to /usr/etc
needs security review from:
bsc#1215873
and rpmlint adoptions from
Submitrequest #1116871
which is currently in staging area.
- jsc#PED-5716 Enable support for Thermal Controls on platform
- Move of dbus config files from /etc to /usr/share
- Fix wrongly written library name
A fix_qcustomplot_name.patch
- Make use of _service (git scm) service file:
A    _service
A    _servicedata
A    thermal_daemon-2.5.4.0.git+63b290f.obscpio
A    thermal_daemon.obsinfo
- Update to version 2.5.4.0.git+63b290f:
  * Release 2.5.4
  * Change the sorting order when min_max_valid
  * Process case when target matches after init
  * Remove memset for pid_param_t to 0
  * Remove check for new_passive < critical
  * domain_name not set and used in thd_cdev_rapl
  * build warning, ret is assigned for sysfs write
  * Remove duplicate type_type == HOT comparison

OBS-URL: https://build.opensuse.org/request/show/1117522
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=16
2023-10-13 21:15:01 +00:00
5716d04d9d Accepting request 1113686 from home:trenn:branches:hardware
- jsc#PED-5716 Enable support for Thermal Controls on platform
- Move of dbus config files from /etc to /usr/share
- Fix wrongly written library name
A fix_qcustomplot_name.patch
- Make use of _service (git scm) service file:
A    _service
A    _servicedata
A    thermal_daemon-2.5.4.0.git+63b290f.obscpio
A    thermal_daemon.obsinfo
- Update to version 2.5.4.0.git+63b290f:
  * Release 2.5.4
  * Change the sorting order when min_max_valid
  * Process case when target matches after init
  * Remove memset for pid_param_t to 0
  * Remove check for new_passive < critical
  * domain_name not set and used in thd_cdev_rapl
  * build warning, ret is assigned for sysfs write
  * Remove duplicate type_type == HOT comparison

OBS-URL: https://build.opensuse.org/request/show/1113686
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=45
2023-09-26 14:57:04 +00:00
94a3d3e694 Accepting request 1098373 from hardware
OBS-URL: https://build.opensuse.org/request/show/1098373
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=15
2023-07-12 15:28:17 +00:00
fa7794141d Accepting request 1098372 from home:amanzini:branches:hardware
- update to 2.5.3:
  * Support for Meteor Lake

OBS-URL: https://build.opensuse.org/request/show/1098372
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=43
2023-07-12 14:02:27 +00:00
687669024b Accepting request 1079843 from hardware
OBS-URL: https://build.opensuse.org/request/show/1079843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=14
2023-04-17 15:41:24 +00:00
a3b5088068 Accepting request 1079780 from home:dirkmueller:Factory
- update to 2.5.2:
  * Support Alder Lake N
  * Support ITMT version 2, which is used in some Raptor Lake
    systems

OBS-URL: https://build.opensuse.org/request/show/1079780
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=41
2023-04-17 06:36:23 +00:00
64be608dd5 Accepting request 1036645 from hardware
OBS-URL: https://build.opensuse.org/request/show/1036645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=13
2022-11-18 14:44:26 +00:00
b8a802ea77 Accepting request 1036641 from home:dimstar:Factory
- Update to version 2.5.1:
  + Always match motion = 0.
  + Add RaptorLake S CPU models.
  + Manual: thermal-conf.xml - clean up lintian warnings and .IP
    formatting.

OBS-URL: https://build.opensuse.org/request/show/1036641
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=39
2022-11-18 12:08:53 +00:00
fd08ea212b Accepting request 1007829 from hardware
OBS-URL: https://build.opensuse.org/request/show/1007829
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=12
2022-10-04 18:38:00 +00:00
98426e9ebd Accepting request 1007826 from home:tjyrinki_suse:branches:hardware
- Remove --disable-active-power from the service file and sysconfig (boo#1203991)

OBS-URL: https://build.opensuse.org/request/show/1007826
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=37
2022-10-04 08:44:23 +00:00
808a53f013 Accepting request 990510 from hardware
OBS-URL: https://build.opensuse.org/request/show/990510
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=11
2022-07-22 17:20:31 +00:00
bf6b3f2195 Accepting request 990507 from home:fcrozat:branches:hardware
- Update to 2.5:
  * Support of new thermal table for Alder Lake
  * Add Raptor Lake in the list

OBS-URL: https://build.opensuse.org/request/show/990507
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=35
2022-07-21 08:40:56 +00:00
dde9278e71 Accepting request 965850 from hardware
OBS-URL: https://build.opensuse.org/request/show/965850
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=10
2022-03-30 18:35:55 +00:00
5d1a69702c Accepting request 965568 from home:favogt:branches:hardware
- Update to 2.4.9:
  * Fix performance issues for Dell Latitude 5421
  * Fix performance issues for Dell Latitude 7320/7420
    (Depend on kernel patch "thermal: int340x: Update OS policy capability handshake")
  * Adaptive improvements from Benzea
  * Thermal Monitor fixes and cosmetic updates
  * Documentation updates from Colin King
  * Static analysis fixes from Benzea
    (includes power-profiles-daemon integration and
     removal of deprecated UPower API use)
  * Fix test for compressed data vaults
- Update to 2.4.8
  * Fix Ideapad thermal shutdown issue #328
- Update to 2.4.7:
  * Fix AC/DC power limit issue in some HP TigerLake systems
  * Regression fix for RAPL MSR usage in xml config file
  * Added Japer Lake and Alder Lake CPU models
  * Debug scripts for log collection to upload
- Drop patches, now upstream:
  * fix-man-thermald_8.patch
- Don't build with -Werror

OBS-URL: https://build.opensuse.org/request/show/965568
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=33
2022-03-30 09:04:51 +00:00
938e9bff8a Accepting request 906420 from hardware
OBS-URL: https://build.opensuse.org/request/show/906420
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=9
2021-07-15 22:00:38 +00:00
3838502489 Accepting request 906418 from home:polslinux:branches:hardware
- Update to 2.4.6:
  * Support for Rocket Lake and Commet Lake CPU model
  * Tiger Lake DPTF tables support
  * CPU stuck at low frequency on two models (issue 280)
  * Changes related to PID and exit codes
  * Minor change for Dell XPS 13 with Tiger Lake.
  * Issue with Dell Latitude 7400. 
  * Allow --ingore-cpuid-check to use with --adaptive option
  * Address low performance with Dell Latitude 5420 with the latest BIOS
  * Fix for Ubuntu bug 1930422
- Rebase fix-man-thermald_8.patch
- Rebase fix-systemd-service.patch
- Drop fix-32bit-build.patch

OBS-URL: https://build.opensuse.org/request/show/906418
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=32
2021-07-15 08:41:36 +00:00
d380c58de5 Accepting request 843564 from hardware
OBS-URL: https://build.opensuse.org/request/show/843564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=8
2020-10-23 10:22:51 +00:00
863f5a6436 Accepting request 843560 from home:LPechacek:branches:hardware
With updated BuildRequires and patch description.

- 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

OBS-URL: https://build.opensuse.org/request/show/843560
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=30
2020-10-23 08:55:57 +00:00
cc4a844f5f Accepting request 827740 from hardware
OBS-URL: https://build.opensuse.org/request/show/827740
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=7
2020-08-19 16:57:32 +00:00
30311cc5a1 Accepting request 827633 from home:dimstar:Factory
- Fix invalid usage of %{_libexecdir} for systemd owned paths below
  %{_prefix}/lib.

OBS-URL: https://build.opensuse.org/request/show/827633
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=28
2020-08-19 08:00:15 +00:00
8cde638eaa Accepting request 761495 from hardware
OBS-URL: https://build.opensuse.org/request/show/761495
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=6
2020-01-07 22:54:50 +00:00
2990230be4 Accepting request 760620 from home:munix9:branches:hardware
- Update to "Release 1.9.1"
- removed fix_long_int_i586_issue.patch and
  fix_missing_include.patch (solved upstream)
- added fix-man-thermald_8.patch and fix-systemd-service.patch
- added "power" system group
- added fillup-templates/sysconfig.thermald
- added thermal-monitor package

OBS-URL: https://build.opensuse.org/request/show/760620
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=26
2020-01-07 09:46:24 +00:00
b1f9572655 Accepting request 647322 from hardware
- 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.

- 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

- 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

OBS-URL: https://build.opensuse.org/request/show/647322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=5
2018-11-09 06:55:29 +00:00
1ce8ca781c A fix_long_int_i586_issue.patch
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=24
2018-11-08 14:09:38 +00:00
5814d782f8 Accepting request 647304 from home:SchoolGuy:branches:hardware
- Fix build for Leap 42.3 (include missing header file)
A fix_missing_include.patch
- Fix build for i586
A fix_long_int_i356_issue.patch
- Remove thermal-conf.xml as done mainline and add it to the docs
  directory. This is an example only.
- 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

OBS-URL: https://build.opensuse.org/request/show/647304
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=23
2018-11-08 13:46:02 +00:00
42dd44c079 Accepting request 556697 from home:pluskalm:branches:hardware
- 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

OBS-URL: https://build.opensuse.org/request/show/556697
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=22
2017-12-13 15:42:39 +00:00
4f756e9c64 Accepting request 482902 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/482902
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=4
2017-04-06 09:02:07 +00:00
2214005971 Accepting request 482901 from home:favogt:branches:hardware
- Use the correct file for installation as module list (boo#1028596)
- Update to version 1.6:
  * Add Kabylake and missing Broadwell CPU model
  * Removed deprecated modules
  * Added passive trip between critical and max, to allow fan to take control first
  * Fixed clash when multiple zones and trips controlling same cdev

OBS-URL: https://build.opensuse.org/request/show/482901
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=20
2017-03-27 14:13:37 +00:00
d04fb9acfe Accepting request 461276 from hardware
Have to supersede because of missing review by security-team on the duplicated request

OBS-URL: https://build.opensuse.org/request/show/461276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=3
2017-03-22 22:18:03 +00:00
6e7c0993d0 Accepting request 459061 from home:pluskalm:branches:hardware
Turns out there is upstream changelog available ...

OBS-URL: https://build.opensuse.org/request/show/459061
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=18
2017-02-19 20:35:02 +00:00
71c9e0ce9a Accepting request 449621 from home:pluskalm:branches:hardware
- Update to version 1.5.4:
  * No upstream changelog provided
- Packaging cleanup:
  - Run spec-cleaner
  - Use pretty name for downloaded archive
  - Drop not needed service
  - Remove fedora conditionals

OBS-URL: https://build.opensuse.org/request/show/449621
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=17
2017-01-11 09:02:54 +00:00
2157d3bdfb Accepting request 381120 from hardware
1

OBS-URL: https://build.opensuse.org/request/show/381120
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=2
2016-03-31 11:03:06 +00:00
Ismail Dönmez
9ea1236a45 Accepting request 381108 from home:k0da:branches:hardware
- Set exclusivearch to intel architectures

OBS-URL: https://build.opensuse.org/request/show/381108
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=15
2016-03-29 11:27:46 +00:00
537fab3f39 Accepting request 368529 from hardware
OBS-URL: https://build.opensuse.org/request/show/368529
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thermald?expand=0&rev=1
2016-03-26 14:22:40 +00:00
a761dac43c OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=13 2016-03-08 14:09:07 +00:00
7d0cf9f689 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=12 2016-03-08 13:28:01 +00:00
c92f5a8682 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=11 2016-03-08 13:27:46 +00:00
df4040b4cc OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=10 2016-03-08 12:36:54 +00:00
86dc015f15 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=9 2016-03-07 09:55:06 +00:00
0f6939dc09 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=8 2016-03-07 09:54:55 +00:00
a0db8d260c OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=7 2016-03-07 08:18:26 +00:00
9d6519d909 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=6 2016-03-07 08:15:33 +00:00
badee250de Accepting request 367185 from home:bosim:branches:hardware
OBS-URL: https://build.opensuse.org/request/show/367185
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=5
2016-03-06 21:07:54 +00:00
fdbb027853 OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=4 2015-12-02 11:09:46 +00:00
500a1cabeb OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=3 2015-12-01 14:56:57 +00:00
2c6bd5380c - Disable _service and run manually
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=2
2015-11-06 10:28:07 +00:00
7b5625e507 Accepting request 342258 from home:favogt:branches:home:assmannst
Might be useful as well.

OBS-URL: https://build.opensuse.org/request/show/342258
OBS-URL: https://build.opensuse.org/package/show/hardware/thermald?expand=0&rev=1
2015-11-03 14:07:30 +00:00
14 changed files with 266 additions and 96 deletions

3
.gitattributes vendored
View File

@@ -1,4 +1,4 @@
## Default LFS
*.changes merge=merge-changes
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
@@ -12,6 +12,7 @@
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tar filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text

5
.gitignore vendored
View File

@@ -1 +1,4 @@
.osc
*.obscpio
*.osc
_build.*
.pbuild

View File

@@ -1,13 +1,14 @@
<services>
<service name="obs_scm" mode="disabled">
<service name="obs_scm" mode="manual">
<param name="url">https://github.com/intel/thermal_daemon.git</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="revision">master</param>
<!-- Work around https://github.com/intel/thermal_daemon/issues/487 -->
<param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@.git+%h</param>
<param name="versionrewrite-pattern">v(.*)</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="set_version" mode="manual"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/intel/thermal_daemon.git</param>
<param name="changesrevision">63b290f20da115f62f5bbd39a28fa5afe0f6efc2</param></service></servicedata>
<param name="changesrevision">49457fb1fdbadecca95b787c744dfcf7ded8a966</param></service></servicedata>

View File

@@ -1,13 +0,0 @@
Index: thermal_daemon-2.5.4.0.git+63b290f/tools/thermal_monitor/ThermalMonitor.pro
===================================================================
--- thermal_daemon-2.5.4.0.git+63b290f.orig/tools/thermal_monitor/ThermalMonitor.pro
+++ thermal_daemon-2.5.4.0.git+63b290f/tools/thermal_monitor/ThermalMonitor.pro
@@ -14,7 +14,7 @@ CONFIG(release): DEFINES += QT_NO_DEBUG_
TARGET = ThermalMonitor
TEMPLATE = app
-LIBS += -lQCustomPlot
+LIBS += -lqcustomplot
SOURCES += main.cpp\
mainwindow.cpp \

100
power_user_cleanups.patch Normal file
View File

@@ -0,0 +1,100 @@
commit a61ee71126ed8b6b50baa50032ed729780ba321f
Author: Thomas Renninger <trenn@suse.de>
Date: Mon Feb 23 09:29:06 2026 +0100
Remove power group leftovers
This is more or less a revert of:
cbc36d6062098f5d6384d966f3d562d84fa763a6
diff --git a/configure.ac b/configure.ac
index c82da71..86d0838 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,14 +25,6 @@ else
fi
AC_SUBST(DBUS_SYS_DIR)
-AC_ARG_WITH(dbus-power-group, AS_HELP_STRING([--with-dbus-power-group=GROUP], [group that is allowed to connect to D-BUS service]))
-if test -n "$with_dbus_power_group" ; then
- DBUS_POWER_GROUP="$with_dbus_power_group"
-else
- DBUS_POWER_GROUP="power"
-fi
-AC_SUBST(DBUS_POWER_GROUP)
-
# paths
AC_SUBST(tdbinary, "$sbindir/$PACKAGE", [Binary executable])
AC_SUBST(tdconfdir, "$sysconfdir/$PACKAGE", [Configuration directory])
diff --git a/data/Makefile.am b/data/Makefile.am
index a08d88e..edca1f4 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -23,16 +23,8 @@ service_edit = sed \
endif # HAVE_SYSTEMD
-dbusservice_edit = sed \
- -e 's|@dbusservicepowergrp[@]|$(dbusservicepowergrp)|g'
-
-org.freedesktop.thermald.conf: org.freedesktop.thermald.conf.in
- @$(dbusservice_edit) $< >$@
-
-dbusservicepowergrp = $(DBUS_POWER_GROUP)
dbusservicedir = $(DBUS_SYS_DIR)
-dbusservice_in_files = org.freedesktop.thermald.conf.in
-dbusservice_DATA = $(dbusservice_in_files:.conf.in=.conf)
+dbusservice_DATA = org.freedesktop.thermald.conf
tdconfigdir = $(tdconfdir)
tdconfig_DATA = \
diff --git a/data/org.freedesktop.thermald.conf b/data/org.freedesktop.thermald.conf
new file mode 100644
index 0000000..43b359d
--- /dev/null
+++ b/data/org.freedesktop.thermald.conf
@@ -0,0 +1,18 @@
+<?xml version="1.0"?> <!--*-nxml-*-->
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+
+<busconfig>
+
+ <policy user="root">
+ <allow own="org.freedesktop.thermald"/>
+ <allow send_destination="org.freedesktop.thermald"/>
+ <allow receive_sender="org.freedesktop.thermald"/>
+ </policy>
+
+ <policy context="default">
+ <deny send_destination="org.freedesktop.thermald"/>
+ <allow receive_sender="org.freedesktop.thermald"/>
+ </policy>
+
+</busconfig>
diff --git a/data/org.freedesktop.thermald.conf.in b/data/org.freedesktop.thermald.conf.in
deleted file mode 100644
index f95525c..0000000
--- a/data/org.freedesktop.thermald.conf.in
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0"?> <!--*-nxml-*-->
-<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
- "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
-
-<busconfig>
-
- <policy user="root">
- <allow own="org.freedesktop.thermald"/>
- <allow send_destination="org.freedesktop.thermald"/>
- <allow receive_sender="org.freedesktop.thermald"/>
- </policy>
-
- <!-- Only allow members of the @dbusservicepowergrp@ group to communicate
- with the daemon -->
- <policy context="default">
- <deny send_destination="org.freedesktop.thermald"/>
- <allow receive_sender="org.freedesktop.thermald"/>
- </policy>
-
-</busconfig>

View File

@@ -1,11 +0,0 @@
[Desktop Entry]
Name=Thermal Monitor
GenericName=Monitoring of temperature
GenericName[de]=Überwachung der Temperatur
Comment=Displays current temperature readings on a graph
Comment[de]=Zeigt die aktuellen Temperaturmesswerte in einer Grafik an
Exec=/usr/bin/ThermalMonitor
Terminal=false
Icon=thermal-monitor
Type=Application
Categories=Qt;System;Monitor;

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8bda8f09c6ad5f3b5842a41b80de352d6fce269d6dfae72e3d6a69652c0e7c74
size 787468

Binary file not shown.

View File

@@ -1,4 +1,4 @@
name: thermal_daemon
version: 2.5.4.0.git+63b290f
mtime: 1691885707
commit: 63b290f20da115f62f5bbd39a28fa5afe0f6efc2
version: 2.5.11.9.git+49457fb
mtime: 1771353183
commit: 49457fb1fdbadecca95b787c744dfcf7ded8a966

View File

@@ -1 +0,0 @@
g power - -

View File

@@ -1,3 +1,147 @@
-------------------------------------------------------------------
Mon Feb 23 09:02:47 UTC 2026 - Thomas Renninger <trenn@suse.com>
- Remove power group
- Adjust URL to github repository
A power_user_cleanups.patch
D thermald-group.conf
-------------------------------------------------------------------
Wed Feb 18 15:07:21 UTC 2026 - trenn@suse.de
- Remove thermal-monitor package (compare with last commit message
of mainline update changelog below)
D thermal-monitor.desktop
D thermal-monitor.png
D 0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch
- Update to version 2.5.10.58.git+49457fb:
* Add NovaLake
* Auto discover paths for int3400
* Change to const ref for blockedlist_paths
* Add ARM backend and enable ARM platform detection
* Invoke parser_init before platform_match
* Refactor Intel-specific logic into separate files
* Use delegating constructors to avoid duplication
* Annotate overridden methods with override
* Update Release to 2.5.11
* Check for start path instead of anywhere
* 2.5.11-rc release
* Add NOT_EQUAL(4) comparison type for APCT
* Fix some dbus test script and handling
* Fix bug introduced while shuffling rapl cdev
* Return error on non when file not present
* Fix clang-tidy warning for thd_gddv
* Change trip_pt_cdev_t to class
* Avoid copy-by-value for sorting functions
* Use C++11 default copy constructor and operator=
* XML config file sanity
* Add sysfs path for Wildcat Lake
* Add Wildcat Lake to support list
* Fix test scripts
* Add rapl_controller back
* Fix loglevel=debug
* Change the config file path
* Coverity fixes
* Use unique_ptr to avoid manual memory management
* Allow root only sender and allow only sysfs paths
* Fix clang-tidy nits
* Configure clang-tidy
* Fix data type
* Update policy config
* Update README for starting service
* Make some globals const
* Android main lockfile
* Do not build string when debug logs are disabled
* Call csys_fs::read helpers where possible
* Remove unnecessary calls to std::string::c_str
* Use more specific ostringstream where appropriate
* Fix unnecessary pass-by-value via clang-tidy
* Return std::string by const ref instead of value
* Plug minor leak in initialization
* Fix miscellaneous clang-tidy nits
* Deprecate thermal monitor
-------------------------------------------------------------------
Sat Jan 31 12:26:45 UTC 2026 - Thomas Renninger <trenn@suse.de>
- Move update-desktop-file dependency into with_thermalmonitor which
is_openSUSE only and by that remove update-desktop-file dependency for SLE
(jsc#PED-15244)
Do the bigger cleanup and replace update-desktop-file with translate-suse-desktop
for openSUSE with a follow up.
-------------------------------------------------------------------
Tue Dec 30 11:26:10 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix build against recent changes of qcustomplot: the library
changed name to qcustomplot-qt5; use pkg-config via the compat
symlink to find the right library name.
-------------------------------------------------------------------
Tue Nov 25 09:50:59 UTC 2025 - Fabian Vogt <fvogt@suse.com>
- Switch _service to use mode="manual"
- Replace fix_qcustomplot_name.patch with
0001-ThermalMonitor.pro-Don-t-hardcode-the-qcustomplot-li.patch
- Update to version 2.5.10.4.git+f284686:
* itmt3 support
* Compile issue on i586 for time_t print
* Fix version in README.txt
* Update version to 2.5.10
* Release 2.5.10
* Fix coverity reported error
* Check for target code ITMT3
* Update Panther Lake sysfs paths
* Use correct format specifier for time_t
* Don't reset clamp bit for MSR RAPL
* Add power floor event processing
* Dynamic zone: Fix the call to add cdevs
* Also fix dir leak on error return path
* Fix resource leak on opened dir descriptor
* Release 2.5.9
* Intel P-state passive mode
* Add Panther Lake to the supported list
* Auto detect int3400 base path
* Fix file descriptor leaks on error return paths
* src: thd_dbus_interface: add extra sanity check on introspection_data
* test: Fix spelling mistake "Ploting" -> "Plotting"
* Update kernel module for API update
* gddv test file generator
* Load GDDV from a file
* Replace " \n" with "\n"
* Release 2.5.8
* Script to plot temperature and trip
* Coverity issue for oveflowed constant
* Coverity: Fix overflowed return value
* Add support for Arrow Lake
* Improve message for processor not supported
* Coverity Errors for Y2K38_SAFETY error
* Coverity Error: Fix unused and uninitialized var
* Coverity Errors: Fix for return value check
* Coverity error: Fix COPY_INSTEAD_OF_MOVE
* Deprecate KBL-G support
* Thermal Monitor: Add trip type back
* Thermal Monitor: Remove deprecated calls
* Fix incorrect integer format specifiers
-------------------------------------------------------------------
Sat Jul 06 08:45:39 UTC 2024 - andrea.manzini@suse.com
- Update to version 2.5.7.17.git+fc7464a:
* Use common macro for temperature conversion
* Account when no adaptive conditions present
* Remove dbus-glib-devel
* Add Lunar Lake M support
* thd_engine_default: Drop modem support
* main: remove deprecated API
* Remove dependency on lzma lib
* Add security reporting file
* Downgrade log level on "Unsupported condition"
* Fix seg fault when there is no config file
* Process a single trip in a zone with a target state
* Fix Terminate and Reinit method
* Fix incorrect ioctl numbers used for reading PSVT
-------------------------------------------------------------------
Mon Dec 11 13:43:22 UTC 2023 - Fabian Vogt <fvogt@suse.com>

View File

@@ -1,7 +1,8 @@
#
# spec file for package thermald
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2026 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,23 +22,18 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
%global with_thermalmonitor 0%{?is_opensuse}
Name: thermald
Version: 2.5.4.0.git+63b290f
Version: 2.5.11.9.git+49457fb
Release: 0
Summary: The Linux Thermal Daemon program from 01.org
License: GPL-2.0-or-later
Group: System/Daemons
URL: https://01.org/linux-thermal-daemon
URL: https://github.com/intel/thermal_daemon.git
Source0: thermal_daemon-%{version}.tar.xz
Source1: %{name}.conf
Source2: %{name}-group.conf
Source3: sysconfig.%{name}
Source10: thermal-monitor.desktop
Source11: thermal-monitor.png
Patch0: fix-systemd-service.patch
Patch1: fix_qcustomplot_name.patch
Patch1: power_user_cleanups.patch
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: gcc-c++
@@ -45,27 +41,16 @@ BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: sysuser-shadow
BuildRequires: sysuser-tools
BuildRequires: update-desktop-files
%if %{with_thermalmonitor}
BuildRequires: qcustomplot-devel
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Widgets)
%endif
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk-doc)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(liblzma)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(systemd)
BuildRequires: pkgconfig(upower-glib)
Requires(post): %fillup_prereq
Suggests: acpica
Suggests: dptfxtract
Suggests: thermal-monitor
ExclusiveArch: %{ix86} x86_64
%sysusers_requires
@@ -73,17 +58,6 @@ ExclusiveArch: %{ix86} x86_64
Thermald is a Linux daemon used to prevent the overheating of platforms.
This daemon monitors temperature and applies compensation using available cooling methods.
%package -n thermal-monitor
Summary: Displays current temperature readings
License: GPL-3.0-or-later
Group: Hardware/Other
Requires: %{name} >= 1.4.3
Requires: group(power)
%description -n thermal-monitor
Thermal Monitor displays current temperature readings on a graph.
To communicate with thermald via dbus, the user has to be member of "power" group.
%prep
%autosetup -n thermal_daemon-%{version} -p1
@@ -91,14 +65,6 @@ To communicate with thermald via dbus, the user has to be member of "power" grou
NO_CONFIGURE=1 ./autogen.sh
%configure --disable-werror
%make_build CFLAGS="%{optflags}"
%sysusers_generate_pre %{SOURCE2} power
%if %{with_thermalmonitor}
pushd tools/thermal_monitor
%qmake5 ThermalMonitor.pro
%make_build
popd
%endif
%install
%make_install
@@ -106,17 +72,9 @@ popd
ln -s service %{buildroot}%{_sbindir}/rcthermald
install -D -m 0755 -t %{buildroot}%{_sbindir}/ tools/thermald_set_pref.sh
install -D -m 0644 -t %{buildroot}%{_prefix}/lib/modules-load.d/ %{SOURCE1}
install -D -m 0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
install -D -m 0644 -t %{buildroot}%{_fillupdir}/ %{SOURCE3}
%if %{with_thermalmonitor}
install -D -m 0755 -t %{buildroot}%{_bindir}/ tools/thermal_monitor/ThermalMonitor
install -D -m 0644 -t %{buildroot}%{_datadir}/applications/ %{SOURCE10}
install -D -m 0644 -t %{buildroot}%{_datadir}/pixmaps/ %{SOURCE11}
%suse_update_desktop_file thermal-monitor
%endif
%pre -f power.pre
%pre
%service_add_pre thermald.service
%post
@@ -147,15 +105,6 @@ install -D -m 0644 -t %{buildroot}%{_datadir}/pixmaps/ %{SOURCE11}
%{_sbindir}/rcthermald
%{_sbindir}/thermald
%{_sbindir}/thermald_set_pref.sh
%{_sysusersdir}/%{name}.conf
%{_unitdir}/thermald.service
%if %{with_thermalmonitor}
%files -n thermal-monitor
%license tools/thermal_monitor/COPYING
%{_bindir}/ThermalMonitor
%{_datadir}/applications/thermal-monitor.desktop
%{_datadir}/pixmaps/thermal-monitor.png
%endif
%changelog