pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/ruby-RMagick



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Nov  2 15:00:56 UTC 2019

Modified Files:
        pkgsrc/graphics/ruby-RMagick: Makefile PLIST distinfo

Log Message:
graphics/ruby-RMagick: update to 3.2.0

Update to ruby-RMagick to 3.2.0, latest 3.2 release.

## RMagick 3.2.0

This is expected to be the final deprecation release before RMagick 4.0. We
have added loads of deprecation warnings to clear the pathway for ImageMagick 7
support. Once you've fixed all of them you should be fine to upgrade to version
4.0 without any pain. There are a small handful of edge cases which we could
not cleanly deprecate, though they should be extremely rare. These will be
documented in the 4.0 release. Thanks to @dlemstra for the hard work making
this release possible.

The biggest change in moving towards RMagick 4.0 will be the fact that
`opacity` is deprecated in favor of `alpha`.

**NOTE: `opacity` is the opposite of `alpha`!!!**

If you are currently passing opacity into methods, you will need to invert the
value and use the new `alpha:` keyword argument. If you are passing an integer,
`alpha = 255 - opacity`. An integer `opacity` of 0 is an `alpha` of 255.

Also, **major kudos to @Watson1978** for enabling Ruby's memory management in
(#697).  This should go a long way towards improving RMagick's reputation for
memory usage.

Deprecations: (To be removed in RMagick 4.0)

- `Info#group` (#578) (no replacement)
- `Image#blur` (#579) (no replacement)
- Renamed `AlphaChannelType` to `AlphaChannelOption` (#596)
- Renamed `DistortImageMethod` to `DistortMethod` (#605)
- Renamed `FilterTypes` to `FilterType` (#611)
- Renamed `InterpolatePixelMethod` to `PixelInterpolateMethod` (#613)
- Renamed `ImageLayerMethod` to `LayerMethod` (#618)
- Deprecate the `opacity` property of the Pixel class. (use `alpha` instead) (#619)
- Deprecate old enum names. (use IM7 names instead) (#627)
- `StaticGravity` (use `CenterGravity` instead) (#638)
- `Image#sync_profiles` (no replacement) (#640)
- Deprecate old metric type values (use IM7 names instead) (#647)
- Deprecate `ResetAlphaChannel` (no replacement) (#644)
- Deprecate `FlattenAlphaChannel` (no replacement) (#645)
- Deprecate `MatteChannel` (no replacement) (#646)
- Deprecate `ConstantVirtualPixelMethod` (no replacement) (#649)
- Deprecate `IntegerPixel` (no replacement) (#650)
- Deprecate `Image.combine` (use `ImageList#combine` instead) (#690)
- Deprecate `Image#opacity` (use `Image#alpha` instead) (#669)
- Deprecate unnamed argument for opacity in `Image#transparent` (use keyword `alpha:` instead) (#695)
- Deprecate unnamed argument for opacity in `Image#black_threshold` and `Image#white_threshold.` (use keyword `alpha:` instead) (#709)
- Deprecate unnamed argument for opacity in `Image#matte_flood_fill` (use keyword `alpha:` instead) (#711)
- Deprecate unnamed argument for opacity in `Image#paint_transparent` (use keyword `alpha:` instead) (#717)
- Deprecate unnamed argument for opacity in `Image#transparent_chroma.` (use keyword `alpha:` instead) (#722)
- Deprecate `Draw#matte` (use `Draw#alpha` instead) (#724)

Enhancements:

- Many internal adjustments to prepare for ImageMagick 7 support.
- Added alpha property to the pixel class. (#617)
- Add combine to the ImageList class. (#589)
- Add new alpha constants (#651)
- Add `Image#mask=` (#660)
- Add `Draw#alpha` to replace `Draw#matte` (#726)
- Add Draw#image (#720)
- Add ArchLinux support (#727)

Bug Fixes:

- Fix `Font#to_s` to not raise error (#569)
- Fix a SEGV in `Image#reduce_noise` (#576)
- Fix infinite loop in `Image#compose` (#587)
- Fix enumeration memory leaks (#592) (#594) (#606) (#610) (#626)
- Don't allow `Image#class_type` to be set to undefined (#599)
- Fixed setting the name of the clip path. (#608)
- Fix memory leak in `Info#view=` (#642)
- Fix memory leak in `Image.constitute` (#665)
- Raise error on invalid arguments in `Draw#bezier` (#674)
- Fix memory leak in `Image#sparse_color` (#683)
- Prevent negative values for `Image#convolve` (#679)
- Several cleanups and fixes in the examples
- Raise error on invalid arguments in `Draw#color` (#691)
- Raise error on invalid arguments in `Draw#opacity` (#692)
- Raise error on invalid arguments in `Draw#fill_opacity` (#693)
- Raise error on invalid arguments in `Draw#stroke_opacity` (#694)
- Raise error on invalid arguments in `Draw#font_weight` (#696)
- Raise error on invalid arguments in `Draw#pattern` (#702)
- Raise error on invalid arguments in `Draw#point` (#703)
- Raise error on invalid arguments in `Draw#font_size` (#704)
- Raise error on invalid arguments in `Draw#polygon` (#705)
- Raise error on invalid arguments in `Draw#polyline` (#706)
- Raise error on invalid arguments in `Draw#rotate` (#707)
- Raise error on invalid arguments in `Draw#scale` (#708)
- Raise error on invalid arguments in `Draw#stroke_dashoffset` (#710)
- Raise error on invalid arguments in `Draw#translate` (#713)
- Raise error on invalid arguments in `Draw#text` (#714)
- Raise error on invalid arguments in `Draw#stroke` (#715)
- Raise error on invalid arguments in `Draw#matte` (#716)
- Raise error on invalid arguments in `Draw#skewx`, `Draw#skewy` (#719)
- Fix `Image#thumbnail` to keep image aspect ratio like ImageMagick (#718)
- Fix bug where `ImageList#montage` doesn't apply `border_color` & `matte_color` (#601)
- Fix stack-buffer-overflow in `Draw#annotate` (#725)
- Enable managed memory feature (#697)

Code Quality:

- Many tests written
- Several fixes to reduce compiler warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.116 -r1.117 pkgsrc/graphics/ruby-RMagick/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/graphics/ruby-RMagick/PLIST
cvs rdiff -u -r1.56 -r1.57 pkgsrc/graphics/ruby-RMagick/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-RMagick/Makefile
diff -u pkgsrc/graphics/ruby-RMagick/Makefile:1.116 pkgsrc/graphics/ruby-RMagick/Makefile:1.117
--- pkgsrc/graphics/ruby-RMagick/Makefile:1.116 Sun Jul 21 22:25:04 2019
+++ pkgsrc/graphics/ruby-RMagick/Makefile       Sat Nov  2 15:00:56 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.116 2019/07/21 22:25:04 wiz Exp $
+# $NetBSD: Makefile,v 1.117 2019/11/02 15:00:56 taca Exp $
 
-DISTNAME=      rmagick-3.1.0
+DISTNAME=      rmagick-3.2.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/rmagick/RMagick/}
 PKGREVISION=   2
 CATEGORIES=    graphics

Index: pkgsrc/graphics/ruby-RMagick/PLIST
diff -u pkgsrc/graphics/ruby-RMagick/PLIST:1.29 pkgsrc/graphics/ruby-RMagick/PLIST:1.30
--- pkgsrc/graphics/ruby-RMagick/PLIST:1.29     Mon May  6 15:38:19 2019
+++ pkgsrc/graphics/ruby-RMagick/PLIST  Sat Nov  2 15:00:56 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.29 2019/05/06 15:38:19 taca Exp $
+@comment $NetBSD: PLIST,v 1.30 2019/11/02 15:00:56 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/RMagick2.${RUBY_DLEXT}
 ${GEM_EXTSDIR}/gem.build_complete
@@ -22,6 +22,9 @@ ${GEM_LIBDIR}/README.textile
 ${GEM_LIBDIR}/Rakefile
 ${GEM_LIBDIR}/before_install_linux.sh
 ${GEM_LIBDIR}/before_install_osx.sh
+${GEM_LIBDIR}/benchmarks/memory/README.md
+${GEM_LIBDIR}/benchmarks/memory/image_new.rb
+${GEM_LIBDIR}/benchmarks/memory/rmagick.gnuplot
 ${GEM_LIBDIR}/deprecated/RMagick.rb
 ${GEM_LIBDIR}/doc/.cvsignore
 ${GEM_LIBDIR}/doc/comtasks.html
@@ -151,18 +154,18 @@ ${GEM_LIBDIR}/doc/ex/images/Button_X.gif
 ${GEM_LIBDIR}/doc/ex/images/Button_Y.gif
 ${GEM_LIBDIR}/doc/ex/images/Button_Z.gif
 ${GEM_LIBDIR}/doc/ex/images/Cheetah.jpg
-${GEM_LIBDIR}/doc/ex/images/Coffee.wmf
+${GEM_LIBDIR}/doc/ex/images/Coffee.png
 ${GEM_LIBDIR}/doc/ex/images/Flower_Hat.jpg
 ${GEM_LIBDIR}/doc/ex/images/Gold_Statue.jpg
 ${GEM_LIBDIR}/doc/ex/images/Hot_Air_Balloons.jpg
 ${GEM_LIBDIR}/doc/ex/images/Hot_Air_Balloons_H.jpg
 ${GEM_LIBDIR}/doc/ex/images/Leaf.miff
-${GEM_LIBDIR}/doc/ex/images/No.wmf
+${GEM_LIBDIR}/doc/ex/images/No.png
 ${GEM_LIBDIR}/doc/ex/images/Polynesia.jpg
 ${GEM_LIBDIR}/doc/ex/images/Red_Rocks.jpg
 ${GEM_LIBDIR}/doc/ex/images/Rocks_On_Beach.miff
 ${GEM_LIBDIR}/doc/ex/images/Shorts.jpg
-${GEM_LIBDIR}/doc/ex/images/Snake.wmf
+${GEM_LIBDIR}/doc/ex/images/Snake.png
 ${GEM_LIBDIR}/doc/ex/images/Violin.jpg
 ${GEM_LIBDIR}/doc/ex/images/Yellow_Rose.miff
 ${GEM_LIBDIR}/doc/ex/images/big-duck.gif
@@ -354,6 +357,7 @@ ${GEM_LIBDIR}/ext/RMagick/rmpixel.c
 ${GEM_LIBDIR}/ext/RMagick/rmstruct.c
 ${GEM_LIBDIR}/ext/RMagick/rmutil.c
 ${GEM_LIBDIR}/lib/RMagick2.${RUBY_DLEXT}
+${GEM_LIBDIR}/lib/obsolete.rb
 ${GEM_LIBDIR}/lib/rmagick.rb
 ${GEM_LIBDIR}/lib/rmagick/version.rb
 ${GEM_LIBDIR}/lib/rmagick_internal.rb
@@ -396,11 +400,20 @@ ${GEM_LIBDIR}/test/ImageList2.rb
 ${GEM_LIBDIR}/test/Image_attributes.rb
 ${GEM_LIBDIR}/test/Import_Export.rb
 ${GEM_LIBDIR}/test/Info.rb
+${GEM_LIBDIR}/test/KernelInfo.rb
 ${GEM_LIBDIR}/test/Magick.rb
 ${GEM_LIBDIR}/test/Pixel.rb
 ${GEM_LIBDIR}/test/PolaroidOptions.rb
 ${GEM_LIBDIR}/test/Preview.rb
+${GEM_LIBDIR}/test/Struct.rb
+${GEM_LIBDIR}/test/appearance/Montage.rb
+${GEM_LIBDIR}/test/appearance/appearance_assertion.rb
+${GEM_LIBDIR}/test/appearance/expected/montage_border_color.jpg
 ${GEM_LIBDIR}/test/cmyk.icm
+${GEM_LIBDIR}/test/lib/Obsolete.rb
+${GEM_LIBDIR}/test/lib/internal/Draw.rb
+${GEM_LIBDIR}/test/lib/internal/Geometry.rb
+${GEM_LIBDIR}/test/lib/internal/Magick.rb
 ${GEM_LIBDIR}/test/srgb.icm
 ${GEM_LIBDIR}/test/test_all_basic.rb
 ${GEM_LIBDIR}/test/tmpnam_test.rb

Index: pkgsrc/graphics/ruby-RMagick/distinfo
diff -u pkgsrc/graphics/ruby-RMagick/distinfo:1.56 pkgsrc/graphics/ruby-RMagick/distinfo:1.57
--- pkgsrc/graphics/ruby-RMagick/distinfo:1.56  Mon May  6 15:38:19 2019
+++ pkgsrc/graphics/ruby-RMagick/distinfo       Sat Nov  2 15:00:56 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.56 2019/05/06 15:38:19 taca Exp $
+$NetBSD: distinfo,v 1.57 2019/11/02 15:00:56 taca Exp $
 
-SHA1 (rmagick-3.1.0.gem) = efb116d77308f5df34aef1bcdbce87a4cda7a2cd
-RMD160 (rmagick-3.1.0.gem) = 088cb70f5701ed62203022061765d034e0bddf53
-SHA512 (rmagick-3.1.0.gem) = 4fa02bf3fd3e3f423e638b700412c32cd30ac306c4126bdeaa6d192994f9f467837cf96cb98937cfba4a9180d6da2d94d4ee798dfc57378cc1861e8e27208057
-Size (rmagick-3.1.0.gem) = 1552896 bytes
+SHA1 (rmagick-3.2.0.gem) = f0383ef9cb248a006c9b4687dd79a1153ffcc322
+RMD160 (rmagick-3.2.0.gem) = 74f028df0078d4494f8cf74991273ce4918c929e
+SHA512 (rmagick-3.2.0.gem) = f6f15b013699da5c61e83ecf4ca16d64e7e2f447dc721c7db55cad6b880f9805eb8bdcbf70aef3e30a82f38bbab8ca093d8c6d2ce761cde4f47209e3f99a9f16
+Size (rmagick-3.2.0.gem) = 1950208 bytes



Home | Main Index | Thread Index | Old Index