FS#48730 - [xterm] enable compilation of sixel support

Attached to Project: Arch Linux
Opened by Andrea (BrainDamage) - Monday, 28 March 2016, 19:17 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 04 May 2016, 18:17 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

xterm optionally supports sixel graphics ( https://en.wikipedia.org/wiki/Sixel, https://github.com/saitoha/libsixel )

as of xterm package 324-1 the option is not enabled in the buildsystem, it has to be specifically enabled passing --enable-sixel, it'd be nice to have support for graphics that don't require hacks like drawing on top of the terminal
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 04 May 2016, 18:17 GMT
Reason for closing:  Implemented
Additional comments about closing:  324-2
Comment by Andreas Radke (AndyRTR) - Friday, 01 April 2016, 15:16 GMT
The option needs to be --enable-sixel-graphics. From configure I can't really find out if libsixel is required or not. Debian Changelog say they enabled it long time ago and now there's no dependency on libsixel. Fedora doesn't enable sixel support.

If it would require an additional dependency on libsixel I would reject and close it as "won't implement" because I don't want to maintain another library that isn't widely used and well tested.
Comment by Andrea (BrainDamage) - Friday, 01 April 2016, 15:37 GMT
You're correct with regards to --enable-sixel, it's indeed --enable-sixel-graphics, it was my typo, sorry.
There's no third party dependency necessary, the code is builtin in xterm, it simply has to be enabled at compilation time, I merely linked libsixel as an example of the capabilities.
Enabling the compilation flag should bring no downsides other than slightly longer compilation time and final binary size ( and both really quite negligible ), no additional dependencies neither runtime or compile-time.

Loading...