There is no shortage of ZIP archivers out there, but none seem to be able to repack
Firefox's omni.ja
. Instructions are provided only for Info-ZIP's zip
:
zip -qr9XD omni.ja *
-XD
is necessary for the creation of omni.ja
-like archives:
-X | Do not save extra file attributes. |
-D | Do not create entries in the zip archive for directories. |
Official builds at ftp://ftp.info-zip.org/pub/infozip/win32/ date back to 2008/2009 (x86/x64), and do not include security patches that modern Linux builds have.
Also there are no official ARM64 builds. (Please note, however, that ARM64 builds provided here are completely untested.)
The following Fedora patches are downloaded along with Info-ZIP sources (other Fedora patches are not relevant on Windows):
Additional Windows-specific patches can be found in the patches directory:
- no-compile-date.patch is equivalent to Debian's 10-remove-build-date.patch, but patches Windows rather than Unix sources.
- no-win98.patch and rename-cr.patch fix compilation errors on Windows.
- Info-ZIP's x64 makefile
makefile.a64
mentions neither large file support nor a resource file. To fix this, x64-makefile.patch moves x64 assembly stuff tomakefile.w32
, turning it into a universal makefile that can be used to build x86, x64 or ARM64 targets.