From: "Ludovic Courtès" <ludo@gnu.org>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 68242@debbugs.gnu.org
Subject: [bug#68242] [core-updates] Compress man pages using zstd
Date: Mon, 08 Jan 2024 18:29:18 +0100 [thread overview]
Message-ID: <87eder3f9t.fsf_-_@gnu.org> (raw)
In-Reply-To: <befeaef0fa91ae49ea8f141121de4d790dd52a2a.1704484373.git.maxim.cournoyer@gmail.com> (Maxim Cournoyer's message of "Fri, 5 Jan 2024 14:52:53 -0500")
Maxim Cournoyer <maxim.cournoyer@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’.
next prev parent reply other threads:[~2024-01-08 17:33 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-04 15:16 [bug#68242] [PATCH 0/5] Compress man pages using zstd Maxim Cournoyer
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 " Maxim Cournoyer
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 1/5] utils: Lower xz compression memory usage limit to 20% Maxim Cournoyer
2024-01-08 17:26 ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 2/5] compression: Enable zstd parallel compression Maxim Cournoyer
2024-01-08 17:26 ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 3/5] packages: Repack patched source archives via zstd by default Maxim Cournoyer
2024-01-08 17:25 ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 4/5] build: gnu-build-system: Compress man pages with zstd Maxim Cournoyer
2024-01-08 17:29 ` Ludovic Courtès [this message]
2024-01-09 1:17 ` [bug#68242] [core-updates] Compress man pages using zstd Maxim Cournoyer
2024-01-05 19:52 ` [bug#68242] [PATCH core-updates v2 5/5] man-db: Add support for zstd compressed man pages Maxim Cournoyer
2024-01-08 17:30 ` [bug#68242] [core-updates] Compress man pages using zstd Ludovic Courtès
2024-01-09 3:31 ` bug#68242: " Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eder3f9t.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=68242@debbugs.gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).