Skip to content

fix(wireshark): remove dependency on opus to drop it#17128

Merged
christopherco merged 1 commit into
tomls/base/mainfrom
bphilip/opus-wireshark-elide
May 12, 2026
Merged

fix(wireshark): remove dependency on opus to drop it#17128
christopherco merged 1 commit into
tomls/base/mainfrom
bphilip/opus-wireshark-elide

Conversation

@binujp
Copy link
Copy Markdown
Contributor

@binujp binujp commented May 11, 2026

Remove opus-devel BR. Wireshark auto-detects opus and builds without
Opus RTP audio playback when it is absent. This is to allow removal of the opus package from AZL.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com
Part of the effort to remove opus, opusfile, and mingw-opus from Azure Linux.

Copilot AI review requested due to automatic review settings May 11, 2026 05:13
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 opus-devel build dependency from the wireshark component so Wireshark builds without Opus RTP audio playback support, enabling the opus package to be removed from Azure Linux while keeping Wireshark buildable.

Changes:

  • Added a wireshark component overlay to remove the BuildRequires: opus-devel tag during rendering.
  • Updated the rendered Wireshark spec to reflect the removed build requirement.
  • Updated the wireshark lock fingerprint and moved wireshark out of the “unmodified Fedora imports” inline component list.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
specs/w/wireshark/wireshark.spec Rendered spec no longer includes BuildRequires: opus-devel.
locks/wireshark.lock Updates input fingerprint to match the component config change.
base/comps/wireshark/wireshark.comp.toml New component overlay removing opus-devel BuildRequires with spec-remove-tag.
base/comps/components.toml Removes inline [components.wireshark] entry since the component now has per-component customization.

Remove opus-devel BR. Wireshark auto-detects opus and builds without
Opus RTP audio playback when it is absent. This is to allow removal of the opus package from AZL.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@binujp binujp force-pushed the bphilip/opus-wireshark-elide branch from 5878bb5 to da11c47 Compare May 11, 2026 15:04
Copy link
Copy Markdown
Collaborator

@christopherco christopherco left a comment

Choose a reason for hiding this comment

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

LGTM. Added a non-blocking suggestion to upstream a toggle to Fedora

@@ -0,0 +1,10 @@
[components.wireshark]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

suggestion (non-blocking): Consider upstreaming a change to Fedora to allow toggling -DENABLE_OPUS=ON/OFF in cmake invocation. Then we can use that in the future to ensure opus isn't built.

@christopherco christopherco merged commit abb7c92 into tomls/base/main May 12, 2026
10 checks passed
@christopherco christopherco deleted the bphilip/opus-wireshark-elide branch May 12, 2026 05:16
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