Skip to content

fix: remove svt-av1 and disable svt-av1 in dependents#17272

Open
binujp wants to merge 1 commit into
4.0from
bphilip/svt-av1-elide
Open

fix: remove svt-av1 and disable svt-av1 in dependents#17272
binujp wants to merge 1 commit into
4.0from
bphilip/svt-av1-elide

Conversation

@binujp
Copy link
Copy Markdown
Contributor

@binujp binujp commented May 15, 2026

Summary

Remove the svt-av1 component from the distro and explicitly disable svt-av1 support in dependent packages.

Changes

  • svt-av1: Removed from components, publish channels, lock file, and rendered specs
  • gstreamer1-plugins-bad-free: Added svtav1 to build.without — the %bcond svtav1 defaults ON via %{defined fedora} which is true in the AZL build environment, so the plugin was being built and shipping libgstsvtav1.so with a dependency on libSvtAv1Enc.so.3
  • libavif: Created dedicated libavif.comp.toml with build.without = ["svt"] — the svt bcond defaults ON in non-bootstrap builds

Testing

  • Built libavif — verified all 3 RPMs (libavif, libavif-tools, libavif-devel) have no svt-av1 dependency
  • gstreamer1-plugins-bad-free build pending (overlay adds svtav1 to existing build.without list using the same pattern as the other disabled bconds)

Part of the codec removal effort.

Remove svt-av1 component from the distro — it is not needed and
carries codec licensing considerations.

- Remove svt-av1 from components.toml, publish channels, lock, and
  rendered specs
- Add build.without svtav1 to gstreamer1-plugins-bad-free (bcond
  defaults ON via %{defined fedora} in AZL build env)
- Create dedicated libavif comp.toml with build.without svt (bcond
  defaults ON in non-bootstrap builds)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@binujp binujp marked this pull request as ready for review May 15, 2026 21:01
Copilot AI review requested due to automatic review settings May 15, 2026 21:01
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the svt-av1 component from the Azure Linux distro and prevents dependent components from implicitly enabling SVT-AV1 support (which would otherwise introduce build/runtime deps on SvtAv1Enc / libSvtAv1Enc.so).

Changes:

  • Removed svt-av1 from rendered specs, locks, and publish channel lists.
  • Disabled SVT-AV1-related build conditionals in gstreamer1-plugins-bad-free (svtav1) and libavif (svt) via build.without, generating corresponding *.azl.macros to force the bconds off.
  • Updated rendered specs/locks to reflect the component config changes (including release/changelog bumps).

Reviewed changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
specs/s/svt-av1/svt-av1.spec Removes rendered spec for the svt-av1 component.
specs/s/svt-av1/sources Removes source hash entry for svt-av1 rendered sources.
locks/svt-av1.lock Removes lock file for the deleted svt-av1 component.
base/comps/libavif/libavif.comp.toml Introduces component config to disable svt bcond (avoids SVT-AV1 dependency).
specs/l/libavif/libavif.spec Rendered spec updated to load generated macros and include Source9999, plus release/changelog bump.
specs/l/libavif/libavif.azl.macros New generated macros file forcing _without_svt.
locks/libavif.lock Updates input fingerprint for the new libavif component config.
base/comps/gstreamer1-plugins-bad-free/gstreamer1-plugins-bad-free.comp.toml Extends build.without to include svtav1 so the SVT-AV1 plugin is not built.
specs/g/gstreamer1-plugins-bad-free/gstreamer1-plugins-bad-free.spec Rendered spec release bump corresponding to config change.
specs/g/gstreamer1-plugins-bad-free/gstreamer1-plugins-bad-free.azl.macros Updates generated macros to force _without_svtav1.
locks/gstreamer1-plugins-bad-free.lock Updates input fingerprint for the gstreamer1-plugins-bad-free config change.
base/comps/components.toml Removes inline entries for libavif (now customized) and svt-av1 (removed).
base/comps/components-publish-channels.toml Removes svt-av1 from publish channel component list.

Comment on lines 14 to +18
[components.gstreamer1-plugins-bad-free]
build.without = ["extras", "dc1394", "onnx", "openh264"]
build.without = ["extras", "dc1394", "onnx", "openh264", "svtav1"]

# AZL does not ship svt-av1 — disable the svtav1 gstreamer plugin.
# The bcond defaults ON via %{defined fedora} which is true in the AZL build env.
Comment on lines +1 to +4
# AZL does not ship svt-av1 — disable svt-av1 codec support.
# The svt bcond defaults ON in non-bootstrap builds.
[components.libavif]
build.without = ["svt"]
@binujp binujp changed the base branch from tomls/base/main to 4.0 May 15, 2026 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants