libass: drop enca dependency, not supported anymore#123915
Merged
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom Jun 16, 2021
Merged
libass: drop enca dependency, not supported anymore#123915SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
SuperSandro2000 merged 1 commit intoNixOS:stagingfrom
Conversation
Contributor
Author
|
cc @codyopel -> do you have an idea of the impact of this? I'm not sure how important enca is. |
Contributor
Author
|
Enca isn't used anymore by libass according to the changelog, so it's better to remove it completely. Enca support was dropped in 0.13.0: https://github.com/libass/libass/blob/6fc9855dac44699242ded580040838da032c3a9d/Changelog#L184 |
f85179c to
cc804e8
Compare
Enca support was dropped in 0.13.0: https://github.com/libass/libass/blob/6fc9855dac44699242ded580040838da032c3a9d/Changelog#L184 This also fixes cross-compilation, since enca didn't cross-compile.
cc804e8 to
3ff9e94
Compare
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
11 tasks
Member
|
Do you know if it can be removed from ? If so we might as well drop the enca package. |
Contributor
Author
|
The split2flac package doesn't seem to be maintained (upstream), but it was added to nixpkgs after maintenance was stopped. At least it's still a (optional) dependency for the latest version. @jfrankenau are you still using split2flac? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation for this change
libass is a dependency of ffmpeg, which is depended upon by a lot of packages. Enca was a dependency previously, but it's unused since version 0.13.0. Let's drop it since it doesn't do anything.
This also enables cross-compilation, since enca didn't cross-compile properly. Since it isn't needed anymore, we don't have to attempt that.
I tried to build with and without this change using content-addressed derivations, that gave the same hash for both builds. That gives confidence that removing enca doesn't change anything.
Things done
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)