On 11/08/2025 00:30, Brian Inglis via Cygwin-apps wrote:
On 2025-08-10 15:47, Hans Petter Jansson via Cygwin-apps wrote:
Hi, I'd like to submit the Chafa project for possible inclusion in the
Cygwin distribution.
I maintain the upstream and am prepared to maintain the Cygwin package.
Here's the blurb:
SUMMARY="Terminal graphics renderer"
DESCRIPTION="Chafa is a versatile and efficient terminal
graphics package that renders images and animations to a
wide range of formats, including sixels, iTerm, kitty and
ANSI/ASCII/Unicode art. It supports most terminals and
multiplexers, both modern and classic, and adapts to
the user's environment."
The project consists of a library and a CLI tool. They are covered by
LGPL-3.0-or-later. The CLI tool also contains some code covered by the
Zlib and MIT licenses that I believe to be in compliance.
I started the project in 2018, and it's currently shipping in Debian
(including downstreams like Ubuntu and Raspbian), GNU Guix, Fedora,
openSUSE, Arch, Alpine, Homebrew, Gentoo, nixpkgs, FreeBSD and OpenBSD
ports, and a few others.
Seems to be widely available:
https://repology.org/project/chafa/versions
It has native MS Windows builds available in MSYS2, Scoop and Winget,
but these don't work with Cygwin terminal emulators, so users request
Cygwin builds from time to time.
You can read more at https://hpjansson.org/chafa/ .
I've made a cygport file and built test packages. It's available at
this temporary URL: https://hpjansson.org/chafa/cygpkg/
Thanks!
I'd suggest that you include the soversion in the shared library package
name and explicitly match against that for the contents, just in case it
ever changes, e.g.
-libchafa_CONTENTS="usr/bin/*.dll"
+libchafa0_CONTENTS="usr/bin/*-0.dll"
Apart for that, this looks good.
I've added your key, and this to your packages.