mbox series

[v2,00/20] package/kodi: bump version to 21.0-Omega

Message ID 20240407114445.683504-1-bernd@kuhls.net
Headers show
Series package/kodi: bump version to 21.0-Omega | expand

Message

Bernd Kuhls April 7, 2024, 11:44 a.m. UTC
Hi,

this is v2 of the patch series to bump Kodi to its latest version.
This includes the bump of ffmpeg 4.4 to 6.1.

Changelog:
v2:
-  bumped aubio to support ffmpeg 6.x
-  removed omxplayer
 - while testing omxplayer a build error on BR2_arm occured, added an
   upstream fix to ffmpeg
- updated various commits after review from Yann

Regards, Bernd

Bernd Kuhls (20):
  package/aubio: bump version
  package/freeswitch: fix build with ffmpeg 6.0
  package/omxplayer: remove package
  package/ffmpeg: bump version to 6.1.1
  package/ffmpeg: add optional support for libvpl
  package/bento4: bump version to 1.6.0-641-Omega
  package/kodi: bump version to 21.0-Omega
  package/kodi-audiodecoder-*: mass version bump to Omega
  package/kodi-audioencoder-*: mass version bump to Omega
  package/kodi-imagedecoder-*: mass version bump to Omega
  package/kodi-inputstream-adaptive: bump version to 21.4.4-Omega
  package/kodi-inputstream-ffmpegdirect: bump version to 21.3.5-Omega
  package/kodi-inputstream-rtmp: bump version to 21.1.0-Omega
  package/kodi-peripheral-*: mass version bump to Omega
  package/kodi-pvr-*: mass version bump to Omega
  package/kodi-screensaver-*: mass version bump to Omega
  package/kodi-skin-confluence: bump version
  package/kodi-vfs-*: mass version bump to Omega
  package/kodi-visualisation-*: mass version bump to Omega
  package/kodi: add optional support for pipewire

 .checkpackageignore                           |  1 -
 Config.in.legacy                              |  6 ++
 DEVELOPERS                                    |  1 -
 package/Config.in                             |  1 -
 package/aubio/aubio.hash                      |  5 +-
 package/aubio/aubio.mk                        |  7 +-
 package/bento4/bento4.hash                    |  2 +-
 package/bento4/bento4.mk                      |  2 +-
 ...-x86-yuv2rgb-Fix-build-without-SSSE3.patch |  4 +-
 .../0003-libavutil-Fix-mips-build.patch       |  6 +-
 ...igure-add-extralibs-to-extralibs_xxx.patch |  6 +-
 ...xes-assembling-with-binutils-as-2.41.patch | 84 -------------------
 ...0005-avcodec-mmaldec-Fix-build-error.patch | 32 +++++++
 package/ffmpeg/Config.in                      |  9 +-
 package/ffmpeg/ffmpeg.hash                    |  2 +-
 package/ffmpeg/ffmpeg.mk                      | 21 ++---
 ...002-mod_av-fix-build-with-ffmpeg-6.0.patch | 48 +++++++++++
 package/gstreamer1/gst1-libav/Config.in       |  4 +
 .../kodi-audiodecoder-modplug.hash            |  2 +-
 .../kodi-audiodecoder-modplug.mk              |  2 +-
 .../kodi-audiodecoder-nosefart.hash           |  2 +-
 .../kodi-audiodecoder-nosefart.mk             |  2 +-
 .../kodi-audiodecoder-sidplay.hash            |  2 +-
 .../kodi-audiodecoder-sidplay.mk              |  2 +-
 .../kodi-audiodecoder-snesapu.hash            |  2 +-
 .../kodi-audiodecoder-snesapu.mk              |  2 +-
 .../kodi-audiodecoder-stsound.hash            |  2 +-
 .../kodi-audiodecoder-stsound.mk              |  2 +-
 ...001-MidiScan-include-missing-cstdint.patch | 29 -------
 .../kodi-audiodecoder-timidity.hash           |  2 +-
 .../kodi-audiodecoder-timidity.mk             |  2 +-
 .../kodi-audiodecoder-vgmstream.hash          |  2 +-
 .../kodi-audiodecoder-vgmstream.mk            |  2 +-
 .../kodi-audioencoder-flac.hash               |  2 +-
 .../kodi-audioencoder-flac.mk                 |  2 +-
 .../kodi-audioencoder-lame.hash               |  2 +-
 .../kodi-audioencoder-lame.mk                 |  2 +-
 .../kodi-audioencoder-vorbis.hash             |  2 +-
 .../kodi-audioencoder-vorbis.mk               |  2 +-
 .../kodi-audioencoder-wav.hash                |  2 +-
 .../kodi-audioencoder-wav.mk                  |  2 +-
 ...de-missing-cstdint-to-support-gcc-13.patch | 31 -------
 .../kodi-imagedecoder-heif.hash               |  2 +-
 .../kodi-imagedecoder-heif.mk                 |  2 +-
 .../kodi-imagedecoder-raw.hash                |  2 +-
 .../kodi-imagedecoder-raw.mk                  |  2 +-
 package/kodi-inputstream-adaptive/Config.in   |  2 +-
 .../kodi-inputstream-adaptive.hash            |  2 +-
 .../kodi-inputstream-adaptive.mk              |  4 +-
 ...de-missing-cstdint-to-support-gcc-13.patch | 49 -----------
 .../kodi-inputstream-ffmpegdirect.hash        |  2 +-
 .../kodi-inputstream-ffmpegdirect.mk          |  2 +-
 .../kodi-inputstream-rtmp.hash                |  2 +-
 .../kodi-inputstream-rtmp.mk                  |  2 +-
 .../kodi-jsonschemabuilder.mk                 |  6 +-
 .../kodi-peripheral-joystick.hash             |  2 +-
 .../kodi-peripheral-joystick.mk               |  2 +-
 .../kodi-peripheral-xarcade.hash              |  2 +-
 .../kodi-peripheral-xarcade.mk                |  2 +-
 .../kodi-pvr-argustv/kodi-pvr-argustv.hash    |  2 +-
 package/kodi-pvr-argustv/kodi-pvr-argustv.mk  |  2 +-
 .../kodi-pvr-dvblink/kodi-pvr-dvblink.hash    |  2 +-
 package/kodi-pvr-dvblink/kodi-pvr-dvblink.mk  |  2 +-
 .../kodi-pvr-dvbviewer.hash                   |  2 +-
 .../kodi-pvr-dvbviewer/kodi-pvr-dvbviewer.mk  |  2 +-
 package/kodi-pvr-filmon/kodi-pvr-filmon.hash  |  2 +-
 package/kodi-pvr-filmon/kodi-pvr-filmon.mk    |  2 +-
 .../kodi-pvr-hdhomerun.hash                   |  2 +-
 .../kodi-pvr-hdhomerun/kodi-pvr-hdhomerun.mk  |  2 +-
 package/kodi-pvr-hts/kodi-pvr-hts.hash        |  2 +-
 package/kodi-pvr-hts/kodi-pvr-hts.mk          |  2 +-
 .../kodi-pvr-iptvsimple.hash                  |  2 +-
 .../kodi-pvr-iptvsimple.mk                    |  2 +-
 .../kodi-pvr-mediaportal-tvserver.hash        |  2 +-
 .../kodi-pvr-mediaportal-tvserver.mk          |  2 +-
 package/kodi-pvr-mythtv/kodi-pvr-mythtv.hash  |  2 +-
 package/kodi-pvr-mythtv/kodi-pvr-mythtv.mk    |  2 +-
 .../kodi-pvr-nextpvr/kodi-pvr-nextpvr.hash    |  2 +-
 package/kodi-pvr-nextpvr/kodi-pvr-nextpvr.mk  |  2 +-
 package/kodi-pvr-njoy/kodi-pvr-njoy.hash      |  2 +-
 package/kodi-pvr-njoy/kodi-pvr-njoy.mk        |  2 +-
 .../kodi-pvr-octonet/kodi-pvr-octonet.hash    |  2 +-
 package/kodi-pvr-octonet/kodi-pvr-octonet.mk  |  2 +-
 package/kodi-pvr-pctv/kodi-pvr-pctv.hash      |  2 +-
 package/kodi-pvr-pctv/kodi-pvr-pctv.mk        |  2 +-
 .../kodi-pvr-plutotv/kodi-pvr-plutotv.hash    |  2 +-
 package/kodi-pvr-plutotv/kodi-pvr-plutotv.mk  |  2 +-
 .../kodi-pvr-stalker/kodi-pvr-stalker.hash    |  2 +-
 package/kodi-pvr-stalker/kodi-pvr-stalker.mk  |  2 +-
 package/kodi-pvr-vbox/kodi-pvr-vbox.hash      |  2 +-
 package/kodi-pvr-vbox/kodi-pvr-vbox.mk        |  2 +-
 .../kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.hash  |  2 +-
 .../kodi-pvr-vdr-vnsi/kodi-pvr-vdr-vnsi.mk    |  2 +-
 package/kodi-pvr-vuplus/kodi-pvr-vuplus.hash  |  2 +-
 package/kodi-pvr-vuplus/kodi-pvr-vuplus.mk    |  2 +-
 package/kodi-pvr-waipu/kodi-pvr-waipu.hash    |  2 +-
 package/kodi-pvr-waipu/kodi-pvr-waipu.mk      |  2 +-
 package/kodi-pvr-wmc/kodi-pvr-wmc.hash        |  2 +-
 package/kodi-pvr-wmc/kodi-pvr-wmc.mk          |  2 +-
 package/kodi-pvr-zattoo/kodi-pvr-zattoo.hash  |  2 +-
 package/kodi-pvr-zattoo/kodi-pvr-zattoo.mk    |  2 +-
 .../kodi-screensaver-asteroids.hash           |  2 +-
 .../kodi-screensaver-asteroids.mk             |  2 +-
 .../kodi-screensaver-asterwave.hash           |  2 +-
 .../kodi-screensaver-asterwave.mk             |  2 +-
 .../kodi-screensaver-biogenesis.hash          |  2 +-
 .../kodi-screensaver-biogenesis.mk            |  2 +-
 .../kodi-screensaver-cpblobs.hash             |  2 +-
 .../kodi-screensaver-cpblobs.mk               |  2 +-
 .../kodi-screensaver-greynetic.hash           |  2 +-
 .../kodi-screensaver-greynetic.mk             |  2 +-
 .../kodi-screensaver-matrixtrails.hash        |  2 +-
 .../kodi-screensaver-matrixtrails.mk          |  2 +-
 .../kodi-screensaver-pingpong.hash            |  2 +-
 .../kodi-screensaver-pingpong.mk              |  2 +-
 .../kodi-screensaver-pyro.hash                |  2 +-
 .../kodi-screensaver-pyro.mk                  |  2 +-
 .../kodi-screensaver-rsxs.hash                |  2 +-
 .../kodi-screensaver-rsxs.mk                  |  2 +-
 .../kodi-screensaver-stars.hash               |  2 +-
 .../kodi-screensaver-stars.mk                 |  2 +-
 .../kodi-skin-confluence.hash                 |  2 +-
 .../kodi-skin-confluence.mk                   |  2 +-
 .../0001-texturepacker.patch                  | 16 ----
 ...-fix-texture-packer-cmake-source-dir.patch | 27 ------
 .../kodi-texturepacker/kodi-texturepacker.mk  |  9 +-
 .../kodi-vfs-libarchive.hash                  |  2 +-
 .../kodi-vfs-libarchive.mk                    |  2 +-
 package/kodi-vfs-rar/kodi-vfs-rar.hash        |  2 +-
 package/kodi-vfs-rar/kodi-vfs-rar.mk          |  2 +-
 package/kodi-vfs-sftp/kodi-vfs-sftp.hash      |  2 +-
 package/kodi-vfs-sftp/kodi-vfs-sftp.mk        |  2 +-
 .../kodi-visualisation-fishbmc.hash           |  2 +-
 .../kodi-visualisation-fishbmc.mk             |  2 +-
 .../kodi-visualisation-goom.hash              |  2 +-
 .../kodi-visualisation-goom.mk                |  2 +-
 .../kodi-visualisation-matrix.hash            |  2 +-
 .../kodi-visualisation-matrix.mk              |  2 +-
 .../kodi-visualisation-shadertoy.hash         |  2 +-
 .../kodi-visualisation-shadertoy.mk           |  2 +-
 .../kodi-visualisation-spectrum.hash          |  2 +-
 .../kodi-visualisation-spectrum.mk            |  2 +-
 .../kodi-visualisation-starburst.hash         |  2 +-
 .../kodi-visualisation-starburst.mk           |  2 +-
 .../kodi-visualisation-waveform.hash          |  2 +-
 .../kodi-visualisation-waveform.mk            |  2 +-
 package/kodi/Config.in                        | 10 +++
 package/kodi/kodi.hash                        |  6 +-
 package/kodi/kodi.mk                          | 32 +++++--
 ...file-to-be-compatible-with-buildroot.patch | 39 ---------
 package/omxplayer/Config.in                   | 36 --------
 package/omxplayer/omxplayer.hash              |  6 --
 package/omxplayer/omxplayer.mk                | 39 ---------
 package/opencv3/Config.in                     |  1 -
 package/opencv4/Config.in                     |  1 -
 package/qt5/qt5webengine/Config.in            |  2 +-
 156 files changed, 286 insertions(+), 538 deletions(-)
 delete mode 100644 package/ffmpeg/0005-Fixes-assembling-with-binutils-as-2.41.patch
 create mode 100644 package/ffmpeg/0005-avcodec-mmaldec-Fix-build-error.patch
 create mode 100644 package/freeswitch/0002-mod_av-fix-build-with-ffmpeg-6.0.patch
 delete mode 100644 package/kodi-audiodecoder-timidity/0001-MidiScan-include-missing-cstdint.patch
 delete mode 100644 package/kodi-imagedecoder-heif/0001-include-missing-cstdint-to-support-gcc-13.patch
 delete mode 100644 package/kodi-inputstream-ffmpegdirect/0001-include-missing-cstdint-to-support-gcc-13.patch
 delete mode 100644 package/kodi-texturepacker/0001-texturepacker.patch
 delete mode 100644 package/kodi-texturepacker/0002-fix-texture-packer-cmake-source-dir.patch
 delete mode 100644 package/omxplayer/0001-Update-Makefile-to-be-compatible-with-buildroot.patch
 delete mode 100644 package/omxplayer/Config.in
 delete mode 100644 package/omxplayer/omxplayer.hash
 delete mode 100644 package/omxplayer/omxplayer.mk

