Package: kodi / 2:21.2+dfsg-4

Metadata

Package Version Patches format
kodi 2:21.2+dfsg-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
kodi/0001 Implement hashes using Libgcrypt.patch | (download)

xbmc/utils/Digest.cpp | 36 16 + 20 - 0 !
xbmc/utils/Digest.h | 10 5 + 5 - 0 !
2 files changed, 21 insertions(+), 25 deletions(-)

 [patch] implement hashes using libgcrypt
kodi/0002 Find and link with Libgcrypt.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
cmake/modules/FindLibgcrypt.cmake | 25 25 + 0 - 0 !
2 files changed, 26 insertions(+)

 [patch] find and link with libgcrypt
kodi/0003 differentiate from vanilla Kodi.patch | (download)

addons/skin.estuary/xml/Home.xml | 8 8 + 0 - 0 !
xbmc/utils/SystemInfo.cpp | 12 8 + 4 - 0 !
xbmc/utils/test/TestSystemInfo.cpp | 2 1 + 1 - 0 !
3 files changed, 17 insertions(+), 5 deletions(-)

 [patch] differentiate-from-vanilla-kodi
kodi/0004 use system groovy.patch | (download)

tools/codegenerator/Generator.groovy | 2 1 + 1 - 0 !
tools/codegenerator/Helper.groovy | 6 3 + 3 - 0 !
tools/codegenerator/SwigTypeParser.groovy | 2 0 + 2 - 0 !
xbmc/interfaces/swig/CMakeLists.txt | 13 8 + 5 - 0 !
4 files changed, 12 insertions(+), 11 deletions(-)

 [patch] use system's groovy instead of the embedded one
kodi/0005 fix tests.patch | (download)

xbmc/utils/test/TestSystemInfo.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] fix-tests
kodi/0006 dont use openssl.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch] dont-use-openssl
kodi/0007 support omitting addons service.patch | (download)

system/addon-manifest.xml | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 support omitting addons repository feed
kodi/0008 Find test fixtures in source directory.patch | (download)

xbmc/test/TestUtils.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 find test fixtures in source directory
kodi/0009 Skip long time broken test.patch | (download)

xbmc/network/test/TestWebServer.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 skip long time broken test
kodi/0010 Disable flaky TestMassEvent.General and TestMassEven.patch | (download)

xbmc/threads/test/TestEvent.cpp | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 disable flaky testmassevent.general and testmassevent.polling tests
kodi/0011 Skip checking errno against ENOENT because this test.patch | (download)

xbmc/filesystem/test/TestFile.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 skip checking errno against enoent because this test fails on armhf
kodi/0012 The baseline of the i386 port does not include SSE.patch | (download)

cmake/scripts/linux/ArchSetup.cmake | 2 1 + 1 - 0 !
xbmc/cores/AudioEngine/CMakeLists.txt | 16 8 + 8 - 0 !
xbmc/rendering/CMakeLists.txt | 16 8 + 8 - 0 !
xbmc/utils/CMakeLists.txt | 10 5 + 5 - 0 !
4 files changed, 22 insertions(+), 22 deletions(-)

 [patch] the baseline of the i386 port does not include sse

SSE2 is always enabled on amd64.

kodi/0013 Disable GetCPUFrequency test.patch | (download)

xbmc/utils/test/TestCPUInfo.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable testcpuinfo.getcpufrequency test
kodi/0014 Fix C++ example includes.patch | (download)

tools/EventClients/examples/c++/example_button1.cpp | 3 2 + 1 - 0 !
tools/EventClients/examples/c++/example_button2.cpp | 3 2 + 1 - 0 !
tools/EventClients/examples/c++/example_log.cpp | 3 2 + 1 - 0 !
tools/EventClients/examples/c++/example_mouse.cpp | 3 2 + 1 - 0 !
tools/EventClients/examples/c++/example_notification.cpp | 3 2 + 1 - 0 !
5 files changed, 10 insertions(+), 5 deletions(-)

 fix c++ example includes
kodi/0015 ports architectures.patch | (download)

