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
mpv: patch libarchive locale handling #58993
Conversation
I downloaded this movie with youtube-dl, zipped it, built mpv with |
If it fails for you without this patch, then yes. (Although I suppose that just testing this doesn't mean it's working improperly, either. :) ) |
Building mpv using Looks good? |
5d9170e
to
8de4e7d
Compare
8de4e7d
to
dc88967
Compare
dc88967
to
5102be0
Compare
Hmm, aren't there patches in staging and 19.03 staging that would fix this? |
So yeah, didn't see that. (Based this off I'm not sure if this is still worth merging, as locales look to be strange and non-obvious. I could see this patch possibly helping with Nix-built binaries ran on other platforms, but I'm not sure? mpa->locale = newlocale(LC_ALL_MASK, "C.UTF-8", (locale_t)0); This looks like a runtime dep on locale presence to me, which would still cause issues on other distributions. Would that use case be valuable enough to check this issue on updates until something happens upstream? |
5102be0
to
3812295
Compare
3812295
to
5f5dc7e
Compare
Closing due to a patch downstream (mpv-player/mpv#6683) solving this differently, and 19.03 being the main release. |
Motivation for this change
mpv's libarchive locale handling is broken on multiple Linux distributions currently due to an assumption on
C.UTF-8
existing (see mpv-player/mpv#5759, mpv-player/mpv#6488). A patch (mpv-player/mpv#6438) has been submitted, but not yet merged. It'd be nice to get this in before 19.03 for those wanting to use mpv witharchiveSupport
simply.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nix-review --run "nix-review wip"
./result/bin/
)nix path-info -S
before and after)