FS#54572 - [firefox] Is PKGBUILD dependency on alsa-lib still required?

Attached to Project: Arch Linux
Opened by Ralph Corderoy (RalphCorderoy) - Saturday, 24 June 2017, 14:55 GMT
Last edited by Jan Alexander Steffens (heftig) - Tuesday, 27 June 2017, 06:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I understand firefox 54.0-1 no longer supports ALSA for sound, but needs pulseaudio.
And that pulseaudio remains an optional package dependency because firefox works,
without sound, without it.
But alsa-lib is still listed in PKGBUILD as a non-optional dependency.
Is this still needed?
This task depends upon

Closed by  Jan Alexander Steffens (heftig)
Tuesday, 27 June 2017, 06:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Removed in trunk.
Comment by loqs (loqs) - Saturday, 24 June 2017, 20:10 GMT
firefox has a dependency on ffmpeg which has dependencies of alsa-lib and libpulse.
firefox also has a dependency on nss which has a dependency on sqlite.
Comment by Ralph Corderoy (RalphCorderoy) - Sunday, 25 June 2017, 05:39 GMT
"Dependencies that are provided by other dependencies do not need to be listed. For instance, if a package foo depends on both bar and baz, and the bar package depends in turn on baz too, baz does not need to be included in foo's depends array." — https://wiki.archlinux.org/index.php/PKGBUILD#depends

So package firefox doesn't need to list alsa-lib as a dependency if it doesn't need it but ffmpeg does.
Instead, it can treat ffmpeg as a black box and rely on ffmpeg to pull in the packages it needs in turn.

Loading...