guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/06: gnu: ratpoison: Reference xterm absolutely.


From: guix-commits
Subject: 04/06: gnu: ratpoison: Reference xterm absolutely.
Date: Tue, 11 Oct 2022 07:32:23 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit 6b650fde4104113881f01ba809a33eaeb915b905
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Oct 10 21:07:17 2022 -0400

    gnu: ratpoison: Reference xterm absolutely.
    
    * gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the
    '--with-xterm' configure flag.
    [inputs]: Add xterm.
---
 gnu/packages/ratpoison.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ratpoison.scm b/gnu/packages/ratpoison.scm
index 36e9619ee1..799e4e0a8a 100644
--- a/gnu/packages/ratpoison.scm
+++ b/gnu/packages/ratpoison.scm
@@ -49,6 +49,11 @@
      (list
       #:modules `((ice-9 format)
                   ,@%gnu-build-system-modules)
+      ;; Specify the absolute location of xterm, as the user experience sucks
+      ;; when no terminal is available (can't consult help with 'C-t ?', for
+      ;; example).
+      #:configure-flags #~(list (string-append "--with-xterm="
+                                               #$(this-package-input "xterm")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'install 'install-xsession
@@ -78,7 +83,8 @@
            libxtst
            libx11
            readline
-           xorgproto))
+           xorgproto
+           xterm))
     (native-inputs
      (list perl
            pkg-config))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]