]> git.pld-linux.org Git - packages/elinks.git/commitdiff
bcond truecolor
authorwitekfl <witekfl@poczta.onet.pl>
Mon, 9 Jul 2012 13:02:04 +0000 (15:02 +0200)
committerwitekfl <witekfl@poczta.onet.pl>
Mon, 9 Jul 2012 13:02:04 +0000 (15:02 +0200)
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

index 66f6786268c55fc77d4a70013119a7a08e50b4f2..09fd81cf393d6a8f2510bce2078b05c71cb9e1e8 100644 (file)
@@ -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} \
This page took 0.150331 seconds and 4 git commands to generate.