Skip to content

chore: remove rust-dolby_vision#17130

Merged
reubeno merged 2 commits into
tomls/base/mainfrom
chrco/remove-rust-dolby-vision
May 12, 2026
Merged

chore: remove rust-dolby_vision#17130
reubeno merged 2 commits into
tomls/base/mainfrom
chrco/remove-rust-dolby-vision

Conversation

@christopherco
Copy link
Copy Markdown
Collaborator

@christopherco christopherco commented May 11, 2026

Summary

Removes the rust-dolby_vision SRPM and all 9 of its binary subpackages (libdovi, libdovi-devel, rust-dolby_vision-devel, and 6 feature shims) from Azure Linux.

libplacebo is the only external consumer of libdovi in the distro (build-time, via pkgconfig(dovi)). The first commit patches libplacebo to build with -Dlibdovi=disabled and drops the BuildRequires, leaving rust-dolby_vision with zero consumers. The second commit removes the SRPM.

Commits

  1. fix(libplacebo): disable Dolby Vision support — moves libplacebo to a dedicated comp.toml, adds two overlays (drop BuildRequires: libdovi-devel, inject -Dlibdovi=disabled into %meson), refreshes lock and rendered spec.
  2. chore(rust-dolby_vision): remove from distro — drops the inline component entry, the SDK package list entries for all 9 subpackages, the lock file, and the rendered spec directory.

Functional impact

libplacebo (and downstream consumers — ffmpeg, mpv, plasma-*, weston, etc.) will no longer parse Dolby Vision RPU metadata. Standard HDR10 / HDR10+ paths are unaffected. The -Dlibdovi=disabled Meson option is upstream-supported.

Fixes: AB#19712

Patch libplacebo to build with -Dlibdovi=disabled and drop the
libdovi-devel BuildRequires. libdovi (from the rust-dolby_vision SRPM)
is the only external consumer keeping rust-dolby_vision in Azure Linux
4.0; disabling it here unblocks removal of the SRPM in a follow-up
commit.

The -Dlibdovi=disabled Meson option is upstream-supported and only
controls parsing of Dolby Vision RPU metadata at runtime. Standard
HDR10 / HDR10+ paths in libplacebo and its consumers (ffmpeg, mpv,
plasma-*, weston, etc.) are unaffected.

Move the component to a dedicated comp.toml so the overlays have a
home; the inline entry in components.toml is dropped accordingly.
Remove the rust-dolby_vision SRPM and all 9 of its binary subpackages
(libdovi, libdovi-devel, rust-dolby_vision-devel, and 6 feature
shims) from Azure Linux 4.0.

Reverse-dep analysis identified libplacebo as the only external
consumer (build-time, via pkgconfig(dovi)). The previous commit
disables libdovi support in libplacebo, leaving rust-dolby_vision
with zero consumers in the distro. Cascade verification on both
x86_64 and aarch64 shows no remaining references after the libplacebo
rebuild.

Removes the inline component entry, the SDK package list entries for
all binary subpackages, the lock file, and the rendered spec
directory.
@christopherco christopherco force-pushed the chrco/remove-rust-dolby-vision branch from 68652a6 to 908c9bf Compare May 11, 2026 07:57
@christopherco christopherco marked this pull request as ready for review May 12, 2026 00:54
Copilot AI review requested due to automatic review settings May 12, 2026 00:54
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

This PR removes the rust-dolby_vision SRPM (and its binary subpackages) from Azure Linux by first disabling libplacebo’s optional libdovi integration, then deleting the component artifacts and SDK package list entries.

Changes:

  • Disable Dolby Vision (libdovi) support in libplacebo by dropping BuildRequires: libdovi-devel and forcing -Dlibdovi=disabled in the Meson configuration.
  • Remove rust-dolby_vision from the distro by deleting its lock + rendered spec artifacts and removing its SDK package list entries.
  • Move libplacebo from an inline components entry to a dedicated *.comp.toml with overlays.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
base/comps/libplacebo/libplacebo.comp.toml New component definition with overlays to remove libdovi BuildRequires and inject -Dlibdovi=disabled.
specs/l/libplacebo/libplacebo.spec Rendered spec updated accordingly (drops BR, adds Meson option, bumps autorelease/changelog).
locks/libplacebo.lock Lock fingerprint updated to reflect the component config change.
base/comps/components.toml Removes inline entries for libplacebo (now dedicated file) and rust-dolby_vision (removed).
base/packages/sdk.packages.toml Removes libdovi* and rust-dolby_vision* binary package entries from the SDK package list.
locks/rust-dolby_vision.lock Deleted lock for the removed component.
specs/r/rust-dolby_vision/rust-dolby_vision.spec Deleted rendered spec for the removed component.
specs/r/rust-dolby_vision/sources Deleted sources metadata for the removed component.
specs/r/rust-dolby_vision/dolby_vision-fix-metadata.diff Deleted rendered patch artifact associated with the removed component.
specs/r/rust-dolby_vision/dolby_vision-a8e639d.patch Deleted rendered patch artifact associated with the removed component.

type = "spec-search-replace"
section = "%build"
regex = '^%meson \\$'
replacement = '''%meson \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

(Observation) Sounds like this really wants a spec-insert-line-after?

@reubeno reubeno merged commit a096a5b into tomls/base/main May 12, 2026
14 checks passed
@reubeno reubeno deleted the chrco/remove-rust-dolby-vision branch May 12, 2026 10:24
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.

3 participants