9 Commits

Author SHA256 Message Date
86865c5f11 Accepting request 1317033 from graphics
- Update to 1.18.0:
  * Increased GLib minimum version to 2.58 (released in 2018).
  * New options: --files=FNAME and --files0=FNAME. These allow reading
    lists of input files from a file or standard input. Paths can be
    separated by newlines or a zero byte (--files0). These options can
    be specified multiple times.
  * New option: --link=[auto|on|off]. When used with --label, this
    controls whether each label should be an OSC 8-style hyperlink to
    its input file.
  * Multiple files can now be decoded in parallel. This greatly speeds
    up grid mode on multi-core systems. Controllable with --threads.
  * ConHost support was removed due to incompleteness and lack of interest.
  * Image loaders:
    + Added support for CoreGraphics loaders on MacOS (#301).
    + Added support for HEIF files on all platforms (#297).
  * Terminal support:
    + Improved detection of ghostty inside tmux (#296).
    + Added support for GNU/Hurd console.
  * Tests:
    + Expanded symbol matching tests with more cases and detailed diagnostics.
    + Added a test for CLI tool return values in various scenarios.
  * Bug fixes:
    + #293 Don't leave stdin in non-blocking mode.
    + [unfiled] Use glibtoolize when libtoolize is unavailable.
    + [unfiled] GNU/Hurd: Don't stall if pipe is closed on remote end.
    + [unfiled] _mm_empty() not always called immediately after MMX use.
    + [unfiled] FP division by zero possible in sixel palette generation.
    + [unfiled] Don't wait for response if probing is unsupported.
    + [unfiled] Wrong exit code returned on some failures.

OBS-URL: https://build.opensuse.org/request/show/1317033
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chafa?expand=0&rev=28
2025-11-11 18:21:08 +00:00
4206dcac40 - Update to 1.18.0:
* Increased GLib minimum version to 2.58 (released in 2018).
  * New options: --files=FNAME and --files0=FNAME. These allow reading
    lists of input files from a file or standard input. Paths can be
    separated by newlines or a zero byte (--files0). These options can
    be specified multiple times.
  * New option: --link=[auto|on|off]. When used with --label, this
    controls whether each label should be an OSC 8-style hyperlink to
    its input file.
  * Multiple files can now be decoded in parallel. This greatly speeds
    up grid mode on multi-core systems. Controllable with --threads.
  * ConHost support was removed due to incompleteness and lack of interest.
  * Image loaders:
    + Added support for CoreGraphics loaders on MacOS (#301).
    + Added support for HEIF files on all platforms (#297).
  * Terminal support:
    + Improved detection of ghostty inside tmux (#296).
    + Added support for GNU/Hurd console.
  * Tests:
    + Expanded symbol matching tests with more cases and detailed diagnostics.
    + Added a test for CLI tool return values in various scenarios.
  * Bug fixes:
    + #293 Don't leave stdin in non-blocking mode.
    + [unfiled] Use glibtoolize when libtoolize is unavailable.
    + [unfiled] GNU/Hurd: Don't stall if pipe is closed on remote end.
    + [unfiled] _mm_empty() not always called immediately after MMX use.
    + [unfiled] FP division by zero possible in sixel palette generation.
    + [unfiled] Don't wait for response if probing is unsupported.
    + [unfiled] Wrong exit code returned on some failures.

OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=58
2025-11-11 08:57:35 +00:00
3301e5e5aa Accepting request 1290742 from graphics
- Update to 1.16.2:
  * #288 SVG scaling seems to be done after bitmap conversion
  * [unfiled] MinGW: Undeclared function error for strlen()
  * [unfiled] Assert when using chafa_canvas_draw_all_pixels() with Kitty passthrough
  * [unfiled] Hangs when running with closed stdin
  * [unfiled] Potential overrun when output dimension is exactly 1 pixel.
  * [unfiled] Small memory leak on failed load in the grid layout.
  * [unfiled] Occasional warnings from JPEG loader that should not be printed.

OBS-URL: https://build.opensuse.org/request/show/1290742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chafa?expand=0&rev=27
2025-07-07 12:44:24 +00:00
2c123a9ae7 - Update to 1.16.2:
* #288 SVG scaling seems to be done after bitmap conversion
  * [unfiled] MinGW: Undeclared function error for strlen()
  * [unfiled] Assert when using chafa_canvas_draw_all_pixels() with Kitty passthrough
  * [unfiled] Hangs when running with closed stdin
  * [unfiled] Potential overrun when output dimension is exactly 1 pixel.
  * [unfiled] Small memory leak on failed load in the grid layout.
  * [unfiled] Occasional warnings from JPEG loader that should not be printed.

OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=56
2025-07-05 04:41:18 +00:00
0963ed01c2 Accepting request 1282042 from graphics
- Update to 1.16.1:
  * Bug fixes:
    #282 Fish completion not included in release tarball
    #283 Piping and redirection are broken in Windows

- Update to 1.16.0:
 * Added terminal probing. Currently we can determine geometry, colors
   and sixel capabilities this way. This supplements the existing heuristics.
 * The internal terminal database and heuristics were refactored for
   clarity, with new API added to simplify the configuration process.
 * I/O is now threaded, resulting in improved responsiveness and pipelining.
 * New option: --grid=WxH, --grid=[auto|on|off] or -g. This lays out
   multiple images in a grid for easy browsing.
 * New option: --label=[on|off] or -l. Labels each image with its filename.
   Works in both continuous and grid layouts.
 * New option: --probe=[auto|on|off]. Controls whether to actively probe the
   terminal. Can take a real number denoting how long to wait for a response.
 * Sixel quality improved significantly. The quantizer was reimplemented with modern algorithms
   (#174), and blue noise dithering was introduced (#238).
 * The new blue noise dithering is also available in symbols mode, and can be turned on with
    --dither noise. It can be turned off with --dither none.
 * Numerous small improvements were made to sixel handling:
   + Terminal cursor placement quirks are now represented and handled.
   + Images can now cover their cell extents completely.
   + Workaround for animations "walking up the screen" on quirky terminals.
 * The JPEG XL loader was improved with optional memory mapping and better container support
 * Enabled wildcard expansion in Windows builds (#266).
 * Added completions for the fish shell and updated those for zsh.
 * Bug fixes:
   + #111 Provide auto detection of background for perception of transparency

OBS-URL: https://build.opensuse.org/request/show/1282042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chafa?expand=0&rev=26
2025-06-03 15:51:59 +00:00
f5649b482a - Update to 1.16.1:
* Bug fixes:
    #282 Fish completion not included in release tarball
    #283 Piping and redirection are broken in Windows

OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=54
2025-06-02 17:07:38 +00:00
00e7437e08 - Update to 1.16.0:
* Added terminal probing. Currently we can determine geometry, colors
   and sixel capabilities this way. This supplements the existing heuristics.
 * The internal terminal database and heuristics were refactored for
   clarity, with new API added to simplify the configuration process.
 * I/O is now threaded, resulting in improved responsiveness and pipelining.
 * New option: --grid=WxH, --grid=[auto|on|off] or -g. This lays out
   multiple images in a grid for easy browsing.
 * New option: --label=[on|off] or -l. Labels each image with its filename.
   Works in both continuous and grid layouts.
 * New option: --probe=[auto|on|off]. Controls whether to actively probe the
   terminal. Can take a real number denoting how long to wait for a response.
 * Sixel quality improved significantly. The quantizer was reimplemented with modern algorithms
   (#174), and blue noise dithering was introduced (#238).
 * The new blue noise dithering is also available in symbols mode, and can be turned on with
    --dither noise. It can be turned off with --dither none.
 * Numerous small improvements were made to sixel handling:
   + Terminal cursor placement quirks are now represented and handled.
   + Images can now cover their cell extents completely.
   + Workaround for animations "walking up the screen" on quirky terminals.
 * The JPEG XL loader was improved with optional memory mapping and better container support
 * Enabled wildcard expansion in Windows builds (#266).
 * Added completions for the fish shell and updated those for zsh.
 * Bug fixes:
   + #111 Provide auto detection of background for perception of transparency
   + #228 Sixel capability not detected in foot + tmux
   + #236 Ghostty shows pwd/lock indicator when using Chafa
   + #238 Sixel image quality significantly different from img2sixel and ImageMagick
   + #239 Chafa leaves echo on
   + #245 JPEG file not recognized

OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=53
2025-06-02 05:28:30 +00:00
d3e6eb2390 Accepting request 1222511 from graphics
OBS-URL: https://build.opensuse.org/request/show/1222511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/chafa?expand=0&rev=25
2024-11-08 10:59:37 +00:00
7392f3d690 - Update to 1.14.5:
Fixes:
  * Improve sixel and general terminal support inside tmux
  * Support JPEGs with CMYK color space
  * Fix --font-ratio doing nothing
  * Ensure CLI tool gets linked with libm.

OBS-URL: https://build.opensuse.org/package/show/graphics/chafa?expand=0&rev=51
2024-11-07 16:34:02 +00:00
4 changed files with 115 additions and 6 deletions

View File

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

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

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

View File

@@ -1,3 +1,112 @@
-------------------------------------------------------------------
Tue Nov 11 08:53:54 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 1.18.0:
* Increased GLib minimum version to 2.58 (released in 2018).
* New options: --files=FNAME and --files0=FNAME. These allow reading
lists of input files from a file or standard input. Paths can be
separated by newlines or a zero byte (--files0). These options can
be specified multiple times.
* New option: --link=[auto|on|off]. When used with --label, this
controls whether each label should be an OSC 8-style hyperlink to
its input file.
* Multiple files can now be decoded in parallel. This greatly speeds
up grid mode on multi-core systems. Controllable with --threads.
* ConHost support was removed due to incompleteness and lack of interest.
* Image loaders:
+ Added support for CoreGraphics loaders on MacOS (#301).
+ Added support for HEIF files on all platforms (#297).
* Terminal support:
+ Improved detection of ghostty inside tmux (#296).
+ Added support for GNU/Hurd console.
* Tests:
+ Expanded symbol matching tests with more cases and detailed diagnostics.
+ Added a test for CLI tool return values in various scenarios.
* Bug fixes:
+ #293 Don't leave stdin in non-blocking mode.
+ [unfiled] Use glibtoolize when libtoolize is unavailable.
+ [unfiled] GNU/Hurd: Don't stall if pipe is closed on remote end.
+ [unfiled] _mm_empty() not always called immediately after MMX use.
+ [unfiled] FP division by zero possible in sixel palette generation.
+ [unfiled] Don't wait for response if probing is unsupported.
+ [unfiled] Wrong exit code returned on some failures.
-------------------------------------------------------------------
Sat Jul 5 04:40:00 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 1.16.2:
* #288 SVG scaling seems to be done after bitmap conversion
* [unfiled] MinGW: Undeclared function error for strlen()
* [unfiled] Assert when using chafa_canvas_draw_all_pixels() with Kitty passthrough
* [unfiled] Hangs when running with closed stdin
* [unfiled] Potential overrun when output dimension is exactly 1 pixel.
* [unfiled] Small memory leak on failed load in the grid layout.
* [unfiled] Occasional warnings from JPEG loader that should not be printed.
-------------------------------------------------------------------
Mon Jun 2 17:07:08 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 1.16.1:
* Bug fixes:
#282 Fish completion not included in release tarball
#283 Piping and redirection are broken in Windows
-------------------------------------------------------------------
Mon Jun 2 05:24:20 UTC 2025 - Michael Vetter <mvetter@suse.com>
- Update to 1.16.0:
* Added terminal probing. Currently we can determine geometry, colors
and sixel capabilities this way. This supplements the existing heuristics.
* The internal terminal database and heuristics were refactored for
clarity, with new API added to simplify the configuration process.
* I/O is now threaded, resulting in improved responsiveness and pipelining.
* New option: --grid=WxH, --grid=[auto|on|off] or -g. This lays out
multiple images in a grid for easy browsing.
* New option: --label=[on|off] or -l. Labels each image with its filename.
Works in both continuous and grid layouts.
* New option: --probe=[auto|on|off]. Controls whether to actively probe the
terminal. Can take a real number denoting how long to wait for a response.
* Sixel quality improved significantly. The quantizer was reimplemented with modern algorithms
(#174), and blue noise dithering was introduced (#238).
* The new blue noise dithering is also available in symbols mode, and can be turned on with
--dither noise. It can be turned off with --dither none.
* Numerous small improvements were made to sixel handling:
+ Terminal cursor placement quirks are now represented and handled.
+ Images can now cover their cell extents completely.
+ Workaround for animations "walking up the screen" on quirky terminals.
* The JPEG XL loader was improved with optional memory mapping and better container support
* Enabled wildcard expansion in Windows builds (#266).
* Added completions for the fish shell and updated those for zsh.
* Bug fixes:
+ #111 Provide auto detection of background for perception of transparency
+ #228 Sixel capability not detected in foot + tmux
+ #236 Ghostty shows pwd/lock indicator when using Chafa
+ #238 Sixel image quality significantly different from img2sixel and ImageMagick
+ #239 Chafa leaves echo on
+ #245 JPEG file not recognized
+ #246 Examples using deprecated functions
+ #249 Sixel detection doesn't set default values
+ #254 -t 1 doesn't work with -f iterm
+ #255 Animations scroll/walk up the screen
+ #265 Enable Kitty image protocol for Warp
+ #266 On Windows, in a cmd.exe window, filename wildcard expansion is broken
+ #273 -t 1 messes up some images
+ #274 -f {kitty,iterm} swaps BG color channels for SVG
+ #278 Images not always padded to cell boundary
+ [unfiled] Fix broken bashisms resulting in logic failure
+ [unfiled] Small leak in chafa_canvas_print_rows()
+ [unfiled] Uninitialized histogram in nearest-neighbor interp.
-------------------------------------------------------------------
Sun Nov 3 08:32:44 UTC 2024 - Joshua Smith <smolsheep@opensuse.org>
- Update to 1.14.5:
Fixes:
* Improve sixel and general terminal support inside tmux
* Support JPEGs with CMYK color space
* Fix --font-ratio doing nothing
* Ensure CLI tool gets linked with libm.
-------------------------------------------------------------------
Tue Sep 10 05:20:04 UTC 2024 - Michael Vetter <mvetter@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package chafa
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: chafa
Version: 1.14.4
Version: 1.18.0
Release: 0
Summary: Image-to-text converter for terminal
License: LGPL-3.0-or-later
@@ -26,7 +26,7 @@ URL: https://hpjansson.org/chafa/
Source0: https://github.com/hpjansson/%{name}/releases/download/%{version}/%{name}-%{version}.tar.xz
BuildRequires: freetype2-devel
BuildRequires: gcc
BuildRequires: glib2-devel >= 2.26
BuildRequires: glib2-devel >= 2.58
BuildRequires: gtk-doc
BuildRequires: libjpeg-devel
BuildRequires: librsvg-devel