Skip to content

beta: transition to 26.08 SDK - #788

Draft
kel-mo wants to merge 7 commits into
flathub:betafrom
kel-mo:beta-26.08
Draft

beta: transition to 26.08 SDK#788
kel-mo wants to merge 7 commits into
flathub:betafrom
kel-mo:beta-26.08

Conversation

@kel-mo

@kel-mo kel-mo commented Sep 2, 2026

Copy link
Copy Markdown
Contributor
  • runtime: 25.08 to 26.08
  • kodi: python bindings via swig ([python] Generate the bindings directly with SWIG, drop Java/Groovy xbmc/xbmc#28958)*, java/openjdk17/groovy dropped
  • hwdata: dropped, 26.08 ships pnp.ids
  • taglib: dropped, 26.08 ships 2.3.1
  • dav1d: dropped, 26.08 ships 1.5.4
  • imagedecoder.heif: use runtime libheif + codecs-extra, drop libheif/libde265 modules
  • rtmpdump: patch for nettle 4.0 *_digest signature change

*swig patch is an unmerged upstream PR.

Patch in xbmc/xbmc#28958, which feeds the .i interface files straight to
swig 4.5 instead of running the groovy code generator. That removes the
only java user in the build, so the openjdk17 sdk extension and the
groovy and apache commons downloads go with it.

The PR is rebased onto our pinned commit; its base predates the
xbmc.python 3.1.0 bump, so kodi_common.i now reports 3.1.1 to match the
addon.xml version the PR sets. Drop the patch once it lands upstream.
Brings gcc 16.2, python 3.14, fmt 12.2 and taglib 2.3.1. Kodi master
already pins python 3.14.6 and fmt 12.1, so nothing in the build needed
adjusting for them. None of the elements 26.08 removed (glew, glog,
qpdf, python3-pytz, python3-six) are used here; kodi renders with gles,
so glew is not missed.
The module only existed because the 25.08 sdk shipped hwdata's pci.ids
but not pnp.ids, which libdisplay-info reads at build time. 26.08 ships
the full data set plus hwdata.pc, so libdisplay-info finds it there.
25.08 shipped 2.1.1, which is too old for kodi's Matroska music tag
support, so we built 2.3.1 ourselves. 26.08 ships exactly 2.3.1, the
version kodi pins in TAGLIB-VERSION. It comes back if kodi raises the
floor again.
The runtime tracks dav1d closely and now carries 1.5.4, the version we
pinned, so ffmpeg can link the runtime's libdav1d instead.
Stop building libheif and libde265 for this addon. 26.08 ships libheif
1.23.1 and gets its HEVC backend from the codecs-extra extension, which
carries the libheif-libde265 plugin; the runtime's build looks for it at
lib/<triplet>/codecs-extra/lib/libheif. AVIF also improves, as the
runtime's libheif links aom and svt-av1 next to dav1d.

The addon requires libde265 at configure time although it only ever
includes libheif headers, so patch that requirement to be optional.
Everywhere libde265 is present, as in kodi's own depends builds, the
link line is unchanged.
26.08 ships nettle 4.0, which drops the digest length argument from the
*_digest functions. librtmp's gnutls path still passes it, so rtmp.c
fails to compile on md5_digest. Patch the three macro definitions to
pick the right form via NETTLE_VERSION_MAJOR, keeping older nettle
working. Upstream rtmpdump is dead, so this stays local.
@flathubbot

Copy link
Copy Markdown
Contributor

🚧 Test build queued — waiting for capacity.

@kel-mo
kel-mo marked this pull request as draft September 2, 2026 21:18
@flathubbot

Copy link
Copy Markdown
Contributor

🚧 Started test build.

@flathubbot

Copy link
Copy Markdown
Contributor

Test build succeeded. To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/316568/tv.kodi.Kodi.flatpakref

Built for aarch64 and x86_64 architectures.

@kel-mo

kel-mo commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

I've submitted xbmc/imagedecoder.heif#93 in an attempt to upstream the imagedecoder.heif patch

@kel-mo

kel-mo commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Emailed rtmpdump-nettle4-digest.patch to upstream mailing list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants