pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/p5-GD



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Oct  5 20:28:53 UTC 2026

Modified Files:
        pkgsrc/graphics/p5-GD: Makefile distinfo

Log Message:
p5-GD: update to 2.91.

2.91    * t/affine.t: compare affineInvert(scale(2,3))'s result with an
          epsilon (1e-6) instead of exact is_deeply, since -Duselongdouble
          perls compute the division in extended precision, giving a
          last-few-ULP-different 1/3 than a plain double (GH #68).
        * Bumped $VERSION in GD::Image, GD::Image_pm.PL and GD::Polygon to
          2.91, in sync with GD.pm; these were left un-bumped in 2.90.
2.90    * Add JXL, UHDR support for new libgd-2.4.0 (from git)
          - JXL: newFromJxl/newFromJxlData readers, jxl() writer
            (lossless/distance/effort), magic-byte autodetection in new().
          - UHDR: new GD::UHDR class (newFromFile/newFromData, width/height/
            hasGainMap, resize/crop/rotate/mirror, file/write, getSdr).
          - Work around libgd 2.4.0 gd.h no longer declaring gdImageBoundsSafe().
        * IMAGEQUANT: trueColorToPaletteSetMethod/SetQuality and the
          GD_QUANT_* constants for the libimagequant-backed quantizer.
          Guard for installations without libimagequant.
          Fix imagequant feature autodetection in Makefile.PL (libimagequant
          surfaces in gdlib.pc's Libs.private, not Requires.private).
        * Embed rpath (Linux) and fix stale blib/lib/GD/Image.pm so
          'make test' reliably exercises the just-configured libgd
          (GH #21 test infra); fix GD_LIQ detection from the deprecated
          gdlib-config script.
        * Add Affine transformations (GH #21): GD::Image affine matrix
          builders (affineIdentity/Scale/Rotate/ShearHorizontal/
          ShearVertical/Translate/Concat/Invert/Flip/Expansion/
          Rectilinear/Equal/ApplyToPoint) and transformAffineGetImage/
          transformAffineCopy/transformAffineBoundingBox, wrapping
          gdAffine*/gdTransformAffine* (libgd >= 2.1.0). Fix GD_AFFINE_*
          constant visibility (same enum/#ifdef issue as GD_QUANT_*).
        * Add more previously-unbound libgd methods (libgd >= 2.1.0 unless
          noted): paletteToTrueColor, crop, cropAuto, cropThreshold,
          colorReplace, colorReplaceArray, colorReplaceThreshold,
          convolution, resolution; cloneImage, getTrueColorPixel,
          perceptualDiff (libgd >= 2.4.0). clone() now uses the native
          gdImageClone() when available, fixing truecolor-ness loss on
          the old new()+copy() fallback. Fix GD_CROP_* constant
          visibility (same enum/#ifdef issue as GD_QUANT_*).
        * Animated WebP support (libgd >= 2.4.0): new GD::WebpAnimWriter
          (new/addImage/finish, wrapping gdWebpWriteOpenPtr/AddImage/
          PtrFinish) and GD::WebpAnimReader (newFromData/info/nextImage,
          wrapping gdWebpReadOpenCtx/GetInfo/NextImage) classes.
        * Animated/multi-image JXL support (libgd >= 2.4.0): new
          GD::JxlAnimWriter (new/addImage/finish, wrapping
          gdJxlWriteOpenPtr/AddImage/PtrFinish) and GD::JxlAnimReader
          (newFromData/info/nextImage, wrapping gdJxlReadOpenCtx/
          GetInfo/NextImage) classes, mirroring GD::WebpAnimReader/Writer.
        * Multi-page TIFF support (libgd >= 2.4.0): new
          GD::TiffMultiWriter (new/addImage/finish, wrapping
          gdTiffWriteOpenPtr/AddImage/PtrFinish) and GD::TiffMultiReader
          (newFromData/info/nextImage, wrapping gdTiffReadOpenCtx/
          GetInfo/NextImage) classes, mirroring GD::WebpAnimReader/Writer
          (pages have no per-page delay; nextImage() returns a
          page-info hashref instead). Also adds the GD_TIFF_* writer
          option constants (colorspace, compression, resolution unit,
          alpha type).
        * Per-format header introspection (libgd >= 2.4.0): new
          GD::Image->pngInfoData/jpegInfoData/gifInfoData/bmpInfoData/
          avifInfoData/heifInfoData class methods, wrapping
          gd{Png,Jpeg,Gif,Bmp,Avif,Heif}GetInfoCtx. Each reads just the
          container facts (dimensions, bit depth, and similar) from an
          in-memory buffer without fully decoding the image.
        * Fixed a longstanding bug in the in-memory gdIOCtx used by every
          newFrom*Data()/*InfoData() method: its getC() callback never
          advanced the read position, so any decoder reading a buffer
          byte-by-byte (as the new bmpInfoData()'s BMP header parser
          does) would spin re-reading the first byte forever. PNG, JPEG,
          GIF, WebP, TIFF, JXL, AVIF and HEIF decoding were unaffected
          because they read through the bulk getBuf() callback instead,
          which was already correct.
        * Worked around inconsistent success/failure return conventions
          across libgd's new Get*InfoCtx functions: gdPngGetInfoCtx,
          gdJpegGetInfoCtx, gdAvifGetInfoCtx and gdHeifGetInfoCtx all
          return 0 on success despite two of their own header comments
          claiming the opposite, while gdGifGetInfoCtx and
          gdBmpGetInfoCtx return 1 on success as documented.
2.87    * fix OpenBSD support (Alexander Bluhm, PR #63)
        * fix $image->compare() usages (Alexander Bluhm, PR #65, #64)
        * fix tiff test without libimagequant (Alexander Bluhm, PR #66)


To generate a diff of this commit:
cvs rdiff -u -r1.110 -r1.111 pkgsrc/graphics/p5-GD/Makefile
cvs rdiff -u -r1.33 -r1.34 pkgsrc/graphics/p5-GD/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/p5-GD/Makefile
diff -u pkgsrc/graphics/p5-GD/Makefile:1.110 pkgsrc/graphics/p5-GD/Makefile:1.111
--- pkgsrc/graphics/p5-GD/Makefile:1.110        Tue Sep 29 06:05:52 2026
+++ pkgsrc/graphics/p5-GD/Makefile      Mon Oct  5 20:28:53 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.110 2026/09/29 06:05:52 wiz Exp $
+# $NetBSD: Makefile,v 1.111 2026/10/05 20:28:53 wiz Exp $
 
-DISTNAME=      GD-2.86
+DISTNAME=      GD-2.91
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    graphics perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=../../authors/id/R/RU/RURBAN/}
 

Index: pkgsrc/graphics/p5-GD/distinfo
diff -u pkgsrc/graphics/p5-GD/distinfo:1.33 pkgsrc/graphics/p5-GD/distinfo:1.34
--- pkgsrc/graphics/p5-GD/distinfo:1.33 Mon Jun 15 06:46:09 2026
+++ pkgsrc/graphics/p5-GD/distinfo      Mon Oct  5 20:28:53 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.33 2026/06/15 06:46:09 wiz Exp $
+$NetBSD: distinfo,v 1.34 2026/10/05 20:28:53 wiz Exp $
 
-BLAKE2s (GD-2.86.tar.gz) = ca17c30cc44a07dbded838607d840f325efc4d0a6e635735cb441a3a501cf14f
-SHA512 (GD-2.86.tar.gz) = 30bbcaf59f396d2c198c47c235135ca995b9561cb5513ff28202617c22435ae9ee300170acd8468870ecdaef564160eed7c293b17059728e652944eca31e2315
-Size (GD-2.86.tar.gz) = 1324133 bytes
+BLAKE2s (GD-2.91.tar.gz) = 7da41eecd25c6d0b589436d5538af5fc713b64dd67d339b3e0b3015b49a84c11
+SHA512 (GD-2.91.tar.gz) = 85b3fb9fdcacfb0950f6763bcf7b1190794370028d3ae52c60e63ce143b2922880843f9fd7b813df89fb531c647b1e6bd4f1483a1ac21027447aa4666d770f0b
+Size (GD-2.91.tar.gz) = 1292447 bytes



Home | Main Index | Thread Index | Old Index