From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SKlKAA2MAmILRAAAgWs5BA (envelope-from ) for ; Tue, 08 Feb 2022 16:28:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0FyZNAyMAmLoUwEAG6o9tA (envelope-from ) for ; Tue, 08 Feb 2022 16:28:12 +0100 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 7597220CDF for ; Tue, 8 Feb 2022 16:28:12 +0100 (CET) Received: from localhost ([::1]:40750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHSPb-0006zL-DN for larch@yhetil.org; Tue, 08 Feb 2022 10:28:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50466) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHPto-00018d-SE for guix-patches@gnu.org; Tue, 08 Feb 2022 07:47:13 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHPte-0005U9-Cy for guix-patches@gnu.org; Tue, 08 Feb 2022 07:47:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHPte-0002G1-Bt for guix-patches@gnu.org; Tue, 08 Feb 2022 07:47:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53257] [PATCH] gnu: foot: expose terminfo dirs via native-search-paths Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Feb 2022 12:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Florian , 53257@debbugs.gnu.org Received: via spool by 53257-submit@debbugs.gnu.org id=B53257.16443244188667 (code B ref 53257); Tue, 08 Feb 2022 12:47:02 +0000 Received: (at 53257) by debbugs.gnu.org; 8 Feb 2022 12:46:58 +0000 Received: from localhost ([127.0.0.1]:45774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPta-0002Fi-DY for submit@debbugs.gnu.org; Tue, 08 Feb 2022 07:46:58 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:32882) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHPtY-0002FZ-1O for 53257@debbugs.gnu.org; Tue, 08 Feb 2022 07:46:57 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id scmt2600l4UW6Th01cmuTx; Tue, 08 Feb 2022 13:46:54 +0100 Message-ID: <9da3ea19616015d650aa709f45d39d9d3e99b8e1.camel@telenet.be> From: Maxime Devos Date: Tue, 08 Feb 2022 13:46:47 +0100 In-Reply-To: <87v8y3bic8.fsf_-_@gnu.org> References: <811cc55626870dbf37af3418e8effe191948541a.1642168254.git.florhizome@posteo.net> <070637a9bb8fc9a51bd39b0a2666ede537bdc949.camel@telenet.be> <87sftqlykz.fsf@tp-x230-guix.mail-host-address-is-not-set> <9b79749f1902ca64bc0a544a697b4109920592f5.camel@telenet.be> <87v8y3bic8.fsf_-_@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-vliZrMrwYjX1lQqylVh4" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644324414; bh=wDJFKco0kf5DV6GTWuVsBY3H7ZhIb1VeEJ7Qbass4EM=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=mJHd4CldmbPHoQpTZku818hl0xWQSBNi9/k+Hs3fqTjlOXMsXnUsjzMSO2mB9THJz iEQosyzkBeus7MeCI6ODJIYqPWtEbO2hNYpPPZJjL04h//bjYDsWhDQV6IzD6Sruvw S5OHe381BjU/fIwJEZbHUELrdmQFBTcir+uvJUQWrl/XIDlT2PfwF7znY/UIqoQOQR rOOrTmvJbURTTEQ7QKGnHsuRNAf1g+NRa5Ihgk7Ia6omBaa408GCjS3sftEaJHzdqf z8c5CuA94E4HUot/vQmqYN0HXEiB7iCNSkZ88ABSa2PJ95buHM3e6Uxf7yAH6+ugnv 73T4ec9MltnVQ== 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644334092; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=wDJFKco0kf5DV6GTWuVsBY3H7ZhIb1VeEJ7Qbass4EM=; b=A9QJ1aShkSkGB1Ma7rUCTp6UoQPoSLvDeh6uaRHPXYpRG6J2pXWHH6NAEqhByK97US+eeH 9YSskC6CMKTiWTwOuPlZymPj1D8ryOMAVb/wRcBomDrLHd6FC1vfA6JCFRLx5NapQT/j6d Aqz7WhMPk+6JANC2GPNh6ZqZYXVlPpfrSJ5gFe7FP91vnGvquFUS5LEhc4zkgqxDBZ1Gq0 Yo9t4AygJ6PtxJs4PPCrDcTD/GV3iwrFIvGRGa5rWJiHmx5hso+wksMQztK3STnHZyUEZ0 sA6F1fhoQDigosHZI1aXGSLewMiUfpJyMNlIWWc1gzJP8v3+1+h3+gk7oLzdRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644334092; a=rsa-sha256; cv=none; b=KA0WFhbWXnCQl7HUjlsQ2ayopFkAleFH9q7Jv4WFuGy+HS4e9fNqtEW/Dx9LmNxr5szm2b ZavI1Onj4/PZYU7PKteuFM8q3YGl4NhB+LLvzK9NQTSwRXYmCMuc37v13/mtJv0pkBs468 CDmebCCNNpVJCop+u1Gjxk0uYWTdhGRPgFZd2e8WaGaBcjSUfrWTBbaV2nTCH7BvNi9VqP ZS2224fvJtrrkmXVXKjAhbrXJOkzNm2Jub/DabqiQTuxVAhc07U+R/fcBqa7BQEOyMghW3 pOr3HyzSzxkimuyrZEMoViesdke951gSm1Sf7in5TQq3rk3hzFeT5NFeCbPKBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mJHd4Cld; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: -5.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=mJHd4Cld; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); 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: 7597220CDF X-Spam-Score: -5.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: Wwsmnn96NrrX --=-vliZrMrwYjX1lQqylVh4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op vr 28-01-2022 om 23:34 [+0100]: > Hi, >=20 > Maxime Devos skribis: >=20 > > This patch is about 'foot', so I tried running foot+nano, but that fail= ed because > > I don't use wayland.=C2=A0 Anyway, there are a few options here: >=20 > An option we=E2=80=99ve used before, in fact to work around > , is to define certain variables > globally; on Guix System, you=E2=80=99ll see this in /etc/profile: >=20 > --8<---------------cut here---------------start------------->8--- > # Allow Hunspell-based applications (IceCat, LibreOffice, etc.) to > # find dictionaries. > export DICPATH=3D\ > "$HOME/.guix-profile/share/hunspell\ > :/run/current-system/profile/share/hunspell" >=20 > # Allow GStreamer-based applications to find plugins. > export GST_PLUGIN_PATH=3D\ > "$HOME/.guix-profile/lib/gstreamer-1.0" > --8<---------------cut here---------------end--------------->8--- >=20 > We should probably do the same for =E2=80=98TERMINFO_DIRS=E2=80=99. > > WDYT? IIUC, that only works if 'foot' is installed in in the system profile, and not if it is installed in the user profile.=C2=A0 Unlike, say, 'gnome-terminal', 'foot' doesn't seem like something that would be in the system profile. The variable would need to be added to $GUIX_PROFILE/etc/profile instead. ... (me notices .guix-profile in the example above) ... Ok, this could work with things in the user profile, but it's a rather ad-hoc solution and won't work with "guix shell", so I would prefer adding it to 'etc/profile'. One option is to modify 'build-etc/profile' to always add 'TERMINFO_DIRS' (and maybe DICPATH, GUIX_LOCPATH and SSL_CERT_DIR/FILE?) to the list of search paths. > (Of course that that doesn=E2=80=99t help on foreign distros, but maybe > =E2=80=98TERMINFO_DIRS=E2=80=99 is already set there?) I'm currently on Debian+Guix. $TERMINFO_DIRS is not set here. Even if it was, I doubt you'd find the files for 'foot' in there unless 'foot' is installed with the foreign distro's installer -- AFAICT, 'foot' is not present in ncurses' terminfos. If I do "grep -RF foot /usr/share/terminfo/", I don't find any results. I do find results for 'kitty' though, which makes it odd that some previous tests I did with 'kitty' failed ... Greetings, Maxime --=-vliZrMrwYjX1lQqylVh4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgJmNxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7l5BAP0YHQOCyhORue5UAqrhKUZb9f39 m5O0XFa2jR9cCegahQEAnDLBh+Rt/UGsWahDHg01hQ8DmAGvoqY+bFu8u7fmegc= =kmN8 -----END PGP SIGNATURE----- --=-vliZrMrwYjX1lQqylVh4--