cmake/scripts/linux/ArchSetup.cmake | 18 18 + 0 - 0 !
xbmc/utils/MathUtils.h | 1 1 + 0 - 0 !
xbmc/utils/SystemInfo.cpp | 19 18 + 1 - 0 !
3 files changed, 37 insertions(+), 1 deletion(-)

 [patch] introduce buildable debian ports architectures

Tested by building against sid/ppc64 and running via
xvfb + x11vnc.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

kodi/0016 local language repo.patch | (download)

xbmc/URL.cpp | 3 2 + 1 - 0 !
xbmc/filesystem/CurlFile.cpp | 2 1 + 1 - 0 !
2 files changed, 3 insertions(+), 2 deletions(-)

 [patch 1/2] curl: treat file:// protocol as simple virtual protocol

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

kodi/0017 Disable PingHost test.patch | (download)

xbmc/network/test/TestNetwork.cpp | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 disable pinghost test

CAP_NET_RAW is disabled on Debian buildd's.


libdvdnav/0001 libdvdnav PR48 enen92.patch | (download)

libdvdnav-embedded/src/dvdnav.c | 21 14 + 7 - 0 !
libdvdnav-embedded/src/dvdnav/dvdnav.h | 12 12 + 0 - 0 !
libdvdnav-embedded/src/vm/vm.c | 9 6 + 3 - 0 !
libdvdnav-embedded/src/vm/vm.h | 3 2 + 1 - 0 !
4 files changed, 34 insertions(+), 11 deletions(-)

 [patch] dvdnav_open_files implementation

Attempts to open files given that the calling application provides the dvd_reader_filesystem implementation
and the path to the file. Supports logging callbacks similarly to other dvdnav_open methods.
Useful for opening files located on a virtual file system (vfs) such as smb, nfs, etc

libdvdread/0001 libdvdread PR40 enen92.patch | (download)

libdvdread-embedded/Makefile.am | 17 16 + 1 - 0 !
libdvdread-embedded/configure.ac | 4 4 + 0 - 0 !
libdvdread-embedded/src/dvd_input.c | 81 33 + 48 - 0 !
libdvdread-embedded/src/dvd_input.h | 31 10 + 21 - 0 !
libdvdread-embedded/src/dvd_reader.c | 248 90 + 158 - 0 !
libdvdread-embedded/src/dvdread/dvd_filesystem.h | 124 124 + 0 - 0 !
libdvdread-embedded/src/dvdread/dvd_reader.h | 26 19 + 7 - 0 !
libdvdread-embedded/src/dvdread_internal.h | 1 1 + 0 - 0 !
libdvdread-embedded/src/file/dir_posix.c | 98 98 + 0 - 0 !
libdvdread-embedded/src/file/dir_win32.c | 108 108 + 0 - 0 !
libdvdread-embedded/src/file/file_posix.c | 113 113 + 0 - 0 !
libdvdread-embedded/src/file/file_win32.c | 98 98 + 0 - 0 !
libdvdread-embedded/src/file/filesystem.c | 37 37 + 0 - 0 !
libdvdread-embedded/src/file/filesystem.h | 46 46 + 0 - 0 !
libdvdread-embedded/src/file/stat_posix.c | 36 36 + 0 - 0 !
libdvdread-embedded/src/file/stat_win32.c | 53 53 + 0 - 0 !
16 files changed, 886 insertions(+), 235 deletions(-)

 [patch 1/3] split filesystem implementation into platform based code


libdvdread/debian 0001 libdvdcss.patch | (download)

libdvdread-embedded/src/dvd_input.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 libdvdcss
libdvdread/debian 0002 descriptor.patch | (download)

libdvdread-embedded/src/dvd_udf.c | 37 34 + 3 - 0 !
1 file changed, 34 insertions(+), 3 deletions(-)

 descriptor
cdatetime std chrono/0001 Replace Kodi date time implementation with std c.patch | (download)

