-
Notifications
You must be signed in to change notification settings - Fork 542
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
[bsdiff_classic] Update Bzip2 compat #9648
base: master
Are you sure you want to change the base?
Conversation
This will help testing https://github.com/JuliaIO/BSDiff.jl/pull/49/files
@@ -3,11 +3,11 @@ | |||
using BinaryBuilder, Pkg | |||
|
|||
name = "bsdiff_classic" | |||
version = v"4.3.0" |
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.
Does this need to be updated or should I leave it as 4.3.0?
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.
You do need to change the version number if compat bounds change (and you changed also the julia one below)
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.
You may want to trigger a rebuild of Bzip2 in a separate PR, so that we get it built for aarch64-freebsd (hopefully that works out-of-the-box without much hassle)
@@ -3,11 +3,11 @@ | |||
using BinaryBuilder, Pkg | |||
|
|||
name = "bsdiff_classic" | |||
version = v"4.3.0" |
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.
You do need to change the version number if compat bounds change (and you changed also the julia one below)
Co-authored-by: Mosè Giordano <[email protected]>
License file is missing |
Nice catch. |
@@ -17,6 +17,7 @@ perl -i -ple '$_ = "#include <sys/types.h>\n" . $_ if $. == 31' bspatch.c | |||
cc -O3 -lbz2 -I"${prefix}/include" bsdiff.c -o bsdiff | |||
cc -O3 -lbz2 -I"${prefix}/include" bspatch.c -o bspatch | |||
install bsdiff bspatch "${bindir}" | |||
install_license bsdiff.c bspatch.c |
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.
Using source code as license file isn't a great idea. That seems to be 2-clause BSD, we have that somewhere in the rootfs
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.
It should be
install_license bsdiff.c bspatch.c | |
install_license /usr/share/licenses/BSD2 |
This will help testing JuliaIO/BSDiff.jl#49