kodi: update kodi-100.03-disable-online-check.patch

Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
Matthias Reichl 2025-06-03 16:45:53 +02:00 committed by Rudi Heitbaum
parent 967cf7ccd6
commit f1ac7081ba

View File

@ -1,9 +1,17 @@
Subject: disable online check
---
diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp
index e2aa9643ab89..d258e84f73d4 100644
--- a/xbmc/GUIInfoManager.cpp
+++ b/xbmc/GUIInfoManager.cpp
@@ -1953,7 +1953,6 @@ const infomap system_labels[] = {
@@ -1907,7 +1907,7 @@ constexpr std::array<InfoMap, 7> weather = {{
/// <p>
/// }
// clang-format off
-constexpr std::array<InfoMap, 76> system_labels = {{
+constexpr std::array<InfoMap, 75> system_labels = {{
{"hasnetwork", SYSTEM_ETHERNET_LINK_ACTIVE},
{"hasmediadvd", SYSTEM_MEDIA_DVD},
{"hasmediaaudiocd", SYSTEM_MEDIA_AUDIO_CD},
@@ -1955,7 +1955,6 @@ constexpr std::array<InfoMap, 76> system_labels = {{
{"currentcontrol", SYSTEM_CURRENT_CONTROL},
{"currentcontrolid", SYSTEM_CURRENT_CONTROL_ID},
{"dvdlabel", SYSTEM_DVD_LABEL},
@ -11,6 +19,8 @@ Subject: disable online check
{"osversioninfo", SYSTEM_OS_VERSION_INFO},
{"kernelversion", SYSTEM_OS_VERSION_INFO}, // old, not correct name
{"uptime", SYSTEM_UPTIME},
diff --git a/xbmc/utils/SystemInfo.cpp b/xbmc/utils/SystemInfo.cpp
index 049d7449528d..83f08e08d1c2 100644
--- a/xbmc/utils/SystemInfo.cpp
+++ b/xbmc/utils/SystemInfo.cpp
@@ -281,7 +281,6 @@ bool CSysInfoJob::DoWork()
@ -21,7 +31,7 @@ Subject: disable online check
m_info.videoEncoder = GetVideoEncoder();
m_info.cpuFrequency =
StringUtils::Format("{:4.0f} MHz", CServiceBroker::GetCPUInfo()->GetCPUFrequency());
@@ -1107,9 +1106,7 @@ int CSysInfo::GetXbmcBitness(void)
@@ -1119,9 +1118,7 @@ int CSysInfo::GetXbmcBitness(void)
bool CSysInfo::HasInternet()
{
@ -32,9 +42,11 @@ Subject: disable online check
}
std::string CSysInfo::GetHddSpaceInfo(int drive, bool shortText)
diff --git a/xbmc/windows/GUIWindowSystemInfo.cpp b/xbmc/windows/GUIWindowSystemInfo.cpp
index bf007ccfa687..b7628ae6cc51 100644
--- a/xbmc/windows/GUIWindowSystemInfo.cpp
+++ b/xbmc/windows/GUIWindowSystemInfo.cpp
@@ -126,7 +126,6 @@ void CGUIWindowSystemInfo::FrameMove()
@@ -147,7 +147,6 @@ void CGUIWindowSystemInfo::FrameMove()
SetControlLabel(i++, "{}: {}", 13160, NETWORK_GATEWAY_ADDRESS);
SetControlLabel(i++, "{}: {}", 13161, NETWORK_DNS1_ADDRESS);
SetControlLabel(i++, "{}: {}", 20307, NETWORK_DNS2_ADDRESS);