From patchwork Tue Mar 12 22:51:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Elsing X-Patchwork-Id: 61721 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5B60727BBEA; Tue, 12 Mar 2024 22:54:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A704B27BBE2 for ; Tue, 12 Mar 2024 22:54:20 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rkB0h-0000fS-FM; Tue, 12 Mar 2024 18:54:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rkAzy-0008QA-1Q for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:30 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rkAzx-0000Ik-NP for guix-patches@gnu.org; Tue, 12 Mar 2024 18:53:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rkB0W-0001m3-DM for guix-patches@gnu.org; Tue, 12 Mar 2024 18:54:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69591] [PATCH v2 08/31] gnu: Add miniz. Resent-From: David Elsing Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 12 Mar 2024 22:54:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69591 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69591@debbugs.gnu.org Cc: David Elsing Received: via spool by 69591-submit@debbugs.gnu.org id=B69591.17102840156573 (code B ref 69591); Tue, 12 Mar 2024 22:54:04 +0000 Received: (at 69591) by debbugs.gnu.org; 12 Mar 2024 22:53:35 +0000 Received: from localhost ([127.0.0.1]:44068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkB02-0001hv-5w for submit@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:35 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkAze-0001dy-8x for 69591@debbugs.gnu.org; Tue, 12 Mar 2024 18:53:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A22B7240101 for <69591@debbugs.gnu.org>; Tue, 12 Mar 2024 23:52:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710283948; bh=f+d2Z9FGqKKSWV9UKP4SQq3coAjHBGChJgTQzpZ8xM8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=LYdJaQb9SsxVjYI0mKR4skKtZ9hyyy6LXBvOlFkWORsWBle3Pg/he945yej510ixG 8aBNmaK2DGth8S9wv1i1mVz2sNirJo21dh/OVvkMEe5yUWflXkYepRtf/0VHSUCRfI ck7RChu0UyZZcqIRyjkL8dX68gK748vaPrdUQMlOTbajQtNIFv5udIuRvaK7m5cF0o 6w6t2hy8jRR1yyCgGVMGtMJleW2jlEh7w2+IK0nfkylpM9H0XC7wszZN37+MrTRiYk 4e6T8jpeRNjzlqvOCNthF1tG2GP6Jxt+OuB2xQheI6Ysacrue010sXHal9vxS276y1 HQDjdj1eMLDhw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvTRw1sByz6txW; Tue, 12 Mar 2024 23:52:28 +0100 (CET) From: David Elsing Date: Tue, 12 Mar 2024 22:51:36 +0000 Message-ID: <20240312225211.16427-8-david.elsing@posteo.net> In-Reply-To: <20240312224712.15578-1-david.elsing@posteo.net> References: <20240312224712.15578-1-david.elsing@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/compression.scm (miniz): New variable. --- gnu/packages/compression.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 5de17b6b51..fcfc2c30f3 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2022 Greg Hogan ;;; Copyright © 2022 Zhu Zihao ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2024 David Elsing ;;; ;;; This file is part of GNU Guix. ;;; @@ -2838,3 +2839,31 @@ (define-public unrar-free libarchive. It does not rival the non-free @code{unrar} in terms of features, but special care has been taken to ensure it meets most user's needs.") (license license:gpl2+))) + +(define-public miniz + (package + (name "miniz") + (version "3.0.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/richgel999/miniz") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0672q35vjrpakmsr1gwj9k5fwv5ihzhahm19bq4y74wqpn91p7fw")))) + (build-system cmake-build-system) + (arguments + (list + #:configure-flags + ''("-DBUILD_SHARED_LIBS=ON") + ;; No tests + #:tests? #f)) + (home-page "https://github.com/richgel999/miniz") + (synopsis "Independent implementation of zlib and Deflate compression") + (description "Miniz is a lossless data compression library that implements +the zlib (RFC 1950) and Deflate (RFC 1951) compressed data format +specification standards. It supports the most commonly used functions +exported by the zlib library.") + (license license:expat)))