Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21250 - Utilize 256 colour build option in ncurses

Attached to Project: Arch Linux
Opened by Colby Williams (Yorokobi) - Thursday, 14 October 2010, 14:26 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 15 October 2010, 19:19 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Previous versions of ncurses supported only 16 colours, ncurses 5.7 now supports 256 with the --with-ext-colors build option (in conjunction with --enable-widec). Although this additional feature does not currently appear to be necessary, future 256 colour applications may rely on a ncurses build that supports the larger colour palette.

Additional info:
* package version: ncurses-5.7

PKGBUILD diff:
______________________________________

--- var/abs/core/ncurses/PKGBUILD
+++ ~/abs/ncurses/PKGBUILD
@@ -20,7 +20,7 @@
cd ${srcdir}/ncursesw-build
../${pkgname}-${pkgver}/configure --prefix=/usr --mandir=/usr/share/man \
--with-shared --with-normal --without-debug --without-ada \
- --with-install-prefix=${pkgdir} --enable-widec
+ --with-install-prefix=${pkgdir} --enable-widec --with-ext-colors
make || return 1

# libncurses.so.5 for external binary support

This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 15 October 2010, 19:19 GMT
Reason for closing:  Won't implement
Additional comments about closing:  see comments
Comment by Jan de Groot (JGC) - Thursday, 14 October 2010, 17:19 GMT
Your patch doesn't enable 256 colors, as the "with-ext-colors" option is wrong, it should be "--enable-ext-colors".
Enabling this option means a soname bump from .so.5 to .so.6, meaning that the PKGBUILD needs further adjustments. Besides that, I don't think it's desirable to rebuild a lot of packages just because of a 256 color palette.
Comment by Colby Williams (Yorokobi) - Thursday, 14 October 2010, 19:09 GMT
Jan is correct, I used the wrong build option. It is probably best to wait until the dependency on libncursesw.so.5 is eliminated.

Loading...