-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
aegisub: 3.3.3 -> 3.4.0 #359027
aegisub: 3.3.3 -> 3.4.0 #359027
Conversation
pkgs/by-name/ae/aegisub/package.nix
Outdated
@@ -167,5 +144,7 @@ stdenv.mkDerivation (finalAttrs: { | |||
mainProgram = "aegisub"; | |||
maintainers = with lib.maintainers; [ wegank ]; | |||
platforms = lib.platforms.unix; | |||
# No native wxWidgets and VapourSynth is broken. |
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'm unable to test VapourSynth on darwin but if its broken maybe also add badPlatforms
to the VapourSynth package.
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.
It’s already listed as broken
there (not badPlatforms
, though, which might be slightly better).
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.
Oh nvm I should have looked at the whole file before commenting
Sadly they compile code specific to the wxWidgets Cocoa backend on macOS so even after @wegank’s work to get VapourSynth working on Darwin this still won’t go. Would be nice to get that backend packaged at some point. |
I think wangqr/Aegisub@3556c96 would help fix aegisub on darwin. (Also, I think I've mentioned this before, but |
Aha, a regression, interesting! I guess I should port that to the active fork then :)
Oh, I had no idea and just assumed. That is indeed extremely confusing. |
Looks like it was intentionally undone: arch1t3cht/Aegisub@6dda04d. I wonder if there’s anything we can do to get at the private symbols here? (Or we could just re‐re‐re‐revert it ourselves and choose broken IME support over a broken build.) |
IIRC that commit was reverted in the fork to fix IME input. Unfortunately it uses private symbols from wxWidgets which causes linking to fail when using a non-bundled version. I worked around this by using the bundled wx on Darwin, though this isn't ideal... (Looks like we collided). |
Looks like upstream is no longer dead, and I guess is reabsorbing arch1t3cht's fork? https://aegisub.org/blog/aegisub-3.4.0-released |
Seems to build fine on AArch64.
Aegisub is a program of many forks. We currently use the inactive wangqr fork that has not received an update in two years. This switches to the actively‐maintained arch1t3cht fork, bringing in additional functionality, bug fixes, and a much more reasonable Meson build system that lets us drop our LuaJIT devendoring patch. It also contains fixes for newer versions of Boost. Note that although the `README.md` has a note from two years ago saying “**Don't** use this version if you're just looking for any version of Aegisub”, that is somewhat outdated and predates it becoming a fully‐fledged fork: as the next section of the file from two months ago admits, it is the current de facto standard Aegisub fork and the version universally recommended by up‐to‐date sources; see e.g.: * <https://fansubbers.miraheze.org/wiki/Aegisub> * <https://guide.encode.moe/typesetting/aegisub.html> * <https://www.reddit.com/r/aegisub/comments/yzvi4m/aegisub_update_status/> * <Ristellise/AegisubDC#10>
3710fd1
to
40808a4
Compare
40808a4
to
92c9cba
Compare
@ofborg build aegisub aegisub.passthru.tests |
|
Hmm, I feel a little strange about what happened to this PR while I was gone. The new upstream is the TypesettingTools fork, which I already considered while making this PR. It’s definitely what we should be using in the long run, and I’m glad that the Aegisub ecosystem is finally converging on one repository. However, as the blog post itself says, it does not include all the changes from arch1t3cht’s fork yet:
The arch1t3cht fork is still hundreds of commits ahead of the TypesettingTools repository, and the only changes to the latter since I opened this PR were some bug fix commits. I think the correct thing to do here is to continue to use arch1t3cht’s fork for now, for the reasons I gave in the original PR message, and then switch to the TypesettingTools repository in a release or two once it has absorbed a meaningful amount of the functionality in the fork. Mostly though it just feels a little odd for my PR with the explicit intent of switching to the arch1t3cht fork for now to get reused for this – I wouldn’t mind if this one had been closed in favour of a PR taking the alternate approach. |
I completely agree. I hope I'm wrong, but if by any chance my comment above was what prompted the repurposing of this PR from "aegisub: switch to arch1t3cht's fork" to "3.3.3 -> 3.4.0" and its subsequent merge, then I apologize as that was not my intention ― I just wanted to bring attention to the blog post announcing the release of 3.4.0 since I thought it relevant to the discussion. I don't know if my $0.02 is worth anything since I'm basically just a driveby commenter on this PR 😅 but IMO the author of a PR should be the one to make any major changes to the goal or aim of the PR, and if someone wants to do something different it's easy enough to open a different PR for that. |
I apologize for the quick and thoughtless bump to 3.4.0. Feel free to revert the latest commit or introduce the fork as a separate package. |
Aegisub is a program of many forks. We currently use the inactive wangqr fork that has not received an update in two years. This switches to the actively‐maintained arch1t3cht fork, bringing in additional functionality, bug fixes, and a much more reasonable Meson build system that lets us drop our LuaJIT devendoring patch. It also contains fixes for newer versions of Boost.
Note that although the
README.md
has a note from two years ago saying “Don't use this version if you're just looking for any version of Aegisub”, that is somewhat outdated and predates it becoming a fully‐fledged fork: as the next section of the file from two months ago admits, it is the current de facto standard Aegisub fork and the version universally recommended by up‐to‐date sources; see e.g.:cc @al3xtjames – I see you’ve worked on packaging this for Nix and contributed upstream to assist with that; perhaps you’d be interested in maintaining this package? :) (I expect your version may have benefits over this, from a quick skim; I just did this in the process of Boost clean‐up, but I’d be happy to review a PR bringing it in line with your changes.)
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.