Commit graph

25 commits

Author SHA1 Message Date
taca
84fea646e7 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.
2017-06-21 13:59:38 +00:00
taca
90142b583d Update ruby-mini-magick to 4.7.0.
4.7.0								2017/03/28

* Added MiniMagick::Image#get_pixels, which returns a matrix where each member
  is a 3-element array of numbers between 0 and 255, one for each of the RGB
  channels.

* When MiniMagick.timeout is set and the command times out, previously the
  command would still continue running in the background. Now when
  Timeout::Error is raised, we also kill the subprocess running the command
  with SIGTERM.

* Implementation of posix-spawn has been improved, where now both stdout and
  stderr are read from at the same time, stdin pipe is closed immediately
  after writing the input, and stdout and stderr pipes are closed once the
  command finishes. This now has essentially the same behaivour as
  Open3.popen3 with a block.
2017-04-22 16:33:23 +00:00
taca
5081276918 Update ruby-mini-magick to 4.6.1.
v4.6.1							12 Feb 2017

* Fixed MiniMagick::Image#data to be work for multilayer images where array is
  returned as the JSON representation (@bytheway875)

* Fixed stdout and stderr buffer overload that can happen when processing many
  images using posix-spawn (@lest)

v4.6.0							3 Dec 2016

* Fix Image#exif raising an error when an exif value contains a "=" chracter
* Fix Image#exif raising an error when an exif value spans on multiple lines
* Introduced Image#data as an alternative to Image#details, which uses
  ImageMagick's ability to retrieve identify -verbose output in JSON
  format. This eliminates possibility of any parsing errors. It is available
  on ImageMagick 6.8.8-3 or above.
* Allow Image#format to accept a hash of options as a third argument, which
  will be added to the convert command before original path is added
* Support Pathname in Image.new, as we already supported Pathname in
  Image.open
* Added Tool#stdout which adds - to the command (the same as Tool#stdin does)
2017-03-20 13:15:42 +00:00
taca
ad590f35df 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
2016-10-15 13:48:01 +00:00
taca
38797427de Update ruby-mini-magick to 4.4.0.
4.4.0

* Using MiniMagick::Image#format now works when the image instance is a
  layer/frame/page.
