From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SC0RBs5fiWEQTAEAgWs5BA (envelope-from ) for ; Mon, 08 Nov 2021 18:35:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 4LnIAc5fiWFgJwAA1q6Kng (envelope-from ) for ; Mon, 08 Nov 2021 17:35:10 +0000 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 BF8384910 for ; Mon, 8 Nov 2021 18:35:09 +0100 (CET) Received: from localhost ([::1]:33982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mk8Y0-0004PW-UZ for larch@yhetil.org; Mon, 08 Nov 2021 12:35:08 -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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636392909; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=ksyOx1X/lerDvzOqEGh1ti/OafPNM8ERuYJfxpv3JGw=; b=ZSM+yW1ukxGpSftJFrWkYwyLm6S8vNZXpT76LzX8FH1t+AYcu9D1yXCM3vdXQPfZQ8hS0T 3kqehlkJZ9MooqKwZoxt9aNa2cavubiRocMo25JJX/VXlmAF9zoN4pUfRcdHP+mUYIryUh 8nt+8d1DNYZg13nMBcXN7tTdczu60m/2xkORXBl29fhuPr4i3ZoQEyyXeLkdQmInjW0tVU GJpimwpWLgtAC8T0SHrcVvWY+6rtpr1LhxFwSimLHoQBepHKvKEL7EKNJrobfqno8PzMOu lE7A9h7doQi249b0EiRlYZ1N9FrIUXfMfFHiKt2SZaMRetJBprCDq1C8X5Dr8g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636392909; a=rsa-sha256; cv=none; b=FAe14bTzB7v5Mxe7+g1Fojwm2eQXwDxqFSRNIOKPvUG3AGH1AOovRMeDfNB6g3NuUjt1Uc zaC5Mc38kZmvRn5GKpU1d+9K33i0POlywPaovbGXun1pZITjBnvc5JpKllvO+HxQzp7tAu grC94tadjwmkAASoHkVrKpvJjEchVg6aS8lUn3+DbVc/BpsOfGxdeBMZsHeC4huxw/EimI pBZyvq6mknDAGrHLEZstWksYHkovhgEYy49ui9/kOGwsYHNGIzG+sfm6+YVlIlFrprUhj1 XMsipNuaLpOU/CJJkhRdvLijgDjHAC664jWNjFtiDXNlrmHPBOIDfeymvd6XVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=J2T163d4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=J2T163d4; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BF8384910 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: 6NeSGnzKUGh4 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/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/taskwarrior.rs#L145 https://github.com/greshake/i3status-rust/blob/629f9d90961c1a9815eb0f0ee607= 73e39dbca7a2/src/blocks/nvidia_gpu.rs#L190 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/taskwarrior.rs#L145 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/xrandr.rs#L104 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/speedtest.rs#L53 https://github.com/greshake/i3status-rust/blob/974212179519feeaadd3fd7a9672= d7475694e306/src/blocks/net.rs#L85 https://github.com/greshake/i3status-rust/blob/4d3e12d1adc1dfaa43a54cc3448b= 13fc9de93a89/src/blocks/dnf.rs#L112 https://github.com/greshake/i3status-rust/blob/27f8bf5519dbb50ac2311e1379f0= 05d48e5005df/src/blocks/temperature.rs#L178 https://github.com/greshake/i3status-rust/blob/5a5f9218d82a4e884975d53a49b3= 4541f108451e/src/blocks/kdeconnect.rs#L144 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/keyboard_layout.rs#L63 https://github.com/greshake/i3status-rust/blob/febdcd51a6eaaa6070667b4ec1db= 3a6e01ed909b/src/blocks/sound.rs#L106 https://github.com/greshake/i3status-rust/blob/38dfb061dcd37655c273110fd70f= 6b4e3ffb7a01/src/blocks/ibus.rs#L297 https://github.com/greshake/i3status-rust/blob/master/src/blocks/sound.rs#L= 106 * gnu/packages/rust-apps (i3status-rust)[inputs]: Add alsa-utils and setxkb= map. ----8<----------cut here--------->8--- 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.p= atch")) - (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.pa= tch")) + (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") -- 2.33.1