From patchwork Sat Jan 20 23:30:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59252 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 1A06927BBE2; Sat, 20 Jan 2024 23:32:20 +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 C652327BBEA for ; Sat, 20 Jan 2024 23:32:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKok-0007Me-Mi; Sat, 20 Jan 2024 18:32: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 1rRKoi-0007LX-Cu for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:00 -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 1rRKoi-0006ZG-4j for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKol-0006Ld-4p; Sat, 20 Jan 2024 18:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 1/6] gnu: Add rust-keyframe-1. 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:03 +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.170579350424333 (code B ref 68623); Sat, 20 Jan 2024 23:32:03 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:44 +0000 Received: from localhost ([127.0.0.1]:36123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoR-0006KE-GG for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:44 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoO-0006JR-Jn for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:41 -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 1rRKoF-009Q9N-Qv for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:31 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From; bh=g7AaMH2PqWvQodtkt6+0kZvyDA9fE66+/Kj8m6NBPos=; b=Yez7hIEzMDz2loFZ5rJYQ9Y2D6 +rKEY2w80FXJRjBQU+pq5KHOGBRVwN/7SJFDXrgw8qnKLW+WN5rLE1uXm5lrgkvpkdW7ep4ZqmwVJ oMLmHawQSy2AxlCgDa/bKl8VHb2Rb/eGv/1d+RTXUD4i+7QwtgxGS+tWqyU9/JpUn/GEEwXcl+gL3 fxIjZ2t7FoNMHMB8wZ6KDHCVGM7us85gXshfEF4h0JnH5oF6VLhscis4hBkiMRMMXU9db8jSBydXf t3GXU1HkWc1ORV9bDpJorZdgjXLh1c+7eGkHBLvaoBzsF0Nmuu1f4FC0uiNPfK8dG3rXAh6N6j+3f GbSyAU7g==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoF-0003a6-ID for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:31 +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 1rRKns-008qt9-QH; Sun, 21 Jan 2024 00:31:09 +0100 Date: Sat, 20 Jan 2024 18:30:20 -0500 Message-ID: <0460d73fda0aae4b0a1bebf97c5457f5412a2c59.1705792641.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-keyframe-1): New variable. Change-Id: I67721b97a744d82ac6df38e17ed84e628ff4687a --- gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index e8bc113d8b..e94fb856e0 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2260,6 +2260,35 @@ (define-public rust-jpeg-decoder-0.1 ("rust-png" ,rust-png-0.14) ("rust-walkdir" ,rust-walkdir-2)))))) +(define-public rust-keyframe-1 + (package + (name "rust-keyframe") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "keyframe" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1afr5ffns3k79xaqnw6rw3qn8sngwly6gxfnjn8d060mk3vqnw30")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; Done to avoid dev dependency on ggez, a game engine. + #:cargo-inputs (("rust-mint" ,rust-mint-0.5) + ("rust-num-traits" ,rust-num-traits-0.2)))) + (home-page "https://github.com/HannesMann/keyframe") + (synopsis "Simple library for animation in Rust") + (description + "This package provides a simple library for animation in Rust. +It's features include: + +@enumerate +@item Several easing functions, including user-defined Bézier curves and keyframable curves. +@item Animation sequences (like CSS keyframes). +@item @code{mint} integration for 2D/3D/4D support (points, rectangles, colors, etc). +@end enumerate") + (license license:expat))) + (define-public rust-libdav1d-sys-0.6 (package (name "rust-libdav1d-sys") From patchwork Sat Jan 20 23:30:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59256 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 9BC1F27BBE9; Sat, 20 Jan 2024 23:32:54 +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=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 4021727BBE2 for ; Sat, 20 Jan 2024 23:32:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKol-0007Ms-Me; 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 1rRKoh-0007LP-UD for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31: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 1rRKoh-0006Z7-La for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKok-0006LV-Nb; Sat, 20 Jan 2024 18:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 2/6] gnu: Add rust-spin-sleep-1. 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:02 +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.170579350324321 (code B ref 68623); Sat, 20 Jan 2024 23:32:02 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:43 +0000 Received: from localhost ([127.0.0.1]:36119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoQ-0006K3-VO for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:43 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]:49732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoN-0006JP-PB for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:40 -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 1rRKoE-009Q9F-NB for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:30 +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=XH9rjVccfR9MJguGXjHGkNlNdMwRzLd1sMjMdNyvdv4=; b=sUJx5ZqY5SaXQeFJq0BCcDkZJL CQXtAAcGSazzuYKoYuYACgSOnT7f6Dwc0NKB/7XWXPsOidtROpg99m37Xac+Xlcnwxxgt1kC8Wft9 qlJSe8n9/VoREsh8AAuwkI03/zjD0sn+lohSQd5tHUHlqmiyR72gjHur/+PRaWTztpj59eXY1KhE9 hH7vMElLGP/QF7xcOJhrTPL6jzKKQgusnyH8eOkD3VRjuNbso5Rnh2sIvcYeEwTnVcRxOt0SuaOVF BR5hN+s73cApSr3mfmrJJK+FTRWHCTctE6Khk+ILzaIGkFQRBc6o973HTzV7i2/iRaFMrSO6FB9MB ndCYj/bA==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoE-0003a0-EN for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:30 +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 1rRKnu-008qt9-1r; Sun, 21 Jan 2024 00:31:10 +0100 Date: Sat, 20 Jan 2024 18:30:21 -0500 Message-ID: <4c2a6f7ede2155ff122c5d83e11b47691ea9bd7e.1705792641.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-io.scm (rust-spin-sleep-1): New variable. Change-Id: Ic8616daadbbb797627fcfa79a3bfd9d196557a24 --- gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index f40f9dc9fa..e25dbdbd8c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -69642,6 +69642,29 @@ (define-public rust-spin-on-0.1 ready. This will probably use a lot of CPU, so be careful when you use it.") (license (list license:asl2.0 license:expat)))) +(define-public rust-spin-sleep-1 + (package + (name "rust-spin-sleep") + (version "1.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "spin_sleep" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zrllbf1ksc6srjgbslk2fn5c9fp5f1rrrw2n0301xza9639g2in")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-windows-sys" ,rust-windows-sys-0.52)) + #:cargo-development-inputs (("rust-approx" ,rust-approx-0.5)))) + (home-page "https://github.com/alexheretic/spin-sleep") + (synopsis "Accurate sleeping and spinning") + (description + "This library adds a middle ground, using a configurable native accuracy setting +allowing @code{thread::sleep} to wait the bulk of a sleep time, and spin the final +section to guarantee accuracy.") + (license license:asl2.0))) + (define-public rust-spinning-top-0.2 (package (name "rust-spinning-top") From patchwork Sat Jan 20 23:30:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59253 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 6FA9427BBEA; Sat, 20 Jan 2024 23:32:39 +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 D1EDE27BBE2 for ; Sat, 20 Jan 2024 23:32:38 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKom-0007NP-AF; Sat, 20 Jan 2024 18:32:04 -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 1rRKoi-0007Lj-Tk for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:00 -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 1rRKoi-0006ZM-K6 for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKol-0006Lm-LH; Sat, 20 Jan 2024 18:32:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 3/6] gnu: Add rust-sd-notify-0.4. 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:03 +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.170579351324354 (code B ref 68623); Sat, 20 Jan 2024 23:32:03 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:53 +0000 Received: from localhost ([127.0.0.1]:36127 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoa-0006Kj-6r for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:52 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:38572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoP-0006JT-VL for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:42 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] 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 1rRKoH-009L7v-6B for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:33 +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=zWf3U5kkOshRxR2lYgtdRrccZQtC/5dbSDMJrKtM3no=; b=cgLUeF5Y3A0QREmzBMdPmB9/Dg pMKEYza6r5n7N9+ijKL2sr5YXrZRXUASUWCLQbXNHwGVcsTegbnINaEc4VpvDN2S7bLqWarNAIv8N xI5qf2KJL5Hwk1cDX3CCFctwavK7JJC19lob6Ua4q/5UkN3XQLp/PxEQ7r4x1XRzW/zkSwWF43tm5 9QpEpSrJJWSpxnNo2uB9kmCkb9fTjWUv6EGamGiZf++Lqk2DQkgp5lD89VSx17ON2rRQtM/DSThqu YrShWhFKdqHZ0kPhLfB7935ADJFVatpqDIIwLwOJ7LGUs7B6o/usosnKT94cB4gZl5VlE1q3ggjt+ aZOww51g==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoG-0003aB-Ty for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:33 +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 1rRKnv-008qt9-8D; Sun, 21 Jan 2024 00:31:11 +0100 Date: Sat, 20 Jan 2024 18:30:22 -0500 Message-ID: <83608a9c8495e4bc0b2da54c2d37455997fedcef.1705792641.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-io.scm (rust-sd-notify-0.4): New variable. Change-Id: Ib38448d785c23f760fd867656a0057233dc72377 --- gnu/packages/crates-io.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e25dbdbd8c..9d868ef829 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -64249,6 +64249,25 @@ (define-public rust-sctk-adwaita-0.4 ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.16) ("rust-tiny-skia" ,rust-tiny-skia-0.7)))))) +(define-public rust-sd-notify-0.4 + (package + (name "rust-sd-notify") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "sd-notify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0clc887rjdz0796c1lsbwnrgmcis4b30gyy3qb4v8zg0yf03c7k2")))) + (build-system cargo-build-system) + (home-page "https://github.com/lnicola/sd-notify") + (synopsis "Lightweight crate for systemd service state notifications") + (description + "This package provides a lightweight crate for systemd service state +notifications.") + (license (list license:expat license:asl2.0)))) + (define-public rust-seahash-3 (package (name "rust-seahash") From patchwork Sat Jan 20 23:30:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59251 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 BB08D27BBEC; Sat, 20 Jan 2024 23:32:18 +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 B370B27BBE2 for ; Sat, 20 Jan 2024 23:32:17 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKoj-0007Lx-Q2; Sat, 20 Jan 2024 18:32:01 -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 1rRKoh-0007LH-H2 for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31: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 1rRKoh-0006Z1-8q for guix-patches@gnu.org; Sat, 20 Jan 2024 18:31:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRKok-0006LN-7j; Sat, 20 Jan 2024 18:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 4/6] gnu: Add rust-resize-0.7. 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:02 +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.170579350324311 (code B ref 68623); Sat, 20 Jan 2024 23:32:02 +0000 Received: (at 68623) by debbugs.gnu.org; 20 Jan 2024 23:31:43 +0000 Received: from localhost ([127.0.0.1]:36117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoQ-0006K1-L4 for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:42 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:59510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoN-0006JN-Oa for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:40 -0500 Received: from mailtransmit02.runbox ([10.9.9.162] 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 1rRKoD-009L7r-QC for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:29 +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=lgg8xdy0ynzC9peBZNdutp6G4yobTErTnIxgmKTtpvU=; b=kwrvsFiy/yUqrbadbhEINdprYm 90n861Tuvylebq97PKBIp5LpY3cjNVBkTHhlfTCYz3QkpPsEa6HCdsSDrcWcgtQ/MBe2K2RA4tCCv r48UWESm3I+ehSQaf8vsf/WJQxdqm0hRI8rk832/fwesbWsZD9tP4WcOjAsLGRwH1XZQB4bRvIqgx HmnvUQYiUxMwFJ9golxuXs4hl+aOlivrIF5clqqkNa9xgEujMEmcszblS9ACRBsBGq5z7Zm6B7pOQ zLik0Ut1FVJC3b4OqVS+Kl5N7tVR3z15Ykt1Ys/GZjoObo6+619fk5Z5X70u2CH04G3QW4/k6TGBC p4CJYqIQ==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoD-0003Zv-G2 for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:29 +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 1rRKnw-008qt9-CH; Sun, 21 Jan 2024 00:31:12 +0100 Date: Sat, 20 Jan 2024 18:30:23 -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-resize-0.7): New variable. Change-Id: I9bf5869aca32954e60292a338075b1a328c3109b --- gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index e94fb856e0..11e4cb6706 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -3243,25 +3243,44 @@ (define-public rust-raw-window-metal-0.3 (description "Interop library between Metal and raw-window-handle.") (license (list license:expat license:asl2.0)))) -(define-public rust-resize-0.4 +(define-public rust-resize-0.7 (package (name "rust-resize") - (version "0.4.3") + (version "0.7.4") (source (origin (method url-fetch) (uri (crate-uri "resize" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84")))) + (base32 "0hdd5r2m1700y6r88v5hq3q28xixrsbfhbzqz26409jyy3zvvrw7")))) (build-system cargo-build-system) (arguments - `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16)))) + `(#:cargo-inputs + (("rust-fallible-collections" ,rust-fallible-collections-0.4) + ("rust-rgb" ,rust-rgb-0.8)) + #:cargo-development-inputs + (("rust-png" ,rust-png-0.17)))) (home-page "https://github.com/PistonDevelopers/resize") (synopsis "Image resampling library in pure Rust") (description "This package provides an image resampling library in pure Rust.") (license license:expat))) +(define-public rust-resize-0.4 + (package + (inherit rust-resize-0.7) + (name "rust-resize") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "resize" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0bamrw2m37l8q46mcy6snp6106d93dq7x67hbbj32w88pjdhxn84")))) + (arguments + `(#:cargo-development-inputs (("rust-png" ,rust-png-0.16)))))) + (define-public rust-rgb-0.8 (package (name "rust-rgb") 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") From patchwork Sat Jan 20 23:30:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 59254 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 6B80727BBEA; Sat, 20 Jan 2024 23:32:42 +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 42B3C27BBE2 for ; Sat, 20 Jan 2024 23:32:41 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRKol-0007N2-VH; 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-0007MR-VE 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-0006Zd-Lx 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-0006M4-NP for guix-patches@gnu.org; Sat, 20 Jan 2024 18:32:04 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68623] [PATCH 6/6] gnu: Add swww. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: 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 Received: via spool by 68623-submit@debbugs.gnu.org id=B68623.170579351324369 (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]:36131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKob-0006Ku-8k for submit@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:53 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:38586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRKoT-0006Ja-4I for 68623@debbugs.gnu.org; Sat, 20 Jan 2024 18:31:46 -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 1rRKoK-009L85-BA for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From; bh=aAus7IqmvBg7wf9K0SocuIeZdL9KHgZFxYGsHFsAEdw=; b=WBtZWqH+uHQfygu1jdUo5UeIkX fecTePCQfQQ62aT5dZAYfZzYWE9XbTX+rPP2VPuuA77+mX0jKCN8652hlSHoOq36fSZE8lYrm6jtf vQs5lNfv7XkA3FtCEDZoqe0suR7Iyf77ySFo18dhGuX6d9kH5SJOO6skT6mQ4R0U4A4jqp2hNIEpD /sjOqqc8W16EDBsTCfjrQ4PYn0PpOAyLJo5iw0l8P7Qba5WeawgpQzoCiT17zueyp31hOAB9+b6ru mdjEZV6uHE9bJakoAoT/3J9sUBosDAUcVpbY7/bv7hrcKOFkb5jcMQXEG2s5cAl1S+mzD2eFsWo3T kyT9b/Ww==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rRKoI-0005kv-U5 for 68623@debbugs.gnu.org; Sun, 21 Jan 2024 00:31:36 +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 1rRKny-008qt9-Mp; Sun, 21 Jan 2024 00:31:14 +0100 Date: Sat, 20 Jan 2024 18:30:25 -0500 Message-ID: <30634dc1713e10bff0eb1f613fdf9ecc0477c44b.1705792641.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/wm.scm (swww): New variable. Change-Id: I011da07f43f8554fb569b0e033863fe8a7553e3d --- gnu/packages/wm.scm | 80 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 959928d8e2..035651a63a 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -64,7 +64,7 @@ ;;; Copyright © 2023 Jonathan Brielamier ;;; Copyright © 2023 Vessel Wave ;;; Copyright © 2023 Nicolas Graves -;;; Copyright © 2023 Jaeme Sifat +;;; Copyright © 2023, 2024 Jaeme Sifat ;;; Copyright © 2023 Josselin Poiret ;;; ;;; This file is part of GNU Guix. @@ -89,6 +89,7 @@ (define-module (gnu packages wm) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system asdf) + #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) @@ -106,8 +107,10 @@ (define-module (gnu packages wm) #:use-module (gnu packages bison) #:use-module (gnu packages build-tools) #:use-module (gnu packages calendar) - #:use-module (gnu packages compression) #:use-module (gnu packages check) + #:use-module (gnu packages compression) + #:use-module (gnu packages crates-io) + #:use-module (gnu packages crates-graphics) #:use-module (gnu packages datastructures) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) @@ -1911,6 +1914,79 @@ (define-public swaybg (description "Swaybg is a wallpaper utility for Wayland compositors.") (license license:expat))) ; MIT license +(define-public swww + (package + (name "swww") + (version "0.8.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LGFae/swww") + (commit (string-append "v" version)))) + (sha256 + (base32 + "1ps10dv6a8a0hiw7p8kg64mf81pvavskmyn5xpbfw6hrc991vdlz")) + (file-name (git-file-name name version)))) + (build-system cargo-build-system) + (arguments + (list + #:cargo-inputs + `(("rust-log" ,rust-log-0.4) + ("rust-simplelog" ,rust-simplelog-0.12) + ("rust-wayland-client" ,rust-wayland-client-0.31) + ("rust-smithay-client-toolkit" ,rust-smithay-client-toolkit-0.18) + ("rust-nix" ,rust-nix-0.27) + ("rust-keyframe" ,rust-keyframe-1) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-rayon" ,rust-rayon-1) + ("rust-spin-sleep" ,rust-spin-sleep-1) + ("rust-sd-notify" ,rust-sd-notify-0.4) + ("rust-image" ,rust-image-0.24) + ("rust-fast-image-resize" ,rust-fast-image-resize-2) + ("rust-clap" ,rust-clap-4) + ("rust-rand" ,rust-rand-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-lzzzz" ,rust-lzzzz-1)) + #:cargo-development-inputs + `(("rust-rand" ,rust-rand-0.8) + ("rust-assert-cmd" ,rust-assert-cmd-2) + ("rust-criterion" ,rust-criterion-0.5)) + #:phases + #~(modify-phases %standard-phases + (delete 'package) + (add-before 'build 'build-documentation + (lambda* (#:key inputs #:allow-other-keys) + (invoke "doc/gen.sh"))) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (share (string-append out "/share")) + (man1 (string-append share "/man/man1")) + (bash-completions-dir + (string-append share "/bash-completion/completions")) + (zsh-completions-dir + (string-append share "/zsh/site-functions")) + (fish-completions-dir + (string-append share "/fish/vendor_completions.d")) + (elvish-completions-dir + (string-append share "/elvish/lib"))) + (install-file "target/release/swww" bin) + (install-file "target/release/swww-daemon" bin) + (copy-recursively "doc/generated" man1) + (install-file "completions/swww.bash" bash-completions-dir) + (install-file "completions/_swww" zsh-completions-dir) + (install-file "completions/swww.fish" fish-completions-dir) + (install-file "completions/swww.elv" elvish-completions-dir))))))) + (native-inputs (list scdoc)) + (propagated-inputs (list lz4)) + (home-page "https://github.com/LGFae/swww") + (synopsis + "Efficient animated wallpaper daemon for wayland controlled at runtime") + (description + "A Solution to your Wayland Wallpaper Woes (swww). It uses minimal resources +and provides animations for switching between backgrounds.") + (license license:gpl3+))) (define-public swaynotificationcenter (package