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
openspace: init at 0.11.1 #42149
openspace: init at 0.11.1 #42149
Conversation
libX11 libXi libXxf86vm libXcursor libXrandr libXinerama | ||
]; | ||
|
||
patches = [ |
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.
Please use fetchpatch for all patches available upstream.
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.
The only patch available upstream is glm.patch
. I could fetch the corresponding commit patch from glm's github repo, but glm is a submodule of openspace, so I can't apply the patch to the openspace source tree. Also, I made this patch by picking a whole file from a specific commit and replacing the several matching files in the source tree, which might not lead to the same result as applying the commit patch.
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.
Maybe I could fetch this file from github with fetchurl
, and manually replace the matching files in the source tree ?
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.
fetchpatch
takes an optional argument extraPrefix
. Are you sure this is not good enough?
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 the tip, I will try
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.
Done with fetchurl
. I tried the fetchpatch
method but it did not succeed because the commit patch was not applicable (the version of the file before the commit and the version of the source tree one did not match).
This adds a new package: OpenSpace, an open source astrovisualization project, and one of its dependencies: SOIL (Simple OpenGL Image Library). This kind of works for me, but please note that this build is not very usable for now. This is a first attempt. Also, Linux doesn't seem to be well supported upstream, hence the various patches (I will open an issue upstream to discuss them). Squashed commits: openspace: fetch upstream glm "patch" openspace: add missing dependency (libXxf86vm) soil: mesa -> mesa_noglu
@GrahamcOfBorg build openspace |
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: openspace Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: openspace Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: openspace Partial log (click to expand)
|
Hi :)
Motivation for this change
This adds a new package: OpenSpace, an open source astrovisualization project, and one of its dependencies: SOIL (Simple OpenGL Image Library).
This kind of works for me, but please note that this build is not very usable for now. This is a first attempt. Also, Linux doesn't seem to be well supported upstream, hence the various patches (I will open an issue upstream to discuss them).
This PR was successfully built against
release-18.03
andnixos-unstable
.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)meta.maintainers
) Fits CONTRIBUTING.md.