Hi,

Now that the 256 colors is supported by upstream, why not having a "256color"
flavor ?

Patch attached.

Thanks for maintaining rxvt-unicode.

-- 
Laurent
>From 32988d313e1adc2b1a1fcc026d2072f54ea0ab8b Mon Sep 17 00:00:00 2001
From: Laurent Arnoud <laur...@spkdev.net>
Date: Fri, 26 Nov 2010 18:53:51 +0100
Subject: [PATCH] Add 256color flavor

Now supported by upstream in 9.09
http://lists.schmorp.de/pipermail/rxvt-unicode/2010q4/001305.html

Signed-off-by: Laurent Arnoud <laur...@spkdev.net>
---
 debian/changelog |    7 +++++++
 debian/control   |   19 +++++++++++++++++++
 debian/rules     |   19 ++++++++++++++++++-
 3 files changed, 44 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7ead772..7e97ec3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+rxvt-unicode (9.09-2.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Add 256color flavor
+
+ -- Laurent Arnoud <laur...@spkdev.net>  Sun, 21 Nov 2010 17:52:15 +0100
+
 rxvt-unicode (9.09-1) unstable; urgency=low
 
   * New upstream version
diff --git a/debian/control b/debian/control
index 4d4bca1..44bff8b 100644
--- a/debian/control
+++ b/debian/control
@@ -57,3 +57,22 @@ Description: RXVT-like terminal emulator with basic Unicode support
  .
  This package contains the small version with only a few extra features and
  without Freetype support.
+
+Package: rxvt-unicode-256color
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, base-passwd (>= 2.0.3.4), ncurses-base (>= 5.4-7)
+Provides: x-terminal-emulator, rxvt-unicode
+Suggests: ttf-dejavu
+Conflicts: rxvt-unicode
+Description: RXVT-like terminal emulator with Unicode and 256 colors support
+ rxvt-unicode is a modern, Unicode-aware color xterm replacement that uses
+ significantly less memory than a conventional xterm and many other Unicode
+ supporting terminal emulators.
+ .
+ It supports using multiple fonts at the same time, including Xft fonts, and
+ client-server technology to reduce memory consumption when using multiple
+ windows.
+ .
+ This package contains the program version with most commonly-used features
+ enabled, including transparency, (16-bit) Unicode, FreeType font support and
+ 256 colors mode enabled.
diff --git a/debian/rules b/debian/rules
index 073a6e6..64140df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,6 +84,23 @@ conf-unicode-ml:
 	    --enable-slipwheeling \
 	    --enable-smart-resize
 
+conf-unicode-256color:
+	CXXFLAGS="$(CXXFLAGS)" ./configure $(cfgcommon) \
+	    --enable-xft \
+	    --enable-font-styles \
+	    --enable-afterimage \
+	    --enable-transparency \
+	    --enable-fading \
+	    --enable-rxvt-scroll \
+	    --enable-next-scroll \
+	    --enable-xterm-scroll \
+	    --enable-perl \
+	    --enable-mousewheel \
+	    --enable-slipwheeling \
+	    --enable-smart-resize \
+	    --enable-256-color \
+	    --disable-iso14755
+
 build: build-stamp
 build-stamp: config.status
 	dh_testdir
@@ -92,7 +109,7 @@ build-stamp: config.status
 	dh_installdirs -A usr/bin etc/X11/app-defaults usr/share/pixmaps
 
 	set -e; \
-	for x in unicode unicode-lite unicode-ml; do \
+	for x in unicode unicode-lite unicode-ml unicode-256color; do \
 		cp -f debian/rxvt-unicode-base.preinst debian/rxvt-$$x.preinst; \
 		cp -f debian/rxvt-unicode-base.postinst debian/rxvt-$$x.postinst; \
 		cp -f debian/rxvt-unicode-base.prerm debian/rxvt-$$x.prerm; \
-- 
1.7.2.3

Reply via email to