Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package xosview for openSUSE:Factory checked in at 2026-09-21 12:20:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xosview (Old) and /work/SRC/openSUSE:Factory/.xosview.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xosview" Mon Sep 21 12:20:20 2026 rev:54 rq:1379262 version:1.25 Changes: -------- --- /work/SRC/openSUSE:Factory/xosview/xosview.changes 2024-02-26 19:51:13.930579007 +0100 +++ /work/SRC/openSUSE:Factory/.xosview.new.383539/xosview.changes 2026-09-21 12:20:21.688123745 +0200 @@ -1,0 +2,13 @@ +Wed Sep 16 20:24:46 UTC 2026 - Martin Pluskal <[email protected]> + +- Update to version 1.25: + * Fix LTO type mismatch for defaultXResourceString + * Fix coretemp crash on non-contiguous Intel core numbers + * Skip empty/disabled CPU packages for average/maximum coretemp + * Replace acute accents in the man page with proper quotes +- Drop patches merged upstream: + * xosview-1.24-coretemp-labels.patch + * xosview-1.24-coretemp-pkg.patch +- Spec cleanup: drop unused autoconf, add make, ship license files + +------------------------------------------------------------------- Old: ---- xosview-1.24-coretemp-labels.patch xosview-1.24-coretemp-pkg.patch xosview-1.24.tar.gz New: ---- xosview-1.25.tar.gz ----------(Old B)---------- Old:- Drop patches merged upstream: * xosview-1.24-coretemp-labels.patch * xosview-1.24-coretemp-pkg.patch Old: * xosview-1.24-coretemp-labels.patch * xosview-1.24-coretemp-pkg.patch - Spec cleanup: drop unused autoconf, add make, ship license files ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xosview.spec ++++++ --- /var/tmp/diff_new_pack.Wpimc5/_old 2026-09-21 12:20:22.464156193 +0200 +++ /var/tmp/diff_new_pack.Wpimc5/_new 2026-09-21 12:20:22.466156276 +0200 @@ -1,7 +1,7 @@ # # spec file for package xosview # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2026 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 @@ -18,11 +18,10 @@ %define _appdefdir %{_datadir}/X11/app-defaults Name: xosview -Version: 1.24 +Version: 1.25 Release: 0 Summary: System Load Information License: GPL-2.0-or-later -Group: System/Monitoring URL: https://github.com/hills/%{name} Source: https://github.com/hills/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: rc.config.xosview @@ -35,12 +34,8 @@ Patch11: xosview-1.16-diskstat.patch # PATCH-FIX-SUSE: allow more than one maybe not exsting lmstemp resource entry Patch12: xosview-1.21-lmstemp.patch -# PATCH-FIX-SUSE: The numbers seen in temp*_label might not continuously growing -Patch13: xosview-1.24-coretemp-labels.patch -# PATCH-FIX-SUSE: Avoid crash on missing/disabled cores in CPU package -Patch14: xosview-1.24-coretemp-pkg.patch -BuildRequires: autoconf BuildRequires: gcc-c++ +BuildRequires: make BuildRequires: pkgconfig BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xpm) @@ -65,8 +60,6 @@ %patch -P 10 -b .appdef %patch -P 11 -b .diskstat %patch -P 12 -b .lmst -%patch -P 13 -b .coretemp -%patch -P 14 -b .cpupkg %patch -P 0 -b .p0 %build @@ -114,6 +107,7 @@ done %files +%license COPYING COPYING.GPL COPYING.BSD %{_datadir}/pixmaps/xosview.png %dir %{_datadir}/icons/hicolor/ %dir %{_datadir}/icons/hicolor/32x32/ ++++++ xosview-1.24.tar.gz -> xosview-1.25.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xosview-1.24/Xrm.cc new/xosview-1.25/Xrm.cc --- old/xosview-1.24/Xrm.cc 2022-01-17 15:27:34.000000000 +0100 +++ new/xosview-1.25/Xrm.cc 2026-01-13 22:08:48.000000000 +0100 @@ -14,7 +14,7 @@ #include <iostream> #include "stringutils.h" -extern char *defaultXResourceString; +extern const char *defaultXResourceString; bool Xrm::_initialized = false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xosview-1.24/linux/MeterMaker.cc new/xosview-1.25/linux/MeterMaker.cc --- old/xosview-1.24/linux/MeterMaker.cc 2022-01-17 15:27:34.000000000 +0100 +++ new/xosview-1.25/linux/MeterMaker.cc 2026-01-13 22:08:48.000000000 +0100 @@ -189,14 +189,18 @@ do { if (pkgCount > 1) snprintf(name, 8, "CPU%d", pkg); - push(new CoreTemp(_xos, name, caption, pkg, -1)); + coreCount = CoreTemp::countCores(pkg); + if (coreCount > 0) + push(new CoreTemp(_xos, name, caption, pkg, -1)); } while (++pkg < pkgCount); } else if ( strncmp(displayType, "maximum", 1) == 0 ) { do { if (pkgCount > 1) snprintf(name, 8, "CPU%d", pkg); - push(new CoreTemp(_xos, name, caption, pkg, -2)); + coreCount = CoreTemp::countCores(pkg); + if (coreCount > 0) + push(new CoreTemp(_xos, name, caption, pkg, -2)); } while (++pkg < pkgCount); } else { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xosview-1.24/linux/coretemp.cc new/xosview-1.25/linux/coretemp.cc --- old/xosview-1.24/linux/coretemp.cc 2022-01-17 15:27:34.000000000 +0100 +++ new/xosview-1.25/linux/coretemp.cc 2026-01-13 22:08:48.000000000 +0100 @@ -126,12 +126,15 @@ glob(name, GLOB_APPEND, NULL, &gbuf); for (i = 0; i < gbuf.gl_pathc; i++) { file.open(gbuf.gl_pathv[i]); - file >> dummy >> cpu; // "Core n" or "Physical id n" + file >> dummy; // "Core n" or "Physical id n" file.close(); if ( strncmp(dummy.c_str(), "Core", 4) == 0 ) { strcpy(strrchr(gbuf.gl_pathv[i], '_'), "_input"); - if (_cpu < 0 || cpu == _cpu) + if (_cpu < 0) _cpus.push_back(gbuf.gl_pathv[i]); + else if (cpu == _cpu) + _cpus.push_back(gbuf.gl_pathv[i]); + cpu++; // The numbers seen in temp*_label might not continuously growing! } } globfree(&gbuf); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/xosview-1.24/xosview.1 new/xosview-1.25/xosview.1 --- old/xosview-1.24/xosview.1 2022-01-17 15:27:34.000000000 +0100 +++ new/xosview-1.25/xosview.1 2026-01-13 22:08:48.000000000 +0100 @@ -323,9 +323,9 @@ .RS This switch allows any of xosview's resources to be set on the command line. An example of how the xosview*memFreeColor could be set using this option is -shown below (Note the use of " to prevent the shell from expanding -\'*\' or from creating two separate arguments, \'xosview*memfreeColor:\' -and \'purple\'): +shown below. Note the use of quoting to prevent the shell from expanding '*' +or from creating two separate arguments, 'xosview*memfreeColor:' +and 'purple'): .RS \-xrm "xosview*memFreeColor: purple" .RE
