Subject: CVS commit: pkgsrc/sysutils/eza
From: Santhosh Raju
Date: 2024-09-06 12:05:57
Message id: 20240906100558.0AA71FC74@cvs.NetBSD.org

Log Message:
sysutils/eza: Update to 0.19.2

Changes since 0.19.1:

Changelog

And we are back from vacation, with a packed eza release.

One highlight to take note of this release is custom theme files!

Custom Themes

Eza has recently added support for a theme.yml file, where you can specify
all of the existing theme-ing options available for the LS_COLORS and
XA_COLORS environment variables, as well as the option to specify different
icons for different file types and extensions. Any existing environment
variables set will continue to work and will take precedence for backwards
compatibility.

An example theme file is available in docs/theme.yml, and needs to either be
placed in a directory specified by the environment variable EZA_CONFIG_DIR,
or will looked for by default in $XDG_CONFIG_HOME/eza.

Full details are available on the man page and an example theme file is
included in https://github.com/eza-community/eza/tree/main/docs/theme.yml

Bug Fixes

  * Remove unnecessary map and make clippy happy
  * Adjust grid details for CI tests
  * Imports and merge conflicts
  * Rustfmt issues
  * Clippy issues
  * Revise UiStyles::plain to have no style at all
  * Pr reviews fixes for theme file
  * Selectively filter files when recursing #1101
  * Fix typo in FromOverride impl
  * Add serde(default) to StyleOverride.foreground/background fields

Documentation

  * Add Flox to INSTALL.md
  * Add ic for icon color to colors man page
  * Add further documentation about theme file

Features

  * Add c++ module interfaces as source file types
  * Add icon field to UiStyles
  * Add ic key for UiStyles icon in set_exa
  * Add None as icon value in UiStyles.default_theme
  * Add icon function to FileNameColours trait
  * Implement FileNameColours.icon for Theme
  * Adjust FileName.paint to consider possible icon color
  * Begin implementation of config file
  * Allow writing default theme.yml file for eventual config file
    implementation
  * Theme file configuration base
  * Add IconOverrides struct and UiStyles.icon_overrides
  * Add icon_override function to FileNameColours trait
  * Implement FileNameColours.icon_override for Theme
  * Handle icon overrides in FileName.paint
  * Add example config for icon_overrides
  * Rename UiStyles.icon_override to icons and add Style field
  * Add shorthand aliases to StyleOverride variables
  * Add custom deserialize_color and use in StyleOverride
  * Outsource color_from_str function to make it testable

Miscellaneous Tasks

  * Release eza v0.19.2

Refactor

  * Simplify icon style setting in FileName.paint
  * Make every setting optional with override layer
  * Simplify sample theme.yml
  * Formatting for rustfmt macro

Styling

  * Fix clippy issue in FileName.paint
  * Apply rustfmt
  * Simplify from_str_radix calls to please clippy

Testing

  * Add unit tests for color_from_str function

Build

  * Bump windows-sys from 0.52.0 to 0.59.0

Ci

  * Allow MPL-2.0

Files:
RevisionActionfile
1.38modifypkgsrc/sysutils/eza/Makefile
1.32modifypkgsrc/sysutils/eza/cargo-depends.mk
1.36modifypkgsrc/sysutils/eza/distinfo