* Calling MiniMagick::Tool#clone as a way of adding the -clone CLI option now
  works properly (before it would call Object#clone).
* Badly encoded lines in identify -verbose don't cause an error anymore in
  MiniMagick::Image#details.
* MiniMagick::Image#details doesn't hang anymore when clipping paths are
  present
* Added MiniMagick::Image#tempfile for accessing the underlying temporary
  file.
2016-02-17 15:02:44 +00:00
taca
a5bd0fd4a6 Update ruby-mini-magick to 4.3.6.
* Restore the old behaviour of MiniMagick::Image#respond_to? by looking
  at mogrify -help and finding the method. This restores compatibilty
  with CarrierWave.
2015-12-02 14:41:57 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
taca
df709ed2db Update ruby-mini-magick to 4.3.5.
v4.3.5

* mini_magick/version.rb is now properly required in the main file (previously
  MiniMagick.version was throwing a NoMethodError unless you explicitly
  required mini_magick/version.rb)

v4.3.4

* Fix MiniMagick::Tool#tile method being applied as a creation operator
  (tile:) instead of an option (-tile)
2015-10-04 12:35:29 +00:00
taca
aa33ad8f64 Update ruby-mini-magick to 4.3.3.
v4.3.3

* Fixed a bug where, if you would reference any image info inside Image#format
  {} or Image#combine_options {}, this info would be cached even after these
  methods were executed, leaving the MiniMagick::Image instance with stale
  data.

v4.3.2

* Fixed MiniMagick::Image.new("...").format("<ext>") not working if the image
  didn't have an extension.

v4.3.1

* Reverted making MiniMagick configuration thread safe, until we figure out
  what caused #328.

v4.3.0

* Fixed early reportings of ImageMagick/GraphicsMagick not being installed by
  removing the automagically generated methods (commit)
* MiniMagick.with_cli is now thread-safe, as well as other configuration
  options

v4.2.10

* Make GraphicsMagick's mogrify support the "-gravity" option.

v4.2.9

* Fixes MiniMagick::Image#size to properly return filesize in bytes
* Added MiniMagick::Image#human_size which holds ImageMagick's human-readable
  size string.

v4.2.8

This version has been yanked as it holds a backwards incompatibility which
breaks CarrierWave.

* MiniMagick.with_cli will now restore the old CLI even when errors occur.
* Fixed race condition which caused the MiniMagick::Tool methods not to be
  defined yet (can happen in multithreaded environments)

Backwards compatibility

* MiniMagick::Image#size now returns a string with the filesize unit included
2015-09-13 14:32:27 +00:00
taca
c2e423e350 Update ruby-mini-magick to 4.2.7.
4.2.7

* Fix Ruby 1.9.3

4.2.5

* Fixed MiniMagick::Image#details parsing

4.2.4

* Fixed detecting MiniMagick version
* Fix the private method 'format' called on mogrify for real

4.2.3

* Fixed a rush mistake

4.2.2

* Raise proper error in #cheap_info on invalid image
* Improved MiniMagick::Image#details parsing
* Attempt to solve private method 'format' called on mogrify

4.2.1

* Attempt to fix #279

4.1.1

* Fix MiniMagick::Image#composite defaulting to JPG extension. The default is
  now the extension of the base image, the one on which composite is called.
2015-06-07 10:43:50 +00:00
taca
1e1132405e Update ruby-mini-magick to 4.1.0.
4.1.0

* Added MiniMagick::Tool#stack for building ImageMagick stacks:

	MiniMagick::Tool::Convert.new do |convert|
	  convert << "wand.gif"
	  convert.stack do |stack|
	    stack << "wand.gif"
	    stack.rotate(30)
	  end
	  convert << "images.gif"
	end

	convert wand.gif \( wand.gif -rotate 90 \) images.gif

4.0.4

* Allow filenames with colon in their names (thanks to @agorf)
2015-03-13 14:17:13 +00:00
taca
f3d8ac26c9 Update ruby-mini_magick to 4.0.3.
Changes are not available, please refer release page on GitHub:

	https://github.com/minimagick/minimagick/releases
2015-02-03 14:14:12 +00:00
taca
c45ed3bf16 Update ruby-mini-magick to 3.7.0.
Changes are not available, but handle filename with special character.
2014-03-14 17:11:42 +00:00
taca
8fcd982f43 Update ruby-mini-magick to 3.6.0.
Exact changes aren't available, but fixed handling of filename with special
characters.
2013-09-15 13:47:23 +00:00
taca
29ed461bff Update ruby-mini-magick to 3.5.0.
No official changes are available, but various bugfixes and document updates.
2013-03-11 09:17:19 +00:00
taca
ae11fc1b0e 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]
2012-03-17 15:46:24 +00:00
taca
f7e1e8ef96 Relax dependency to ruby-subexec.
Bump PKGREVISION.
2011-12-15 15:38:05 +00:00
taca
794a2bff67 Restrict dependency pattern due to gemspec.
Bump PKGREVISION.
2011-08-12 17:02:29 +00:00
taca
c9933c0e74 Update ruby-mini-magick pacakge to 3.3.
Changes are unknown.
2011-06-19 01:38:58 +00:00
taca
39a420c968 Update ruby-mini-magick package to 3.2.
Changes are unavailable.
2011-03-23 16:26:04 +00:00
taca
543e21c630 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.
2010-09-10 06:51:03 +00:00
fhajny
954919e042 Updated ruby-mini-magick to 1.2.5 2009-11-23 14:33:24 +00:00
joerg
3a3c07bc30 Remove @dirrm entries from PLISTs 2009-06-14 17:59:04 +00:00
taca
484bc2d722 * Fix build problem of ruby-mini-magick package correcting URL parameter
to rakefile to fix build problem with newer rake's strict checking.
* Add LICENSE.

No PKGREVISION bump since there is no change with built package.
2009-06-12 13:35:40 +00:00
jlam
f49fe76d04 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.
2008-04-30 16:22:47 +00:00