From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KJo0NhlYrGXFPgEAe85BDQ:P1 (envelope-from ) for ; Sun, 21 Jan 2024 00:32:42 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id KJo0NhlYrGXFPgEAe85BDQ (envelope-from ) for ; Sun, 21 Jan 2024 00:32:41 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=WBtZWqH+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705793561; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=aAus7IqmvBg7wf9K0SocuIeZdL9KHgZFxYGsHFsAEdw=; b=DHtgX8I/e/0W9CmmON6XtHW3hBggJRkTYu7l63Pb/YSc7A+sYEQ72miUx2ohoRhi3c3KiP 7MCJuiNxTnHl2Bpeo0VjBTI9xAD1T6RLtzCA2t7op+rSmTojSnoyj07B6zboAmTSNQ+Tdu s91TA8ISEOXOcyqut5SnfucKX8mi73QvHGK9+0+6u7DmkzxJqfkLRoxShtLrZRgIoLx5OY 19JmofapoA6I8wa2DSSYxYiiYsIbfvF2Gl4bT/fwjpFMUhSGU4M7CWyzd6jmWt3UcHf+Sx sy9busYCVSyPYgfeTcrDTXG5YKXNoSqUt3Ke6P0as2JjTTjx5COICiINfxQDWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=WBtZWqH+; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705793561; a=rsa-sha256; cv=none; b=pK3L8Qe/fPfXn/C/eNtlq2YiM5gU0uvDjnSgQCw6Dcsi9CiatSOG1pAwymrCvXksM+419k WQMpLuwgcSNN6xM5uiNdki2OXBYkWRDq1fNwdITGHfGaFiCcJwQUW5YcGDu1VegCklc8gq XL++Ljt4IdsjF+jFSS/ZsisurMLZkLVYRnXUUkavZYLVR1rFlZq8Bl00m8XvLQtIuACXgn soiWwlYb+RweufANTu3AS9tkVu5aXI1bID94pcpWymavwzdTvZjca71OnuyRGzmBNvchT8 F/QLviaD8QpIy8rbv4EVaWvIk5N4BDpLJt2OnkszdBZQxJnCpt2W5FqwJGKOEg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 953C82708B for ; Sun, 21 Jan 2024 00:32:41 +0100 (CET) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 From: Jaeme Sifat via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.28 X-Spam-Score: -7.28 X-Migadu-Queue-Id: 953C82708B X-Migadu-Scanner: mx12.migadu.com X-TUID: dA6ZPBVdkxXg * 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 -- 2.41.0