discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Sören Tempel" <soeren@soeren-tempel.net>
To: discuss@mandoc.bsd.lv
Subject: zstd compression
Date: Tue, 28 Jan 2025 08:10:53 +0100	[thread overview]
Message-ID: <3T0GC5KH2QOJE.3MWZ01GDN6VSI@8pit.net> (raw)

Hi,

Compression schemes beyond gzip are currently being adopted by Linux
distributions for man page compression. Case in point: Guix [1] has
switched to zstd compression recently, which has sadly rendered the
Guix mandoc package defunct [2].

For other downstream packagers impacted by this, I wanted to point out
that the zstd project provides a wrapper library which is API-compatible
with zlib and easily allows adapting software using zlib (e.g. mandoc)
to zstd compression. A sample patchset for doing that is available in
the Guix patch tracker [3].

Given mandoc's stance on man page compression [4], this is rather
intended as an FYI for downstream packagers, but in case there is
interested in proper upstream support for additional compression
algorithm, feel free to let me know.

Cheers!
Sören

[1]: https://guix.gnu.org/
[2]: https://issues.guix.gnu.org/68242
[3]: https://issues.guix.gnu.org/75501
[4]: https://inbox.vuxu.org/mandoc-discuss/20201129201424.GI58187@athene.usta.de
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv


             reply	other threads:[~2025-01-28  7:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-28  7:10 Sören Tempel [this message]
2025-01-28 10:40 ` Ingo Schwarze
2025-01-29 23:36   ` Alexis
     [not found]   ` <87wmeep1wj.fsf@gmail.com>
2025-01-30  9:59     ` Ingo Schwarze
     [not found]       ` <87v7tvoiqu.fsf@gmail.com>
2025-01-31 12:43         ` Ingo Schwarze

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3T0GC5KH2QOJE.3MWZ01GDN6VSI@8pit.net \
    --to=soeren@soeren-tempel.net \
    --cc=discuss@mandoc.bsd.lv \
    /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.
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 NNTP newsgroup(s).