Skip to content
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

dgedit: init at 0.10.0 #83597

Closed
wants to merge 1 commit into from
Closed

Conversation

matthiasbeyer
Copy link
Contributor

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Copy link
Contributor

@puzzlewolf puzzlewolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work for me:

[nix-shell:~/.cache/nixpkgs-review/pr-83597]$ ./results/dgedit/bin/dgedit 
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

Perhaps a missing qt dependency?

@matthiasbeyer
Copy link
Contributor Author

Oh, yeah, I did not finish this...

@matthiasbeyer
Copy link
Contributor Author

So, as far as I can see, this is built withg qt4. I still get the following error:

qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

And a segfault afterwards. But I am not sure whether this is due that I run wayland and sway and whether it would work on x11...

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

pkgs/applications/audio/dgedit/default.nix Outdated Show resolved Hide resolved
pkgs/applications/audio/dgedit/default.nix Outdated Show resolved Hide resolved
@matthiasbeyer
Copy link
Contributor Author

Ready to rebase?

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

doesn't build for me

builder for '/nix/store/6vvwnrfrlzk2qlvv00rcqy4i6jx8mymq-dgedit.drv' failed with exit code 1; last 10 log lines:
  fatal: unable to connect to git.drumgizmo.org:
  git.drumgizmo.org[0: 212.178.176.2]: errno=Connection refused

  fatal: unable to connect to git.drumgizmo.org:
  git.drumgizmo.org[0: 212.178.176.2]: errno=Connection refused

  fatal: unable to connect to git.drumgizmo.org:
  git.drumgizmo.org[0: 212.178.176.2]: errno=Connection refused

  Unable to checkout refs/tags/v0.10.0 from git://git.drumgizmo.org/dgedit.git/.

Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please fix:

$ ./results/dgedit/bin/dgedit
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Aborted (core dumped)

https://nixos.org/nixpkgs/manual/#sec-language-qt

@puzzlewolf
Copy link
Contributor

The binary works on X for me now :)

meta = with stdenv.lib; {
description = "the DrumGizmo drumkit editor";
homepage = "https://drumgizmo.org/";
license = licenses.gpl3Plus;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The licensing situation of this project seems a bit mixed. The program (menu Help/about/License) displays a GPL 3, calls it GPL (without version number), but the source files say "GPL version 2 or later" 😕. Obviously, GPL 3 is included in "or later". I don't know what we should do here, maybe ask upstream to clarify? Is this actually a problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clearification would be nice, yes.

pkgs/applications/audio/dgedit/default.nix Show resolved Hide resolved
@stale
Copy link

stale bot commented Oct 11, 2020

Hello, I'm a bot and I thank you in the name of the community for your contributions.

Nixpkgs is a busy repository, and unfortunately sometimes PRs get left behind for too long. Nevertheless, we'd like to help committers reach the PRs that are still important. This PR has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human.

If this is still important to you and you'd like to remove the stale label, we ask that you leave a comment. Your comment can be as simple as "still important to me". But there's a bit more you can do:

If you received an approval by an unprivileged maintainer and you are just waiting for a merge, you can @ mention someone with merge permissions and ask them to help. You might be able to find someone relevant by using Git blame on the relevant files, or via GitHub's web interface. You can see if someone's a member of the nixpkgs-committers team, by hovering with the mouse over their username on the web interface, or by searching them directly on the list.

If your PR wasn't reviewed at all, it might help to find someone who's perhaps a user of the package or module you are changing, or alternatively, ask once more for a review by the maintainer of the package/module this is about. If you don't know any, you can use Git blame on the relevant files, or GitHub's web interface to find someone who touched the relevant files in the past.

If your PR has had reviews and nevertheless got stale, make sure you've responded to all of the reviewer's requests / questions. Usually when PR authors show responsibility and dedication, reviewers (privileged or not) show dedication as well. If you've pushed a change, it's possible the reviewer wasn't notified about your push via email, so you can always officially request them for a review, or just @ mention them and say you've addressed their comments.

Lastly, you can always ask for help at our Discourse Forum, or more specifically, at this thread or at #nixos' IRC channel.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 11, 2020
pkgs/applications/audio/dgedit/default.nix Outdated Show resolved Hide resolved
pkgs/applications/audio/dgedit/default.nix Outdated Show resolved Hide resolved
@stale stale bot removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels Nov 27, 2020
@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 83597 run on x86_64-linux 1

1 package built:
  • dgedit

@matthiasbeyer
Copy link
Contributor Author

Nice, thanks.
Btw: LOL github... does not even make the default commit message a real fixup message. 😠

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you squash the commits?

@SuperSandro2000
Copy link
Member

Result of nixpkgs-review pr 83597 run on x86_64-linux 1

1 package built:
  • dgedit

@matthiasbeyer
Copy link
Contributor Author

Done

Copy link
Member

@SuperSandro2000 SuperSandro2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

diff LGTM. Can someone with X11 confirm that it does not segfault?

@siraben
Copy link
Member

siraben commented Jan 15, 2021

Build succeeds on darwin but fails at runtime.

make[1]: Entering directory '/private/tmp/nix-build-dgedit-0.10.0.drv-0/dgedit'
make[2]: Entering directory '/private/tmp/nix-build-dgedit-0.10.0.drv-0/dgedit'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/private/tmp/nix-build-dgedit-0.10.0.drv-0/dgedit'
make[1]: Leaving directory '/private/tmp/nix-build-dgedit-0.10.0.drv-0/dgedit'
qtOwnPathsHook
post-installation fixup
wrapping Qt applications in /nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0/bin /nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0/sbin /nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0/libexec
strip is /nix/store/ynbk6s6nqmrvv17snwydkfn64h81r4yv-cctools-binutils-darwin-949.0.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0/bin 
patching script interpreter paths in /nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0
postPatchMkspecs
postPatchMkspecs
postPatchMkspecs
/nix/store/wazwcnh64pcccnrblz92bn2gk8wqa29i-dgedit-0.10.0
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

[1]    47483 abort      ./result/bin/dgedit

Looks like it could be a trivial fix.

@SuperSandro2000
Copy link
Member

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.

Result of nixpkgs-review pr 83597 run on x86_64-linux 1

1 package built:
  • dgedit

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants