!13 fix(cpuinfo):remove "add cpuinfo" patch to get correct cpuinfo

From: @yuan__xing 
Reviewed-by: @tangjie02 
Signed-off-by: @tangjie02
This commit is contained in:
openeuler-ci-bot 2023-06-19 09:34:48 +00:00 committed by Gitee
commit 08203cb5d7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 4 additions and 18 deletions

View File

@ -1,15 +0,0 @@
diff -Naur mate-system-monitor-1.22.2/src/sysinfo.cpp mate-system-monitor-1.22.2-b/src/sysinfo.cpp
--- mate-system-monitor-1.22.2/src/sysinfo.cpp 2019-09-22 22:08:46.000000000 +0800
+++ mate-system-monitor-1.22.2-b/src/sysinfo.cpp 2020-01-07 15:35:03.326925915 +0800
@@ -920,8 +920,10 @@
g_free(markup);
markup = NULL;
+ //add_row(GTK_GRID(hardware_table), _("Processor:"),
+ // data->processors.c_str(), 1);
add_row(GTK_GRID(hardware_table), _("Processor:"),
- data->processors.c_str(), 1);
+ "96x ARM", 1);
if(markup)
g_free(markup);

View File

@ -1,13 +1,11 @@
Name: mate-system-monitor
Version: 1.22.2
Release: 6
Release: 7
Summary: Process and resource monitor
License: GPLv2+
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
Patch0: mate-system-monitor-add-cpuinfo.patch
Patch1001: 0001-kylin-modify-desktop.patch
Patch1002: 0001-modify-mate-system-monitor.desktop.in.in.patch
Patch1003: 0002-modify-mate-system-monitor.desktop.in.patch
@ -72,6 +70,9 @@ desktop-file-install --delete-original \
%changelog
* Thu Aug 04 2022 yuanxing <yuanxing@kylinos.com.cn> - 1.22.2-7
- KYOS-F: remove "add cpuinfo" patch to get correct cpu info
* Thu Aug 04 2022 yuanxing <yuanxing@kylinos.com.cn> - 1.22.2-6
- KYOS-F: merge two patch of fix resource page too large and add cpu color in gschema.xml when system has too many cpus