-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vlc: fix dependencies #392101
base: master
Are you sure you want to change the base?
vlc: fix dependencies #392101
Conversation
Eliminate various problems with dependencies: * Add explicit dependencies on various libraries that are directly checked for, and happened to work before because they leaked in. * Remove dependencies that were unused, either because VLC does not support them (any more) or because they need to be paired with other dependencies that were not present (and no one noticed). * Drop obsolete workarounds.
It is reportedly [1] broken, and I am not able to work out the reason. As videos playing properly without hardware acceleration is better than videos not playing at all, disable it for now. [1] NixOS#299174
@LordGrimmauld
These all seem to be false positives (libspatialaudio and live555 are statically linked, and wayland-protocols kinda too in that protocol code is generated from its XML files). |
False positives are currently somewhat expected, i don't yet have found a good way to detect static linking and test inputs from the .drv alone. I might however add these to the "allowed unused dependencies" list so they don't get flagged anymore. As to changes: I see you added libmpeg2. Is this intended, and is this a good idea? libmpeg2 is unmaintained upstream for over a decade at this point, adding it as new dependency feels wrong. |
It was already present under its non-alias alias |
it seems to be a dependency in gstreamer too, which impacts significantly more builds than just vlc. I wanted to drop it from there too, but i do not have any numbers about how common mpeg 1/2 is (libmpeg2 does both MPEG-1 and MPEG-2). If you just cleaned up the naming of the lib, that is fine by me, didn't catch that 👍 |
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.