BSD Ports

graphics/chafa 1.18.2nb1 NetBSD

Command-line utility for displaying images in a terminal

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
7b5a3977f9
License
gnu-gpl-v3
Categories
graphics
Package size
247.1 KiB, 1418.7 KiB installed

Description

Chafa is a command-line utility that converts image data, including animated GIFs, into graphics formats or ANSI/Unicode character art suitable for display in a terminal. It has broad feature support, allowing it to be used on devices ranging from historical teleprinters to modern terminal emulators and everything in between.

In the other systems

SystemPortVersion
NetBSDgraphics/chafa1.18.2nb1
FreeBSDgraphics/chafa1.18.3
OpenBSDgraphics/chafa1.18.2
DragonFlygraphics/chafa1.14.5_1
MidnightBSDgraphics/chafa1.18.2
HardenedBSDgraphics/chafa1.18.3
GhostBSDgraphics/chafa1.18.2_2

Install

Binary package:

pkgin install chafa

From pkgsrc:

cd /usr/pkgsrc/graphics/chafa && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.18.2nb1
NetBSD 10.1 aarch641.18.2
SmartOS / illumos x86_64-
macOS 15 arm641.18.3nb2

Dependencies

Run dependencies 8
Required by 2

Commit history 5

DateCommitCreditsLog message
7b5a3977f9 wiz *: recursive bump for pcre2 10.49
204ac6b2b7 tnn *: revbump for pcre2 symbol versioning change
56a3f6a550 ktnb chafa: update to 1.18.3
- Sixels are no longer used inside tmux when the outer terminal can't display them. - Padding and fully transparent areas revealed by alpha thresholding are now correctly painted in the flat background color instead of the closest match - CLI: Hang when `--files` was used and standard input was a pipe. - CLI: Potential busy-wait for a complete token from a file list. - CLI: TIFF images decoded with wrong channel order on big-endian. - CLI: Integer overflow in image loader size arithmetic - CLI: Unbounded allocation decoding GIF frames larger than the file's logical extent. - OOB read one entry past the end of the palette color table. - Double free of the pixel canvas after `chafa_canvas_new_similar()`. - Spurious pen added to palettes with fewer than 255 colors.
5e4aea17e2 wiz *: recursive bump for pcre2 10.48
1a3c0dc7ab wiz chafa: needs GNU make
Otherwise: gcc -std=gnu23 -E -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/pkg/include/libxml2 -CC -o chafa-term-seq-doc.h gcc: fatal error: no input files