Subject: bug#68242: closed (Re: bug#68242: [core-updates] Compress man pages using zstd)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 09 Jan 2024 03:33:02 +0000

Your bug report

#68242: [core-updates] Compress man pages using zstd

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
68242: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=68242
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#68242: [core-updates] Compress man pages using zstd
From: Maxim Cournoyer <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: Josselin Poiret <[email-masked]>, Simon Tournier <[email-masked]>, Mathieu Othacehe <[email-masked]>, Tobias Geerinckx-Rice <[email-masked]>, [email-masked], Ricardo Wurmus <[email-masked]>, Christopher Baines <[email-masked]>
Date: Mon, 08 Jan 2024 22:31:54 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi!

Ludovic Courtès <[email-masked]> writes:

> Maxim Cournoyer <[email-masked]> 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

Subject: [PATCH 0/5] Compress man pages using zstd
From: Maxim Cournoyer <[email-masked]>
To: [email-masked]
Cc: Maxim Cournoyer <[email-masked]>
Date: Thu, 4 Jan 2024 10:16:41 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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