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:           Sun Jul 14 07:31:25 UTC 2024

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

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

5.0.0 (2024-07-08)

Improvements

* New class method shorthands were added for the tool API:

        # BEFORE
        MiniMagick::Tool::Convert.new { |convert| ... }
        MiniMagick::Tool::Identify.new { |convert| ... }
        # ...

        # AFTER
        MiniMagick.convert { |convert| ... }
        MiniMagick.identify { |identify| ... }
        # ...

* Image#write now deletes the underlying tempfile if Image.open was used,
  instead of relying on the tempfile to eventually be garbage collected.

Backwards compatibility

* Removed official GraphicsMagick support.  GraphicsMagick can be used by
  setting cli_prefix:

        MiniMagick.configure do |config|
          config.cli_prefix = "gm"
        end

* Some features won't be supported, such as MiniMagick.timeout
  (GraphicsMagick doesn't support time limits), Image#data (GraphicsMagick
  doesn't support JSON image details) and Image#exif (returns different
  format).

  As a result, MiniMagick.cli and MiniMagick.processor configuration has
  been removed as well.

* MiniMagick::Image and MiniMagick.convert now use magick instead of the
  deprecated magick convert on ImageMagick 7.  This should be backwards
  compatible, but there might be small differences in options and behavior.

* Removed deprecated posix-spawn shell backend, along with
  MiniMagick.shell_api configuration.

  Ruby 2.x has long used vfork, so there is no performance advantage of
  using posix-spawn.  Additionally, Ruby 3.x has switched to non-blocking
  pipes, which should resolve deadlocks people experienced with Open3.  See
  #558 for more details.

* Removed obsolete Image#run_command.

* Removed deprecated Image#mime_type, as it wasn't accurate.

  MIME type from file content should be determined either using Marcel or
  MimeMagic, or mime-types or MiniMime using Image#type.

* The MiniMagick::Tool::* classes have been deprecated in favor of the
  class-level interface.

* The MiniMagick.timeout configuration now uses the native ImageMagick
  timeout environment variable $MAGICK_TIME_LIMIT.  This variable doesn't
  support timeouts lower than 1 second.

* The MiniMagick.whiny configuration has been renamed to MiniMagick.errors.

* Images are no longer automatically validated on Image.open, Image.read or
  Image.create.

* The deprecated Image#details method has been removed in favor of the more
  reliable Image#data.

* The Image#respond_to_missing? method has been removed, meaning that
  Image#respond_to? will return false for ImageMagick option methods.

  As a result, the undocumented MiniMagick::Tool.option_methods method has
  been removed as well, along with the no-op MiniMagick.reload_tools.

* Removed the obsolete MiniMagick.processor_path configuration, which as
  mostly an alias for MiniMagick.cli_path.

* Removed the deprecated MiniMagick.debug configuration in favor of
  MiniMagick.logger.level = Logger::DEBUG.

* Removed the unused MiniMagick.validate_on_write configuration.

* Additional Pathname#open or URI#open options for Image.open need to be
  passed in as keyword arguments instead of a hash.


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

Index: pkgsrc/graphics/ruby-mini-magick/PLIST
diff -u pkgsrc/graphics/ruby-mini-magick/PLIST:1.17 pkgsrc/graphics/ruby-mini-magick/PLIST:1.18
--- pkgsrc/graphics/ruby-mini-magick/PLIST:1.17 Sat Jun 15 15:56:17 2024
+++ pkgsrc/graphics/ruby-mini-magick/PLIST      Sun Jul 14 07:31:25 2024
@@ -1,28 +1,14 @@
-@comment $NetBSD: PLIST,v 1.17 2024/06/15 15:56:17 taca Exp $
+@comment $NetBSD: PLIST,v 1.18 2024/07/14 07:31:25 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
 ${GEM_LIBDIR}/lib/mini_magick/configuration.rb
 ${GEM_LIBDIR}/lib/mini_magick/image.rb
 ${GEM_LIBDIR}/lib/mini_magick/image/info.rb
 ${GEM_LIBDIR}/lib/mini_magick/shell.rb
 ${GEM_LIBDIR}/lib/mini_magick/tool.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/animate.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/compare.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/composite.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/conjure.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/convert.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/display.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/identify.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/import.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/magick.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/mogrify.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/mogrify_restricted.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/montage.rb
-${GEM_LIBDIR}/lib/mini_magick/tool/stream.rb
 ${GEM_LIBDIR}/lib/mini_magick/utilities.rb
 ${GEM_LIBDIR}/lib/mini_magick/version.rb
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec

Index: pkgsrc/graphics/ruby-mini-magick/distinfo
diff -u pkgsrc/graphics/ruby-mini-magick/distinfo:1.30 pkgsrc/graphics/ruby-mini-magick/distinfo:1.31
--- pkgsrc/graphics/ruby-mini-magick/distinfo:1.30      Sat Jun 15 15:56:17 2024
+++ pkgsrc/graphics/ruby-mini-magick/distinfo   Sun Jul 14 07:31:25 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2024/06/15 15:56:17 taca Exp $
+$NetBSD: distinfo,v 1.31 2024/07/14 07:31:25 taca Exp $
 
-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
+BLAKE2s (mini_magick-5.0.0.gem) = 857deef8b7cd1f7cc4695ff9d3fd8a907caad3b1bd49847225c05aa0fae6bb7b
+SHA512 (mini_magick-5.0.0.gem) = 9a59fb2c0023f8c36be9c7c7ef99711aeedf2d8cd27b7b16010d8d54a96fcfa634de461c7902df2cf3fc2bd925a455bf2fcebafa424a7e4da097917b8a401e80
+Size (mini_magick-5.0.0.gem) = 20992 bytes



Home | Main Index | Thread Index | Old Index