From patchwork Sat Jan 20 23:30:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59255 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 ABA6827BBEA; Sat, 20 Jan 2024 23:32:48 +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=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,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 1F85227BBE2 for ; Sat, 20 Jan 2024 23:32:48 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKol-0007Mr-2A; Sat, 20 Jan 2024 18:32:03 -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 1rRKoj-0007Lt-DY for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:01 -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 1rRKoj-0006ZX-4y for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKom-0006Lu-6E; Sat, 20 Jan 2024 18:32:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 5/6] gnu: Add rust-fast-image-resize-2. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 20 Jan 2024 23:32:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68623 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68623@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68623-submit@debbugs.gnu.org id=B68623.170579351324363 (code B ref 68623); Sat, 20 Jan 2024 23:32:04 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:53 +0000 Received: from localhost ([127.0.0.1]:36129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoa-0006Kl-RR for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:53 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoQ-0006JV-UQ for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:43 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rRKoI-009Q9S-5V for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=RZe41jlyyzC7N4HvwYAZRH5QkfcJnmAC/Pdz8oiuC/Y=; b=z7sJ70jQ5B6Fi2AaiR6AIG5D2c uwnvzC6LemW/tpZ3kQU6deTzTFjOpT0ECHn2mL6vHMJy5WOpsEmYUL3BhAjaR4cc+/9F2JTOuq51v 8ztVd7wHHP4aIX/n0QqizsEwru75FWt/+1Xlh7ZxSMNSCYNKuK+bhIY75KLHbDpF3DykCF+E7Ynkw Nz15OZEbzYbRYe55BH3WIpIKmm43ETZjl39lxc4ovo6xeiIIt6KCdV//P4qeLW8c2hKdGK1gNvuPA Q1Ht4H92CowGKymKpytH20ZELLlT1LcNd2PwuFfHjjny9RlUn1FYevUUAoelSKDlnL4F/8EeGWShj L8RZgXSg==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoH-0003aG-TR for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:34 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rRKnx-008qt9-HJ; Sun, 21 Jan 2024 00:31:13 +0100 Date: Sat, 20 Jan 2024 18:30:24 -0500 Message-ID: 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-image-resize-2): New variable. Change-Id: Ifccaf0eeab21f20043b4a49d8d0a58f867e151a1 --- gnu/packages/crates-graphics.scm | 35 ++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 11e4cb6706..90e130a754 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1225,6 +1225,41 @@ (define-public rust-exr-1 (description "Read and write OpenEXR files without any unsafe code") (license license:bsd-3))) +(define-public rust-fast-image-resize-2 + (package + (name "rust-fast-image-resize") + (version "2.7.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast_image_resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0nnm59h7dl2bpi5k2wcd7zz14nl00sa33jiipbjbn48f0i09ly6c")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Unresolved import `testing' + #:cargo-inputs + (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-thiserror" ,rust-thiserror-1)) + #:cargo-development-inputs + (("rust-criterion" ,rust-criterion-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-itertools" ,rust-itertools-0.10) + ("rust-nix" ,rust-nix-0.26) + ("rust-png" ,rust-png-0.17) + ("rust-resize" ,rust-resize-0.7) + ("rust-rgb" ,rust-rgb-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-walkdir" ,rust-walkdir-2)))) + (home-page "https://github.com/cykooz/fast_image_resize") + (synopsis + "Fast image resizing with using of SIMD instructions") + (description + "This package provides fast image resizing with using of SIMD instructions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fast-srgb8-1 (package (name "rust-fast-srgb8")