kodi: update to bb88e5e

This commit is contained in:
CvH 2021-01-30 07:21:19 +01:00
parent 4d85b3da83
commit 311253d876
18 changed files with 31 additions and 115 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="kodi"
PKG_VERSION="19.0RC1-Matrix"
PKG_SHA256="96621a997221f75b151dc76575bc137d1e890d43a9ca37ad8f09f7431f290c9b"
PKG_VERSION="bb88e5e1db54844bc27befc7014c8118ae5ca275"
PKG_SHA256="b00e0c2152f52207959fad087ed0ed5fd2ac1afda95ae56f83e406d1ec028ad9"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/xbmc/xbmc/archive/${PKG_VERSION}.tar.gz"

View File

@ -1,6 +1,5 @@
diff -Naur a/userdata/RssFeeds.xml b/userdata/RssFeeds.xml
--- a/userdata/RssFeeds.xml 2016-05-01 03:36:53.000000000 -0700
+++ b/userdata/RssFeeds.xml 2016-05-05 00:42:53.999990267 -0700
--- a/userdata/RssFeeds.xml
+++ b/userdata/RssFeeds.xml
@@ -3,6 +3,7 @@
<!-- RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets. !-->
<!-- To use different sets in your skin, each must be called from skin with a unique id. !-->

View File

