From 72e9c70aec85568af30b983a4893af9a2dc3562e Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Thu, 27 Jul 2023 17:03:39 +0300 Subject: [PATCH] Remove annoyng window about loading of needed libraries --- ...indow-about-loading-of-needed-librar.patch | 25 +++++++++++++++++++ SPECS/hardinfo.spec | 8 ++++-- 2 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 SOURCES/0001-Remove-annoyng-window-about-loading-of-needed-librar.patch diff --git a/SOURCES/0001-Remove-annoyng-window-about-loading-of-needed-librar.patch b/SOURCES/0001-Remove-annoyng-window-about-loading-of-needed-librar.patch new file mode 100644 index 0000000..ef96575 --- /dev/null +++ b/SOURCES/0001-Remove-annoyng-window-about-loading-of-needed-librar.patch @@ -0,0 +1,25 @@ +From a0df79d132b7bd6aab400551a30f2e94b1561a8d Mon Sep 17 00:00:00 2001 +From: Alexey Berezhok +Date: Thu, 27 Jul 2023 15:51:20 +0300 +Subject: [PATCH] Remove annoyng window about loading of needed libraries + +--- + hardinfo/util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hardinfo/util.c b/hardinfo/util.c +index 38c7bce..d6045cb 100644 +--- a/hardinfo/util.c ++++ b/hardinfo/util.c +@@ -387,7 +387,7 @@ void parameters_init(int *argc, char ***argv, ProgramParameters * param) + static gboolean force_all_details = FALSE; + static gboolean show_version = FALSE; + static gboolean list_modules = FALSE; +- static gboolean autoload_deps = FALSE; ++ static gboolean autoload_deps = TRUE; + static gboolean run_xmlrpc_server = FALSE; + static gboolean skip_benchmarks = FALSE; + static gboolean quiet = FALSE; +-- +2.39.1 + diff --git a/SPECS/hardinfo.spec b/SPECS/hardinfo.spec index 271b3e0..3c8e775 100644 --- a/SPECS/hardinfo.spec +++ b/SPECS/hardinfo.spec @@ -3,13 +3,14 @@ Name: hardinfo Version: 0.6 -Release: 1.20230524git%{shorthash}%{?dist} +Release: 1.20230524git%{shorthash}%{?dist}.inferit.1 Summary: System Profiler and Benchmark License: GPLv2 URL: http://hardinfo.org/ Source0: http://download.berlios.de/hardinfo/%{name}-%{version}-%{fullhash}.tar.xz Source1: ru.po +Patch1: 0001-Remove-annoyng-window-about-loading-of-needed-librar.patch BuildRequires: cmake BuildRequires: desktop-file-utils @@ -35,7 +36,7 @@ perform benchmarks, and generate printable reports either in HTML or in plain text formats. %prep -%autosetup -n %{name}-%{version}-%{fullhash} +%autosetup -n %{name}-%{version}-%{fullhash} -p1 install -m644 %{SOURCE1} po/ %build @@ -65,6 +66,9 @@ desktop-file-install --vendor="" --delete-original \ %{_datadir}/applications/%{name}.desktop %changelog +* Thu Jul 27 2023 Alexey Berezhok - 0.6-1.20230524git45fa969.inferit.1 +- Remove annoyng window about loading of needed libraries + * Tue Jun 6 2023 Arkady L. Shane - 0.6-1.20230524git45fa969 - initial build for MSVSphere 9.2