[packages/elinks] bcond truecolor

witekfl witekfl at pld-linux.org
Mon Jul 9 15:03:59 CEST 2012


commit 09f6a976165d1a2235a03d995f92936a02c099b1
Author: witekfl <witekfl at poczta.onet.pl>
Date:   Mon Jul 9 15:02:04 2012 +0200

    bcond truecolor
    
    True color takes 6 bytes per character, which is a big waste.
    256 color takes 2 bytes per character, and there is no visible difference.

 elinks.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/elinks.spec b/elinks.spec
index 66f6786..09fd81c 100644
--- a/elinks.spec
+++ b/elinks.spec
@@ -21,6 +21,7 @@
 %bcond_without	lua		# Disable Lua scripting
 %bcond_without	openssl		# Disable OpenSSL support
 %bcond_without	perl		# Disable Perl scripting
+%bcond_without	truecolor	# Disable true color
 %bcond_with	olderisbetter	# variuos pre-0.10.0 behaviour rules (typeahead and esc-esc)
 
 %if %{with gnutls}
@@ -132,7 +133,7 @@ keepalive.
 	--enable-nntp \
 	--enable-88-colors \
 	%{?with_256:--enable-256-colors} \
-	--enable-true-color \
+	%{?with_truecolor:--enable-true-color} \
 	--enable-exmode \
 	%{?with_fsp:--enable-fsp} \
 	%{?with_leds:--enable-leds} \


More information about the pld-cvs-commit mailing list