-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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-unwrapped: 0.34.1 -> 0.35.0 #200914
mpv-unwrapped: 0.34.1 -> 0.35.0 #200914
Conversation
Can't request a review from @adisbladis, then so be it. |
https://github.com/mpv-player/mpv/releases/tag/v0.35.0
|
nice
very agreed on both accounts |
Yes, I want it!
Good. |
Motivated me enough to get #200922 going. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can change it to Meson tomorrow.
Totally missed that because my brain ignored everything that looked like git log.
I can give it a try but if it is buggy then I'll leave the fixing to someone else. |
23cbd7a
to
ad92daa
Compare
@ofborg build mpv-unwrapped mpv |
ad92daa
to
880d5d5
Compare
Aaaaand... Darwin blows up again https://logs.nix.ci/?key=nixos/nixpkgs.200914&attempt_id=ce2e3323-3003-4ddc-96f1-cec2ab675e41 |
I suggest to split this commit into two: the one updating version and hash, and the next updating the build system. After all, the thing still builds with waf. |
Took a look at this, needs |
FWIW: mpv-player/mpv#10859 |
75b66e3
to
4ba409d
Compare
I took the liberty of fixing up this PR:
|
4ba409d
to
a395268
Compare
8cd5ef8
to
edbbc7c
Compare
@@ -226,6 +215,6 @@ in stdenv.mkDerivation rec { | |||
''; | |||
license = licenses.gpl2Plus; | |||
maintainers = with maintainers; [ AndersonTorres fpletz globin ma27 tadeokondrak ]; | |||
platforms = platforms.darwin ++ platforms.linux; | |||
platforms = platforms.unix; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
platforms = platforms.unix; | |
platforms = platforms.unix; | |
broken = stdenv.isDarwin; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think it's acceptable to break such a widely-used package on Darwin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If anyone can fix this, go ahead. For now this is our current place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT, it's unnecessary though? WAF is still supported by upstream and meson was only just added in this release. Why do we need to switch right now?
Proper swift support for Darwin seems to be a prerequisite for MPV via meson and that is coming soon. Chances are it's being worked on as we speak.
We can delay the switch to meson until a later date. Remaining on WAF isn't the right way in the long run but we don't need to rush switching to meson either.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 200914
run on aarch64-darwin 1
7 packages marked as broken and skipped:
- anki
- hydrus
- jellyfin-mpv-shim
- mnemosyne
- mpc-qt
- plex-mpv-shim
- sublime-music
8 packages failed to build:
- ani-cli
- curseradio
- dmlive
- mpv-unwrapped
- python310Packages.mpv
- python39Packages.mpv
- somafm-cli
- ytfzf
Result of nixpkgs-review pr 200914
run on x86_64-darwin 1
8 packages marked as broken and skipped:
- anki
- hydrus
- jellyfin-media-player
- jellyfin-mpv-shim
- mnemosyne
- mpc-qt
- plex-mpv-shim
- sublime-music
8 packages failed to build:
- ani-cli
- curseradio
- dmlive
- mpv-unwrapped
- python310Packages.mpv
- python39Packages.mpv
- somafm-cli
- ytfzf
This cannot be merged in its current state. It breaks Darwin support entirely and this is a widely-used package.
I'm generally in favour of using meson over legacy build systems but it seems that must wait until we support its dependencies on Darwin in this case.
In the case of swift, that will be quite some time; at the very least one staging-next cycle which will probably be delayed due to the release.
The update and pipewire support should be possible to realise without meson. The update is important, meson support is merely a technical nice-to-have.
IMO this should also not be backported to stable; too much room for breakage. |
|
The whole idea was to recognize the release notes when doing updates. There was no indication that darwin would break in a non-fixable way. |
edbbc7c
to
8689b8f
Compare
Lets see how happy fruit corp is with just the version bump #201367 |
Co-authored-by: adisbladis <[email protected]> Co-authored-by: Anderson Torres <[email protected]>
8689b8f
to
5883f98
Compare
Nice idea implemented. Thanks you all! |
No, it isn't. The meson change is still open and now I must open a new PR because I force pushed the closed PR. |
Yes it is. Now we can focus on making meson work, while the end users can use mpv on Darwin. Looks like an absolute win to me. |
My plan was to repurpose this PR to keep the feedback on the meson switch since it is not as trivial as first thought. |
./result/bin/mpv https://www.youtube.com/watch?v=dQw4w9WgXcQ
worksDescription of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes