From 1442e1c0175ff5abce2e193aa79c86bbafc9d4b1 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 27 Oct 2023 22:52:45 +0300 Subject: [PATCH] - Drop Vendor from OS info - Fix site URL --- .../0002-vendor.ids-Added-MSVSphere-OS.patch | 2 +- SOURCES/0004-Drop-Vendor.patch | 25 +++++++++++++++++++ SPECS/hardinfo.spec | 7 +++++- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 SOURCES/0004-Drop-Vendor.patch diff --git a/SOURCES/0002-vendor.ids-Added-MSVSphere-OS.patch b/SOURCES/0002-vendor.ids-Added-MSVSphere-OS.patch index 36bd07c..c5703dd 100644 --- a/SOURCES/0002-vendor.ids-Added-MSVSphere-OS.patch +++ b/SOURCES/0002-vendor.ids-Added-MSVSphere-OS.patch @@ -18,7 +18,7 @@ index cd3dc9e..6d33cad 100644 +name MSVSphere OS + name МСВСфера ОС + name_short МСВСфера -+ url https://www.msvsphere-os.ru/ ++ url https://msvsphere-os.ru/ + url_support https://support.msvsphere-os.ru/ + note МСВСфераОС + ansi_color 0;35;47 diff --git a/SOURCES/0004-Drop-Vendor.patch b/SOURCES/0004-Drop-Vendor.patch new file mode 100644 index 0000000..8b46d15 --- /dev/null +++ b/SOURCES/0004-Drop-Vendor.patch @@ -0,0 +1,25 @@ +From 935cfd7b5ab1d2ca3914a3a86f88736b37f5d93c Mon Sep 17 00:00:00 2001 +From: tigro +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 + diff --git a/SPECS/hardinfo.spec b/SPECS/hardinfo.spec index 94621b1..3bf3755 100644 --- a/SPECS/hardinfo.spec +++ b/SPECS/hardinfo.spec @@ -3,7 +3,7 @@ Name: hardinfo Version: 0.6 -Release: 1.20230524git%{shorthash}%{?dist}.inferit.7 +Release: 1.20230524git%{shorthash}%{?dist}.inferit.8 Summary: System Profiler and Benchmark License: GPLv2 @@ -15,6 +15,7 @@ Source3: org.freedesktop.pkexec.hardinfo.policy Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch Patch2: 0002-vendor.ids-Added-MSVSphere-OS.patch Patch3: 0003-Fix-segfault-when-info-about-block-storage-is-absent.patch +Patch4: 0004-Drop-Vendor.patch BuildRequires: cmake BuildRequires: desktop-file-utils @@ -78,6 +79,10 @@ install -m644 %{SOURCE3} \ %{_datadir}/polkit-1/actions/org.freedesktop.pkexec.hardinfo.policy %changelog +* Fri Oct 27 2023 Arkady L. Shane - 0.6-2.20230524git45fa969.inferit.8 +- Drop Vendor from OS info +- Fix site URL + * Fri Oct 13 2023 Alexey Berezhok - 0.6-2.20230524git45fa969.inferit.7 - Fix segfault when info about block storage is absent