The NetBSD Project

CVS log for pkgsrc/graphics/ruby-mini-magick/PLIST

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / ruby-mini-magick

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.18: download - view: text, markup, annotated - select for diffs
Sun Jul 14 07:31:25 2024 UTC (2 years, 4 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3, pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4, pkgsrc-2024Q3-base, pkgsrc-2024Q3, HEAD
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -15 lines
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.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Sat Jun 15 15:56:17 2024 UTC (2 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q2-base, pkgsrc-2024Q2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -1 lines
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.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Mon Jan 11 13:49:37 2021 UTC (5 years, 10 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -2 lines
graphics/ruby-mini-magick: update to 4.11.0

4.11.0 (2020-11-06)

* Fix fetching metadata when there are GhostScript warnings (#522)
* Fixed some method redefined warnings (#505)
* Added MiniMagick::Image.get_image_from_pixels (#516)
* extend MiniMagick::Tool#stack to support arguments so that it can be
  used with Active Storage

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Mar 8 16:00:38 2020 UTC (6 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -1 lines
graphics/ruby-mini-magick: update to 4.10.1

Update ruby-mini-magick to 4.10.1.


4.10.1 (2020-01-06)

* Still pick up ImageMagick over GraphicsMagick if both are installed


4.10.0 (2020-01-06)

* Prioritize discovery of ImageMagick 7 over 6 if both are installed (@drnic)
* Add MiniMagick::Image#landscape? and #portrait? methods for checking
  orientiation (@theomarkkuspaul)
* Fix Ruby 2.7 warnings (@kamipo)


4.9.5 (2019-07-18)

* Fixed MiniMagick::Image.open not working with non-ASCII filenames anymore
  after previous version (thanks to @meganemura)


4.9.4 (2019-07-11)

* Fixed a remote shell execution vulnerability when using
  MiniMagick::Image.open with URL coming from unsanitized user input (thanks
  to @rootxharsh)
* Fixed some Ruby warnings (thanks to @koic)


4.9.3 (2019-04-08)

* make MiniMagick::Tool not respond to everything

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Sep 23 15:28:23 2018 UTC (8 years, 1 month ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
graphics/ruby-mini-magick: update to 4.9.2

4.9.2 (2018-09-21)

* Fix breakage for MRI 2.3 and below

4.9.1 (2018-09-21)

* Properly handle EXIF parsing with ImageMagick 7
* Show an informative exception message on Timeout::Error
* Wait for the MiniMagick command to terminate after sending SIGTERM with
  open3

4.9.0 (2018-09-210

New features

* Support ImageMagick 7

  o MiniMagick::Tool::Convert will now generate magick convert commands (and
    the same for others)

  o MiniMagick::Tool::Magick was added for generating magick commands

* MiniMagick.cli_prefix was added to configure a prefix for commands

  MiniMagick.cli_prefix = "firejail"

  MiniMagick::Tool::Magick.new { |magick| ... } # executes `firejail magick ...`

Other Improvements

* Fix deadlocks when using posix-spawn as a shell backend

* Fix Errno::ESRCH sometimes being raised when the ImageMagick command would
  time out

* #label and #caption will now generate regular options

	MiniMagick::Tool::Convert.new do |convert|
				 # BEFORE:       NOW:
	  convert.label("foo")   # label:foo    -label foo
	  convert.caption("bar") # caption:bar  -caption bar
	end

* Add pango creation operator

	MiniMagick::Tool::Magick.new do |magick|
	  magick.pango("...") # pango:...
	  # ...
	end

* Handle GraphicsMagick returning unknown in EXIF data

Revision 1.13: download - view: text, markup, annotated - select for diffs
Wed Jun 21 13:59:38 2017 UTC (9 years, 4 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -1 lines
Update ruby-mini-magick to 4.7.2.

v4.7.2						2017/06/20

Avoid defining methods at runtime whenever a processing method is invoked,
which means that Ruby can keep its method cache, instead of having to clear it
on each processing invocation (thanks to @printercu).

v4.7.1						2017/06/15

Fix errors when calling MiniMagick::Image.open with URLs like
https://pbs.twimg.com/media/DCOD2DXVwAI4xsL.jpg:large, where the : would get
included in the file extension and cause errors with some ImageMagick commands
due to : being a special character to ImageMagick.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sat Oct 15 13:48:01 2016 UTC (10 years, 1 month ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +1 -2 lines
Update ruby-mini-magick to 4.5.1.

v4.5.1

* Fixed MiniMagick logging commands by default

v4.5.0

New features

* Added the ability for ImageMagick commands to accept standard input:

	identify = MiniMagick::Tool::Identify.new
	identify.stdin # adds "-"
	identify.call(stdin: image_content)

* Added ability to capture stdout, stderr and exist status by passing a block
  to MiniMagick::Tool#call:

	compare = MiniMagick::Tool::Compare.new
	# build the command
	compare.call do |stdout, stderr, status|
	  # ...
	end

* Added ability to assign MiniMagick.logger to Rails.logger

Bug fixes

* The value of MiniMagick.whiny configuration option is now respected
* The new filename when calling #format is now generated better when calling
  on a layer
* Delete *.cache files generated by .mpc files when deleting MiniMagick::Image

Deprecations

* Whiny option should now be passed as a keyword argument:

	MiniMagick::Tool::Identify.new(false) # deprecated
	MiniMagick::Tool::Identify.new(whiny: false) # good

* Passing the whiny argument to MiniMagick::Tool#call is deprecated, it should
  now always be passed to MiniMagick::Tool.new

Revision 1.11: download - view: text, markup, annotated - select for diffs
Tue Feb 3 14:14:12 2015 UTC (11 years, 9 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +17 -3 lines
Update ruby-mini_magick to 4.0.3.

Changes are not available, please refer release page on GitHub:

	https://github.com/minimagick/minimagick/releases

Revision 1.10: download - view: text, markup, annotated - select for diffs
Fri Mar 14 17:11:42 2014 UTC (12 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +5 -18 lines
Update ruby-mini-magick to 3.7.0.

Changes are not available, but handle filename with special character.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sun Sep 15 13:47:23 2013 UTC (13 years, 2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -1 lines
Update ruby-mini-magick to 3.6.0.

Exact changes aren't available, but fixed handling of filename with special
characters.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Mar 11 09:17:19 2013 UTC (13 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Update ruby-mini-magick to 3.5.0.

No official changes are available, but various bugfixes and document updates.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Mar 17 15:46:24 2012 UTC (14 years, 8 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -9 lines
Update ruby-mini-magick to 3.4.

* Dec 28, 2011 - Releasing v3.4 - Better windows support. Fixed problem with
  combine_options. Fixed up readme. [hcatlin]
* Dec 21, 2011 - Refactored gem structure a little and added a few bug fixes
  to better support Windows users - No changes to API though [2potatocakes]

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jun 19 01:38:58 2011 UTC (15 years, 5 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +4 -2 lines
Update ruby-mini-magick pacakge to 3.3.

Changes are unknown.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Wed Mar 23 16:26:04 2011 UTC (15 years, 7 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
Update ruby-mini-magick package to 3.2.

Changes are unavailable.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Sep 10 06:51:03 2010 UTC (16 years, 2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +6 -7 lines
Updaet graphics/ruby-mini-magick to 2.1.

* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk.
* Add LICENSE.
* Remove default value of GEM_BUILD.
* Ajust new ruby package's framework.

Changes are unknown.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Nov 23 14:33:24 2009 UTC (16 years, 11 months ago) by fhajny
Branches: MAIN
CVS tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-2009Q4-base, pkgsrc-2009Q4
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +10 -7 lines
Updated ruby-mini-magick to 1.2.5

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Jun 14 17:59:28 2009 UTC (17 years, 5 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -4 lines
Remove @dirrm entries from PLISTs

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Apr 30 16:22:47 2008 UTC (18 years, 6 months ago) by jlam
Branches: TNF
CVS tags: pkgsrc-base, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Initial import of ruby18-mini-magick-1.2.3 as graphics/ruby-mini-magick.

MiniMagick gives you access to all the command-line options ImageMagick
has (found at http://www.imagemagick.org/script/mogrify.php).  Using
MiniMagick as an alternative to RMagick allows the Ruby processes memory
to remain small because it spawns ImageMagick's mogrify program, which
has much lower memory usage than RMagick.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Apr 30 16:22:47 2008 UTC (18 years, 6 months ago) by jlam
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>