From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: from mandoc.bsd.lv (bsd.lv [66.111.2.12]) by inbox.vuxu.org (Postfix) with ESMTP id AFF1B215B8 for ; Tue, 28 Jan 2025 08:11:03 +0100 (CET) Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 82e567d0 for ; Tue, 28 Jan 2025 07:11:03 +0000 (UTC) Received: from magnesium.8pit.net (magnesium.8pit.net [45.76.88.171]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 8d30c7ae for ; Tue, 28 Jan 2025 07:11:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=opensmtpd; bh=q/B5M4d1 AL81Qi2bipnri6W65tfq99fBZ+vzCQ6vnAQ=; h=from:subject:to:date; d=soeren-tempel.net; b=QeAbFbBktMOdAs664nwsbL/hfxiRR96+hdiiBuBdrhOvejo DKQ8htxJDKF7WpfHNkYKymhFuxdlbJK8L/wYlwhd2c2jX1FQBqjBhmYXh2VprPEmNaAtQ9 0VGQWSKjla1yPifoypC1nErHq2OSABenSbidbq+zi3E95LSCek0g0U= Received: from localhost ( [2a02:560:4d3d:df00:9f7e:1cd:e8c0:99ab]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 0fd1f97a (TLSv1.3:TLS_AES_256_GCM_SHA384:256:YES) for ; Tue, 28 Jan 2025 08:10:57 +0100 (CET) Date: Tue, 28 Jan 2025 08:10:53 +0100 To: discuss@mandoc.bsd.lv Subject: zstd compression From: =?UTF-8?Q?S=C3=B6ren?= Tempel Message-Id: <3T0GC5KH2QOJE.3MWZ01GDN6VSI@8pit.net> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=C3=B6ren [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.us= ta.de -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv