-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Glaxnimate: init at 0.5.1 #209669
Glaxnimate: init at 0.5.1 #209669
Conversation
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
I can build it and create a basic animation. Working
Failing
I'd be fine with accepting this (as soon as whitespace issues are fixed) and opening the failing GIF export as a separate issue. |
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
Thanks a lot! I'll investigate the gif issue. Have you tried features requiring python? |
Some simple ideas for an integration test in
|
(But an integration test wouldn't be strictly necessary.) |
No, I'm not sure which these are. |
Python seems to be useful for scripting and provides a console + python library. I might give it a try when I have more time in the coming week https://glaxnimate.mattbas.org/contributing/scripting/ |
For that, a separate package under the python namespace would be useful. (But not necessary for this PR) |
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/kdenlive-missing-mlt-module-glaxnimate/24486/4 |
Co-authored-by: tricktron <tgagnaux@gmail.com>
I tried to add this test with: passthru.tests.version = testers.testVersion {
package = glaxnimate;
command = "glaxnimate --version";
}; However, on aarch64-darwin running this with On the other hand, building glaxnimate and the running manually Edit: And Any ideas? |
I have no system to reproduce right now, but you could push a commit containing the test and we can look at the ofborg output. |
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.
Tested on aarch64-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.
Use glaxnimate --version
as integration test. However, this currently fails on aarch64-darwin and possibly on linux too. If you add this, we can look at ofborg to investigate the issue.
Co-authored-by: tricktron <tgagnaux@gmail.com>
Co-authored-by: tricktron <tgagnaux@gmail.com>
Thanks. I think I understand the issue for Gif export, PIL is missing from python, with possibly other libraries. I'll investigate tomorrow. |
@ofborg build glaxnimate glaxnimate.passthru.tests.version |
Co-authored-by: Manuel Bärenz <programming@manuelbaerenz.de>
The plugins & gif export issues are solved… the problem of
Not sure if there is a way to provide a display in that case. |
Ok, I fixed the test script using |
Awesome, thanks a lot! |
@turion In the case where fixes are done in separate commits, can you please squash and merge next time? 10 out of these 11 commits are just cluttering up the history now 🙃 thanks! (Luckily it's not too big of a deal since you rebased them, so I think that should avoid them being spread out...) |
Sorry, I forgot to check the commit history! I'll try and remember the next times. |
Yeah, I was expecting the squash to be done at merge time, hence the dirty history, I should maybe add a warning next time to remind to squash. |
@turion @tobiasBora Package ‘xvfb-run’ in /Users/tricktron/github/my-forks/nixpkgs/pkgs/tools/misc/xvfb-run/default.nix:59 is not supported on ‘aarch64-darwin’, refusing to evaluate. I don't know any replacement for xvfb-run on darwin and since the testers.testVersion function is mostly intended for binaries without any GUI I think it is best to just disable the passthru test on darwin. Maybe something like: passthru.tests.version = lib.optionalAttrs stdenv.isLinux (testers.testVersion {
package = glaxnimate;
command = "${xvfb-run}/bin/xvfb-run glaxnimate --version";
}); Edit: I could open a pr if you like. |
Oh good to know. Sure, feel free to write a PR ! |
Weird, all the CI checks were green. Aren't the tests run automatically? |
@turion Normally, yes. But in this case, the commit message is wrong (should be lowercase to match the attr name, which is how OfBorg knows what to build automatically), so no. I'm admittedly not sure if it builds if more commits are added on top of that that don't include that name, though. |
Ok, lesson certainly learned: Inspect commit messages closely before merging. |
Description of changes
Fix #208707 (comment)
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