SHA256
1
0
forked from pool/chafa

Accepting request 790804 from graphics

- Update to 1.4.0:
  * Added sixel graphics support. Chafa will automatically produce sixels
    if the connected terminal supports it. It can also be forced using the
    new -f or --format flag. This is a new implementation written from the
    ground up to maximize throughput.
  * Added the --glyph-file option, which loads glyph-symbol mappings from
    any file format supported by FreeType (TTF, PCF, etc). This allows for
    custom font support and improved symbol selection.
  * Added the --speed option specifying animation speed. It accepts a
    unitless multiplier, a specific number of frames per second, or max
    for maximum throughput.
  * There are now two ways to assign colors to symbol cells. Formerly,
    this was done based on the average color of the covered area. The new
    default is to use the median color, which produces sharper edges,
    but is slightly more prone to high-frequency noise. The new option
    --color-extractor selects the method to employ.
  * When displaying multiple files, the default delay between files has
    been changed from three seconds to zero. Animations will still play
    through once. This can be overridden on the chafa command line with -d
    or --duration.
  * Minor tweaks to built-in symbols.
  Performance improvements:
  * Halved pixel storage requirements from 64 bits to 32 bits,
    resulting in significant memory savings.
  * Now builds with -ffast-math, yielding a big speedup for DIN99d.

OBS-URL: https://build.opensuse.org/request/show/790804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chafa?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2020-04-02 15:44:09 +00:00 committed by Git OBS Bridge
commit 754b4b4e3e
4 changed files with 35 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:af85be1962ee080ddd6fc7baef2c25e7a74529df6f8258a6d230935052084729
size 355520

3
chafa-1.4.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:884c9af96deb61845e89149065fb703d3845cce966e2e9ec9ea665f0bc7d43fc
size 388932

View File

@ -1,3 +1,32 @@
-------------------------------------------------------------------
Thu Apr 2 08:08:26 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 1.4.0:
* Added sixel graphics support. Chafa will automatically produce sixels
if the connected terminal supports it. It can also be forced using the
new -f or --format flag. This is a new implementation written from the
ground up to maximize throughput.
* Added the --glyph-file option, which loads glyph-symbol mappings from
any file format supported by FreeType (TTF, PCF, etc). This allows for
custom font support and improved symbol selection.
* Added the --speed option specifying animation speed. It accepts a
unitless multiplier, a specific number of frames per second, or max
for maximum throughput.
* There are now two ways to assign colors to symbol cells. Formerly,
this was done based on the average color of the covered area. The new
default is to use the median color, which produces sharper edges,
but is slightly more prone to high-frequency noise. The new option
--color-extractor selects the method to employ.
* When displaying multiple files, the default delay between files has
been changed from three seconds to zero. Animations will still play
through once. This can be overridden on the chafa command line with -d
or --duration.
* Minor tweaks to built-in symbols.
Performance improvements:
* Halved pixel storage requirements from 64 bits to 32 bits,
resulting in significant memory savings.
* Now builds with -ffast-math, yielding a big speedup for DIN99d.
-------------------------------------------------------------------
Wed Mar 4 06:39:45 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -17,7 +17,7 @@
Name: chafa
Version: 1.2.2
Version: 1.4.0
Release: 0
Summary: Image-to-text converter for terminal
License: LGPL-3.0-or-later
@ -25,6 +25,7 @@ Group: Amusements/Toys/Graphics
URL: https://hpjansson.org/chafa/
Source0: https://github.com/hpjansson/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: ImageMagick-devel
BuildRequires: freetype2-devel
BuildRequires: gcc
BuildRequires: glib2-devel
BuildRequires: gtk-doc
@ -91,7 +92,7 @@ rm -rf %{buildroot}%{_libdir}/libchafa.{a,la}
%files -n libchafa0
%license COPYING.LESSER
%{_libdir}/lib%{name}.so.0
%{_libdir}/lib%{name}.so.0.2.0
%{_libdir}/lib%{name}.so.0.3.0
%files devel
%license COPYING.LESSER