From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 51627@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#51627] [PATCH v2] gnu: st: Install terminfo files.
Date: Fri, 3 Dec 2021 15:21:34 -0500 [thread overview]
Message-ID: <20211203202133.12732-1-jgart@dismail.de> (raw)
In-Reply-To: <20211106085334.4778-1-jgart@dismail.de>
Here is version two of the patch set that adds ncurses to the native-input.
The Makefile already takes care of compiling the terminfo files as long as the
tic binary is available. The tic binary comes from the ncurse package.
* gnu/packages/suckless.scm (st)[native-inputs]: Add ncurses.
[configure-flags](TERMINFO): New flag.
[phases](inhibit-terminfo-install): Remove phase.
---
gnu/packages/suckless.scm | 13 +++----------
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b4855ec0a2..fcebe894a7 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -378,22 +378,15 @@ (define-public st
`(#:tests? #f ; no tests
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
- (string-append "PREFIX=" %output))
- #:phases
- (modify-phases %standard-phases
- (delete 'configure)
- (add-after 'unpack 'inhibit-terminfo-install
- (lambda _
- (substitute* "Makefile"
- (("\ttic .*") ""))
- #t)))))
+ (string-append "PREFIX=" %output))))
(inputs
`(("libx11" ,libx11)
("libxft" ,libxft)
("fontconfig" ,fontconfig)
("freetype" ,freetype)))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("ncurses" ,ncurses)
+ ("pkg-config" ,pkg-config)))
(home-page "https://st.suckless.org/")
(synopsis "Simple terminal emulator")
(description
--
2.34.0
next prev parent reply other threads:[~2021-12-03 20:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 8:53 [bug#51627] [PATCH] gnu: st: Compile and install terminfo files jgart via Guix-patches via
2021-12-03 20:08 ` [bug#51627] (no subject) Raghav Gururajan via Guix-patches via
2021-12-03 20:21 ` jgart via Guix-patches via [this message]
2021-12-03 20:37 ` bug#51627: " Raghav Gururajan via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211203202133.12732-1-jgart@dismail.de \
--to=guix-patches@gnu.org \
--cc=51627@debbugs.gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.