forked from pool/perl-Graphics-Toolkit-Color
Automatic update to v1.972.0 (1.972)
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:34e88b6f6858f47d996101f1582f1eb00db7f86e129e5f1d61bf7f9bddb62ef2
|
|
||||||
size 74925
|
|
BIN
Graphics-Toolkit-Color-1.972.tar.gz
(Stored with Git LFS)
Normal file
BIN
Graphics-Toolkit-Color-1.972.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,87 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 6 17:21:54 UTC 2025 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.972.0 (1.972)
|
||||||
|
see /usr/share/doc/packages/perl-Graphics-Toolkit-Color/Changes
|
||||||
|
|
||||||
|
|
||||||
|
1.972 2025-09-31 lichtkind
|
||||||
|
-------
|
||||||
|
* = small feature release = 2 fixes
|
||||||
|
* ? POD fixed / rewrote for methods "values", "name", "closest_name", "distance"
|
||||||
|
* ! public API cluster method test fix
|
||||||
|
1.971 2025-08-31 lichtkind
|
||||||
|
-------
|
||||||
|
* = small fix release = 3 fixes
|
||||||
|
* ? documented latest input format
|
||||||
|
* ? typos in POD
|
||||||
|
* ! more cluster method test fixes
|
||||||
|
1.97 2025-08-30 lichtkind
|
||||||
|
-------
|
||||||
|
* = small feature release + 1 fix
|
||||||
|
* + new input format: space_name => [ ....]
|
||||||
|
* + method "name" can now return names from a radius
|
||||||
|
* ~ renamed cluster argument: distance => minimal_distance
|
||||||
|
* ~ cluster argument "minimal_distance" got alias: "min_d"
|
||||||
|
* ~ cluster argument "radius" got alias: "r"
|
||||||
|
* ? removed bad chars from POD
|
||||||
|
* ? organize POD for color names better
|
||||||
|
1.961 2025-08-29 lichtkind
|
||||||
|
-------
|
||||||
|
* = fix stupidity release
|
||||||
|
* ? removed bad chars from POD
|
||||||
|
1.951 2025-08-29 lichtkind
|
||||||
|
-------
|
||||||
|
* = tiny POD fix release
|
||||||
|
* ? removed bad chars from POD
|
||||||
|
1.95 2025-08-29 lichtkind
|
||||||
|
-------
|
||||||
|
* = mid sized feature release + 3 fixes
|
||||||
|
* * added support of 3 color spaces: OKLAB, OKLCH, HunterLAB
|
||||||
|
* + methods "name" and "closest_name" can now return multiple names and full names
|
||||||
|
* ? rewrote some POD
|
||||||
|
* ? POD example code fixes
|
||||||
|
* ? fix POD links in GTC::Space::Hub lib
|
||||||
|
* ! fixed too tight set calc tests: Issue Pause:169094 found by SlavenRezic++
|
||||||
|
* ! remove unused "use Benchmark;" fixed by ppisar++
|
||||||
|
1.92 2025-08-20 lichtkind
|
||||||
|
-------
|
||||||
|
* = mid sized feature release + 1 fix
|
||||||
|
* + methods "name" and "closest_name" work on any scheme from Graphics::ColorNames
|
||||||
|
* ~ extended "CSS_string" format, commas are now optional
|
||||||
|
* ~ no space between axis value and suffix allowed
|
||||||
|
* ~ color space "CIELCHuv" got alias name "LCHuv"
|
||||||
|
* & converter value IO moved to standard tuple format
|
||||||
|
* ? POD syntax fixes
|
||||||
|
1.91 2025-08-12 lichtkind
|
||||||
|
-------
|
||||||
|
* = minor bug fix release
|
||||||
|
* ~ added aliases for renamed methods "add_value" and "set_value"
|
||||||
|
* ? POD syntax fixes
|
||||||
|
* ? rewrote parts of ::Color::Space POD
|
||||||
|
1.9 2025-08-12 lichtkind
|
||||||
|
-------
|
||||||
|
* = major feature release
|
||||||
|
* * added "cluster" and "invert" calculation method
|
||||||
|
* * added "closest_name" method
|
||||||
|
* * added support of 5 color spaces: NCol YUV CIELUV CIELCHab CIELCHuv,
|
||||||
|
rewrote CIEXYZ CIELAB
|
||||||
|
* + extended range definitions with explicit type names
|
||||||
|
* + color spaces can now define value precision,
|
||||||
|
value suffix ('%') and
|
||||||
|
value parsing regex
|
||||||
|
* ? added documentation for color space object and missing formats
|
||||||
|
* & moved code into Space::Format space attribute object class
|
||||||
|
* & removed Carp and Test::Warn as dependencies
|
||||||
|
* & moved color and color set calculators into own packages
|
||||||
|
* ~ reworked all calculator methods
|
||||||
|
* ~ renamed single color calculator method "blend" method to "mix"
|
||||||
|
* ~ renamed method "add" and "set" to "add_value" and "set_value"
|
||||||
|
* ~ renamed method "mix" argument "with" to "to"
|
||||||
|
* ~ renamed method "gradient" argument "dynamic" to "tilt"
|
||||||
|
* ~ default space of methods 'distance', 'mix' and 'gradient'
|
||||||
|
went from HSL to RGB, consistent with defaults (complement has to be HSL)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 8 22:28:05 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
Fri Mar 8 22:28:05 UTC 2024 - Tina Müller <tina.mueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Graphics-Toolkit-Color
|
# spec file for package perl-Graphics-Toolkit-Color
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,11 +18,12 @@
|
|||||||
|
|
||||||
%define cpan_name Graphics-Toolkit-Color
|
%define cpan_name Graphics-Toolkit-Color
|
||||||
Name: perl-Graphics-Toolkit-Color
|
Name: perl-Graphics-Toolkit-Color
|
||||||
Version: 1.710.0
|
Version: 1.972.0
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_version 1.71
|
# 1.972 -> normalize -> 1.972.0
|
||||||
|
%define cpan_version 1.972
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Color palette constructor
|
Summary: Calculate color (sets), IO many spaces and formats
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
Source0: https://cpan.metacpan.org/authors/id/L/LI/LICHTKIND/%{cpan_name}-%{cpan_version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/L/LI/LICHTKIND/%{cpan_name}-%{cpan_version}.tar.gz
|
||||||
Source1: cpanspec.yml
|
Source1: cpanspec.yml
|
||||||
@@ -30,63 +31,66 @@ Source100: README.md
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Carp) >= 1.35
|
|
||||||
BuildRequires: perl(Test::More) >= 1.3
|
BuildRequires: perl(Test::More) >= 1.3
|
||||||
BuildRequires: perl(Test::Warn) >= 0.30
|
Provides: perl(Graphics::Toolkit::Color) = %{version}
|
||||||
Requires: perl(Carp) >= 1.35
|
Provides: perl(Graphics::Toolkit::Color::Name) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Name::Constant) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Name) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Name::Scheme) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Name::Constant) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::SetCalculator) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Basis) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Basis) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Hub) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Format) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CMY) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Hub) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CMYK) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CIELAB) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSB) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CIELCHab) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSL) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CIELCHuv) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSV) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CIELUV) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HWB) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CIEXYZ) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::LAB) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CMY) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::RGB) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::CMYK) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::XYZ) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSB) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Instance::YIQ) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSL) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Shape) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HSV) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Space::Util) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HWB) = %{version}
|
||||||
Provides: perl(Graphics::Toolkit::Color::Values) = 1.710.0
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::HunterLAB) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::NCol) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::OKLAB) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::OKLCH) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::RGB) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::YIQ) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Instance::YUV) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Shape) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Space::Util) = %{version}
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Values) = %{version}
|
||||||
%undefine __perllib_provides
|
%undefine __perllib_provides
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ATTENTION: deprecated methods of the old API ( _string_, _rgb_, _red_,
|
Graphics::Toolkit::Color, for short *GTC*, is the top level API of this
|
||||||
_green_, _blue_, _rgb_hex_, _rgb_hash_, _hsl_, _hue_, _saturation_,
|
release and the only package a regular user should be concerned with. Its
|
||||||
_lightness_, _hsl_hash_, _blend_with_, _gradient_to_, _rgb_gradient_to_,
|
main purpose is the creation of related colors or sets of them, such as
|
||||||
_hsl_gradient_to_, _complementary_) will be removed on version 2.0.
|
gradients, complements and others. But you can use it also to convert
|
||||||
|
and/or reformat color definitions.
|
||||||
|
|
||||||
Graphics::Toolkit::Color, for short GTC, is the top level API of this
|
GTC are read only, one color representing objects with no additional
|
||||||
module and the only one a regular user should be concerned with. Its main
|
dependencies. Create them in many different ways (see CONSTRUCTOR). Access
|
||||||
purpose is the creation of sets of related colors, such as gradients,
|
its values via methods from section GETTER. Measure differences with the
|
||||||
complements and others.
|
distance method. SINGLE-COLOR methods create one new object that is related
|
||||||
|
to the current one and COLOR-SETS methods will create a group of colors,
|
||||||
|
that are not only related to the current color but also have relations
|
||||||
|
between each other. Error messages will appear as return values instead of
|
||||||
|
the expected result.
|
||||||
|
|
||||||
GTC are read only color holding objects with no additional dependencies.
|
While this module can understand and output color values to many color
|
||||||
Create them in many different ways (see section CONSTRUCTOR). Access its
|
spaces, RGB is the (internal) primal one, because GTC is about colors that
|
||||||
values via methods from section GETTER. Measure differences with the
|
can be shown on the screen, and these are usually encoded in _RGB_. Humans
|
||||||
_distance_ method. SINGLE-COLOR methods create one a object that is related
|
access colors on hardware level (eye) in _RGB_, on cognition level in _HSL_
|
||||||
to the current one and COLOR-SETS methods will create a host of color that
|
(brain) and on cultural level (language) with names. Having easy access to
|
||||||
are not only related to the current color but also have relations between
|
all of those plus some color math and many formats should enable you to get
|
||||||
each other.
|
the color palette you desire quickly.
|
||||||
|
|
||||||
While this module can understand and output color values in many spaces,
|
|
||||||
such as YIQ, HSL and many more, RGB is the (internal) primal one, because
|
|
||||||
GTC is about colors that can be shown on the screen, and these are usually
|
|
||||||
encoded in RGB.
|
|
||||||
|
|
||||||
Humans access colors on hardware level (eye) in RGB, on cognition level in
|
|
||||||
HSL (brain) and on cultural level (language) with names. Having easy access
|
|
||||||
to all three and some color math should enable you to get the color palette
|
|
||||||
you desire quickly.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
%autosetup -n %{cpan_name}-%{cpan_version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
Reference in New Issue
Block a user