-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
jbigkit: fix darwin compile and link #390602
Conversation
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.
Great ! Thanks for doing this :)
I left an optional comment, there's room for improvement, but certainly not a blocker.
4d64277
to
a82f1d3
Compare
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 updating the optional stuff :)
a82f1d3
to
ec65b16
Compare
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.
Not a very thorough review but I didn't notice any serious problems.
I do know that non-platform dependent patches are usually preferred but I know it's painful with .so
v. .dylib
(note that the extension is pretty much just cosmetic, Darwin is fine with .so
).
ec65b16
to
d6c19f5
Compare
|
|
d6c19f5
to
273a5ce
Compare
I appologize for I made a mistake in deleting some of the linked libraries, which caused issues with using this package as a shared library on Darwin. This has been resolved in the new commit that has been pushed. |
|
It seems that the remaining failed packages and tests have been failed to be built on hydra for a long time. |
Why's this not a problem with homebrew? https://github.com/Homebrew/homebrew-core/blob/4cd5165d5645d6cc0c7e10f543c2bceddfd44b32/Formula/j/jbigkit.rb |
273a5ce
to
c706fae
Compare
I'm sorry, I got caught up in the patches and didn't realize that these patches were not needed for the Darwin platform. I have fixed this in the new commit that I have pushed. |
c706fae
to
25ad606
Compare
|
25ad606
to
30da2de
Compare
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
30da2de
to
440ca91
Compare
|
Could you adjust your commit log message to reflect what has been done within this PR ? Current:
|
440ca91
to
3ba8419
Compare
|
|
3ba8419
to
687f08a
Compare
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.
- First the common patches, then the specialisation
- Use
lib.optionals
Apply patches to linux platforms only, which are not required for darwin platforms. Signed-off-by: Qiming Chu <cchuqiming@gmail.com>
687f08a
to
c486c6f
Compare
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!
Apply patches to linux platforms only, which are not required for darwin platforms.
Fix #345659
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.