From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 6F7gKPzfc2K1XwAAbAwnHQ (envelope-from ) for ; Thu, 05 May 2022 16:32:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IHcSKfzfc2LaKAAA9RJhRA (envelope-from ) for ; Thu, 05 May 2022 16:32:28 +0200 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 52285BF56 for ; Thu, 5 May 2022 16:32:28 +0200 (CEST) Received: from localhost ([::1]:42292 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmcWp-00020e-DZ for larch@yhetil.org; Thu, 05 May 2022 10:32:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36188) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmcWR-0001wH-Pb for guix-patches@gnu.org; Thu, 05 May 2022 10:32:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmcWP-00078y-Vr for guix-patches@gnu.org; Thu, 05 May 2022 10:32:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmcWP-0004NT-P2 for guix-patches@gnu.org; Thu, 05 May 2022 10:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50833] [PATCH] Add Bower (notmuch curses email client) Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 May 2022 14:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50833 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: Maxim Cournoyer Cc: 50833@debbugs.gnu.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Sarah Morgensen Received: via spool by 50833-submit@debbugs.gnu.org id=B50833.165176108616788 (code B ref 50833); Thu, 05 May 2022 14:32:01 +0000 Received: (at 50833) by debbugs.gnu.org; 5 May 2022 14:31:26 +0000 Received: from localhost ([127.0.0.1]:46152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmcVp-0004Mi-S7 for submit@debbugs.gnu.org; Thu, 05 May 2022 10:31:26 -0400 Received: from mx1.dismail.de ([78.46.223.134]:21214) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmcVn-0004MU-8c for 50833@debbugs.gnu.org; Thu, 05 May 2022 10:31:24 -0400 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9a3c27fa; Thu, 5 May 2022 16:31:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=date :message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s= 20190914; bh=GmpvQJXEjh+skR00aaCaX7PoHLDO6K43BBN79JqsNxw=; b=Se1 /9itHpHTDRW1FhgApXt/ps9860grYLPNZNGRartTYcW7A31Eg64wgVZGxfJ9MQVz naVyKm+vecZxn0/51NG+lFUfX3fJNgRdb+q1n0ea0NfGyqb+r28tUL5DcNQ2vxQb R2I+8TcAXn/N0AAHbAuZyokyGJowXiXmAdB2qgqCS6vj5YAmi2u9F0//7EfPlCWP l7/IaYTRug/1rshRTJ2XudzCzFeLV9p6girpoyLBr6YloJ5EXIhazYMcj3Z0iiE0 j+/LnlV6dOqzVx1fqjGee3IyBMS1zAS1L8PPlF88LLOmKPcZ0076bD3fj+XzUQyI OvP3mEj9LGQCTLYRPWA== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7cb9a37a; Thu, 5 May 2022 16:31:16 +0200 (CEST) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 268c8ceb; Thu, 5 May 2022 16:31:16 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 72823a5e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 5 May 2022 16:31:15 +0200 (CEST) Date: Thu, 5 May 2022 14:31:10 +0000 Message-ID: <20220505143110.GB5411@gac> In-Reply-To: <878rrzwjj1.fsf_-_@gmail.com> References: <20210926190836.GB8410@gac.attlocal.net> <20210926231145.18651-1-jgart@dismail.de> <864ka6vnkv.fsf@mgsn.dev> <20210928211220.GB21136@gac.attlocal.net> <868rzdtrxv.fsf@mgsn.dev> <20211025003258.GB16646@gac.attlocal.net> <87h7d5l29p.fsf_-_@gnu.org> <878rrzwjj1.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651761148; 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=CGFDiBnZKpcUMSFZp2sIPGu0T1CguJbl9EDvAPOZOT8=; b=AiYRX8eNiBnnVPSWAEZrHMpYk6bIKyze2bfNB/Bv7Ub0XfS6oaOmYLuMfKzADw4v2LJ9d9 HlBR18sj3BHBXo41I5546M36lc4RkqkPLdlxC9L8RnrVtzCmJWVmKqydFZWpRGIGlhzTsj HmLn4maP5j0SFrGLEkScL4tJmAQYBOBCr//XESG+64oOEF56yeQtMuVeS5sxxNyzSSjtSf su6mKJ8M9yuuiisd3YRhl2cHLsQFj9eSf57e7M2fI6MJQSdeTfTjucLymVwfWYoK/gnada V2sM3Fzhxu+jPQqPtHOD81p89uKISsMuSQUKM/GXiea8LhCA0YgEXG2xQB4DSw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651761148; a=rsa-sha256; cv=none; b=CfHCFIlKoWk5NepsTbDSDEBEswgjaukdvmzNECmCiLRQ9OaY/Wt2ZDG69LwAa0zv+sM+W4 l1godZniv9BpEGJgTymXVFkPh2M2ejuzF62xAx2j89SyHaOP8Rhnzp625F2vFx7rrKOjOH oab7zsmfY1DP2heGxfoZxvSo0uOfnZ9c1FBYobsLgpj2joUx62jm7ACwfFUVRS2WlipFlb Yy4dbvH6t/dn1YAJ3RvDSDgCNBLeq1PXCsQCkeYtrr3aJLEWIcSQWpnWtxIIXJuPbkRxs4 DWqG0EYdA7M2bGhtqLB0uTMVp4OhuuZXwug6UJieB5v9pYtzf6i85gtucv19Sw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="Se1 /9it"; 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" X-Migadu-Spam-Score: -0.29 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b="Se1 /9it"; 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" X-Migadu-Queue-Id: 52285BF56 X-Spam-Score: -0.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: 8ytW+e311MoQ On Wed, 20 Apr 2022 17:07:46 -0400 Maxim Cournoyer wrote: > Hello, > > Ludovic Courtès writes: > > > Hi! > > > > jgart skribis: > > > >> On Thu, 30 Sep 2021 19:11:24 -0700 Sarah Morgensen wrote: > >>> default_html_dump_command = command_prefix(shell_quoted(Lynx), quote_once) :- > >>> Lynx = "lynx -dump -force-html -stdin -display-charset=utf-8". > >> > >> Hi again, > >> > >> If lynx is being detected without needing to be wrapped should I still wrap it? > > > > It’s detected if it happens to be in $PATH, otherwise it won’t be found. > > > > Like Sarah suggested, I’d recommend using ‘substitute*’ to replace, say, > > /usr/bin/sendmail by /gnu/store/…/bin/sendmail. You can grep the code > > for examples on how to do that; see also: > > > > https://guix.gnu.org/manual/en/html_node/Build-Utilities.html#index-substitute_002a > > > > As for Lynx specifically, whether you’d leave it as is (in which case > > it’s found if and only if it’s in $PATH), or whether you’d use > > ‘substitute*’ depends on whether it’s an optional dependency or not. If > > Bower can gracefully handle lack of Lynx and, for instance, fall back to > > another rendering method, then perhaps you can leave it as is. > > jgart, could you look into that? Then we can bring this review to > completion :-) Hi Ludo, Maxim, Thanks for the review and encouragement. Sorry for the delay. I've been in the process of relocating/starting a new job and haven't been able to catch up on Guix stuff I have pending. I spoke with wangp regading Lynx as an optional dependency: https://github.com/wangp/bower/issues/103 > Like Sarah suggested, I’d recommend using ‘substitute*’ to replace, say, /usr/bin/sendmail by /gnu/store/…/bin/sendmail. I can patch sendmail and the others mentioned by Sarah. What should we do about lynx given wangp's insight on lynx as default in bower? all best, jgart