GNU bug report logs -
#68242
[core-updates] Compress man pages using zstd
Previous Next
Full log
View this message in rfc822 format
Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
> The aim is to improve the efficiency of computing the man pages database,
> which must decompress the man pages. Zstd is faster than gzip, especially for
> decompression, and has a similar compression ratio.
>
> * gnu/packages/commencement.scm (%final-inputs): Add zstd.
> * guix/build/gnu-build-system.scm
> (compress-documentation) Update doc.
> <info-compressor, info-compressor-flags, man-compressor, man-compressor-flags>
> <man-compressor-file-extension>: New arguments.
> <compressed-documentation-extension>: Rename argument to...
> <info-compressor-file-extension>: ... this. Add an 'extension' argument to
> the retarget-symlink nested procedure. Use new arguments in nested
> 'maybe-compress' procedure.
>
> Change-Id: Ibaad4658f8e5151633714d263d9198f56d255020
That’s a great idea, LGTM!
Do you have figures on the space savings of a package with many man
pages such as gnutls:doc or openssl:doc?
Thanks,
Ludo’.
This bug report was last modified 1 year and 165 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.