Hi ports, Peter, Imager will break at runtime with the future Perl 5.28 [1], so here is an update.
What's new upstream (partial, see [2]): - add png_compression_level tag for writing PNG files - improved runtime error reporting, tests and docs What's new in the port: - Changed WANTLIB to use png16 instead of png, as port-lib-depends-check advised - Make use of TEST_POD=Yes instead of specifying test depends - HOMEPAGE cannot be moved to https and contains outdated infos, i wonder if we should just use the metacpan URL instead. Testing: - 'make test' passes (on amd64 and macppc - it's a XS module) - graphics/p5-Imager-QRCode is the sole consumers and passes tests without any issues [3] Any comment/feedback is welcome! Charlène. [1] http://git.imager.perl.org/imager.git/patch/b1736e02fc399356d27fd45919adde71c192d1c4?hp=9619c400aab403242cc2d7ae13dd714a4bb7ccd6 [2] https://metacpan.org/changes/release/TONYC/Imager-1.007 [3] https://transfer.sh/xHRYN/p5-Imager.tgz Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/p5-Imager/Makefile,v retrieving revision 1.40 diff -u -p -u -p -r1.40 Makefile --- Makefile 23 Sep 2017 10:51:07 -0000 1.40 +++ Makefile 19 Jan 2019 12:53:45 -0000 @@ -2,10 +2,9 @@ COMMENT= generate and manipulate images -DISTNAME = Imager-1.005 +DISTNAME = Imager-1.009 CATEGORIES= graphics MODULES= cpan -REVISION = 0 HOMEPAGE= http://imager.perl.org/ @@ -14,7 +13,7 @@ MAINTAINER= Peter Valchev <pvalchev@sigh # Perl PERMIT_PACKAGE_CDROM= Yes -WANTLIB += c freetype gif jpeg m perl png t1 tiff z +WANTLIB += c freetype gif jpeg m perl png16 t1 tiff z LIB_DEPENDS= devel/t1lib \ graphics/png \ @@ -22,11 +21,10 @@ LIB_DEPENDS= devel/t1lib \ graphics/tiff \ graphics/giflib -TEST_DEPENDS = devel/p5-Inline \ - devel/p5-Test-Pod \ - devel/p5-Test-Pod-Coverage +TEST_DEPENDS = devel/p5-Inline TEST_ENV = AUTOMATED_TESTING=1 +MAKE_ENV += TEST_POD=Yes CONFIGURE_ARGS= --enable JPEG,TIFF,PNG,GIF,T1,FT2 \ --incpath="${LOCALBASE}/include:${X11BASE}/include" \ Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/p5-Imager/distinfo,v retrieving revision 1.9 diff -u -p -u -p -r1.9 distinfo --- distinfo 17 Apr 2016 19:01:22 -0000 1.9 +++ distinfo 19 Jan 2019 12:53:45 -0000 @@ -1,2 +1,2 @@ -SHA256 (Imager-1.005.tar.gz) = jk8mbayznF4cE2X8nlggl21bSrNGCsLTaupbV+d12Ws= -SIZE (Imager-1.005.tar.gz) = 1228710 +SHA256 (Imager-1.009.tar.gz) = F3BAOYDEVK3+m7pOWLLHraIRhiOGhtk7V0sQUXUcuIU= +SIZE (Imager-1.009.tar.gz) = 1236563 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/p5-Imager/pkg/PLIST,v retrieving revision 1.16 diff -u -p -u -p -r1.16 PLIST --- pkg/PLIST 16 Jul 2015 23:57:24 -0000 1.16 +++ pkg/PLIST 19 Jan 2019 12:53:45 -0000 @@ -70,6 +70,7 @@ ${P5ARCH}/Imager/include/imageri.h ${P5ARCH}/Imager/include/imconfig.h ${P5ARCH}/Imager/include/imdatatypes.h ${P5ARCH}/Imager/include/imerror.h +${P5ARCH}/Imager/include/imexif.h ${P5ARCH}/Imager/include/imext.h ${P5ARCH}/Imager/include/imextdef.h ${P5ARCH}/Imager/include/imextpl.h