CMakeLists.txt | 6 6 + 0 - 0 !
addons/kodi.resource/addon.xml | 1 1 + 0 - 0 !
addons/kodi.resource/timezone.xsd | 16 16 + 0 - 0 !
addons/resource.timezone/addon.xml | 12 12 + 0 - 0 !
cmake/installdata/common/addons.txt | 1 1 + 0 - 0 !
cmake/modules/FindDate.cmake | 110 110 + 0 - 0 !
cmake/modules/FindTZData.cmake | 33 33 + 0 - 0 !
cmake/modules/FindUnicodeCLDR.cmake | 34 34 + 0 - 0 !
cmake/platform/windows/windows.cmake | 2 2 + 0 - 0 !
cmake/platform/windowsstore/windowsstore.cmake | 2 2 + 0 - 0 !
cmake/scripts/linux/Install.cmake | 7 7 + 0 - 0 !
system/addon-manifest.xml | 1 1 + 0 - 0 !
xbmc/FileItem.cpp | 2 1 + 1 - 0 !
xbmc/ServiceManager.cpp | 2 2 + 0 - 0 !
xbmc/XBDateTime.cpp | 1039 362 + 677 - 0 !
xbmc/XBDateTime.h | 86 29 + 57 - 0 !
xbmc/addons/AddonBuilder.cpp | 3 3 + 0 - 0 !
xbmc/addons/CMakeLists.txt | 2 2 + 0 - 0 !
xbmc/addons/ImageDecoder.cpp | 3 1 + 2 - 0 !
xbmc/addons/Scraper.cpp | 1 0 + 1 - 0 !
xbmc/addons/TimeZoneResource.cpp | 48 43 + 5 - 0 !
xbmc/addons/TimeZoneResource.h | 25 25 + 0 - 0 !
xbmc/addons/addoninfo/AddonInfo.cpp | 3 2 + 1 - 0 !
xbmc/addons/addoninfo/AddonType.h | 1 1 + 0 - 0 !
xbmc/addons/interfaces/gui/dialogs/Numeric.cpp | 10 2 + 8 - 0 !
xbmc/application/Application.cpp | 6 6 + 0 - 0 !
xbmc/cores/RetroPlayer/savestates/SavestateDatabase.cpp | 2 1 + 1 - 0 !
xbmc/dialogs/GUIDialogNumeric.cpp | 206 123 + 83 - 0 !
xbmc/dialogs/GUIDialogNumeric.h | 12 6 + 6 - 0 !
xbmc/filesystem/NFSDirectory.cpp | 18 2 + 16 - 0 !
xbmc/guilib/GUIEditControl.cpp | 13 5 + 8 - 0 !
xbmc/guilib/GUIRSSControl.h | 2 1 + 1 - 0 !
xbmc/interfaces/legacy/Dialog.cpp | 44 20 + 24 - 0 !
xbmc/music/infoscanner/MusicInfoScanner.cpp | 4 2 + 2 - 0 !
xbmc/network/WebServer.cpp | 6 3 + 3 - 0 !
xbmc/network/upnp/UPnPInternal.cpp | 15 11 + 4 - 0 !
xbmc/platform/posix/PosixTimezone.cpp | 352 217 + 135 - 0 !
xbmc/platform/posix/PosixTimezone.h | 8 5 + 3 - 0 !
xbmc/platform/posix/XTimeUtils.cpp | 211 0 + 211 - 0 !
xbmc/platform/posix/filesystem/PosixDirectory.cpp | 5 1 + 4 - 0 !
xbmc/platform/posix/filesystem/SMBDirectory.cpp | 16 4 + 12 - 0 !
xbmc/pvr/dialogs/GUIDialogPVRGuideSearch.cpp | 8 3 + 5 - 0 !
xbmc/pvr/dialogs/GUIDialogPVRTimerSettings.cpp | 18 2 + 16 - 0 !
xbmc/pvr/dialogs/GUIDialogPVRTimerSettings.h | 1 0 + 1 - 0 !
xbmc/pvr/epg/Epg.cpp | 2 1 + 1 - 0 !
xbmc/pvr/epg/EpgContainer.cpp | 14 7 + 7 - 0 !
xbmc/pvr/epg/EpgInfoTag.cpp | 12 4 + 8 - 0 !
xbmc/pvr/guilib/GUIEPGGridContainerModel.cpp | 8 4 + 4 - 0 !
xbmc/pvr/guilib/PVRGUIActionsDatabase.cpp | 2 0 + 2 - 0 !
xbmc/pvr/guilib/PVRGUIActionsPowerManagement.cpp | 1 0 + 1 - 0 !
xbmc/pvr/guilib/guiinfo/PVRGUIInfo.cpp | 3 1 + 2 - 0 !
xbmc/pvr/guilib/guiinfo/PVRGUITimesInfo.cpp | 5 2 + 3 - 0 !
xbmc/pvr/recordings/PVRRecording.cpp | 17 6 + 11 - 0 !
xbmc/pvr/recordings/PVRRecording.h | 2 1 + 1 - 0 !
xbmc/pvr/timers/PVRTimerRuleMatcher.cpp | 2 1 + 1 - 0 !
xbmc/pvr/timers/PVRTimers.cpp | 1 0 + 1 - 0 !
xbmc/pvr/windows/GUIWindowPVRGuide.cpp | 7 3 + 4 - 0 !
xbmc/settings/SettingsComponent.cpp | 67 36 + 31 - 0 !
xbmc/settings/SettingsComponent.h | 4 2 + 2 - 0 !
xbmc/settings/windows/GUIControlSettings.cpp | 14 6 + 8 - 0 !
xbmc/test/TestDateTime.cpp | 342 217 + 125 - 0 !
xbmc/utils/Archive.cpp | 16 8 + 8 - 0 !
xbmc/utils/Archive.h | 10 6 + 4 - 0 !
xbmc/utils/CMakeLists.txt | 2 2 + 0 - 0 !
xbmc/utils/DateLib.cpp | 95 95 + 0 - 0 !
xbmc/utils/DateLib.h | 38 38 + 0 - 0 !
xbmc/utils/RssManager.cpp | 2 1 + 1 - 0 !
xbmc/utils/RssManager.h | 2 1 + 1 - 0 !
xbmc/utils/RssReader.cpp | 25 11 + 14 - 0 !
xbmc/utils/RssReader.h | 6 3 + 3 - 0 !
xbmc/utils/XTimeUtils.h | 47 3 + 44 - 0 !
xbmc/utils/test/TestArchive.cpp | 34 17 + 17 - 0 !
xbmc/utils/test/TestRssReader.cpp | 4 2 + 2 - 0 !
xbmc/video/VideoInfoScanner.cpp | 4 2 + 2 - 0 !
74 files changed, 1590 insertions(+), 1595 deletions(-)

 [patch 01/19] [cmake] add support for date library and tzdata

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

workarounds/0001 Workaround 989814.patch | (download)

tools/Linux/kodi.sh.in | 5 5 + 0 - 0 !
xbmc/LangInfo.cpp | 12 12 + 0 - 0 !
2 files changed, 17 insertions(+)

 [patch 1/2] check if applied locale correctly lowers chars and
 fallback

.. to default region if it does not.

Fixes #19883.

Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>

workarounds/0002 xbmc libdvd_vfs enen92.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
cmake/modules/FindLibDvd.cmake | 10 0 + 10 - 0 !
cmake/modules/FindLibDvdCSS.cmake | 130 71 + 59 - 0 !
cmake/modules/FindLibDvdNav.cmake | 148 80 + 68 - 0 !
cmake/modules/FindLibDvdRead.cmake | 148 80 + 68 - 0 !
tools/depends/target/libdvdnav/LIBDVDNAV-VERSION | 13 6 + 7 - 0 !
tools/depends/target/libdvdread/LIBDVDREAD-VERSION | 15 7 + 8 - 0 !
xbmc/CMakeLists.txt | 1 0 + 1 - 0 !
xbmc/DllPaths.h | 6 2 + 4 - 0 !
xbmc/DllPaths_generated.h.in | 3 0 + 3 - 0 !
xbmc/DllPaths_generated_android.h.in | 3 0 + 3 - 0 !
xbmc/DllPaths_win32.h | 12 0 + 12 - 0 !
xbmc/cores/VideoPlayer/DVDInputStreams/CMakeLists.txt | 1 0 + 1 - 0 !
xbmc/cores/VideoPlayer/DVDInputStreams/DVDInputStreamNavigator.cpp | 281 144 + 137 - 0 !
xbmc/cores/VideoPlayer/DVDInputStreams/DVDInputStreamNavigator.h | 13 10 + 3 - 0 !
xbmc/cores/VideoPlayer/DVDInputStreams/DllDvdNav.h | 275 0 + 275 - 0 !
xbmc/filesystem/CMakeLists.txt | 2 2 + 0 - 0 !
xbmc/filesystem/DvdCallback.cpp | 173 163 + 10 - 0 !
xbmc/filesystem/DvdCallback.h | 59 53 + 6 - 0 !
19 files changed, 619 insertions(+), 675 deletions(-)

 [patch 1/9] unwrap dll


