From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 25 16:48:27 2025 Received: (at submit) by debbugs.gnu.org; 25 Mar 2025 20:48:27 +0000 Received: from localhost ([127.0.0.1]:40184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1txBCF-0001CJ-7V for submit@debbugs.gnu.org; Tue, 25 Mar 2025 16:48:27 -0400 Received: from lists.gnu.org ([2001:470:142::17]:56444) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1txBCC-0001BO-Lw for submit@debbugs.gnu.org; Tue, 25 Mar 2025 16:48:25 -0400 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 1txBBm-0001hi-E3 for guix-patches@gnu.org; Tue, 25 Mar 2025 16:47:58 -0400 Received: from mout.web.de ([212.227.15.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1txBBj-00015d-MO for guix-patches@gnu.org; Tue, 25 Mar 2025 16:47:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=web.de; s=s29768273; t=1742935669; x=1743540469; i=jakob.kirsch@web.de; bh=FyDgWDxQOxu61zmM4rmpxYir2DAnK+zYnP/oRAJ1Xok=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=iLGl21Ow1xWEXatG1u2zE+iu4bPGoMiX1GnBqpctNuM/6FbsaLBIRRRIQIcir43L njMsG8aWrUUM/Efohe0d14yw9uZ6g0F8LG/XBXtTTWd6JeEq0v7kAeD7yFNFO9MGK dIqnbifDYW+Bn2r9pqa8eSo94AjjCpoPx8r+L0MTBhcKn1JuE+KHB0dVbjxEET6Mk Hy/ufB8dw3FTqqFCnItknEHenz+t/jmvo1EHPv3wooZEQkJ2B5RTBqA78iO03fN7O Y8+Bvzd4IR++cIFk6v7/4R/toOSFe9q4My8sO7tp84UYH1F48OPiumvcs9IgWSTBk fJ12JIqcOhM/ovI/xw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Received: from kernelpanicroom ([134.19.28.36]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MBB86-1trAMt1OBi-00A1xd for ; Tue, 25 Mar 2025 21:47:49 +0100 Date: Tue, 25 Mar 2025 21:47:47 +0100 From: Jakob Kirsch To: guix-patches@gnu.org Subject: [PATCH] gnu: swww: Update to 0.9.5. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K1:ZjrRl8QiqNWNB8FMC+648NWo3cWscYS6fuJR5f383qt+Nw4MNaU 2rMIVkAO6gUY0Ik95C5TUClw8RY6qKA01BSnJEgc09D8gRbHQZBlXg6WdXlxXE/F8G94JG2 lottIGnHPFnc5j0SEEKxPWIagF2N7CXPqIfs0JBSlzjm1l8wn/tGlbvvPAOCwmDQfcz5xV0 JTpRsIXJOTEHyD+pv5geg== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:Oqay1prrOZc=;xuoNqNbe+VP1OHE8xvvwrAlXQOn c/LK6H9D/ziMxx2ZnH3cD5wAythoPJ0r+Px2VYi8O7XE9EY1slkzN3O4K3QbQh6aDHmjMkucc 7ya5C84bJLW80QSP58ZuKblFsyyHuRhXsXD653pBu0Z70y8BrsWQw0GgyBrE4qgqWawULyX2t uQY9+UkbYMOktYvfb1GS6++xa8XNdO5Ev2qA7y3pFz//g/YhloYMeFdU9590rmV4PcuNQZ8U+ 8h4JyIh/Df0sp1Z6xCyj6JQ38JeMSgcl4xboDd6LQY2LLzw7dNUzOX5IzNV8h3MUMSJj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Qus+6srrgxQC1Hdc+N43IF0Lt5mBh mVwJSbpEK+LQ/eOWft9F9X2NfrY2VmVEqFxpJnDYuwGcJYvZv7xAuBO7k5s6NHsEw5xxNfhFe WORxKi6Zio3H7OSjs9GOBBa3r7v1uolnyAqx12vCthh6yoWhOApqlnwZIXeFQMLXio8XCNw== Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=212.227.15.3; envelope-from=jakob.kirsch@web.de; helo=mout.web.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) =46rom 839cf3065e734d2b60ca2b24eea0dfd1aeabbf9d Mon Sep 17 00:00:00 2001 Message-ID: <839cf3065e734d2b60ca2b24eea0dfd1aeabbf9d.1742935604.git.jakob= .kirsch@web.de> From: Jakob Kirsch Date: Tue, 25 Mar 2025 21:46:36 +0100 Subject: [PATCH] gnu: swww: Update to 0.9.5. * gnu/packages/wm.scm (swww): Update to 0.9.5. [native-inputs]: Add pkg-config. Change-Id: Ie261b08f5682c1971e49cb2169f36aefb308cb3b =2D-- gnu/packages/wm.scm | 89 +++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 52 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 2eefdb4c64..e52924c9f6 100644 =2D-- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2342,46 +2342,29 @@ (define-public swaybg (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)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1ps10dv6a8a0hiw7p8kg64mf81pvavskmyn5xpbfw6hrc991vdlz")= ) - (modules '((guix build utils))) - (snippet - '(begin (substitute* "utils/Cargo.toml" - (("\"=3D([[:digit:]]+(\\.[[:digit:]]+)*)" _ ve= rsion) - (string-append "\"^" version))))))) + (version "0.9.5") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/LGFae/swww") + ; latest upstream commit that fixes some build issues, bump = when the next release comes + (commit "412326e"))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1djic60jl7kxrfp6p24hzfcqd0hd9m9i4r9z2ydnfi5w4ck69dvf")) + (modules '((guix build utils))))) (build-system cargo-build-system) (arguments (list #:install-source? #f - #: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)) + #:cargo-inputs `(("rust-rustix" ,rust-rustix-0.38) + ("rust-fast-image-resize" ,rust-fast-image-resize-= 5) + ("rust-keyframe" ,rust-keyframe-1) + ("rust-sd-notify" ,rust-sd-notify-0.4)) + #:cargo-development-inputs `(("rust-fastrand" ,rust-fastrand-2) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-assert-cmd" ,rust-assert-cmd-2)= ) #:phases #~(modify-phases %standard-phases (add-before 'build 'build-documentation @@ -2395,14 +2378,14 @@ (define-public swww (man1 (string-append share "/man/man1")) (swww (car (find-files "target" "^swww$"))) (swww-daemon (car (find-files "target" "^swww-daemon= $"))) - (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"))) + (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 swww bin) (install-file swww-daemon bin) (copy-recursively "doc/generated" man1) @@ -2411,14 +2394,16 @@ (define-public swww (install-file "completions/swww.fish" fish-completions-di= r) (install-file "completions/swww.elv" elvish-completions-d= ir)))) (add-after 'install 'wrap-binaries - (lambda* (#:key outputs inputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (lz4 (assoc-ref inputs "lz4"))) - (wrap-program (string-append out "/bin/swww") - `("PATH" prefix (,(string-append lz4 "/bin")))) - (wrap-program (string-append out "/bin/swww-daemon") - `("PATH" prefix (,(string-append lz4 "/bin")))))))))) - (native-inputs (list scdoc)) + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (lz4 (assoc-ref inputs "lz4"))) + (wrap-program (string-append out "/bin/swww") + `("PATH" prefix + (,(string-append lz4 "/bin")))) + (wrap-program (string-append out "/bin/swww-daemon") + `("PATH" prefix + (,(string-append lz4 "/bin")))))))))) + (native-inputs (list scdoc pkg-config)) (inputs (list bash-minimal lz4)) (home-page "https://github.com/LGFae/swww") (synopsis base-commit: 744cf07005745312ccddb549bb1bab5ab7031106 =2D- 2.49.0