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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#68242: closed ([core-updates] Compress man pages using zstd)
Date: Tue, 09 Jan 2024 03:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 08 Jan 2024 22:31:54 -0500
with message-id <87a5pfxjv9.fsf <at> gmail.com>
and subject line Re: bug#68242: [core-updates] Compress man pages using zstd
has caused the debbugs.gnu.org bug report #68242,
regarding [core-updates] Compress man pages using zstd
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
68242: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68242
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Subject: [PATCH 0/5] Compress man pages using zstd
Date: Thu,  4 Jan 2024 10:16:41 -0500
This series changes the compressor of our man pages from gzip to zstd, which
decompresses much faster, and compresses better at the chosen level (19).


Maxim Cournoyer (5):
  utils: Lower xz compression memory usage limit to 20%.
  compression: Enable zstd parallel compression.
  packages: Repack patched source archives via zstd by default.
  build: gnu-build-system: Compress man pages with zstd.
  man-db: Add support for zstd compressed man pages.

 gnu/compression.scm             |  3 +-
 gnu/packages/commencement.scm   |  3 +-
 guix/build/gnu-build-system.scm | 71 +++++++++++++++++++++------------
 guix/build/utils.scm            |  3 +-
 guix/man-db.scm                 | 45 ++++++++++++++++-----
 guix/packages.scm               | 51 +++++++++++++----------
 guix/profiles.scm               |  8 +++-
 7 files changed, 122 insertions(+), 62 deletions(-)


base-commit: 784a7e8da6456e6388e2bfc213e93e252eb2be40
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Josselin Poiret <dev <at> jpoiret.xyz>,
 Simon Tournier <zimon.toutoune <at> gmail.com>, Mathieu Othacehe <othacehe <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, 68242-done <at> debbugs.gnu.org,
 Ricardo Wurmus <rekado <at> elephly.net>, Christopher Baines <guix <at> cbaines.net>
Subject: Re: bug#68242: [core-updates] Compress man pages using zstd
Date: Mon, 08 Jan 2024 22:31:54 -0500
Hi!

Ludovic Courtès <ludo <at> gnu.org> writes:

> Maxim Cournoyer <maxim.cournoyer <at> gmail.com> skribis:
>
>> * guix/man-db.scm (<mandb-entry>): Adjust comment.
>> (abbreviate-file-name): Adjust regexp.
>> (gz-compressed?, zstd-compressed?): New predicates.
>> (entry->string): Use them.
>> (man-page->entry): Adjust doc.  Use input port reader appropriate to the
>> compression type, if any.
>> (man-files): Adjust regexp.
>> (mandb-entries): Adjust link resolving predicate.
>> * guix/profiles.scm (manual-database): Add guile-zlib extension.
>>
>> Change-Id: I6336e46e2d324c520a7d15d6cafd12bbf43c5b09
>
> [...]
>
>>  (define-module (guix man-db)
>>    #:use-module (zlib)
>> +  #:use-module (zstd)
>
> Maybe #:autoload both modules for good measure.

Done.

> Otherwise LGTM, thanks!

Excellent, I've pushed the series.

Closing!

-- 
Thanks,
Maxim


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.