guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: st: Install terminfo files.


From: guix-commits
Subject: branch master updated: gnu: st: Install terminfo files.
Date: Fri, 03 Dec 2021 15:36:53 -0500

This is an automated email from the git hooks/post-receive script.

raghavgururajan pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 19528e3  gnu: st: Install terminfo files.
19528e3 is described below

commit 19528e39bb00cc25a41a134f7af63873fa297b77
Author: jgart <jgart@dismail.de>
AuthorDate: Sat Nov 6 04:53:34 2021 -0400

    gnu: st: Install terminfo files.
    
    * gnu/packages/suckless.scm (st)[native-inputs]: Add ncurses.
    [make-flags](TERMINFO): New flag.
    [phases](inhibit-terminfo-install): Remove phase.
    
    Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
---
 gnu/packages/suckless.scm | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b4855ec..efa5c02 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -378,22 +378,21 @@ numbers of user-defined menu items efficiently.")
      `(#:tests? #f                      ; no tests
        #:make-flags
        (list (string-append "CC=" ,(cc-for-target))
+             (string-append "TERMINFO="
+                            (assoc-ref %outputs "out")
+                            "/share/terminfo")
              (string-append "PREFIX=" %output))
        #:phases
        (modify-phases %standard-phases
-         (delete 'configure)
-         (add-after 'unpack 'inhibit-terminfo-install
-           (lambda _
-             (substitute* "Makefile"
-               (("\ttic .*") ""))
-             #t)))))
+         (delete 'configure))))
     (inputs
      `(("libx11" ,libx11)
        ("libxft" ,libxft)
        ("fontconfig" ,fontconfig)
        ("freetype" ,freetype)))
     (native-inputs
-     `(("pkg-config" ,pkg-config)))
+     `(("ncurses" ,ncurses) ;provides tic program
+       ("pkg-config" ,pkg-config)))
     (home-page "https://st.suckless.org/";)
     (synopsis "Simple terminal emulator")
     (description



reply via email to

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