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
libjxl: init at 2021-06-22-409efe02 (jpeg-xl reference implementation) #103160
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/packages-looking-for-a-maintainer/5442/5 |
cmakeFlags = [ | ||
]; |
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.
Is this meant to be empty?
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 kept it empty for now just to make clear to whoever would like to step up for maintenance that this is a cmake bulid and that this is where options would go.
We might for example be interested in these: https://gitlab.com/wg1/jpeg-xl/-/blob/4d70bd58fbcb758b61446aba447fedd9177a00c9/CMakeLists.txt#L98-104
set(JPEGXL_FORCE_SYSTEM_GTEST false CACHE BOOL
"Force using system installed googletest (gtest/gmock) instead of third_party/googletest source.")
set(JPEGXL_FORCE_SYSTEM_BROTLI false CACHE BOOL
"Force using system installed brotli instead of third_party/brotli source.")
set(JPEGXL_FORCE_SYSTEM_HWY false CACHE BOOL
"Force using system installed highway (libhwy-dev) instead of third_party/highway source.")
if we want it to use our system libs (but I'm also OK with it using its submodule libs, as I'm not sure if jpeg-xl often patches them).
If we find we need to I've removed it now, we can add it back when needed.cmakeFlags
, we can of course remove that empty list.
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 think we should use system libs if they are available or add a comment to use them in the future except if they are heavily patched.
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.
Fine by me, but then we first need to have a good look into whether they changed important stuff or not.
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've added a comment.
Result of 1 package failed to build:
|
Result of 1 package failed to build:
|
I marked this as stale due to inactivity. → More info |
Hmm, I just updated this, but now noticed that they moved from Gitlab to Github and renamed the project from |
ofborg says
But it doesn't seem to post where I can read those errors. |
Apparently I had to look at the sibling github check
According to @sternenseemann this means:
|
Reported at: libjxl/libjxl#213 |
Ready to merge from my side. For the internal compiler error failure on |
Marking it broken saves hydra resources. |
@SuperSandro2000 Thanks! Done. |
…ter default config Upstreamed in: NixOS#103160
Motivation for this change
Packages the JPEG XL reference implementation:
jpeg-xl
.I start this as a draft PR because:
src
is from my fork.Also I'm PRing it against 20.09 to make it easy to test, of course it'll have to be rebased against
master
for the final PR.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)