From patchwork Mon Nov 8 17:34:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 34323 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 40C9C27BBE3; Mon, 8 Nov 2021 17:35:12 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9AD2227BBE1 for ; Mon, 8 Nov 2021 17:35:11 +0000 (GMT) Received: from localhost ([::1]:33982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk8Y2-0004PW-No for patchwork@mira.cbaines.net; Mon, 08 Nov 2021 12:35:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mk8Xu-0004P7-Mu for guix-patches@gnu.org; Mon, 08 Nov 2021 12:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47786) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mk8Xu-0004aV-AI for guix-patches@gnu.org; Mon, 08 Nov 2021 12:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mk8Xu-0004Y6-81 for guix-patches@gnu.org; Mon, 08 Nov 2021 12:35:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51193] [PATCH] gnu: Update i3status-rust. References: In-Reply-To: Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Nov 2021 17:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51193 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51193@debbugs.gnu.org Received: via spool by 51193-submit@debbugs.gnu.org id=B51193.163639287217445 (code B ref 51193); Mon, 08 Nov 2021 17:35:02 +0000 Received: (at 51193) by debbugs.gnu.org; 8 Nov 2021 17:34:32 +0000 Received: from localhost ([127.0.0.1]:59332 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk8XP-0004XG-Sy for submit@debbugs.gnu.org; Mon, 08 Nov 2021 12:34:32 -0500 Received: from mail-40131.protonmail.ch ([185.70.40.131]:54556) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mk8XN-0004X2-Dc for 51193@debbugs.gnu.org; Mon, 08 Nov 2021 12:34:30 -0500 Date: Mon, 08 Nov 2021 17:34:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1636392858; bh=ksyOx1X/lerDvzOqEGh1ti/OafPNM8ERuYJfxpv3JGw=; h=Date:To:From:Reply-To:Subject:From; b=J2T163d4tMxkTCAr/SqwoCiSV2jEXnsiKAiRCnKxRqTm9AfphUsMPQVN081N09AoZ pMCO2860MubFA2mMj1UMqaSVMP/RQ3A/U+sRXeUq7ayzzzvT+phBQtA5zLw8wicEjf pMWlqJff/+c7EOp26hHJPaf4mBJyflxsAwTXChhc= Message-ID: 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi Efraim, Thanks for upstreaming. Unfortunately I discovered some missing inputs when using full config file, not just dummy (only time and disks). Also checked the source code and the Rust code invokes commands. This looks like it would need also wrap-program, right? Here's a list: https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/taskwarrior.rs#L145 https://github.com/greshake/i3status-rust/blob/629f9d90961c1a9815eb0f0ee60773e39dbca7a2/src/blocks/nvidia_gpu.rs#L190 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/taskwarrior.rs#L145 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/xrandr.rs#L104 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/speedtest.rs#L53 https://github.com/greshake/i3status-rust/blob/974212179519feeaadd3fd7a9672d7475694e306/src/blocks/net.rs#L85 https://github.com/greshake/i3status-rust/blob/4d3e12d1adc1dfaa43a54cc3448b13fc9de93a89/src/blocks/dnf.rs#L112 https://github.com/greshake/i3status-rust/blob/27f8bf5519dbb50ac2311e1379f005d48e5005df/src/blocks/temperature.rs#L178 https://github.com/greshake/i3status-rust/blob/5a5f9218d82a4e884975d53a49b34541f108451e/src/blocks/kdeconnect.rs#L144 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/keyboard_layout.rs#L63 https://github.com/greshake/i3status-rust/blob/febdcd51a6eaaa6070667b4ec1db3a6e01ed909b/src/blocks/sound.rs#L106 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f6b4e3ffb7a01/src/blocks/ibus.rs#L297 https://github.com/greshake/i3status-rust/blob/master/src/blocks/sound.rs#L106 * gnu/packages/rust-apps (i3status-rust)[inputs]: Add alsa-utils and setxkbmap. ----8<----------cut here--------->8--- --- 2.33.1 diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index be60f3f376..2f05b313d6 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -55,7 +55,8 @@ (define-module (gnu packages rust-apps) #:use-module (gnu packages python-xyz) #:use-module (gnu packages rust) #:use-module (gnu packages tls) - #:use-module (gnu packages version-control)) + #:use-module (gnu packages version-control) + #:use-module (gnu packages xorg)) (define-public agate (package @@ -450,23 +451,25 @@ (define-public i3status-rust (name "i3status-rust") (version "0.20.1") (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/greshake/i3status-rust") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (patches (search-patches "i3status-rust-enable-unstable-features.patch")) - (sha256 - (base32 "00gzm3g297s9bfp13vnb623p7dfac3g6cdhz2b3lc6l0kmnnqs1s")))) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/greshake/i3status-rust") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (patches (search-patches "i3status-rust-enable-unstable-features.patch")) + (sha256 + (base32 "00gzm3g297s9bfp13vnb623p7dfac3g6cdhz2b3lc6l0kmnnqs1s")))) (build-system cargo-build-system) (native-inputs `(("pkg-config" ,pkg-config))) (inputs `(("curl" ,curl) + ("alsa-utils" ,alsa-utils) ("dbus" ,dbus) ("pulseaudio" ,pulseaudio) ("openssl" ,openssl) + ("setxkbmap" ,setxkbmap) ("zlib" ,zlib))) (arguments `(#:features '("pulseaudio" "libpulse-binding")