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

aravis: init at 0.5.13 #45274

Merged
merged 1 commit into from Nov 27, 2018
Merged

aravis: init at 0.5.13 #45274

merged 1 commit into from Nov 27, 2018

Conversation

rehno-lindeque
Copy link
Contributor

Motivation for this change

aravis is a library for interacting with GenICam (industrial) cameras. It is primarily a library but also comes with a viewer application.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

version = "0.5.13";
name = "${pname}-${version}";

src = fetchurl {
Copy link
Member

Choose a reason for hiding this comment

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

Please use fetchFromGitHub instead of fetchurl because it relies on the hash of the contents of the repository instead of the hash of a tarball, and it would allow us to fix all GitHub src fetchers, if GitHub changes something about how it works.

@ryantm
Copy link
Member

ryantm commented Sep 25, 2018

@GrahamcOfBorg build aravis

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: aravis

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: aravis

Partial log (click to expand)

patching script interpreter paths in /nix/store/z9mwhk0li02b1kwzra8lsazk314gmv69-aravis-0.5.13
checking for references to /build in /nix/store/z9mwhk0li02b1kwzra8lsazk314gmv69-aravis-0.5.13...
shrinking RPATHs of ELF executables and libraries in /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib
shrinking /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib/lib/gstreamer-1.0/libgstaravis-0.6.so
shrinking /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib/lib/libaravis-0.6.so.0.0.0
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib/lib
patching script interpreter paths in /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib
checking for references to /build in /nix/store/x1ri7y7hsafxcd7jjdm6bc4v2z399zlm-aravis-0.5.13-lib...
/nix/store/k8h1a01vi497620fwb8v550489h4wiws-aravis-0.5.13-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: aravis

Partial log (click to expand)

patching script interpreter paths in /nix/store/4y20r6ssrqciqamzbgjigywky81sakir-aravis-0.5.13
checking for references to /build in /nix/store/4y20r6ssrqciqamzbgjigywky81sakir-aravis-0.5.13...
shrinking RPATHs of ELF executables and libraries in /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib
shrinking /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib/lib/gstreamer-1.0/libgstaravis-0.6.so
shrinking /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib/lib/libaravis-0.6.so.0.0.0
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib/lib
patching script interpreter paths in /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib
checking for references to /build in /nix/store/bb0dyshvd2mxhsc4gsr21aagbyki0zqw-aravis-0.5.13-lib...
/nix/store/xas1bfs4g71jadnc9rdkv21jqdif09b3-aravis-0.5.13-bin

@samueldr
Copy link
Member

@rehno-lindeque we'll need the changes asked by @ryantm to merge this :).

@rehno-lindeque
Copy link
Contributor Author

Sorry, I'll try to finish up in a couple of days

@rehno-lindeque
Copy link
Contributor Author

rehno-lindeque commented Nov 19, 2018

Sorry for the long wait, fetchFromGitHub is now used. (I believe this should be ready to merge).

EDIT: also renamed gtk_doc to gtk-doc as a consequence of #32804.

@rehno-lindeque
Copy link
Contributor Author

@ryantm look ok?

@ryantm
Copy link
Member

ryantm commented Nov 27, 2018

@GrahamcOfBorg build aravis

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: aravis

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: aravis

Partial log (click to expand)

patching script interpreter paths in /nix/store/vahblzcd364ypk3p5pjkj1msf9h8b8fg-aravis-0.5.13
checking for references to /build in /nix/store/vahblzcd364ypk3p5pjkj1msf9h8b8fg-aravis-0.5.13...
shrinking RPATHs of ELF executables and libraries in /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib
shrinking /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib/lib/libaravis-0.6.so.0.0.0
shrinking /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib/lib/gstreamer-1.0/libgstaravis-0.6.so
strip is /nix/store/n4hb93w6j076xcjw5pm09rdmc09s075b-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib/lib
patching script interpreter paths in /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib
checking for references to /build in /nix/store/m5b5982l8c4h4l8x582vf6pf8hjw1pm5-aravis-0.5.13-lib...
/nix/store/ff4w305k538j6k90d3y8z4aprvz9r1rk-aravis-0.5.13-bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: aravis

Partial log (click to expand)

patching script interpreter paths in /nix/store/3dari3sjh3baww5wl07wh7xr5fdh357s-aravis-0.5.13
checking for references to /build in /nix/store/3dari3sjh3baww5wl07wh7xr5fdh357s-aravis-0.5.13...
shrinking RPATHs of ELF executables and libraries in /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib
shrinking /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib/lib/gstreamer-1.0/libgstaravis-0.6.so
shrinking /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib/lib/libaravis-0.6.so.0.0.0
strip is /nix/store/qjrnv0qw44bw1hc23zhfh26xd1c25dfs-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib/lib
patching script interpreter paths in /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib
checking for references to /build in /nix/store/icmbdadpizin8wlsj83px07lv02hwiiv-aravis-0.5.13-lib...
/nix/store/ax0pr77d0sbxcwgkr40nzm9085lsxszf-aravis-0.5.13-bin

@ryantm ryantm merged commit 4c1ba5d into NixOS:master Nov 27, 2018
@ryantm
Copy link
Member

ryantm commented Nov 27, 2018

@rehno-lindeque Merged; thanks for pushing this through!

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

4 participants