Comments

Thomas Petazzoni May 9, 2024, 5:25 p.m. UTC | #1
On Sun,  7 Apr 2024 13:44:25 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:

> Bernd Kuhls (20):
>   package/aubio: bump version
>   package/freeswitch: fix build with ffmpeg 6.0
>   package/omxplayer: remove package
>   package/ffmpeg: bump version to 6.1.1
>   package/ffmpeg: add optional support for libvpl
>   package/bento4: bump version to 1.6.0-641-Omega
>   package/kodi: bump version to 21.0-Omega
>   package/kodi-audiodecoder-*: mass version bump to Omega
>   package/kodi-audioencoder-*: mass version bump to Omega
>   package/kodi-imagedecoder-*: mass version bump to Omega
>   package/kodi-inputstream-adaptive: bump version to 21.4.4-Omega
>   package/kodi-inputstream-ffmpegdirect: bump version to 21.3.5-Omega
>   package/kodi-inputstream-rtmp: bump version to 21.1.0-Omega
>   package/kodi-peripheral-*: mass version bump to Omega
>   package/kodi-pvr-*: mass version bump to Omega
>   package/kodi-screensaver-*: mass version bump to Omega
>   package/kodi-skin-confluence: bump version
>   package/kodi-vfs-*: mass version bump to Omega
>   package/kodi-visualisation-*: mass version bump to Omega
>   package/kodi: add optional support for pipewire

I finished applying the whole series. I had to do a fixup patch to fix
the URLs of some Java binaries the main kodi package downloads. See:

  https://gitlab.com/buildroot.org/buildroot/-/commit/1223c116665a3fb5ec44218b5f256d813dc1a28f

Thanks for this work!

Thomas
Yann E. MORIN May 11, 2024, 6:30 p.m. UTC | #2
Bernd, All,

On 2024-04-07 13:44 +0200, Bernd Kuhls spake thusly:
> this is v2 of the patch series to bump Kodi to its latest version.
[--SNIP--]

While testing the udfread fixup patch, I stumbled on another build
error:

    $ cat defconfig
    BR2_aarch64=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
    BR2_PER_PACKAGE_DIRECTORIES=y
    BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
    BR2_PACKAGE_KODI=y
    BR2_PACKAGE_MESA3D=y
    BR2_PACKAGE_MESA3D_OSMESA_GALLIUM=y
    BR2_PACKAGE_MESA3D_OPENGL_EGL=y
    BR2_PACKAGE_MESA3D_OPENGL_ES=y
    BR2_PACKAGE_PYTHON3=y
    BR2_PACKAGE_PYTHON3_PY_PYC=y

    $ make kodi
    [--SNIP--]
      CCLD     libdvdread.la
    libtool: warning: library '/home/ymorin/dev/buildroot/O/master/per-package/kodi/host/opt/ext-toolchain/aarch64-buildroot-linux-gnu/lib64/libatomic.la' was moved.
    /usr/bin/grep: /builds/buildroot.org/toolchains-builder/build/aarch64--glibc--bleeding-edge-2024.02-1/aarch64-buildroot-linux-gnu/lib/../lib64/libatomic.la: No such file or directory
    /usr/bin/sed: can't read /builds/buildroot.org/toolchains-builder/build/aarch64--glibc--bleeding-edge-2024.02-1/aarch64-buildroot-linux-gnu/lib/../lib64/libatomic.la: No such file or directory
    libtool:   error: '/builds/buildroot.org/toolchains-builder/build/aarch64--glibc--bleeding-edge-2024.02-1/aarch64-buildroot-linux-gnu/lib/../lib64/libatomic.la' is not a valid libtool archive
    make[6]: *** [Makefile:533: libdvdread.la] Error 1
    make[5]: *** [Makefile:422: all] Error 2
    make[4]: *** [CMakeFiles/libdvdread.dir/build.make:86: build/libdvdread/src/libdvdread-stamp/libdvdread-build] Error 2
    make[3]: *** [CMakeFiles/Makefile2:4641: CMakeFiles/libdvdread.dir/all] Error 2
    make[2]: *** [Makefile:136: all] Error 2
    make[1]: *** [package/pkg-generic.mk:283: /home/ymorin/dev/buildroot/O/master/build/kodi-21.0-Omega/.stamp_built] Error 2
    make: *** [Makefile:23: _all] Error 2

Could you also look at this, please?

Regards,
Yann E. MORIN.
Bernd Kuhls May 12, 2024, 4:32 p.m. UTC | #3
Am Sat, 11 May 2024 20:30:21 +0200 schrieb Yann E. MORIN:

>     /usr/bin/grep: /builds/buildroot.org/toolchains-builder/build/
aarch64--glibc--bleeding-edge-2024.02-1/aarch64-buildroot-linux-gnu/
lib/../lib64/libatomic.la: No such file or directory

Hi Yann,

first of all I could reproduce the build error with your defconfig.

Reverting the kodi part of buildroot commit 
7333207eaf2900076185cba6641c6406d61c235e "fixed" the problem.

But since Kodi added libatomic detection already in version 20.0-Nexus (I 
haven't noticed) with commit https://github.com/xbmc/xbmc/commit/
1673f476b802da1da942cef256cae6272fdf9a4b we can remove our code, sent 
patch: https://patchwork.ozlabs.org/project/buildroot/patch/
20240512163159.999251-1-bernd@kuhls.net/

Regards, Bernd