GNU bug report logs - #68242
[core-updates] Compress man pages using zstd

Previous Next

Package: guix-patches;

Reported by: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Date: Thu, 4 Jan 2024 15:18:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #52 received at 68242 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 68242 <at> debbugs.gnu.org
Subject: Re: bug#68242: [core-updates] Compress man pages using zstd
Date: Mon, 08 Jan 2024 18:29:18 +0100
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.