Subject: CVS commit: pkgsrc/graphics/ruby-mini-magick
From: Takahiro Kambe
Date: 2024-06-15 17:56:17
Message id: 20240615155617.31CBEFC74@cvs.NetBSD.org

Log Message:
graphics/ruby-mini-magick: update to 4.13.1

4.13.0 (2024-06-13)

* Warnings about convert command being deprecated on ImageMagick 7 are now
  ignored.

* The next major version of MiniMagick will switch to using magick on IM7,
  as it might not be fully compatible with magick convert.

* If processing images is returning warnings (e.g. TIFF images tend to do
  that), but they're otherwise fine, you can prevent MiniMagick from
  forwarding warnings to standard error:

	MiniMagick.configure do |config|
	  config.warnings = false
	end

* When the ImageMagick subprocess has been abruptly killed by the operating
  system (e.g. OOM kill), in which case the exit status will be unknown,
  MiniMagick will now handle this gracefully.

* When validating the image, the cheap info will now be automatically stored
  on the MiniMagick::Image object, so a subsequent call to #type, #width,
  #height, #dimensions, #size or #human_size will not call identify again.

* The posix-spawn shell backend has been deprecated (see #558).

* Ruby uses vfork since Ruby 2.2, so posix-spawn doesn't provide performance
  benefits on relevant Ruby versions anymore. Additionally, Ruby 3 switched
  to non-blocking pipes by default, which should hopefully resolve deadlocks
  with open3 (see #347 and #437).  Due to this change, posix-spawn is
  currently incompatible with Ruby 3.

* MiniMagick::Image#mime_type has been deprecated, due to returning
  incorrect MIME type for formats not starting with image/*.

* ImageMagick does have a way to return the MIME type, but it requires
  reading the whole image, which is significantly slower.  It's recommended
  to use Marcel or MimeMagic for determining MIME type from magic header.
  Alternatively, you can use mime-types or MiniMime for obtaining MIME type
  from file extension or from MiniMagick::Image#type.

* Ruby 2.3+ is now required.

4.13.1 (2024-06-15)

* Revert an optimization to save an identify call when retrieving image
  information by doing this work while validating on create, as this caused
  validation to hang for some SVG files.

Files:
RevisionActionfile
1.29modifypkgsrc/graphics/ruby-mini-magick/Makefile
1.17modifypkgsrc/graphics/ruby-mini-magick/PLIST
1.30modifypkgsrc/graphics/ruby-mini-magick/distinfo