@ -1,11 +1,9 @@
Subject: disable online check
---
diff --git a/xbmc/GUIInfoManager.cpp b/xbmc/GUIInfoManager.cpp
index 10181e10a6..4cb9feac9b 100644
--- a/xbmc/GUIInfoManager.cpp
+++ b/xbmc/GUIInfoManager.cpp
@@ -1774,7 +1774,6 @@ const infomap system_labels[] = {{"hasnetwork", SYSTEM_ETHERNET_LINK_ACTIVE},
@@ -1774,7 +1774,6 @@ const infomap system_labels[] = {{"hasne
{"currentcontrol", SYSTEM_CURRENT_CONTROL},
{"currentcontrolid", SYSTEM_CURRENT_CONTROL_ID},
{"dvdlabel", SYSTEM_DVD_LABEL},
@ -13,8 +11,6 @@ index 10181e10a6..4cb9feac9b 100644
{"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 92d2c19c93..8cbf3da636 100644
--- a/xbmc/utils/SystemInfo.cpp
+++ b/xbmc/utils/SystemInfo.cpp
@@ -271,7 +271,6 @@ bool CSysInfoJob::DoWork()
@ -36,8 +32,6 @@ index 92d2c19c93..8cbf3da636 100644
}
std::string CSysInfo::GetHddSpaceInfo(int drive, bool shortText)
diff --git a/xbmc/windows/GUIWindowSystemInfo.cpp b/xbmc/windows/GUIWindowSystemInfo.cpp
index 2b0c23f12c..7f9d45f64f 100644
--- a/xbmc/windows/GUIWindowSystemInfo.cpp
+++ b/xbmc/windows/GUIWindowSystemInfo.cpp
@@ -124,7 +124,6 @@ void CGUIWindowSystemInfo::FrameMove()
@ -48,6 +42,3 @@ index 2b0c23f12c..7f9d45f64f 100644
}
else if (m_section == CONTROL_BT_VIDEO)
--
2.25.1

View File

@ -8,11 +8,9 @@ Subject: [PATCH] use udevil to mount
xbmc/platform/posix/PosixMountProvider.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/xbmc/platform/linux/storage/UDevProvider.cpp b/xbmc/platform/linux/storage/UDevProvider.cpp
index 3a9a2632bd..1fec95d637 100644
--- a/xbmc/platform/linux/storage/UDevProvider.cpp
+++ b/xbmc/platform/linux/storage/UDevProvider.cpp
@@ -194,7 +194,7 @@ bool CUDevProvider::Eject(const std::string& mountpath)
@@ -194,7 +194,7 @@ bool CUDevProvider::Eject(const std::str
{
// just go ahead and try to umount the disk
// if it does umount, life is good, if not, no loss.
@ -21,11 +19,9 @@ index 3a9a2632bd..1fec95d637 100644
int status = system(cmd.c_str());
if (status == 0)
diff --git a/xbmc/platform/posix/PosixMountProvider.cpp b/xbmc/platform/posix/PosixMountProvider.cpp
index d139be1827..7646d66794 100644
--- a/xbmc/platform/posix/PosixMountProvider.cpp
+++ b/xbmc/platform/posix/PosixMountProvider.cpp
@@ -124,7 +124,7 @@ bool CPosixMountProvider::Eject(const std::string& mountpath)
@@ -124,7 +124,7 @@ bool CPosixMountProvider::Eject(const st
#if !defined(TARGET_DARWIN_EMBEDDED)
// just go ahead and try to umount the disk
// if it does umount, life is good, if not, no loss.
@ -34,6 +30,3 @@ index d139be1827..7646d66794 100644
int status = system(cmd.c_str());
if (status == 0)
--
2.14.1

View File

@ -10,8 +10,6 @@ credits to vpeter4 for the patch
xbmc/addons/Addon.cpp | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/xbmc/addons/Addon.cpp b/xbmc/addons/Addon.cpp
index 294c99a76f..11d304662d 100644
--- a/xbmc/addons/Addon.cpp
+++ b/xbmc/addons/Addon.cpp
@@ -14,6 +14,10 @@
@ -25,7 +23,7 @@ index 294c99a76f..11d304662d 100644
#include "AddonManager.h"
#include "addons/settings/AddonSettings.h"
#include "filesystem/Directory.h"
@@ -380,6 +384,28 @@ void OnPreInstall(const AddonPtr& addon)
@@ -385,6 +389,28 @@ void OnPreInstall(const AddonPtr& addon)
void OnPostInstall(const AddonPtr& addon, bool update, bool modal)
{
@ -54,6 +52,3 @@ index 294c99a76f..11d304662d 100644
addon->OnPostInstall(update, modal);
}
--
2.7.4

View File

@ -12,11 +12,9 @@ this should probably be removed after OE 6
xbmc/windowing/X11/WinSystemX11.cpp | 2 --
1 file changed, 2 deletions(-)
diff --git a/xbmc/windowing/X11/WinSystemX11.cpp b/xbmc/windowing/X11/WinSystemX11.cpp
index 8a18288fd8..7f2c7022c0 100644
--- a/xbmc/windowing/X11/WinSystemX11.cpp
+++ b/xbmc/windowing/X11/WinSystemX11.cpp
@@ -753,8 +753,6 @@ bool CWinSystemX11::SetWindow(int width, int height, bool fullscreen, const std:
@@ -753,8 +753,6 @@ bool CWinSystemX11::SetWindow(int width,
if (fullscreen && hasWM)
{
@ -25,6 +23,3 @@ index 8a18288fd8..7f2c7022c0 100644
// disable desktop compositing for KDE, when Kodi is in full-screen mode
int one = 1;
Atom composite = XInternAtom(m_dpy, "_KDE_NET_WM_BLOCK_COMPOSITING", True);
--
2.25.1

View File

@ -7,11 +7,9 @@ Subject: [PATCH 07/13] disable minimize
xbmc/Application.cpp | 1 -
1 file changed, 1 deletion(-)
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 35de935a74..5e2bfad695 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -4681,7 +4681,6 @@ bool CApplication::SwitchToFullScreen(bool force /* = false */)
@@ -4807,7 +4807,6 @@ bool CApplication::SwitchToFullScreen(bo
void CApplication::Minimize()
{
@ -19,6 +17,3 @@ index 35de935a74..5e2bfad695 100644
}
std::string CApplication::GetCurrentPlayer()
--
2.25.1

View File

@ -10,8 +10,6 @@ tz-data.service
xbmc/platform/posix/PosixTimezone.cpp | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/xbmc/platform/posix/PosixTimezone.cpp b/xbmc/platform/posix/PosixTimezone.cpp
index 24840fc..c064951 100644
--- a/xbmc/platform/posix/PosixTimezone.cpp
+++ b/xbmc/platform/posix/PosixTimezone.cpp
@@ -26,6 +26,8 @@
@ -23,7 +21,7 @@ index 24840fc..c064951 100644
CPosixTimezone::CPosixTimezone()
{
char* line = NULL;
@@ -143,6 +145,16 @@ void CPosixTimezone::OnSettingChanged(std::shared_ptr<const CSetting> setting)
@@ -143,6 +145,16 @@ void CPosixTimezone::OnSettingChanged(co
const std::string &settingId = setting->GetId();
if (settingId == CSettings::SETTING_LOCALE_TIMEZONE)
{
@ -40,6 +38,3 @@ index 24840fc..c064951 100644
SetTimezone(std::static_pointer_cast<const CSettingString>(setting)->GetValue());
CDateTime::ResetTimezoneBias();
--
2.14.1

View File

@ -1,8 +1,6 @@
diff --git a/xbmc/addons/Addon.cpp b/xbmc/addons/Addon.cpp
index 11d304662d..a685ac568a 100644
--- a/xbmc/addons/Addon.cpp
+++ b/xbmc/addons/Addon.cpp
@@ -375,6 +375,37 @@ AddonVersion CAddon::GetDependencyVersion(const std::string &dependencyID) const
@@ -380,6 +380,37 @@ AddonVersion CAddon::GetDependencyVersio
return m_addonInfo->DependencyVersion(dependencyID);
}
@ -40,7 +38,7 @@ index 11d304662d..a685ac568a 100644
void OnPreInstall(const AddonPtr& addon)
{
//Fallback to the pre-install callback in the addon.
@@ -404,6 +435,9 @@ void OnPostInstall(const AddonPtr& addon, bool update, bool modal)
@@ -409,6 +440,9 @@ void OnPostInstall(const AddonPtr& addon
}
closedir(addonsDir);
}
@ -50,7 +48,7 @@ index 11d304662d..a685ac568a 100644
// OE
addon->OnPostInstall(update, modal);
@@ -411,6 +445,8 @@ void OnPostInstall(const AddonPtr& addon, bool update, bool modal)
@@ -416,6 +450,8 @@ void OnPostInstall(const AddonPtr& addon
void OnPreUnInstall(const AddonPtr& addon)
{
@ -59,8 +57,6 @@ index 11d304662d..a685ac568a 100644
addon->OnPreUnInstall();
}
diff --git a/xbmc/addons/Addon.h b/xbmc/addons/Addon.h
index 9715387588..0f6b23de95 100644
--- a/xbmc/addons/Addon.h
+++ b/xbmc/addons/Addon.h
@@ -27,6 +27,15 @@ namespace ADDON
@ -79,19 +75,17 @@ index 9715387588..0f6b23de95 100644
class CAddon : public IAddon
{
public:
diff --git a/xbmc/addons/AddonManager.cpp b/xbmc/addons/AddonManager.cpp
index 7606c6f95e..eb65d918cd 100644
--- a/xbmc/addons/AddonManager.cpp
+++ b/xbmc/addons/AddonManager.cpp
@@ -788,6 +788,7 @@ bool CAddonMgr::DisableAddon(const std::string& id, AddonDisabledReason disabled
@@ -788,6 +788,7 @@ bool CAddonMgr::DisableAddon(const std::
AddonPtr addon;
if (GetAddon(id, addon, ADDON_UNKNOWN, false) && addon != NULL)
if (GetAddon(id, addon, ADDON_UNKNOWN, OnlyEnabled::NO) && addon != NULL)
{
+ ADDON::LEAddonHook(addon, ADDON::LE_ADDON_DISABLED);
CServiceBroker::GetEventLog().Add(EventPtr(new CAddonManagementEvent(addon, 24141)));
}
@@ -816,6 +817,7 @@ bool CAddonMgr::EnableSingle(const std::string& id)
@@ -833,6 +834,7 @@ bool CAddonMgr::EnableSingle(const std::
if (!m_database.EnableAddon(id))
return false;
m_disabled.erase(id);
@ -99,5 +93,3 @@ index 7606c6f95e..eb65d918cd 100644
// If enabling a repo add-on without an origin, set its origin to its own id
if (addon->HasType(ADDON_REPOSITORY) && addon->Origin().empty())
--
2.25.1

View File

@ -22,11 +22,9 @@ so, when shutdown/reboot is requested:
.../powermanagement/LogindUPowerSyscall.cpp | 2 --
5 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 35de935a74..1754152782 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -2060,12 +2060,12 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg)
@@ -2118,12 +2118,12 @@ void CApplication::OnApplicationMessage(
switch (msg)
{
case TMSG_POWERDOWN:
@ -41,7 +39,7 @@ index 35de935a74..1754152782 100644
break;
case TMSG_SHUTDOWN:
@@ -2086,12 +2086,13 @@ void CApplication::OnApplicationMessage(ThreadMessage* pMsg)
@@ -2144,12 +2144,13 @@ void CApplication::OnApplicationMessage(
case TMSG_RESTART:
case TMSG_RESET:
@ -56,7 +54,7 @@ index 35de935a74..1754152782 100644
Stop(EXITCODE_RESTARTAPP);
#endif
break;
@@ -2570,6 +2571,17 @@ bool CApplication::Cleanup()
@@ -2628,6 +2629,17 @@ bool CApplication::Cleanup()
}
}
@ -74,7 +72,7 @@ index 35de935a74..1754152782 100644
void CApplication::Stop(int exitCode)
{
CLog::Log(LOGINFO, "Stopping player");
@@ -2596,7 +2608,7 @@ void CApplication::Stop(int exitCode)
@@ -2654,7 +2666,7 @@ void CApplication::Stop(int exitCode)
m_frameMoveGuard.unlock();
CVariant vExitCode(CVariant::VariantTypeObject);
@ -83,7 +81,7 @@ index 35de935a74..1754152782 100644
CServiceBroker::GetAnnouncementManager()->Announce(ANNOUNCEMENT::System, "OnQuit", vExitCode);
// Abort any active screensaver
@@ -2628,7 +2640,6 @@ void CApplication::Stop(int exitCode)
@@ -2686,7 +2698,6 @@ void CApplication::Stop(int exitCode)
// Needs cleaning up
CApplicationMessenger::GetInstance().Stop();
m_AppFocused = false;
@ -91,7 +89,7 @@ index 35de935a74..1754152782 100644
CLog::Log(LOGINFO, "Stopping all");
// cancel any jobs from the jobmanager
@@ -4210,7 +4221,7 @@ void CApplication::ProcessSlow()
@@ -4336,7 +4347,7 @@ void CApplication::ProcessSlow()
if (CPlatformPosix::TestQuitFlag())
{
CLog::Log(LOGINFO, "Quitting due to POSIX signal");
@ -100,8 +98,6 @@ index 35de935a74..1754152782 100644
}
#endif
diff --git a/xbmc/Application.h b/xbmc/Application.h
index 050f11afc0..a25af7e93b 100644
--- a/xbmc/Application.h
+++ b/xbmc/Application.h
@@ -156,6 +156,7 @@ public:
@ -112,8 +108,6 @@ index 050f11afc0..a25af7e93b 100644
void Stop(int exitCode);
void UnloadSkin();
bool LoadCustomWindows();
diff --git a/xbmc/XBApplicationEx.cpp b/xbmc/XBApplicationEx.cpp
index 8982725b35..95070fbe9f 100644
--- a/xbmc/XBApplicationEx.cpp
+++ b/xbmc/XBApplicationEx.cpp
@@ -23,6 +23,7 @@ CXBApplicationEx::CXBApplicationEx()
@ -124,8 +118,6 @@ index 8982725b35..95070fbe9f 100644
m_renderGUI = false;
}
diff --git a/xbmc/XBApplicationEx.h b/xbmc/XBApplicationEx.h
index e7534b8c05..8f45f04ec8 100644
--- a/xbmc/XBApplicationEx.h
+++ b/xbmc/XBApplicationEx.h
@@ -29,6 +29,7 @@ public:
@ -136,11 +128,9 @@ index e7534b8c05..8f45f04ec8 100644
bool m_AppFocused;
bool m_renderGUI;
diff --git a/xbmc/platform/linux/powermanagement/LogindUPowerSyscall.cpp b/xbmc/platform/linux/powermanagement/LogindUPowerSyscall.cpp
index 5e400772b1..6dc2cbbc4d 100644
--- a/xbmc/platform/linux/powermanagement/LogindUPowerSyscall.cpp
+++ b/xbmc/platform/linux/powermanagement/LogindUPowerSyscall.cpp
@@ -78,8 +78,6 @@ CLogindUPowerSyscall::~CLogindUPowerSyscall()
@@ -78,8 +78,6 @@ CLogindUPowerSyscall::~CLogindUPowerSysc
bool CLogindUPowerSyscall::Powerdown()
{
@ -149,6 +139,3 @@ index 5e400772b1..6dc2cbbc4d 100644
return LogindSetPowerState("PowerOff");
}
--
2.25.1

View File

@ -7,8 +7,6 @@ Subject: [PATCH] prevent kodi switching to windowed mode
xbmc/windowing/X11/WinSystemX11.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/xbmc/windowing/X11/WinSystemX11.h b/xbmc/windowing/X11/WinSystemX11.h
index dec8e81b74..44e4e02ba1 100644
--- a/xbmc/windowing/X11/WinSystemX11.h
+++ b/xbmc/windowing/X11/WinSystemX11.h
@@ -48,6 +48,7 @@ public:
@ -19,6 +17,3 @@ index dec8e81b74..44e4e02ba1 100644
void ShowOSMouse(bool show) override;
void NotifyAppActiveChange(bool bActivated) override;
--
2.25.1

View File

@ -7,11 +7,9 @@ Subject: [PATCH] udevprovider: filter out OE specific mounts
xbmc/platform/linux/storage/UDevProvider.cpp | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/xbmc/platform/linux/storage/UDevProvider.cpp b/xbmc/platform/linux/storage/UDevProvider.cpp
index 3a9a2632bd..9ae1846b81 100644
--- a/xbmc/platform/linux/storage/UDevProvider.cpp
+++ b/xbmc/platform/linux/storage/UDevProvider.cpp
@@ -139,6 +139,20 @@ void CUDevProvider::GetDisks(VECSOURCES& disks, bool removable)
@@ -139,6 +139,20 @@ void CUDevProvider::GetDisks(VECSOURCES&
continue;
}
@ -32,6 +30,3 @@ index 3a9a2632bd..9ae1846b81 100644
// look for devices on the usb bus, or mounted on */media/ (sdcards), or optical devices
const char *bus = udev_device_get_property_value(device, "ID_BUS");
const char *optical = udev_device_get_property_value(device, "ID_CDROM"); // matches also DVD, Blu-ray
--
2.14.1

View File

@ -8,11 +8,9 @@ Subject: [PATCH] [PATCH] change pulseaudio default device name to Bluetooth
xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp b/xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp
index 8b548046aa..087ed5d2e6 100644
--- a/xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp
+++ b/xbmc/cores/AudioEngine/Sinks/AESinkPULSE.cpp
@@ -481,13 +481,15 @@ static void SinkInfoRequestCallback(pa_context *c, const pa_sink_info *i, int eo
@@ -481,13 +481,15 @@ static void SinkInfoRequestCallback(pa_c
CAEDeviceInfo defaultDevice;
defaultDevice.m_deviceName = std::string("Default");
defaultDevice.m_displayName = std::string("Default");
@ -29,6 +27,3 @@ index 8b548046aa..087ed5d2e6 100644
}
if (i && i->name)
{
--
2.25.1

View File

@ -1,6 +1,5 @@
diff -Naur a/tools/depends/native/TexturePacker/CMakeLists.txt b/tools/depends/native/TexturePacker/CMakeLists.txt
--- a/tools/depends/native/TexturePacker/CMakeLists.txt 2016-12-23 17:10:28.593185862 +0000
+++ b/tools/depends/native/TexturePacker/CMakeLists.txt 2016-12-23 17:10:39.469253011 +0000
--- a/tools/depends/native/TexturePacker/CMakeLists.txt
+++ b/tools/depends/native/TexturePacker/CMakeLists.txt
@@ -1,3 +1,5 @@
+set(CMAKE_SOURCE_DIR ${CMAKE_SOURCE_DIR}/../../../..)
+

View File

@ -7,11 +7,9 @@ Subject: [PATCH] refresh /etc/environment on install and uninstall
xbmc/addons/Addon.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/xbmc/addons/Addon.cpp b/xbmc/addons/Addon.cpp
index a685ac568a..f41258a2c2 100644
--- a/xbmc/addons/Addon.cpp
+++ b/xbmc/addons/Addon.cpp
@@ -441,6 +441,9 @@ void OnPostInstall(const AddonPtr& addon, bool update, bool modal)
@@ -446,6 +446,9 @@ void OnPostInstall(const AddonPtr& addon
// OE
addon->OnPostInstall(update, modal);
@ -21,7 +19,7 @@ index a685ac568a..f41258a2c2 100644
}
void OnPreUnInstall(const AddonPtr& addon)
@@ -453,6 +456,9 @@ void OnPreUnInstall(const AddonPtr& addon)
@@ -458,6 +461,9 @@ void OnPreUnInstall(const AddonPtr& addo
void OnPostUnInstall(const AddonPtr& addon)
{
addon->OnPostUnInstall();
@ -31,5 +29,3 @@ index a685ac568a..f41258a2c2 100644
}
} /* namespace ADDON */
--
2.25.1

View File

@ -1,5 +1,3 @@
diff --git a/system/Lircmap.xml b/system/Lircmap.xml
index ec7c6e0e6a..05dc05521e 100644
--- a/system/Lircmap.xml
+++ b/system/Lircmap.xml
@@ -548,50 +548,85 @@

View File

@ -1,5 +1,3 @@
diff --git a/system/peripherals.xml b/system/peripherals.xml
index ff303e99ae..1978f07703 100644
--- a/system/peripherals.xml
+++ b/system/peripherals.xml
@@ -18,7 +18,7 @@

View File

@ -1,8 +1,6 @@
diff --git a/xbmc/XBApplicationEx.cpp b/xbmc/XBApplicationEx.cpp
index f6fffd8..6eeacf6 100644
--- a/xbmc/XBApplicationEx.cpp
+++ b/xbmc/XBApplicationEx.cpp
@@ -53,6 +53,10 @@ int CXBApplicationEx::Run(const CAppParamParser &params)
@@ -53,6 +53,10 @@ int CXBApplicationEx::Run(const CAppPara
KODI::MESSAGING::CApplicationMessenger::GetInstance().PostMsg(TMSG_PLAYLISTPLAYER_PLAY, -1);
}