* [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file
@ 2012-05-07 10:33 Gustavo Zacarias
2012-05-07 10:33 ` [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc Gustavo Zacarias
2012-05-07 21:22 ` [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2012-05-07 10:33 UTC (permalink / raw)
To: buildroot
Install the terminfo file for screen as reported on bug #5204
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/ncurses/ncurses.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index eb8a043..10a55dd 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -117,6 +117,8 @@ define NCURSES_INSTALL_TARGET_CMDS
cp -dpf $(STAGING_DIR)/usr/share/terminfo/a/ansi $(TARGET_DIR)/usr/share/terminfo/a
mkdir -p $(TARGET_DIR)/usr/share/terminfo/l
cp -dpf $(STAGING_DIR)/usr/share/terminfo/l/linux $(TARGET_DIR)/usr/share/terminfo/l
+ mkdir -p $(TARGET_DIR)/usr/share/terminfo/s
+ cp -dpf $(STAGING_DIR)/usr/share/terminfo/s/screen $(TARGET_DIR)/usr/share/terminfo/s
$(NCURSES_INSTALL_TARGET_DEVFILES)
endef # NCURSES_INSTALL_TARGET_CMDS
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc
2012-05-07 10:33 [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Gustavo Zacarias
@ 2012-05-07 10:33 ` Gustavo Zacarias
2012-05-07 21:22 ` Peter Korsgaard
2012-05-07 21:22 ` [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Peter Korsgaard
1 sibling, 1 reply; 4+ messages in thread
From: Gustavo Zacarias @ 2012-05-07 10:33 UTC (permalink / raw)
To: buildroot
Enable terminfo support as reported on bug #5198
Also install screenrc if it's not already present in the target.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/screen/screen.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/package/screen/screen.mk b/package/screen/screen.mk
index 4b3d427..d117bde 100644
--- a/package/screen/screen.mk
+++ b/package/screen/screen.mk
@@ -7,8 +7,17 @@
SCREEN_VERSION = 4.0.3
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
SCREEN_DEPENDENCIES = ncurses
-SCREEN_CONF_ENV = ac_cv_header_elf_h=no ac_cv_header_dwarf_h=no
+SCREEN_CONF_ENV = ac_cv_header_elf_h=no ac_cv_header_dwarf_h=no \
+ CFLAGS="$(TARGET_CFLAGS) -DTERMINFO"
SCREEN_MAKE = $(MAKE1)
SCREEN_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
+define SCREEN_INSTALL_SCREENRC
+ if [ ! -f $(TARGET_DIR)/etc/screenrc ]; then \
+ $(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc; \
+ fi
+endef
+
+SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
+
$(eval $(call AUTOTARGETS))
--
1.7.3.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file
2012-05-07 10:33 [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Gustavo Zacarias
2012-05-07 10:33 ` [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc Gustavo Zacarias
@ 2012-05-07 21:22 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-05-07 21:22 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Install the terminfo file for screen as reported on bug #5204
Gustavo> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc
2012-05-07 10:33 ` [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc Gustavo Zacarias
@ 2012-05-07 21:22 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-05-07 21:22 UTC (permalink / raw)
To: buildroot
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:
Gustavo> Enable terminfo support as reported on bug #5198
Gustavo> Also install screenrc if it's not already present in the target.
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-07 21:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-07 10:33 [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Gustavo Zacarias
2012-05-07 10:33 ` [Buildroot] [PATCH 2/2] screen: enable terminfo and install screenrc Gustavo Zacarias
2012-05-07 21:22 ` Peter Korsgaard
2012-05-07 21:22 ` [Buildroot] [PATCH 1/2] ncurses: install screen terminfo file Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox