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

gnunet-gtk: init at 0.12.0 #77828

Merged
merged 1 commit into from Aug 4, 2020
Merged

gnunet-gtk: init at 0.12.0 #77828

merged 1 commit into from Aug 4, 2020

Conversation

pstn
Copy link
Contributor

@pstn pstn commented Jan 16, 2020

I worked on top of #77785 for a newer gnunet version, so please only merge after that PR.

Motivation for this change

Fixes #76754 and I want it.

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.


meta = with stdenv.lib; {
description = "GNUnet GTK User Interface";
homepage = https://github.com/ajf8/transmission-remote-gtk;
Copy link
Contributor

Choose a reason for hiding this comment

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

meta = with stdenv.lib; {
description = "GNUnet GTK User Interface";
homepage = https://github.com/ajf8/transmission-remote-gtk;
license = licenses.gpl3;
Copy link
Contributor

Choose a reason for hiding this comment

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

should be gpl3Plus

homepage = https://github.com/ajf8/transmission-remote-gtk;
license = licenses.gpl3;
maintainers = with maintainers;[ pstn ];
platforms = platforms.linux;
Copy link
Contributor

Choose a reason for hiding this comment

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

should be platforms.gnu ++ platforms.linux (same as gnunet)

@mehlon
Copy link
Contributor

mehlon commented Jan 29, 2020

Ah, I realize I should have used the "suggest changes" option for GitHub instead. Oh well.

@pstn pstn force-pushed the gnunet-gtk branch 3 times, most recently from aefc017 to 27ebb52 Compare June 18, 2020 16:13
@pstn
Copy link
Contributor Author

pstn commented Jun 18, 2020

Rebased my branch on master, resolved the issues and rebuilt the package.

@pstn
Copy link
Contributor Author

pstn commented Jun 22, 2020

repushed just for signature

@pstn
Copy link
Contributor Author

pstn commented Aug 4, 2020

ping @jonringer for review before feature freeze.


meta = with stdenv.lib; {
description = "GNUnet GTK User Interface";
homepage = https://git.gnunet.org/gnunet-gtk.git;
Copy link
Contributor

Choose a reason for hiding this comment

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

rfc 45

Suggested change
homepage = https://git.gnunet.org/gnunet-gtk.git;
homepage = "https://git.gnunet.org/gnunet-gtk.git";

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch. Fixed.

@pstn pstn force-pushed the gnunet-gtk branch 2 times, most recently from 55de181 to d93f339 Compare August 4, 2020 21:38
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.

installation seems to be missing some localization:

$ strace ./results//gnunet-gtk/bin/gnunet-fs-gtk
....
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en_US.UTF-8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en_US.utf8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en_US/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en.UTF-8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en.utf8/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/jjcw4g52zjzw4nvqmrl2nfpqzvdlr58i-gnunet-gtk-0.12.0/share/gnunet//GNUnet GTK/locale//en/LC_MESSAGES/gnunet-gtk.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x48} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)

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.

it just seems to be that one command, and I can't think of a way to fix it.

@jonringer jonringer merged commit 6f32199 into NixOS:master Aug 4, 2020
@pstn
Copy link
Contributor Author

pstn commented Aug 4, 2020

I could reproduce the weird locale search path but not the segmentation fault. Curious.

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.

package request: gnunet-gtk
3 participants