From patchwork Tue Dec 9 15:09:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Bultel X-Patchwork-Id: 419143 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id ABF341400DE for ; Wed, 10 Dec 2014 02:09:31 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id DE152A2B99; Tue, 9 Dec 2014 15:09:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YgItJA4l5G2R; Tue, 9 Dec 2014 15:09:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5F2AEA27A4; Tue, 9 Dec 2014 15:09:29 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 8E8F91C2587 for ; Tue, 9 Dec 2014 15:09:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8BAB695F25 for ; Tue, 9 Dec 2014 15:09:27 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id grFfLrYXaERj for ; Tue, 9 Dec 2014 15:09:26 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5]) by hemlock.osuosl.org (Postfix) with ESMTPS id 50BEA95F19 for ; Tue, 9 Dec 2014 15:09:26 +0000 (UTC) Received: from thierry-desktop.basystemes.fr (unknown [78.221.72.141]) by smtp5-g21.free.fr (Postfix) with ESMTP id CA8B1D4806C; Tue, 9 Dec 2014 16:08:03 +0100 (CET) From: Thierry Bultel To: buildroot@buildroot.org Date: Tue, 9 Dec 2014 16:09:19 +0100 Message-Id: <1418137759-12514-1-git-send-email-tbultel@free.fr> X-Mailer: git-send-email 1.9.1 Cc: Thierry Bultel Subject: [Buildroot] [PATCH 1/1] xterm: add support for 256 colors X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Thierry Bultel --- package/xterm/Config.in | 9 +++++++++ package/xterm/xterm.mk | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/package/xterm/Config.in b/package/xterm/Config.in index e17d2c6..7dd4311 100644 --- a/package/xterm/Config.in +++ b/package/xterm/Config.in @@ -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 diff --git a/package/xterm/xterm.mk b/package/xterm/xterm.mk index 9c6bd21..11d6cf4 100644 --- a/package/xterm/xterm.mk +++ b/package/xterm/xterm.mk @@ -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))