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
ams: init at 2.1.2 #82291
ams: init at 2.1.2 #82291
Conversation
@jonringer per https://discourse.nixos.org/t/adopting-a-new-pkg/6178/2 It was suggested that I add myself as a maintainer. I assumed this meant my github username. Apparently this didn't get by tests. Did it mean that I needed to add my name to Open to all suggestions. Thanks! |
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.
Thanks for making a PR!
just a few comments
also, your commit message should be:
ams: init at 2.1.2
yes, you need to add yourself to the maintainers list, please take a look at #81835 for how to do that commit |
Thanks Jon. Super instructive! I'll work through these. |
Thanks again, @jonringer. Very welcoming experience! |
Right. Will conform next time! |
Is this essentially mergeable now @jonringer? |
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.
git history needs to be cleaned up:
git reset HEAD~6
git add maintainers
git commit -m "maintainers: add sjfloat"
git add pkgs/
git commit -m "ams: init at 2.1.2"
git push .. .. --force
this will make it two commits, one to add you as a maintainer in nixpkgs, the other to add your package.
Unrelated to PR: the patch should probably be upstreamed so that others can benefit from it
IOW, you'd like this squashed and the commit message corrected. Certainly.
Actually, I think the patch probably already is upstream. I originally based my derivation on a Debian package, and I found the patch there. When I got things working and I switched to pulling directly from the upstream source, I had a lot of troubles trying to build a later commit. I hope to move quickly to resolving those, but they weren't critical and did not substantially affect the user experience; it was very usable as I built it and I wanted to make it available first. Thanks again! |
Yea, to help maintainership, commit messages are important to quickly gather what changes were done. You can read the guidance https://github.com/NixOS/nixpkgs/blob/master/.github/CONTRIBUTING.md#submitting-changes and also https://nixos.org/nixpkgs/manual/#chap-submitting-changes |
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 just get this output when i try to run the program. is this normal?
No Qt translation for locale 'en_US' found.
No AlsaModularSynth translation for locale 'en_US' found.
LADSPA_PATH not set, assuming LADSPA_PATH=/usr/lib/ladspa:/usr/lib64/ladspa:/usr/local/lib/ladspa:/usr/local/lib64/ladspa
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
^CCannot connect to server socket err = No such file or directory
Cannot connect to server request channel
It is if the jack service isn't running. You'll get similar errors from other jack clients in such a case. |
We might be able to do better about providing reasonable defaults for those environment variables though. |
I went that way before pushing this, but I encountered troubles. My
strategy was to get this out, so as to make it available, and then to
follow up by jumping to `master` and bringing it up to date (which would
include moving to QT5).
But if it's generally preferred, perhaps I just close this and go back to the drawing board (it works fine for me in the meantime).
|
Looking at the commit that switches to Qt 5 by default, something like |
Yes, I definitely pursued that for a ways; my first attempts, actually. But I encountered a lot of troubles.
I'll revisit.
|
Yeah, Qt5 is going to take some puzzling out. I managed to build something, but I got runtime errors due, I assume, to needing |
Just add |
You need to use |
Thanks! Everything builds and functions properly. I'm going to look it over and push again. |
Jon’s suggestions in the Files tab still apply. |
As far as I know, I addressed them all. Is there anything in particular that I may have missed? |
I hope this nails it. Sorry for all the bother! |
By the way, do you have your committer name/email set to |
Hmm. Thanks for bringing that to my attention. |
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.
diff LGTM
commits LGTM
thanks @jtojnar
[3 built, 0.0 MiB DL]
https://github.com/NixOS/nixpkgs/pull/82291
1 package built:
ams
@GrahamcOfBorg build ams |
I'm not sure I understand why that is. It's not the case in my local git config, nor is it so in my github account. |
You can use |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)