From patchwork Wed Dec 20 03:55:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57913 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 CC6EA27BBEA; Wed, 20 Dec 2023 04:12:15 +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,FREEMAIL_FROM,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 510B527BBE2 for ; Wed, 20 Dec 2023 04:12:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnwA-0004Jo-8E; Tue, 19 Dec 2023 23:12:02 -0500 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 1rFnw7-0004Ia-VW for guix-patches@gnu.org; Tue, 19 Dec 2023 23:11:59 -0500 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 1rFnw7-0007NY-NQ for guix-patches@gnu.org; Tue, 19 Dec 2023 23:11:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rFnwA-0004xH-LS; Tue, 19 Dec 2023 23:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67919] [PATCH 50/55] gnu: Add rust-fast-srgb8-1. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Wed, 20 Dec 2023 04:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67919 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67919@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67919-submit@debbugs.gnu.org id=B67919.170304550519004 (code B ref 67919); Wed, 20 Dec 2023 04:12:02 +0000 Received: (at 67919) by debbugs.gnu.org; 20 Dec 2023 04:11:45 +0000 Received: from localhost ([127.0.0.1]:38394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnvt-0004wR-2G for submit@debbugs.gnu.org; Tue, 19 Dec 2023 23:11:45 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:50222) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFnvs-0004wB-0y for 67919@debbugs.gnu.org; Tue, 19 Dec 2023 23:11:44 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rFnvj-00FIxT-2G for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:11:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=pEkhmdu9TL2f4/OpE2oJL0WZ1JHf8zX2JY9DfDbdyDg=; b=VjqTZPBasuvhtjkwysc1w8AnM3 PXlNGcplfSic+s4JZlUxM3xadsEEOteuoWKfinHiB1kCjf2pOn6zF+FtLLZqUUrdTBx08BQHPWhVM 6Av/tcu3Dra7kNASohV7w3K21pOFQLYzqYAIwmvCSuTn4WJ8redBRaV2BueiUaiDgXFC+gfECZAt4 9PMF5Gtz7ekEdIcfriQ6r/TZZLwH7RGEsZHO6SiBcEVcMYw6mp69IpZuW/Pd+qsfRFXHLteLTsftU 8UiVDSZ4GI8Q3RYm/uBVomXLCRohJQyhBS18GpldAY+Uhs7+fwS7I0MEo2e069D2zW+7+naG3DTYt Fp0viFEQ==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rFnvi-0002WY-Pc for 67919@debbugs.gnu.org; Wed, 20 Dec 2023 05:11:34 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rFnvf-0066Gp-MW; Wed, 20 Dec 2023 05:11:31 +0100 Date: Tue, 19 Dec 2023 22:55:12 -0500 Message-ID: <3db523518f5d8a5f3d7b8c7198176a7c627dd0ef.1703044085.git.jaeme@runbox.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat 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/crates-graphics.scm (rust-fast-srgb8-1): New variable. Change-Id: If1ce13ad8c4f2a04b9f77a16063218d4540bd10e --- gnu/packages/crates-graphics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 135cae9cc0..82a76dc190 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -871,6 +871,27 @@ (define-public rust-exr-1 (description "Read and write OpenEXR files without any unsafe code") (license license:bsd-3))) +(define-public rust-fast-srgb8-1 + (package + (name "rust-fast-srgb8") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast-srgb8" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "18g6xwwh4gnkyx1352hnvwagpv0n4y98yp2llm8vyvwxh487abnx")))) + (build-system cargo-build-system) + (home-page "https://github.com/thomcc/fast-srgb8") + (synopsis + "Very fast conversions between linear float and 8-bit @code{sRGB} (with +@code{no_std} support)") + (description + "This package provides very fast conversions between linear float and +8-bit @code{sRGB} (with @code{no_std} support).") + (license (list license:expat license:asl2.0 license:cc0)))) + (define-public rust-gfx-0.18 (package (name "rust-gfx")