fix: Remove dav1d, rust-dav1d, rust-dav1d-sys from distro#17289
Merged
Conversation
202c087 to
41dc19b
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR removes the dav1d AV1 decoder and its Rust bindings (rust-dav1d, rust-dav1d-sys) from the Azure Linux distro, and updates key dependents (libavif, librsvg2, rust-rav1e) to avoid relying on dav1d.
Changes:
- Removed dav1d and Rust binding components/specs/locks/sources.
- Updated
libavifto disable the dav1d codec (aom remains enabled by default in the spec). - Updated
librsvg2to disable AVIF support andrust-rav1eto stop enabling dav1d-related build/test flags; added new component overlay files for these changes.
Reviewed changes
Copilot reviewed 14 out of 20 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| specs/r/rust-rav1e/rust-rav1e.spec | Drops decode_test_dav1d from build/install/test flags; bumps release/changelog. |
| specs/r/rust-dav1d/sources | Removes rust-dav1d crate source entry (component removal). |
| specs/r/rust-dav1d/rust-dav1d.spec | Removes rendered spec for rust-dav1d (component removal). |
| specs/r/rust-dav1d-sys/sources | Removes rust-dav1d-sys crate source entry (component removal). |
| specs/r/rust-dav1d-sys/rust-dav1d-sys.spec | Removes rendered spec for rust-dav1d-sys (component removal). |
| specs/l/librsvg2/librsvg2.spec | Forces AVIF support disabled in meson args; bumps release/changelog. |
| specs/l/libavif/libavif.spec | Removes dav1d BuildRequires and disables dav1d codec in CMake args; bumps release/changelog. |
| specs/d/dav1d/sources | Removes dav1d source entry (component removal). |
| specs/d/dav1d/dav1d.spec | Removes rendered spec for dav1d (component removal). |
| locks/rust-rav1e.lock | Updates input fingerprint for updated component config/spec output. |
| locks/rust-dav1d.lock | Removes lock for retired component. |
| locks/rust-dav1d-sys.lock | Removes lock for retired component. |
| locks/librsvg2.lock | Updates input fingerprint for updated component config/spec output. |
| locks/libavif.lock | Updates input fingerprint for updated component config/spec output. |
| locks/dav1d.lock | Removes lock for retired component. |
| base/comps/rust-rav1e/rust-rav1e.comp.toml | Adds overlays to remove decode_test_dav1d from build/install/test/license steps. |
| base/comps/librsvg2/librsvg2.comp.toml | Adds overlay to disable AVIF support unconditionally. |
| base/comps/libavif/libavif.comp.toml | Adds overlays to disable dav1d codec and remove pkgconfig(dav1d) BuildRequires. |
| base/comps/components.toml | Removes inline component entries for retired/now-customized components. |
| base/comps/components-publish-channels.toml | Removes dav1d component and rust-rav1e dav1d-related feature RPMs from publish mapping. |
41dc19b to
a64f68e
Compare
a64f68e to
a3868c3
Compare
christopherco
requested changes
May 16, 2026
Collaborator
christopherco
left a comment
There was a problem hiding this comment.
Changes themselves look good. Please break the changes into separate smaller commits:
- libavif changes
- librsvg2 changes
- rust-rav1e changes
- remove dav1d, rust-dav1d, rustdav1d-sys
Doing it this way will ensure the autochangelog render describes the alterations made to that specific package.
a3868c3 to
cd489f3
Compare
christopherco
requested changes
May 16, 2026
Collaborator
christopherco
left a comment
There was a problem hiding this comment.
Thanks for making the adjustments! One minor remaining adjustment needed, then we should be good to merge.
9f6f42a to
9446ac0
Compare
Disable dav1d decoder and remove its BuildRequires. The aom codec (already enabled) provides equivalent AV1 decode support. Move libavif from inline components.toml entry to dedicated comp.toml with overlays.
Unconditionally disable AVIF in the meson build (was already disabled for RHEL). AVIF-in-SVG is an extremely niche use case for a cloud distro. Move librsvg2 from inline components.toml entry to dedicated comp.toml with overlays.
Remove the dav1d AV1 decoder library and its Rust bindings from the distro. All dependents have been updated in prior commits to no longer reference dav1d. Remove dav1d from components-publish-channels.toml base-packages.
9446ac0 to
b9b442e
Compare
christopherco
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Remove the dav1d AV1 decoder and its Rust bindings. Dependents updated:
Resolves AB#19414
Resolves AB#19709