workarounds/0003 pcre2.patch | (download)

cmake/modules/FindPCRE.cmake | 12 4 + 8 - 0 !
xbmc/utils/RegExp.cpp | 204 108 + 96 - 0 !
xbmc/utils/RegExp.h | 23 8 + 15 - 0 !
xbmc/utils/test/TestRegExp.cpp | 23 23 + 0 - 0 !
4 files changed, 143 insertions(+), 119 deletions(-)

 [patch 1/3] port to pcre2


workarounds/0004 ffmpeg7.patch | (download)

addons/resource.language.en_gb/resources/strings.po | 11 2 + 9 - 0 !
cmake/modules/FindFFMPEG.cmake | 16 8 + 8 - 0 !
tools/buildsteps/windows/ffmpeg_options.txt | 1 0 + 1 - 0 !
tools/depends/target/ffmpeg/FFMPEG-VERSION | 4 2 + 2 - 0 !
xbmc/cdrip/EncoderFFmpeg.cpp | 2 1 + 1 - 0 !
xbmc/cdrip/EncoderFFmpeg.h | 2 1 + 1 - 0 !
xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAEResampleFFMPEG.cpp | 110 53 + 57 - 0 !
xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecDRMPRIME.cpp | 5 3 + 2 - 0 !
xbmc/cores/VideoPlayer/DVDCodecs/Video/DVDVideoCodecFFmpeg.cpp | 9 5 + 4 - 0 !
xbmc/cores/VideoPlayer/DVDCodecs/Video/VAAPI.cpp | 6 4 + 2 - 0 !
xbmc/cores/VideoPlayer/DVDCodecs/Video/VTB.cpp | 2 1 + 1 - 0 !
xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemux.cpp | 20 14 + 6 - 0 !
xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxClient.cpp | 1 0 + 1 - 0 !
xbmc/cores/VideoPlayer/DVDDemuxers/DVDDemuxFFmpeg.cpp | 124 34 + 90 - 0 !
xbmc/cores/VideoPlayer/DVDInputStreams/InputStreamAddon.cpp | 9 3 + 6 - 0 !
xbmc/settings/AdvancedSettings.cpp | 2 0 + 2 - 0 !
xbmc/settings/AdvancedSettings.h | 1 0 + 1 - 0 !
17 files changed, 131 insertions(+), 194 deletions(-)

 [patch 1/7] [ffmpeg] update to 7.0


workarounds/0005 PR26527.patch | (download)

xbmc/cores/AudioEngine/Sinks/pipewire/PipewireNode.cpp | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 [patch] [audioengine] pipewire: fix build with pipewire 1.4.0

PipeWire >= 1.4.0 requires the correct struct type to be used, otherwise
it will fail to compile.

Reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/188d920733f0791413d3386e5536ee7377f71b2f
(cherry picked from commit 269053ebbfd3cc4a3156a511f54ab7f08a09a730)

workarounds/0006 PR26441.patch | (download)

xbmc/cores/AudioEngine/Sinks/pipewire/AESinkPipewire.cpp | 3 2 + 1 - 0 !
xbmc/cores/AudioEngine/Sinks/pipewire/PipewireStream.cpp | 5 5 + 0 - 0 !
xbmc/cores/AudioEngine/Sinks/pipewire/PipewireStream.h | 2 2 + 0 - 0 !
3 files changed, 9 insertions(+), 1 deletion(-)

 pipewire: stop log spam from requestprocess events

Fixes an issue where PipeWire error logs are continuously created whenever there is audio
 playing or if the "keep audio device alive" setting is enabled.

This issue has appeared ever since PipeWire v1.2.4 introduced a change that forwards RequestProcess events.
Thus it affects Kodi 21.2 on Trixie testing.
Pipewire v1.2.4 change: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/c6ae68b9326f235aa6ee11b62b8e6a9126bb2e22