xterm: add support for 256 colors
PATCH 1/1 xterm: add support for 256 colors
Signed-off-by Thierry Bultel <[email protected]>
--- package/xterm/Config.in | 9 +++++++++ package/xterm/xterm.mk | 4 ++++ 2 files changed, 13 insertions(+)
package/xterm/Config.in +9 -0
@@ -8,3 +8,12 @@ config BR2_PACKAGE_XTERM xterm terminal emulator http://invisible-island.net/xterm/ + +if BR2_PACKAGE_XTERM + +config BR2_PACKAGE_XTERM_256_COLOR + bool "xterm 256 colors" + help + enable 256-color support + +endif
package/xterm/xterm.mk +4 -0
@@ -12,4 +12,8 @@ XTERM_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install XTERM_LICENSE = MIT XTERM_LICENSE_FILES = version.c +ifeq ($(BR2_PACKAGE_XTERM_256_COLOR),y) +XTERM_CONF_OPTS += --enable-256-color +endif + $(eval $(autotools-package))
Signature · 1 line
1.9.1
PATCH 1/1 xterm: add support for 256 colors
Dear Thierry Bultel,
Quoted 5 lines · Thierry Bultel
Signed-off-by Thierry Bultel <[email protected]>--- package/xterm/Config.in | 9 +++++++++ package/xterm/xterm.mk | 4 ++++ 2 files changed, 13 insertions(+)
Adding a condition for such a small feature in a package that anyway has a huge dependency such as X.org didn't seem really useful, so I've dropped the additional config option, and just enabled 256 colors support unconditionally.
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com