compression force for zip and ODF files in the installation archives
Jérôme Bouat
jerome.bouat at laposte.net
Fri Feb 23 10:19:49 UTC 2024
Hello.
The building of many ODF files doesn't specify the maximum compression force ("-9" option), like the below :
"""
zip -qrX --must-match $@ content.xml settings.xml styles.xml META-INF/manifest.xml
"""
When I decompress this generated ODF file and compress it again with the maximum force, next the file size decreases.
The zip files in share/config doesn't use the maximum force also.
The default zip compression is usually "-6" force. Is there a global option for the whole build ? Could we set it to the maximum force ?
I mean there is no benefit for half compression force. Either there is no compression ("stored" zip method) next the installation archive achieves a better LZX or XZ compression with uncompressed data. Or a maximum force with "deflate" zip method ensures a lower installation size.
More information about the LibreOffice
mailing list