-
Notifications
You must be signed in to change notification settings - Fork 45
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
I found bundled C source code for 7z, rar, tar and zip, bzip2, is a concern, maybe out-of-date. #42
Comments
I had a look for 7z stuff on https://pkg.go.dev/, and saw:
So correction, it is maintained, however the bundled C source code still seems off. |
C sources are updated when there is a need, and I don't see one. The usual distros probably have even older versions. |
True, I noticed that with other people's, yours being the most recent upload! |
The plan is to use https://github.com/gen2brain/jpegli for JPEG, resulting in much smaller files. I don't see the point in using the 7z or RAR, there is very little to gain as images are already compressed, and e.g. proprietary formats like RAR just create troubles. The gain you get in using e.g. |
I'm working on a package for |
@jwillikers I could add |
|
@jwillikers |
@gen2brain Thanks! That totally works now and I'm able to build everything! |
I looked at this because of surprising unarchiving failures by cbconvert.
I could see "C" references in the Go code, so assume that all of this C code is compiled for use by the Go code.
e.g. The unarrc/external/zlib/README starts with:
The current zlib version from https://www.zlib.net/ is zlib 1.3.1, January 22, 2024.
It would probably have been smarter to dynamic bind to a 7z library for all the archive types, maybe a maintained Go library already exists for this, or the code could call CLI 7z/7zz, or archive specific CLI programmes.
This smells off.
The text was updated successfully, but these errors were encountered: