pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/ruby-mini-magick



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Jun 15 15:56:17 UTC 2024

Modified Files:
        pkgsrc/graphics/ruby-mini-magick: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/graphics/ruby-mini-magick/Makefile
cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/ruby-mini-magick/PLIST
cvs rdiff -u -r1.29 -r1.30 pkgsrc/graphics/ruby-mini-magick/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-mini-magick/Makefile
diff -u pkgsrc/graphics/ruby-mini-magick/Makefile:1.28 pkgsrc/graphics/ruby-mini-magick/Makefile:1.29
--- pkgsrc/graphics/ruby-mini-magick/Makefile:1.28      Sun Jan 15 15:38:07 2023
+++ pkgsrc/graphics/ruby-mini-magick/Makefile   Sat Jun 15 15:56:17 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2023/01/15 15:38:07 taca Exp $
+# $NetBSD: Makefile,v 1.29 2024/06/15 15:56:17 taca Exp $
 
-DISTNAME=      mini_magick-4.12.0
+DISTNAME=      mini_magick-4.13.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    graphics
 

Index: pkgsrc/graphics/ruby-mini-magick/PLIST
diff -u pkgsrc/graphics/ruby-mini-magick/PLIST:1.16 pkgsrc/graphics/ruby-mini-magick/PLIST:1.17
--- pkgsrc/graphics/ruby-mini-magick/PLIST:1.16 Mon Jan 11 13:49:37 2021
+++ pkgsrc/graphics/ruby-mini-magick/PLIST      Sat Jun 15 15:56:17 2024
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.16 2021/01/11 13:49:37 taca Exp $
+@comment $NetBSD: PLIST,v 1.17 2024/06/15 15:56:17 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/MIT-LICENSE
+${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/lib/mini_gmagick.rb
 ${GEM_LIBDIR}/lib/mini_magick.rb

Index: pkgsrc/graphics/ruby-mini-magick/distinfo
diff -u pkgsrc/graphics/ruby-mini-magick/distinfo:1.29 pkgsrc/graphics/ruby-mini-magick/distinfo:1.30
--- pkgsrc/graphics/ruby-mini-magick/distinfo:1.29      Sun Jan 15 15:38:07 2023
+++ pkgsrc/graphics/ruby-mini-magick/distinfo   Sat Jun 15 15:56:17 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.29 2023/01/15 15:38:07 taca Exp $
+$NetBSD: distinfo,v 1.30 2024/06/15 15:56:17 taca Exp $
 
-BLAKE2s (mini_magick-4.12.0.gem) = 3454608645ff738217e4653d262c3da871859919b05ab064eeb25ae606f71001
-SHA512 (mini_magick-4.12.0.gem) = 48fa9912b0b0fbec253e3690337afd7ba8caa25174fb5e982443665fb032e8d54780baad67411e6d6c30cbc3eeccd7e3828ddeef00914823add1422253cbb084
-Size (mini_magick-4.12.0.gem) = 18944 bytes
+BLAKE2s (mini_magick-4.13.1.gem) = 50d9a1db719bc8a3f2a6a30ba1352b0c8b5c217186eecfea7e983801db299458
+SHA512 (mini_magick-4.13.1.gem) = a349d214e6083b8c949d40975f717b4f3b4f8b04b31ac2cf4ded0b6ddaf8552396608f4e8ed6213c3a3005bc96b71b2a9d5613b23f01f63f7abfbea321f36314
+Size (mini_magick-4.13.1.gem) = 24576 bytes



Home | Main Index | Thread Index | Old Index