From unknown Sat Sep 20 12:21:58 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#74446] [PATCH] gnu: liquidprompt: Patch additional utilities Resent-From: Sisiutl Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 20 Nov 2024 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74446 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74446@debbugs.gnu.org Cc: Sisiutl X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173212025518244 (code B ref -1); Wed, 20 Nov 2024 16:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Nov 2024 16:30:55 +0000 Received: from localhost ([127.0.0.1]:47535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDnbT-0004kA-9u for submit@debbugs.gnu.org; Wed, 20 Nov 2024 11:30:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:42858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDnbQ-0004jw-Ss for submit@debbugs.gnu.org; Wed, 20 Nov 2024 11:30:53 -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 1tDnbL-0001Jk-8M for guix-patches@gnu.org; Wed, 20 Nov 2024 11:30:47 -0500 Received: from 2a02-8428-4716-0c01-eecc-61c0-3286-ff35.rev.sfr.net ([2a02:8428:4716:c01:eecc:61c0:3286:ff35] helo=fujo.egregore.fun) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDnbJ-0004Hw-54 for guix-patches@gnu.org; Wed, 20 Nov 2024 11:30:46 -0500 Received: from localhost (2a02-8428-4716-0c01-69f4-ade7-72a4-dc0f.rev.sfr.net [IPv6:2a02:8428:4716:c01:69f4:ade7:72a4:dc0f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: sisiutl@egregore.fun) by fujo.egregore.fun (Postfix) with ESMTPSA id 0364C6740F; Wed, 20 Nov 2024 17:29:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egregore.fun; s=fujo; t=1732120182; bh=BrU6X6KEWQLkO5VAaZEDFoGPy3Gp2S6mjWCbiUS0Tkg=; h=From:To:Cc:Subject:Date; b=IMRmsBVrWtpwhiyrb6nEwZqttHZqmSxE4nhNs9m7MlU8ICzVfQwiaohzDQgwIBj2s ilKDCYB+2bDf3Tioa9I69SQyMh+YqZ4kwNRqp1TdlJdc5O3lDz1UN810bzVfuEj/oZ /NftRt98Oqs0BdnsfgNdNB0U1gUWVVuYdaj/fQgw= From: Sisiutl Date: Wed, 20 Nov 2024 17:29:30 +0100 Message-ID: <20241120162937.15722-1-sisiutl@egregore.fun> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:8428:4716:c01:eecc:61c0:3286:ff35; envelope-from=sisiutl@egregore.fun; helo=fujo.egregore.fun X-Spam_score_int: 67 X-Spam_score: 6.7 X-Spam_bar: ++++++ X-Spam_report: (6.7 / 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, FROM_SUSPICIOUS_NTLD=0.5, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_PBL=3.335, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: reject X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/shellutils.scm (liquidprompt) [inputs]: Add coreutils and inetutils. [arguments]<#:phases>: Replace the paths of more utilites Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b --- gnu/packages/shellutils.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in bl.score.senderscore.com] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: egregore.fun (fun)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 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: 0.2 (/) * gnu/packages/shellutils.scm (liquidprompt) [inputs]: Add coreutils and inetutils. [arguments]<#:phases>: Replace the paths of more utilites Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b --- gnu/packages/shellutils.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 7e9f85a5f2..74e9429de0 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -47,6 +47,7 @@ (define-module (gnu packages shellutils) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) @@ -946,14 +947,19 @@ (define-public liquidprompt (string-append "source " #$output "/share/liquidprompt/liquidprompt"))))) - (add-after 'fix-plugin 'fix-tput-path - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "liquidprompt" - (("([ (])tput " all beginning) + (add-after 'fix-plugin 'fix-utils-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "liquidprompt" + (("([ (])\\\\?(tput|hostname|cksum|uname|tty|grep)([) ])" + all beginning command ending) (string-append beginning - (search-input-file inputs "bin/tput") - " ")))))))) - (inputs (list ncurses)) + (search-input-file + inputs + (string-append "bin/" command)) + ending)))))))) + (inputs (list ncurses + coreutils + inetutils)) (synopsis "Full-featured prompt for Bash & Zsh") (description "Liquidprompt is an adaptive prompt for Bash and Zsh that gives -- 2.46.0 From unknown Sat Sep 20 12:21:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Sisiutl Subject: bug#74446: closed (Re: [bug#74446] [PATCH] gnu: liquidprompt: Patch additional utilities) Message-ID: References: <87bjxy17qp.fsf@gnu.org> <20241120162937.15722-1-sisiutl@egregore.fun> X-Gnu-PR-Message: they-closed 74446 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 74446@debbugs.gnu.org Date: Fri, 29 Nov 2024 13:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1732887662-2853-1" This is a multi-part message in MIME format... ------------=_1732887662-2853-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #74446: [PATCH] gnu: liquidprompt: Patch additional utilities which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 74446@debbugs.gnu.org. --=20 74446: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D74446 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1732887662-2853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 74446-done) by debbugs.gnu.org; 29 Nov 2024 13:40:08 +0000 Received: from localhost ([127.0.0.1]:41529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH1E8-0000fy-4w for submit@debbugs.gnu.org; Fri, 29 Nov 2024 08:40:08 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tH1E6-0000cE-Np for 74446-done@debbugs.gnu.org; Fri, 29 Nov 2024 08:40:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tH1Bv-0004z4-7e; Fri, 29 Nov 2024 08:37:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=ch8f6HFL5I8/EXMU7nB8fXpizzSQTy8AqnD3UsEr2DQ=; b=arRWNMBzTjWhzDFVTVsw w6J9u8EnddpO9LGbrEuDlXU1txhnm0PW1jiuKdwVhEISPAx+euFLKjGVp2XkZh9qw6+QJ0eK3w/Yv j2s1Z796oE1Fbx42efCeurJZCcHYWiiws1YuATE5wHEp7NKxtxtqrJBpcICL3qGXsP2hny7ko7vNu ulPm6TU869xvUyUmXqe/9tbdVsnKBDdwb8cQvwnPqgeZ0lJROCel+RdSEh0GaAHlMOM4aCLw/TNu5 LZRLHkpkWz1ujaOwvNRj9U+q9zawp8lT72GN5jSFjq+6eEuxhHv/vThfFTd0BwYhcaywpXlZKXxpX NZ4+J+9CvnJaQg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Sisiutl Subject: Re: [bug#74446] [PATCH] gnu: liquidprompt: Patch additional utilities In-Reply-To: <20241120162937.15722-1-sisiutl@egregore.fun> (sisiutl@egregore.fun's message of "Wed, 20 Nov 2024 17:29:30 +0100") References: <20241120162937.15722-1-sisiutl@egregore.fun> Date: Fri, 29 Nov 2024 14:37:18 +0100 Message-ID: <87bjxy17qp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: 74446-done Cc: 74446-done@debbugs.gnu.org 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.3 (-) Sisiutl skribis: > * gnu/packages/shellutils.scm (liquidprompt) > [inputs]: Add coreutils and inetutils. > [arguments]<#:phases>: Replace the paths of more utilites > > Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b Applied, thanks! ------------=_1732887662-2853-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Nov 2024 16:30:55 +0000 Received: from localhost ([127.0.0.1]:47535 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDnbT-0004kA-9u for submit@debbugs.gnu.org; Wed, 20 Nov 2024 11:30:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:42858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDnbQ-0004jw-Ss for submit@debbugs.gnu.org; Wed, 20 Nov 2024 11:30:53 -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 1tDnbL-0001Jk-8M for guix-patches@gnu.org; Wed, 20 Nov 2024 11:30:47 -0500 Received: from 2a02-8428-4716-0c01-eecc-61c0-3286-ff35.rev.sfr.net ([2a02:8428:4716:c01:eecc:61c0:3286:ff35] helo=fujo.egregore.fun) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDnbJ-0004Hw-54 for guix-patches@gnu.org; Wed, 20 Nov 2024 11:30:46 -0500 Received: from localhost (2a02-8428-4716-0c01-69f4-ade7-72a4-dc0f.rev.sfr.net [IPv6:2a02:8428:4716:c01:69f4:ade7:72a4:dc0f]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) (Authenticated sender: sisiutl@egregore.fun) by fujo.egregore.fun (Postfix) with ESMTPSA id 0364C6740F; Wed, 20 Nov 2024 17:29:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=egregore.fun; s=fujo; t=1732120182; bh=BrU6X6KEWQLkO5VAaZEDFoGPy3Gp2S6mjWCbiUS0Tkg=; h=From:To:Cc:Subject:Date; b=IMRmsBVrWtpwhiyrb6nEwZqttHZqmSxE4nhNs9m7MlU8ICzVfQwiaohzDQgwIBj2s ilKDCYB+2bDf3Tioa9I69SQyMh+YqZ4kwNRqp1TdlJdc5O3lDz1UN810bzVfuEj/oZ /NftRt98Oqs0BdnsfgNdNB0U1gUWVVuYdaj/fQgw= From: Sisiutl To: guix-patches@gnu.org Subject: [PATCH] gnu: liquidprompt: Patch additional utilities Date: Wed, 20 Nov 2024 17:29:30 +0100 Message-ID: <20241120162937.15722-1-sisiutl@egregore.fun> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a02:8428:4716:c01:eecc:61c0:3286:ff35; envelope-from=sisiutl@egregore.fun; helo=fujo.egregore.fun X-Spam_score_int: 67 X-Spam_score: 6.7 X-Spam_bar: ++++++ X-Spam_report: (6.7 / 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, FROM_SUSPICIOUS_NTLD=0.5, FROM_SUSPICIOUS_NTLD_FP=1.999, PDS_OTHER_BAD_TLD=1.999, RCVD_IN_PBL=3.335, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: reject X-Spam-Score: 3.2 (+++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: * gnu/packages/shellutils.scm (liquidprompt) [inputs]: Add coreutils and inetutils. [arguments]<#:phases>: Replace the paths of more utilites Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b --- gnu/packages/shellutils.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) Content analysis details: (3.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.51.188.17 listed in bl.score.senderscore.com] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: egregore.fun (fun)] 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit Cc: Sisiutl 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: 0.2 (/) * gnu/packages/shellutils.scm (liquidprompt) [inputs]: Add coreutils and inetutils. [arguments]<#:phases>: Replace the paths of more utilites Change-Id: I84578ca40300a7527a23e5d8c3257d49be911a7b --- gnu/packages/shellutils.scm | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm index 7e9f85a5f2..74e9429de0 100644 --- a/gnu/packages/shellutils.scm +++ b/gnu/packages/shellutils.scm @@ -47,6 +47,7 @@ (define-module (gnu packages shellutils) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system python) + #:use-module (gnu packages admin) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bison) @@ -946,14 +947,19 @@ (define-public liquidprompt (string-append "source " #$output "/share/liquidprompt/liquidprompt"))))) - (add-after 'fix-plugin 'fix-tput-path - (lambda* (#:key inputs #:allow-other-keys) - (substitute* "liquidprompt" - (("([ (])tput " all beginning) + (add-after 'fix-plugin 'fix-utils-path + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "liquidprompt" + (("([ (])\\\\?(tput|hostname|cksum|uname|tty|grep)([) ])" + all beginning command ending) (string-append beginning - (search-input-file inputs "bin/tput") - " ")))))))) - (inputs (list ncurses)) + (search-input-file + inputs + (string-append "bin/" command)) + ending)))))))) + (inputs (list ncurses + coreutils + inetutils)) (synopsis "Full-featured prompt for Bash & Zsh") (description "Liquidprompt is an adaptive prompt for Bash and Zsh that gives -- 2.46.0 ------------=_1732887662-2853-1--