From patchwork Sun Aug 7 12:02:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 41331 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 98E5927BBEA; Sun, 7 Aug 2022 13:03:33 +0100 (BST) 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=unavailable 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 3F9BE27BBE9 for ; Sun, 7 Aug 2022 13:03:33 +0100 (BST) Received: from localhost ([::1]:55806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKf0G-00062r-Du for patchwork@mira.cbaines.net; Sun, 07 Aug 2022 08:03:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37160) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKezm-00062L-SO for guix-patches@gnu.org; Sun, 07 Aug 2022 08:03:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46351) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKezm-0001uU-E8 for guix-patches@gnu.org; Sun, 07 Aug 2022 08:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKezm-0003f5-3e for guix-patches@gnu.org; Sun, 07 Aug 2022 08:03:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57034] [PATCH] gnu: packages: Add miniz. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Aug 2022 12:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57034 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57034@debbugs.gnu.org Cc: "\(" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165987375214036 (code B ref -1); Sun, 07 Aug 2022 12:03:01 +0000 Received: (at submit) by debbugs.gnu.org; 7 Aug 2022 12:02:32 +0000 Received: from localhost ([127.0.0.1]:36100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKezH-0003eK-Gy for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:02:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:43084) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKezD-0003eB-Q6 for submit@debbugs.gnu.org; Sun, 07 Aug 2022 08:02:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKez4-0005zY-4D for guix-patches@gnu.org; Sun, 07 Aug 2022 08:02:21 -0400 Received: from knopi.disroot.org ([178.21.23.139]:55952) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKeyy-0001md-7d for guix-patches@gnu.org; Sun, 07 Aug 2022 08:02:15 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8A85A43C4E; Sun, 7 Aug 2022 14:02:09 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id diJaSqZju3QF; Sun, 7 Aug 2022 14:02:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659873726; bh=JXsYl94/vUk3bYKVYM4xEZJu15C4/STZWeinAo3EQ8A=; h=From:To:Cc:Subject:Date; b=E/8kEMZtVXBTTYjy6G+llEeI1OGBH6ArQgFzKsLjufcHbndNdtyT3gyjwrpeiSZen 0glBxVjPbXnKTlWuwXx3hk6Jt/xWLMXTY2kwi/AlhmAGmurpJh54fbu2hEWBdcan7P cc9x/VHMnFQREmXqbRZW5xbOKZPpbMw8SDBnBifIT/LSQZ24Wa4mGh+i7hOwKbLGbk 3EckY4c4O2z2NfYsuytDpq65rOAf+Cp2V5SFDnmc58QDFDoa5gFWubcXe2WVPuNYxl WBPZ2G5ST4aCEK8jgbXNWINUPN+UhtgV7LVtTGu8tVgTShsWRG05a2NqxzMgYTzahS avVI9fw0fZQ8Q== Date: Sun, 7 Aug 2022 13:02:01 +0100 Message-Id: <20220807120201.19970-1-paren@disroot.org> Mime-Version: 1.0 Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/compression.scm (miniz): New variable. --- gnu/packages/compression.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm index 6070c5beb1..cb1283c9a1 100644 --- a/gnu/packages/compression.scm +++ b/gnu/packages/compression.scm @@ -35,6 +35,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Ahmad Jarara +;;; Copyright © 2022 ( ;;; ;;; This file is part of GNU Guix. ;;; @@ -2784,3 +2785,34 @@ (define-public fcrackzip (synopsis "Zip password cracker") (description "Fcrackzip is a Zip file password cracker.") (license license:gpl2+))) + +(define-public miniz + ;; Last release was on 27-06-2021; there have been many commits since + ;; then. + (let ((commit "be92575500f71dfb5ac7b0c5bb47b6e736c23039") + (revision "0")) + (package + (name "miniz") + (version (git-version "2.2.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/richgel999/miniz") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0w42vagcv4b0hcf0jk7vamrcpmw62dblx9856j98msdfm3qv1xzi")))) + (build-system cmake-build-system) + (arguments + (list #:configure-flags + #~(list "-DBUILD_SHARED_LIBS=ON") + ;; No test target. + #:tests? #f)) + (home-page "https://github.com/richgel999/miniz") + (synopsis "Simple replacement for @code{zlib}") + (description + "@code{miniz} is a small, simple alternative to the @code{zlib} +data compression library for manipulating zlib, DEFLATE, PNG, and ZIP +files from C.") + (license license:expat))))