pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/ruby-RMagick graphics/ruby-RMagick: update to...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cc5a1dbf050a
branches:  trunk
changeset: 412556:cc5a1dbf050a
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 08 15:48:25 2020 +0000

description:
graphics/ruby-RMagick: update to 4.0.0

Update ruby-RMagick to 4.0.0.


## RMagick 4.0.0

This release removes a *lot* of deprecated functionality, so first upgrade to
3.2 and handle any deprecation warnings you see there before upgrading to 4.0.
There are a handful of removals that we could not, or forgot to deprecate, so
pay special attention to those below. This clears the road for ImageMagick 7
support in the very near future.

Breaking Changes:

- Removed deprecated Image#matte and Image#matte= (#731)
- Removed deprecated Draw#matte. (#736)
- Removed deprecated ImageList#fx. (#732)
- Removed deprecated Info#group and Info#group=. (#733)
- Removed deprecated KernelInfo#show. (#734)
- Removed deprecated Pixel#opacity and Pixel#opacity=. (#735)
- Removed deprecated KernelInfo#zero_nans. (#741)
- Removed deprecated ImageList#map (#740)
- Removed deprecated Pixel#from_HSL. (#742)
- Removed deprecated Image#alpha=. (#739)
- Removed deprecated Pixel#to_HSL. (#745)
- Removed deprecated Image#blur and Image#blur=. (#746)
- Removed deprecated Image#sync_profiles. (#754)
- Removed deprecated Image#opacity=. (#753)
- Removed deprecated Image#combine. (#752)
- Removed deprecated Image#map. (#751)
- Removed deprecated Image#mask=. (#750)
- Removed deprecated opacity arguments. (#757)
- Removed deprecated `OpaqueOpacity` and `TransparentOpacity`. (#765)
- Removed obsolete enumerations. (#766)

The following changes *did not have deprecation warnings* in 3.2, so you'll
want to double check that you update your code if you were relying on the
existing behavior:

- Changed Color#to_s to return an string that contains alpha instead of opacity. (#760)
- Changed Pixel#to_s to return a string that contains alpha instead of opacity. (#762)
- Changed Pixel#hash to use alpha instead of opacity. (#763)
- Changed Pixel#<=> to use alpha instead of opacity. (#764)
- Removed `BicubicInterpolatePixel` (use `CatromInterpolatePixel` instead) (#768)
- Removed `FilterInterpolatePixel` (no replacement) (#768)
- Renamed `NearestNeighborInterpolatePixel` to `NearestInterpolatePixel` (#768)

Enhancements:

- Add SetQuantumOperator (#755)

Bug Fixes:

- Fix SEGV in Image#each_profile (#737)

diffstat:

 graphics/ruby-RMagick/Makefile |   4 ++--
 graphics/ruby-RMagick/PLIST    |   4 +---
 graphics/ruby-RMagick/distinfo |  10 +++++-----
 3 files changed, 8 insertions(+), 10 deletions(-)

diffs (52 lines):

diff -r 4ca850c0871c -r cc5a1dbf050a graphics/ruby-RMagick/Makefile
--- a/graphics/ruby-RMagick/Makefile    Sun Mar 08 15:48:10 2020 +0000
+++ b/graphics/ruby-RMagick/Makefile    Sun Mar 08 15:48:25 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.118 2019/11/02 15:02:05 taca Exp $
+# $NetBSD: Makefile,v 1.119 2020/03/08 15:48:25 taca Exp $
 
-DISTNAME=      rmagick-3.2.0
+DISTNAME=      rmagick-4.0.0
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/rmagick/RMagick/}
 CATEGORIES=    graphics
 
diff -r 4ca850c0871c -r cc5a1dbf050a graphics/ruby-RMagick/PLIST
--- a/graphics/ruby-RMagick/PLIST       Sun Mar 08 15:48:10 2020 +0000
+++ b/graphics/ruby-RMagick/PLIST       Sun Mar 08 15:48:25 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2019/11/02 15:00:56 taca Exp $
+@comment $NetBSD: PLIST,v 1.31 2020/03/08 15:48:25 taca Exp $
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_EXTSDIR}/RMagick2.${RUBY_DLEXT}
 ${GEM_EXTSDIR}/gem.build_complete
@@ -357,7 +357,6 @@
 ${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
@@ -410,7 +409,6 @@
 ${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
diff -r 4ca850c0871c -r cc5a1dbf050a graphics/ruby-RMagick/distinfo
--- a/graphics/ruby-RMagick/distinfo    Sun Mar 08 15:48:10 2020 +0000
+++ b/graphics/ruby-RMagick/distinfo    Sun Mar 08 15:48:25 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.57 2019/11/02 15:00:56 taca Exp $
+$NetBSD: distinfo,v 1.58 2020/03/08 15:48:25 taca Exp $
 
-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
+SHA1 (rmagick-4.0.0.gem) = 6886e5861a52858354a782fa2f0fa27b7e4bffec
+RMD160 (rmagick-4.0.0.gem) = fa59ffe1fb44c1bb71a4d811621a6856ffc47a5a
+SHA512 (rmagick-4.0.0.gem) = 2b9e72a3f8560b8530397406d086c0d3ffa6c6ec0b8d3ec0eb9d05528f108da6023462948738bd1f420f130250fa4bf8757a9c94335b223ad1ea3e279797b0ae
+Size (rmagick-4.0.0.gem) = 1946624 bytes



Home | Main Index | Thread Index | Old Index