From patchwork Fri Jan 14 14:02:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: florhizome X-Patchwork-Id: 36328 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 3420227BBEA; Fri, 14 Jan 2022 17:11:22 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id F3DE627BBE9 for ; Fri, 14 Jan 2022 17:11:21 +0000 (GMT) Received: from localhost ([::1]:40216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8Q6j-0000Tl-10 for patchwork@mira.cbaines.net; Fri, 14 Jan 2022 12:11:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8P6V-0003iK-8n for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8P6U-0005Fg-8Q for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8P6T-00057W-Us for guix-patches@gnu.org; Fri, 14 Jan 2022 11:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53257] [PATCH] gnu: foot: expose terminfo dirs via native-search-paths Resent-From: florhizome Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 16:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53257@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164217641619663 (code B ref -1); Fri, 14 Jan 2022 16:07:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2022 16:06:56 +0000 Received: from localhost ([127.0.0.1]:37899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8P6L-00056y-LY for submit@debbugs.gnu.org; Fri, 14 Jan 2022 11:06:56 -0500 Received: from lists.gnu.org ([209.51.188.17]:41920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8NDA-0007KY-RJ for submit@debbugs.gnu.org; Fri, 14 Jan 2022 09:05:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NCm-0002VG-96 for guix-patches@gnu.org; Fri, 14 Jan 2022 09:05:28 -0500 Received: from mout02.posteo.de ([185.67.36.66]:47001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8NCk-0002Cz-2t for guix-patches@gnu.org; Fri, 14 Jan 2022 09:05:23 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 01327240101 for ; Fri, 14 Jan 2022 15:05:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1642169119; bh=wXlovOjJByS64NzXEz7uXWvyn9dyYhehZu3JVF67zVU=; h=From:To:Subject:Date:From; b=F3YNYwOZppWSVRLnRMDsZ96mdD//Mc51u7B/P7qJV/2D8vvPPzEyKr7FC90YKVHGp 0swgZFV8TYEUp/d95kcBcKYDW4ZXT3tMo6Oazy57Hg/QXMwx61NP6+lL3GD5V7t/gH rmGGPyoxXsyyrkEem1JOvzSoBw5pRpwH0hZIj0AQ44glp1Hy0mO4VXDXGfrW0wIEme D5VMgdCbb8ySkQfzPHfMzHm+ZaD36B9IUDLwfOw2k0LB44jCZvZb0FYPzZjwklrXMw AFUYtzfzz8pAZQ9yF4UuJ9TuzpCYp60rGQa9+F65YqOenbcwSRfrp4f9HZNqFFvfTE dApGSaPsbnrxQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Jb33L2y3Vz9rxP for ; Fri, 14 Jan 2022 15:05:18 +0100 (CET) From: florhizome Date: Fri, 14 Jan 2022 14:02:54 +0000 Message-Id: <811cc55626870dbf37af3418e8effe191948541a.1642168254.git.florhizome@posteo.net> MIME-Version: 1.0 Received-SPF: pass client-ip=185.67.36.66; envelope-from=florhizome@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 14 Jan 2022 11:06:52 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 14 Jan 2022 12:10:40 -0500 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" X-getmail-retrieved-from-mailbox: Patches Hi all, I noticed foot did not behave normally whenever content would overflow it's current dimensions. when I installed alacritty in the same profile, this was fixed. Turned out, alacritty's declaration has a native-search-path field entry that fixed foot! Why not just search-paths, I can't tell. This might apply to further terminal emulators (kitty had problems starting emacs in some contexts for me but I would need to test that more), but for now, just foot! * gnu/packages/terminals.scm (foot) [native-search-paths]: Add search-path-specification for terminfo dirs --- gnu/packages/terminals.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index a4fe97776d..1eb54dac80 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -849,6 +849,10 @@ (define-public foot pkg-config scdoc wayland-protocols)) (inputs (list fcft libxkbcommon wayland)) + (native-search-paths + (list (search-path-specification + (variable "TERMINFO_DIRS") + (files '("share/terminfo"))))) (synopsis "Wayland-native terminal emulator") (description "@command{foot} is a terminal emulator for systems using the Wayland