Github messages for voidlinux
 help / color / mirror / Atom feed
From: marmeladema <marmeladema@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] kodi: update to version 19.0-Matrix
Date: Mon, 15 Mar 2021 23:02:51 +0100	[thread overview]
Message-ID: <20210315220251.omDJJsuEtBzMbFukQZzYSzYsM8CfLn1Idz3W-HA2u3E@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29407@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1580 bytes --]

There is an updated pull request by marmeladema against master on the void-packages repository

https://github.com/marmeladema/void-packages kodi-19.0
https://github.com/void-linux/void-packages/pull/29407

kodi: update to version 19.0-Matrix
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->

#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (x86_64)
- [x] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [x] aarch64
  - [x] x86_64-musl



A patch file from https://github.com/void-linux/void-packages/pull/29407.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-kodi-19.0-29407.patch --]
[-- Type: text/x-diff, Size: 30114 bytes --]

From 1ffb2b49192ed2fa993b3e2360191d28d167b659 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 21:55:33 +0000
Subject: [PATCH 01/12] kodi: update to 19.0-Matrix and detach kodi-rpi patch
 files

Kodi 19 does not support rpbi as a specific core platform anymore
and thus cannot be updated to use kodi 19 and its patches.
It might be possible that kodi itelf work out of the box now using
the gdm core platform using:
```
$ kodi --windowing=gbm
```
---
 srcpkgs/kodi-rpi/patches                      |  1 -
 .../patches/add-missing-cassert.patch         |  0
 .../patches/add-missing-includes.patch        | 10 +++
 .../patches/crossguid-0.2.patch               |  0
 .../disable-static-texturepacker-build.patch  | 11 +++
 srcpkgs/kodi-rpi/patches/fix-fileemu.patch    | 74 +++++++++++++++++++
 srcpkgs/kodi-rpi/patches/fix-musl.patch       | 11 +++
 .../kodi-rpi/patches/fortify-source-fix.patch | 11 +++
 srcpkgs/kodi-rpi/patches/ppc64.patch          | 15 ++++
 .../patches/remove-filewrap.patch             |  0
 srcpkgs/kodi/patches/fix-musl.patch           |  4 +-
 srcpkgs/kodi/template                         | 49 +++++++++---
 12 files changed, 171 insertions(+), 15 deletions(-)
 delete mode 120000 srcpkgs/kodi-rpi/patches
 rename srcpkgs/{kodi => kodi-rpi}/patches/add-missing-cassert.patch (100%)
 create mode 100644 srcpkgs/kodi-rpi/patches/add-missing-includes.patch
 rename srcpkgs/{kodi => kodi-rpi}/patches/crossguid-0.2.patch (100%)
 create mode 100644 srcpkgs/kodi-rpi/patches/disable-static-texturepacker-build.patch
 create mode 100644 srcpkgs/kodi-rpi/patches/fix-fileemu.patch
 create mode 100644 srcpkgs/kodi-rpi/patches/fix-musl.patch
 create mode 100644 srcpkgs/kodi-rpi/patches/fortify-source-fix.patch
 create mode 100644 srcpkgs/kodi-rpi/patches/ppc64.patch
 rename srcpkgs/{kodi => kodi-rpi}/patches/remove-filewrap.patch (100%)

diff --git a/srcpkgs/kodi-rpi/patches b/srcpkgs/kodi-rpi/patches
deleted file mode 120000
index 95c1fe40f190..000000000000
--- a/srcpkgs/kodi-rpi/patches
+++ /dev/null
@@ -1 +0,0 @@
-../kodi/patches
\ No newline at end of file
diff --git a/srcpkgs/kodi/patches/add-missing-cassert.patch b/srcpkgs/kodi-rpi/patches/add-missing-cassert.patch
similarity index 100%
rename from srcpkgs/kodi/patches/add-missing-cassert.patch
rename to srcpkgs/kodi-rpi/patches/add-missing-cassert.patch
diff --git a/srcpkgs/kodi-rpi/patches/add-missing-includes.patch b/srcpkgs/kodi-rpi/patches/add-missing-includes.patch
new file mode 100644
index 000000000000..236bfa6fd0e1
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/add-missing-includes.patch
@@ -0,0 +1,10 @@
+--- a/xbmc/filesystem/ZipManager.h.orig
++++ b/xbmc/filesystem/ZipManager.h
+@@ -33,6 +33,7 @@
+ #include <string>
+ #include <vector>
+ #include <map>
++#include <stdint.h>
+ 
+ class CURL;
+ 
diff --git a/srcpkgs/kodi/patches/crossguid-0.2.patch b/srcpkgs/kodi-rpi/patches/crossguid-0.2.patch
similarity index 100%
rename from srcpkgs/kodi/patches/crossguid-0.2.patch
rename to srcpkgs/kodi-rpi/patches/crossguid-0.2.patch
diff --git a/srcpkgs/kodi-rpi/patches/disable-static-texturepacker-build.patch b/srcpkgs/kodi-rpi/patches/disable-static-texturepacker-build.patch
new file mode 100644
index 000000000000..369f1b24d76d
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/disable-static-texturepacker-build.patch
@@ -0,0 +1,11 @@
+--- a/tools/depends/native/TexturePacker/Makefile	2016-04-24 08:48:30.000000000 +0200
++++ b/tools/depends/native/TexturePacker/Makefile	2016-07-16 15:12:39.875911293 +0200
+@@ -36,7 +36,7 @@
+ 	-rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)
+ 	cd $(PLATFORM); cp -a $(SOURCE)/* .
+ 	cd $(PLATFORM); ./autogen.sh
+-	cd $(PLATFORM); ./configure --prefix=$(PREFIX) $(EXTRA_CONFIGURE) EXTRA_DEFINES="$(NATIVE_ARCH_DEFINES)"
++	cd $(PLATFORM); ./configure --prefix=$(PREFIX) EXTRA_DEFINES="$(NATIVE_ARCH_DEFINES)"
+ 
+ 
+ $(APP): $(PLATFORM)
diff --git a/srcpkgs/kodi-rpi/patches/fix-fileemu.patch b/srcpkgs/kodi-rpi/patches/fix-fileemu.patch
new file mode 100644
index 000000000000..6cce7a4d3524
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/fix-fileemu.patch
@@ -0,0 +1,74 @@
+--- a/xbmc/cores/DllLoader/exports/emu_msvcrt.h	2019-01-30 19:20:09.336910851 +0100
++++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.h	2019-01-30 19:20:25.423668836 +0100
+@@ -12,7 +12,7 @@
+ #define _onexit_t void*
+ #endif
+ 
+-#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
++#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
+ typedef off_t __off_t;
+ typedef int64_t off64_t;
+ typedef off64_t __off64_t;
+--- a/xbmc/cores/DllLoader/exports/wrapper.c	2019-01-30 19:24:16.396348561 +0100
++++ b/xbmc/cores/DllLoader/exports/wrapper.c	2019-01-30 19:25:38.562176774 +0100
+@@ -27,7 +27,7 @@
+ #endif
+ #include <dlfcn.h>
+ 
+-#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
++#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
+ typedef off_t     __off_t;
+ typedef int64_t   off64_t;
+ typedef off64_t   __off64_t;
+--- a/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp	2019-01-30 19:29:02.249253971 +0100
++++ b/xbmc/cores/DllLoader/exports/emu_msvcrt.cpp	2019-01-30 19:39:34.911053272 +0100
+@@ -38,6 +38,7 @@
+ #include <fcntl.h>
+ #include <time.h>
+ #include <signal.h>
++#include <paths.h>
+ #ifdef TARGET_POSIX
+ #include "PlatformDefs.h" // for __stat64
+ #include "XFileUtils.h"
+@@ -1480,7 +1481,7 @@
+     int ret;
+ 
+     ret = dll_fgetpos64(stream, &tmpPos);
+-#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
++#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
+     *pos = (fpos_t)tmpPos;
+ #else
+     pos->__pos = (off_t)tmpPos.__pos;
+@@ -1493,8 +1494,9 @@
+     CFile* pFile = g_emuFileWrapper.GetFileXbmcByStream(stream);
+     if (pFile != NULL)
+     {
+-#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
+-      *pos = pFile->GetPosition();
++#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
++    uint64_t *ppos = (uint64_t *) pos;
++    *ppos = pFile->GetPosition();
+ #else
+       pos->__pos = pFile->GetPosition();
+ #endif
+@@ -1509,8 +1511,9 @@
+     int fd = g_emuFileWrapper.GetDescriptorByStream(stream);
+     if (fd >= 0)
+     {
+-#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
+-      if (dll_lseeki64(fd, *pos, SEEK_SET) >= 0)
++#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
++    const uint64_t *ppos = (const uint64_t *) pos;
++    if (dll_lseeki64(fd, *ppos, SEEK_SET) >= 0)
+ #else
+       if (dll_lseeki64(fd, (__off64_t)pos->__pos, SEEK_SET) >= 0)
+ #endif
+@@ -1532,7 +1535,7 @@
+     if (fd >= 0)
+     {
+       fpos64_t tmpPos;
+-#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID)
++#if !defined(TARGET_POSIX) || defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) || !defined(__GLIBC__)
+       tmpPos= *pos;
+ #else
+       tmpPos.__pos = (off64_t)(pos->__pos);
diff --git a/srcpkgs/kodi-rpi/patches/fix-musl.patch b/srcpkgs/kodi-rpi/patches/fix-musl.patch
new file mode 100644
index 000000000000..98fa08aaffba
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/fix-musl.patch
@@ -0,0 +1,11 @@
+--- a/xbmc/cores/DllLoader/ldt_keeper.c	2019-01-30 20:08:15.532823846 +0100
++++ b/xbmc/cores/DllLoader/ldt_keeper.c	2019-01-30 20:08:34.139580225 +0100
+@@ -49,7 +49,7 @@
+ #ifdef  __cplusplus
+ extern "C" {
+ #endif
+-#if defined(TARGET_ANDROID) && defined(__i386__) && !defined(modify_ldt)
++#if defined(__linux__) && !defined(__GLIBC__) && !defined(modify_ldt)
+ #define modify_ldt(a,b,c) syscall( __NR_modify_ldt,  a, b, c);
+ #else
+ int modify_ldt(int func, void *ptr, unsigned long bytecount);
diff --git a/srcpkgs/kodi-rpi/patches/fortify-source-fix.patch b/srcpkgs/kodi-rpi/patches/fortify-source-fix.patch
new file mode 100644
index 000000000000..5717746e09e1
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/fortify-source-fix.patch
@@ -0,0 +1,11 @@
+--- a/xbmc/cores/DllLoader/exports/wrapper.c.orig
++++ b/xbmc/cores/DllLoader/exports/wrapper.c
+@@ -462,7 +462,7 @@
+ // are actually #defines which are inlined when compiled with -O. Those defines
+ // actally call __*chk (for example, __fread_chk). We need to bypass this whole
+ // thing to actually call our wrapped functions. 
+-#if _FORTIFY_SOURCE > 1
++#if defined(__GLIBC__) && _FORTIFY_SOURCE > 1
+ 
+ size_t __wrap___fread_chk(void * ptr, size_t ptrlen, size_t size, size_t n, FILE * stream)
+ {
diff --git a/srcpkgs/kodi-rpi/patches/ppc64.patch b/srcpkgs/kodi-rpi/patches/ppc64.patch
new file mode 100644
index 000000000000..ab008d445a99
--- /dev/null
+++ b/srcpkgs/kodi-rpi/patches/ppc64.patch
@@ -0,0 +1,15 @@
+--- a/cmake/scripts/linux/ArchSetup.cmake	2019-01-30 21:03:03.146025973 +0100
++++ b/cmake/scripts/linux/ArchSetup.cmake	2019-01-30 21:03:47.810441038 +0100
+@@ -32,6 +32,12 @@
+   elseif(CPU MATCHES aarch64 OR CPU MATCHES arm64)
+     set(ARCH aarch64)
+     set(NEON True)
++  elseif(CPU MATCHES ppc64le)
++    set(ARCH ppc64le-linux)
++    set(NEON False)
++  elseif(CPU MATCHES ppc64)
++    set(ARCH ppc64-linux)
++    set(NEON False)
+   else()
+     message(SEND_ERROR "Unknown CPU: ${CPU}")
+   endif()
diff --git a/srcpkgs/kodi/patches/remove-filewrap.patch b/srcpkgs/kodi-rpi/patches/remove-filewrap.patch
similarity index 100%
rename from srcpkgs/kodi/patches/remove-filewrap.patch
rename to srcpkgs/kodi-rpi/patches/remove-filewrap.patch
diff --git a/srcpkgs/kodi/patches/fix-musl.patch b/srcpkgs/kodi/patches/fix-musl.patch
index 98fa08aaffba..c2eb622c98a4 100644
--- a/srcpkgs/kodi/patches/fix-musl.patch
+++ b/srcpkgs/kodi/patches/fix-musl.patch
@@ -4,8 +4,8 @@
  #ifdef  __cplusplus
  extern "C" {
  #endif
--#if defined(TARGET_ANDROID) && defined(__i386__) && !defined(modify_ldt)
-+#if defined(__linux__) && !defined(__GLIBC__) && !defined(modify_ldt)
+-#if defined(TARGET_ANDROID) && (defined(__i386__) || defined(__x86_64__)) && !defined(modify_ldt)
++#if defined(__linux__) && (defined(__i386__) || defined(__x86_64__)) && !defined(modify_ldt)
  #define modify_ldt(a,b,c) syscall( __NR_modify_ldt,  a, b, c);
  #else
  int modify_ldt(int func, void *ptr, unsigned long bytecount);
diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template
index bff11d8ae5ad..9905a0293d4c 100644
--- a/srcpkgs/kodi/template
+++ b/srcpkgs/kodi/template
@@ -1,19 +1,38 @@
 # Template file for 'kodi'
 pkgname=kodi
-version=18.9
-revision=6
-_codename="Leia"
+version=19.0
+revision=1
+_codename="Matrix"
 wrksrc="xbmc-${version}-${_codename}"
 build_style=cmake
-configure_args="-DENABLE_INTERNAL_CROSSGUID=OFF -DWITH_FFMPEG=/usr
- -DENABLE_LDGOLD=OFF"
+configure_args="-DWITH_FFMPEG=/usr -DENABLE_LDGOLD=OFF
+ -DAPP_RENDER_SYSTEM=gl -DENABLE_INTERNAL_CROSSGUID=ON
+ -DCROSSGUID_URL=${XBPS_SRCDISTDIR}/${pkgname}-${version}/crossguid-8f399e8bd4.tar.gz
+ -Dlibdvdcss_URL=${XBPS_SRCDISTDIR}/${pkgname}-${version}/libdvdcss-1.4.2-Leia-Beta-5.tar.gz
+ -Dlibdvdread_URL=${XBPS_SRCDISTDIR}/${pkgname}-${version}/libdvdread-6.0.0-Leia-Alpha-3.tar.gz
+ -Dlibdvdnav_URL=${XBPS_SRCDISTDIR}/${pkgname}-${version}/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz"
+make_build_target="all"
 short_desc="Software media player and entertainment hub for digital media"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="http://www.kodi.tv"
 distfiles="https://github.com/xbmc/xbmc/archive/${version}-${_codename}.tar.gz"
-checksum=bdf8afa9356b1f815de9984801d3e0d2b46a719e747895b75528f20995c59d2b
-python_version=2
+checksum=f7ef8a6f45862ae3b7ebfce4950d74f534be3cb4a0e67ce640963746b3f668f2
+# Add CrossGUID dependency
+distfiles+=" http://mirrors.kodi.tv/build-deps/sources/crossguid-8f399e8bd4.tar.gz"
+checksum+=" 3d77d09a5df0de510aeeb940df4cb534787ddff3bb1828779753f5dfa1229d10"
+# Add libdvdcss dependency
+distfiles+=" https://github.com/xbmc/libdvdcss/archive/1.4.2-Leia-Beta-5.tar.gz>libdvdcss-1.4.2-Leia-Beta-5.tar.gz"
+checksum+=" 38816f8373e243bc5950449b4f3b18938c4e1c59348e3411e23f31db4072e40d"
+# Add libdvdread dependency
+distfiles+=" https://github.com/xbmc/libdvdread/archive/6.0.0-Leia-Alpha-3.tar.gz>libdvdread-6.0.0-Leia-Alpha-3.tar.gz"
+checksum+=" a30b6aa0aad0f2c505bc77948af2d5531a80b6e68112addb4c123fca24d5d3bf"
+# Add libdvdnav dependency
+distfiles+=" https://github.com/xbmc/libdvdnav/archive/6.0.0-Leia-Alpha-3.tar.gz>libdvdnav-6.0.0-Leia-Alpha-3.tar.gz"
+checksum+=" 071e414e61b795f2ff9015b21a85fc009dde967f27780d23092643916538a57a"
+skip_extraction="crossguid-8f399e8bd4.tar.gz libdvdcss-1.4.2-Leia-Beta-5.tar.gz
+ libdvdread-6.0.0-Leia-Alpha-3.tar.gz libdvdnav-6.0.0-Leia-Alpha-3.tar.gz"
+python_version=3
 patch_args="-Np1"
 LDFLAGS+=" -Wl,-z,stack-size=1048576"
 
@@ -22,8 +41,8 @@ archs="i686* x86_64* aarch64*
  ppc64*"
 
 hostmakedepends="
- automake libtool pkg-config gperf cmake gettext zip unzip nasm yasm python-devel
- gettext-devel libltdl-devel curl flatbuffers swig openjdk11 which"
+ automake libtool pkg-config gperf cmake gettext zip unzip nasm yasm python3-devel
+ gettext-devel libltdl-devel curl flatbuffers swig openjdk11 which wayland-scanner++"
 makedepends="
  eudev-libudev-devel pcre-devel expat-devel libpng-devel libjpeg-turbo-devel
  libXrandr-devel avahi-libs-devel pulseaudio-devel samba-devel tiff-devel
@@ -35,8 +54,9 @@ makedepends="
  libbluetooth-devel yajl-devel libplist-devel librtmp-devel tinyxml-devel
  taglib-devel libcap-devel lame-devel libbluray-devel libnfs-devel ffmpeg-devel
  giflib-devel libxslt-devel gnutls-devel libssh-devel libmicrohttpd-devel
- libcec-devel dcadec-devel crossguid flatbuffers-devel fmt-devel lcms2-devel
- libfstrcmp-devel rapidjson libcdio-paranoia"
+ libcec-devel dcadec-devel flatbuffers-devel fmt-devel lcms2-devel
+ libfstrcmp-devel rapidjson libcdio-paranoia spdlog libwaylandpp-devel
+ libinput-devel libdav1d-devel gtest-devel"
 
 # The following dependencies are dlopen(3)ed.
 depends="libbluray libmad libvorbis libcurl libflac libmodplug libass libmpeg2
@@ -46,11 +66,16 @@ depends+=" glxinfo hicolor-icon-theme desktop-file-utils xdpyinfo"
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*)
 		hostmakedepends+=" libmariadbclient-devel SDL2_image-devel lzo-devel"
-		makedepends+=" python-devel ffmpeg-devel"
+		hostmakedepends+=" libwaylandpp-devel"
+		makedepends+=" python3-devel ffmpeg-devel"
 		configure_args+=" -DENABLE_VAAPI=OFF"
 		;;
 esac
 
+if [ -z "$CROSS_BUILD" ]; then
+	make_build_target+=" kodi-test"
+fi
+
 pre_configure() {
 	if [ "$CROSS_BUILD" ]; then
 	find -type f | \

From 88528fbd766ddd6a3e379dd0e665bc1afc6737cf Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Wed, 10 Mar 2021 13:52:44 +0000
Subject: [PATCH 02/12] libwaylandpp: fix shlibs

---
 common/shlibs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/common/shlibs b/common/shlibs
index 86567af2ad0f..462846b97390 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -3966,3 +3966,7 @@ libsimavrparts.so.1 simavr-1.6_2
 libsword-1.8.1.so libsword-1.8.1_6
 libpari-gmp.so.7 pari-2.13.0_1
 libtree-sitter.so.0 tree-sitter-0.19.0_1
+libwayland-client++.so.0 libwaylandpp-0.2.8_1
+libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
+libwayland-egl++.so.0 libwaylandpp-0.2.8_1
+libwayland-client-extra++.so.0 libwaylandpp-0.2.8_1
\ No newline at end of file

From af593edf4dc8b37eaf8402093fe468353ea0d4d6 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Sat, 13 Mar 2021 10:39:07 +0000
Subject: [PATCH 03/12] kodi: prevent some failing tests to run in CI

---
 srcpkgs/kodi/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template
index 9905a0293d4c..5eee2d18f2e9 100644
--- a/srcpkgs/kodi/template
+++ b/srcpkgs/kodi/template
@@ -63,6 +63,19 @@ depends="libbluray libmad libvorbis libcurl libflac libmodplug libass libmpeg2
  lame librtmp libnfs>=1.9.7 libplist>=1.12"
 depends+=" glxinfo hicolor-icon-theme desktop-file-utils xdpyinfo"
 
+# Disable this test on all architectures
+# https://github.com/void-linux/void-packages/commit/3c0332ab330e30a2c280de2258ed9bf60a9c2e09/checks/2101961295/logs
+_gtest_filter="-TestCPUInfo.GetCPUFrequency"
+_gtest_filter+=":TestWebServer.CanGetCachedFileWithOlderIfModifiedSince"
+_gtest_filter+=":TestWebServer.CanGetCachedFileWithNewerIfModifiedSinceForcingNoCache"
+_gtest_filter+=":TestWebServer.CanGetCachedFileWithExactIfUnmodifiedSince"
+_gtest_filter+=":TestWebServer.CanGetCachedFileWithNewerIfUnmodifiedSince"
+_gtest_filter+=":TestWebServer.CanGetRangedFileRange0_First"
+_gtest_filter+=":TestWebServer.CanGetRangedFileRangeFirst_Second"
+_gtest_filter+=":TestWebServer.CanGetRangedFileRange_Last"
+_gtest_filter+=":TestWebServer.CanGetRangedFileRangeFirstSecond"
+_gtest_filter+=":TestWebServer.CanGetRangedFileRangeFirstSecondLast"
+
 case "$XBPS_TARGET_MACHINE" in
 	aarch64*)
 		hostmakedepends+=" libmariadbclient-devel SDL2_image-devel lzo-devel"
@@ -70,6 +83,13 @@ case "$XBPS_TARGET_MACHINE" in
 		makedepends+=" python3-devel ffmpeg-devel"
 		configure_args+=" -DENABLE_VAAPI=OFF"
 		;;
+	i686)
+		# Additionaly disable these tests on i686 architecutre
+		# https://github.com/void-linux/void-packages/commit/3c0332ab330e30a2c280de2258ed9bf60a9c2e09/checks/2101961301/logs
+		_gtest_filter+=":TestDateTime.SetFromDBTime"
+		_gtest_filter+=":TestDateTime.SetDateTime"
+		_gtest_filter+=":TestDateTime.Reset"
+		;;
 esac
 
 if [ -z "$CROSS_BUILD" ]; then
@@ -118,6 +138,10 @@ post_build() {
 	fi
 }
 
+do_check() {
+	./build/kodi-test --gtest_filter="${_gtest_filter}"
+}
+
 kodi-devel_package() {
 	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"

From 2e8094be15fde9df5d26d6f8736fd2d7427107a4 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 21:58:22 +0000
Subject: [PATCH 04/12] kodi-addon-game-libretro: update to version 2.2.0

---
 srcpkgs/kodi-addon-game-libretro/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-game-libretro/template b/srcpkgs/kodi-addon-game-libretro/template
index f704ef282dfe..6e44c5a1de9c 100644
--- a/srcpkgs/kodi-addon-game-libretro/template
+++ b/srcpkgs/kodi-addon-game-libretro/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-game-libretro'
 pkgname=kodi-addon-game-libretro
-version=1.1.1
+version=2.2.0
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="game.libretro-${version}-${_kodi_release}"
 build_style=cmake
 makedepends="kodi-devel kodi-platform-devel p8-platform-devel tinyxml-devel"
@@ -11,5 +11,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/kodi-game/game.libretro"
 distfiles="https://github.com/kodi-game/game.libretro/archive/${version}-${_kodi_release}.tar.gz"
-checksum=ce9dfe0a99923cb64798bc502c38466c9eeb71bb58b320a73848e4fdf958a00b
+checksum=b92670065d5644b4766bb90ee51cc69730e11b4a8dc912bbe90dce7d07b39e32
 nocross="depends on kodi-platform"

From 2932c6609c554c3628f98ed2a31199e11983db0e Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 21:58:49 +0000
Subject: [PATCH 05/12] kodi-addon-inputstream-adaptive: update to version
 2.6.7

---
 srcpkgs/kodi-addon-inputstream-adaptive/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-inputstream-adaptive/template b/srcpkgs/kodi-addon-inputstream-adaptive/template
index 23bd6aaecc82..ca978f1f3d81 100644
--- a/srcpkgs/kodi-addon-inputstream-adaptive/template
+++ b/srcpkgs/kodi-addon-inputstream-adaptive/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-inputstream-adaptive'
 pkgname=kodi-addon-inputstream-adaptive
-version=2.4.4
+version=2.6.7
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="inputstream.adaptive-${version}-${_kodi_release}"
 build_style=cmake
 makedepends="kodi-devel kodi-platform-devel p8-platform-devel tinyxml-devel
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/peak3d/inputstream.adaptive"
 distfiles="https://github.com/peak3d/inputstream.adaptive/archive/${version}-${_kodi_release}.tar.gz"
-checksum=ec2264aa620faa547e589b705c0393dbbfe4a8f866215d9a9f3d5b3ceea6560e
+checksum=353207f5f98bf81ce8d79cec903c28da8c0227d7c7a632692c910d81e59c2dbe
 nocross="depends on kodi-platform"

From babbad60b943dc38a32f85bbfaf0bf0239d3d848 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 21:59:18 +0000
Subject: [PATCH 06/12] kodi-addon-inputstream-rtmp: update to version 3.4.0

---
 srcpkgs/kodi-addon-inputstream-rtmp/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-inputstream-rtmp/template b/srcpkgs/kodi-addon-inputstream-rtmp/template
index bee02ae906ef..3e7e4968f8c3 100644
--- a/srcpkgs/kodi-addon-inputstream-rtmp/template
+++ b/srcpkgs/kodi-addon-inputstream-rtmp/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-inputstream-rtmp'
 pkgname=kodi-addon-inputstream-rtmp
-version=2.0.9
+version=3.4.0
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="inputstream.rtmp-${version}-${_kodi_release}"
 build_style=cmake
 hostmakedepends="pkg-config"
@@ -13,5 +13,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/xbmc/inputstream.rtmp"
 distfiles="https://github.com/xbmc/inputstream.rtmp/archive/${version}-${_kodi_release}.tar.gz"
-checksum=56dac63262fa736620863900d903616d4827d735992e6d8beda84e377a5599e5
+checksum=efaaa9b07c18810582a3826df476fc36a2aac82be7512271545073c3f6cc0212
 nocross="depends on kodi-platform"

From b153c39a3a566eb866bbfbf8e161bad3ad3ba656 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 21:59:42 +0000
Subject: [PATCH 07/12] kodi-addon-peripheral-joystick: update to version 1.7.1

---
 srcpkgs/kodi-addon-peripheral-joystick/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-peripheral-joystick/template b/srcpkgs/kodi-addon-peripheral-joystick/template
index 72f284096046..de72349fcf20 100644
--- a/srcpkgs/kodi-addon-peripheral-joystick/template
+++ b/srcpkgs/kodi-addon-peripheral-joystick/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-peripheral-joystick'
 pkgname=kodi-addon-peripheral-joystick
-version=1.4.9
-_kodi_release="Leia"
+version=1.7.1
 revision=1
+_kodi_release="Matrix"
 wrksrc="peripheral.joystick-${version}-${_kodi_release}"
 build_style=cmake
 makedepends="kodi-devel kodi-platform-devel p8-platform-devel
@@ -12,5 +12,5 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/xbmc/peripheral.joystick"
 distfiles="https://github.com/xbmc/peripheral.joystick/archive/${version}-${_kodi_release}.tar.gz"
-checksum=e83c32380a51ea74bd5f0af74afc747ff5de99167934e2644bc2b3438cd998d0
+checksum=4dc63c6c5bdad25881eeba800765d97c53b2583addf28e71bbcd67775452ecdb
 nocross="depends on kodi-platform"

From 6ffa4ba0bb451e57c91c9ada68960629a4951b26 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 22:00:13 +0000
Subject: [PATCH 08/12] kodi-addon-pvr-hts: update to version 8.2.3

---
 srcpkgs/kodi-addon-pvr-hts/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-pvr-hts/template b/srcpkgs/kodi-addon-pvr-hts/template
index a0b9f28702bb..eeb0d6335275 100644
--- a/srcpkgs/kodi-addon-pvr-hts/template
+++ b/srcpkgs/kodi-addon-pvr-hts/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-pvr-hts'
 pkgname=kodi-addon-pvr-hts
-version=4.4.21
+version=8.2.3
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="pvr.hts-${version}-${_kodi_release}"
 build_style=cmake
 makedepends="kodi-devel kodi-platform-devel p8-platform-devel"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/kodi-pvr/pvr.hts"
 distfiles="https://github.com/kodi-pvr/pvr.hts/archive/${version}-${_kodi_release}.tar.gz"
-checksum=6958b91ca616554e4c068bc303c66388e9a2c3a68b5979d8918b4e0d7b6bb95c
+checksum=bdaf63945d6552bead5a6e8ba4ffe1b8057e3b0c05b52c0fbf93a7834f652330
 nocross="depends on kodi-platform"
 
 if [ "$XBPS_TARGET_LIBC" = "musl" ]; then

From c9721922ea97fcc79985de7d8fa5c6b9897bdbe9 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 22:00:37 +0000
Subject: [PATCH 09/12] kodi-addon-pvr-iptvsimple: update to version 7.5.0

---
 srcpkgs/kodi-addon-pvr-iptvsimple/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/kodi-addon-pvr-iptvsimple/template b/srcpkgs/kodi-addon-pvr-iptvsimple/template
index b259b86ba346..7628dd6bd31f 100644
--- a/srcpkgs/kodi-addon-pvr-iptvsimple/template
+++ b/srcpkgs/kodi-addon-pvr-iptvsimple/template
@@ -1,17 +1,17 @@
 # Template file for 'kodi-addon-pvr-iptvsimple'
 pkgname=kodi-addon-pvr-iptvsimple
-version=3.9.8
+version=7.5.0
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="pvr.iptvsimple-${version}-${_kodi_release}"
 build_style=cmake
 hostmakedepends="pkg-config"
-makedepends="kodi-devel kodi-platform-devel p8-platform-devel rapidxml
+makedepends="kodi-devel kodi-platform-devel p8-platform-devel pugixml-devel
  zlib-devel"
 short_desc="IPTV Simple client addon for Kodi"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/kodi-pvr/pvr.iptvsimple"
 distfiles="https://github.com/kodi-pvr/pvr.iptvsimple/archive/${version}-${_kodi_release}.tar.gz"
-checksum=0812e359a943f4ffb763b47fc0440768a8aa09f12172ef8dff4440b0a48f9c96
+checksum=1cbe623e1eec0246c782398d8a8964d26b0fa68966c7f1422666068e50fb4e00
 nocross="depends on kodi-platform"

From 26ac9f38788c84e8aec451109898bf58a450277d Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 22:01:10 +0000
Subject: [PATCH 10/12] kodi-addon-pvr-zattoo: update to version 19.7.8.1

---
 srcpkgs/kodi-addon-pvr-zattoo/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-pvr-zattoo/template b/srcpkgs/kodi-addon-pvr-zattoo/template
index c313e855d20f..1ff40658bcf0 100644
--- a/srcpkgs/kodi-addon-pvr-zattoo/template
+++ b/srcpkgs/kodi-addon-pvr-zattoo/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-pvr-zattoo'
 pkgname=kodi-addon-pvr-zattoo
-version=18.1.23
+version=19.7.8.1
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="pvr.zattoo-${version}-${_kodi_release}"
 build_style=cmake
 hostmakedepends="pkg-config"
@@ -14,6 +14,6 @@ maintainer="teldra <teldra@rotce.de>"
 license="GPL-2.0-only"
 homepage="https://github.com/rbuehlma/pvr.zattoo"
 distfiles="https://github.com/rbuehlma/pvr.zattoo/archive/${version}-${_kodi_release}.tar.gz"
-checksum=9c3dc2ed9f8c39bcc4f5798439b85f2bdae1a427ffeb1b9d18aa5e2caca29f4e
+checksum=25dc4ea72b5315a65286ba606e6e26d281fb8eb830d5e0164b66b8d7ae90319a
 nocross="depends on kodi-platform"
 make_check=no # No target to "make test"

From 12eefcd16aaafd534bc536e06ebfdd9a9ab77276 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 22:01:44 +0000
Subject: [PATCH 11/12] kodi-addon-vfs-rar: update to version 4.4.0

---
 srcpkgs/kodi-addon-vfs-rar/template | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/kodi-addon-vfs-rar/template b/srcpkgs/kodi-addon-vfs-rar/template
index 9b40dace67a9..9ae75a72c860 100644
--- a/srcpkgs/kodi-addon-vfs-rar/template
+++ b/srcpkgs/kodi-addon-vfs-rar/template
@@ -1,15 +1,15 @@
 # Template file for 'kodi-addon-vfs-rar'
 pkgname=kodi-addon-vfs-rar
-version=2.3.2
+version=4.0.0
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="vfs.rar-${version}-${_kodi_release}"
 build_style=cmake
-makedepends="kodi-devel kodi-platform p8-platform-devel tinyxml-devel"
+makedepends="kodi-devel kodi-platform p8-platform-devel tinyxml-devel pkg-config"
 short_desc="RAR VFS addon for Kodi"
 maintainer="Kai Stian Olstad <void@olstad.com>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/xbmc/vfs.rar"
 distfiles="https://github.com/xbmc/vfs.rar/archive/${version}-${_kodi_release}.tar.gz"
-checksum=5275c09eed7e8354849caa17c3d9699abcfa2437a7c7af3833bffd10fc1c577f
+checksum=1111d1f90cc4addc2adb0884b779f4b47e30abb2766ba1708053e5f100b514bf
 nocross="depends on kodi-platform"

From e754f05cf02dde5428065c85f1f02dc8b13272b9 Mon Sep 17 00:00:00 2001
From: marmeladema <xademax@gmail.com>
Date: Mon, 15 Mar 2021 22:02:10 +0000
Subject: [PATCH 12/12] kodi-addon-vfs-sftp: update to version 2.0.0

---
 srcpkgs/kodi-addon-vfs-sftp/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/kodi-addon-vfs-sftp/template b/srcpkgs/kodi-addon-vfs-sftp/template
index 5ba4d6a33c3c..40d91f566d62 100644
--- a/srcpkgs/kodi-addon-vfs-sftp/template
+++ b/srcpkgs/kodi-addon-vfs-sftp/template
@@ -1,8 +1,8 @@
 # Template file for 'kodi-addon-vfs-sftp'
 pkgname=kodi-addon-vfs-sftp
-version=1.0.5
+version=2.0.0
 revision=1
-_kodi_release=Leia
+_kodi_release=Matrix
 wrksrc="vfs.sftp-${version}-${_kodi_release}"
 build_style=cmake
 hostmakedepends="pkg-config"
@@ -12,5 +12,5 @@ maintainer="Foxlet <foxlet@furcode.co>"
 license="GPL-2.0-or-later"
 homepage="https://github.com/xbmc/vfs.sftp"
 distfiles="https://github.com/xbmc/vfs.sftp/archive/${version}-${_kodi_release}.tar.gz"
-checksum=6a6d7fc777f574746bcc34b618700a4db3981aee470b68d60c3407eeeb0c16d9
+checksum=b15c5dde7b3aadb3e82e61cb9b0440812b6c2f65b38c6c25aef726f97e746f68
 nocross="depends on kodi-platform"

  parent reply	other threads:[~2021-03-15 22:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 22:06 [PR PATCH] " marmeladema
2021-03-12  0:59 ` [PR PATCH] [Updated] " marmeladema
2021-03-12  8:30 ` marmeladema
2021-03-12 10:24 ` marmeladema
2021-03-12 15:22 ` ericonr
2021-03-12 16:57 ` marmeladema
2021-03-13 10:39 ` [PR PATCH] [Updated] " marmeladema
2021-03-13 10:42 ` marmeladema
2021-03-13 11:17 ` marmeladema
2021-03-13 13:57 ` marmeladema
2021-03-13 15:34 ` marmeladema
2021-03-14 20:27 ` [PR PATCH] [Updated] " marmeladema
2021-03-14 20:28 ` marmeladema
2021-03-14 22:35 ` marmeladema
2021-03-14 22:36 ` marmeladema
2021-03-15  1:40 ` ericonr
2021-03-15 22:02 ` marmeladema [this message]
2021-03-16  0:07 ` [PR PATCH] [Merged]: " ericonr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210315220251.omDJJsuEtBzMbFukQZzYSzYsM8CfLn1Idz3W-HA2u3E@z \
    --to=marmeladema@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).