- Drop Vendor from OS info

- Fix site URL
i9 changed/i9/hardinfo-0.6-1.20230524git45fa969.el9.inferit.8
Arkady L. Shane 1 year ago committed by Sergey Cherevko
parent 795cd4d967
commit 23e1020395
Signed by: scherevko
GPG Key ID: D87CBBC16D2E4A72

@ -18,7 +18,7 @@ index cd3dc9e..6d33cad 100644
+name MSVSphere OS +name MSVSphere OS
+ name МСВСфера ОС + name МСВСфера ОС
+ name_short МСВСфера + name_short МСВСфера
+ url https://www.msvsphere-os.ru/ + url https://msvsphere-os.ru/
+ url_support https://support.msvsphere-os.ru/ + url_support https://support.msvsphere-os.ru/
+ note МСВСфераОС + note МСВСфераОС
+ ansi_color 0;35;47 + ansi_color 0;35;47

@ -0,0 +1,25 @@
From 935cfd7b5ab1d2ca3914a3a86f88736b37f5d93c Mon Sep 17 00:00:00 2001
From: tigro <arkadiy.sheyn@softline.com>
Date: Fri, 27 Oct 2023 22:25:36 +0300
Subject: [PATCH 4/4] Drop Vendor
---
shell/shell.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/shell.c b/shell/shell.c
index 0993f8f..c58307b 100644
--- a/shell/shell.c
+++ b/shell/shell.c
@@ -1550,7 +1550,7 @@ static gchar *vendor_info_markup(const Vendor *v) {
tag_vendor(&ven_tag, 0, ven_tag, v->ansi_color, FMT_OPT_PANGO);
//if (v->name_short)
// ven_mt = appf(ven_mt, "\n", "%s", v->name);
- ven_mt = appf(ven_mt, "\n", "%s", ven_tag);
+ //ven_mt = appf(ven_mt, "\n", "%s", ven_tag);
if (v->url) {
if (!g_str_has_prefix(v->url, "http") )
full_link = g_strdup_printf("http://%s", v->url);
--
2.41.0

@ -3,7 +3,7 @@
Name: hardinfo Name: hardinfo
Version: 0.6 Version: 0.6
Release: 1.20230524git%{shorthash}%{?dist}.inferit.7 Release: 1.20230524git%{shorthash}%{?dist}.inferit.8
Summary: System Profiler and Benchmark Summary: System Profiler and Benchmark
License: GPLv2 License: GPLv2
@ -15,6 +15,7 @@ Source3: org.freedesktop.pkexec.hardinfo.policy
Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch
Patch2: 0002-vendor.ids-Added-MSVSphere-OS.patch Patch2: 0002-vendor.ids-Added-MSVSphere-OS.patch
Patch3: 0003-Fix-segfault-when-info-about-block-storage-is-absent.patch Patch3: 0003-Fix-segfault-when-info-about-block-storage-is-absent.patch
Patch4: 0004-Drop-Vendor.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
@ -78,6 +79,10 @@ install -m644 %{SOURCE3} \
%{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy %{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy
%changelog %changelog
* Fri Oct 27 2023 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.8
- Drop Vendor from OS info
- Fix site URL
* Fri Oct 13 2023 Alexey Berezhok <aberezhok@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.7 * Fri Oct 13 2023 Alexey Berezhok <aberezhok@msvsphere-os.ru> - 0.6-2.20230524git45fa969.inferit.7
- Fix segfault when info about block storage is absent - Fix segfault when info about block storage is absent

Loading…
Cancel
Save