pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/ruby-color



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jan 17 17:08:02 UTC 2026

Modified Files:
        pkgsrc/graphics/ruby-color: Makefile distinfo

Log Message:
graphics/ruby-color: update to 2.1.2

2.1.2 (2025-12-30)

* Updated to Contributor Covenant 3.0 and applied updates to several support
  documents.

* Full coverage of conversion tests.  Adds CIELAB to_yiq and Grayscale
  to_xyz methods.  Only YIQ now lacks conversions support.  Fixed in #69.

* Fix an incorrect conversion of CIELAB colors with low lightness to XYZ,
  which caused the Y component to be ~903 times larger than correct.  In
  practice, this returned unexpectedly bright colours.

  This also affected conversion from CIELAB to RGB, CMYK, HSL, YIQ, and
  grayscale, which convert from CIELAB to XYZ as an intermediate step.

  Reported by @alexwlchan in #95 and fixed in #96.

* Fix an incorrect comparison when converting CIE XYZ colors to RGB that
  could raise a NoMethodError when constructing the RGB value.  The
  conversion incorrectly compared the absolute value of an intermediate
  value against the 0.0031308 threshold instead of comparing the original
  value, causing certain negative values to follow the wrong branch and
  return complex RGB components.

  This also affected conversion from XYZ to CMYK, HSL, and YIK, and from
  CIELAB to RGB, HSL, YIQ, and Grayscale -- all of which convert from XYZ to
  RGB as an intermediate step.

  Reported by @alexwlchan in #92 and fixed in #93.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/graphics/ruby-color/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/graphics/ruby-color/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/ruby-color/Makefile
diff -u pkgsrc/graphics/ruby-color/Makefile:1.10 pkgsrc/graphics/ruby-color/Makefile:1.11
--- pkgsrc/graphics/ruby-color/Makefile:1.10    Mon Aug 11 15:13:25 2025
+++ pkgsrc/graphics/ruby-color/Makefile Sat Jan 17 17:08:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2025/08/11 15:13:25 taca Exp $
+# $NetBSD: Makefile,v 1.11 2026/01/17 17:08:02 taca Exp $
 
-DISTNAME=      color-2.1.1
+DISTNAME=      color-2.1.2
 CATEGORIES=    graphics
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/graphics/ruby-color/distinfo
diff -u pkgsrc/graphics/ruby-color/distinfo:1.11 pkgsrc/graphics/ruby-color/distinfo:1.12
--- pkgsrc/graphics/ruby-color/distinfo:1.11    Mon Aug 11 15:13:25 2025
+++ pkgsrc/graphics/ruby-color/distinfo Sat Jan 17 17:08:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2025/08/11 15:13:25 taca Exp $
+$NetBSD: distinfo,v 1.12 2026/01/17 17:08:02 taca Exp $
 
-BLAKE2s (color-2.1.1.gem) = b7f63e5c1b2f35e0d724f3580c0f056b852757d4a96c03ce74e4ddb68ab5489d
-SHA512 (color-2.1.1.gem) = 539f44f0b99590a002044244533a3ae7f2a84ab96058614614263200deea272965ea9f484afde98320ff0537d2b046f5d5e56cea1787aaa5c181d1f6e96771a1
-Size (color-2.1.1.gem) = 47616 bytes
+BLAKE2s (color-2.1.2.gem) = eef9d78d038861cedb2dba54650427649f2f29a482ac4a028d95dcf826998d04
+SHA512 (color-2.1.2.gem) = 931381e2e1a594cba6fbe1b47627cba8ea2159d13197f69a35f5753f3d25c065a0b30c4b4e9c9600bc03ef21679e5212186ce823137c147210cb46052ad31510
+Size (color-2.1.2.gem) = 50688 bytes



Home | Main Index | Thread Index | Old Index