From patchwork Sun Jan 5 23:01:08 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Wong X-Patchwork-Id: 36661 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 814B627BBEA; Sun, 5 Jan 2025 23:03:49 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, 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 38CF327BBE2 for ; Sun, 5 Jan 2025 23:03:49 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUZeE-0006uj-6k; Sun, 05 Jan 2025 18:03:06 -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 1tUZeC-0006sz-67 for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:04 -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 1tUZeB-00043a-TH for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=apNrrh0a7p0MqGq3tCcrUok3DF/UqHjaNaf44ojh6Wc=; b=dJACUrC7bkmba46r1+1eH/IdQXzjUbSjc/gUq9/IeCOrGy+a0260mAwNOK7gHgGRpOkf1wGJftGOOMYw0oT4j8ZUo3RiIXiXr7VHhhKpaNCuQgpur6I6x8mJu2sMayS3tJS+8ahoLSP67mW63FY6tkNVgYhku/ulckQaT269zN5vj9Bprx6QajIvXiy8/gqnrjiU2wzNucGPQyogeXxbdZQs961WusS2PSkVXDNq3shAz2RD2vPFcw2Fw6DiY9Hg8SXjJ8LrkLMy9RVJ53RcZldTuVZJMFixEWOmkgeY8GF7G4cSZnT81dBm+CuEa+nTb4cEXRvy+KcOIt9G50t1lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUZeB-0002EL-OC; Sun, 05 Jan 2025 18:03:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75391] [PATCH 05/12] gnu: Add rust-fast-image-resize-5. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 05 Jan 2025 23:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75391@debbugs.gnu.org Cc: Andrew Wong , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75391-submit@debbugs.gnu.org id=B75391.17361181458376 (code B ref 75391); Sun, 05 Jan 2025 23:03:03 +0000 Received: (at 75391) by debbugs.gnu.org; 5 Jan 2025 23:02:25 +0000 Received: from localhost ([127.0.0.1]:35811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUZdY-0002B0-Pk for submit@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:25 -0500 Received: from qs51p00im-qukt01072302.me.com ([17.57.155.13]:11689) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUZdT-00029i-CS for 75391@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1736118134; bh=apNrrh0a7p0MqGq3tCcrUok3DF/UqHjaNaf44ojh6Wc=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=cYZ4KhpBaYmyySQUoE5+O5qDgsHUZa+dvdjfECp6EEIi34Dcm39laWX7+n5pdlyGe cQZNOF0rw5ZWohsY3b37mztRYK+haR8K4AM2xlOREn5Jsq00UK3r6PIT+xJbEI3oK0 7r8m4hZqSveVlG0BTx44Axku5wJfg77MLzPv4PTLq10rl8RKtHwtPOhRWrbbibc3xQ ex+ouc9BT6SBCb7LiSdjSlTo890w2ZDFutj74+zPCNWrVA+BQODGzkOzmdHcO74Y8z NGLlSsFDQ0tCWEIQFS/H2L6zlTIqawCRb8QK/TAkkf6uqUgAFxclJjZ8Jz4MocrZ6X RmsLCFuJUwd8Q== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072302.me.com (Postfix) with ESMTPSA id 6B3F96300397; Sun, 5 Jan 2025 23:02:13 +0000 (UTC) Date: Sun, 5 Jan 2025 18:01:08 -0500 Message-ID: X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: deWGiyYdZYofo-q0R-Q77ljMSSHtVm3V X-Proofpoint-GUID: deWGiyYdZYofo-q0R-Q77ljMSSHtVm3V X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=932 suspectscore=0 clxscore=1015 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2501050215 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches X-Patchwork-Original-From: Andrew Wong via Guix-patches via From: Andrew Wong 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-5): New variable. Change-Id: Ie0f755bc77ec019a0a8a8c75e1140337343acba0 --- gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index b00da5ba2f..5fc2a1c0cf 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -1411,6 +1411,34 @@ (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-5 + (package + (name "rust-fast-image-resize") + (version "5.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "fast_image_resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1qp95mkllxmkc3q0iwh1rj9cgv0rixpjz5wdw6avv2n17g090y7c")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-bytemuck" ,rust-bytemuck-1) + ("rust-cfg-if" ,rust-cfg-if-1) + ("rust-document-features" ,rust-document-features-0.2) + ("rust-image" ,rust-image-0.25) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-rayon" ,rust-rayon-1) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/cykooz/fast_image_resize") + (synopsis + "Library for fast image resizing with using of SIMD instructions") + (description + "This package provides Library for fast image resizing with using of SIMD instructions.") + (license (list license:expat license:asl2.0)))) + (define-public rust-fast-image-resize-2 (package (name "rust-fast-image-resize")