pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/go-imaging graphics/go-imaging: import go-ima...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/560b645d3984
branches:  trunk
changeset: 387466:560b645d3984
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Sun Nov 18 08:32:54 2018 +0000

description:
graphics/go-imaging: import go-imaging-1.5.0

Package imaging provides basic image processing functions (resize,
rotate, crop, brightness/contrast adjustments, etc.).

All the image processing functions provided by the package accept
any image type that implements image.Image interface as an input,
and return a new image of *image.NRGBA type (32bit RGBA colors,
not premultiplied by alpha).

diffstat:

 graphics/go-imaging/DESCR         |   7 +++++
 graphics/go-imaging/Makefile      |  20 ++++++++++++++
 graphics/go-imaging/PLIST         |  54 +++++++++++++++++++++++++++++++++++++++
 graphics/go-imaging/buildlink3.mk |  16 +++++++++++
 graphics/go-imaging/distinfo      |   6 ++++
 5 files changed, 103 insertions(+), 0 deletions(-)

diffs (123 lines):

diff -r b107735b89e1 -r 560b645d3984 graphics/go-imaging/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-imaging/DESCR Sun Nov 18 08:32:54 2018 +0000
@@ -0,0 +1,7 @@
+Package imaging provides basic image processing functions (resize,
+rotate, crop, brightness/contrast adjustments, etc.).
+
+All the image processing functions provided by the package accept
+any image type that implements image.Image interface as an input,
+and return a new image of *image.NRGBA type (32bit RGBA colors,
+not premultiplied by alpha).
diff -r b107735b89e1 -r 560b645d3984 graphics/go-imaging/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-imaging/Makefile      Sun Nov 18 08:32:54 2018 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/11/18 08:32:54 ryoon Exp $
+
+DISTNAME=      imaging-1.5.0
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=disintegration/}
+CATEGORIES=    graphics
+GITHUB_PROJECT=        imaging
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/disintegration/imaging
+COMMENT=       Simple image processing package for Go
+LICENSE=       mit
+
+GO_DIST_BASE=  ${DISTNAME}
+GO_SRCPATH=    github.com/disintegration/imaging
+
+.include "../../graphics/go-image/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r b107735b89e1 -r 560b645d3984 graphics/go-imaging/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-imaging/PLIST Sun Nov 18 08:32:54 2018 +0000
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1 2018/11/18 08:32:54 ryoon Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/disintegration/imaging.a
+gopkg/src/github.com/disintegration/imaging/LICENSE
+gopkg/src/github.com/disintegration/imaging/README.md
+gopkg/src/github.com/disintegration/imaging/adjust.go
+gopkg/src/github.com/disintegration/imaging/adjust_test.go
+gopkg/src/github.com/disintegration/imaging/convolution.go
+gopkg/src/github.com/disintegration/imaging/convolution_test.go
+gopkg/src/github.com/disintegration/imaging/doc.go
+gopkg/src/github.com/disintegration/imaging/effects.go
+gopkg/src/github.com/disintegration/imaging/effects_test.go
+gopkg/src/github.com/disintegration/imaging/example_test.go
+gopkg/src/github.com/disintegration/imaging/histogram.go
+gopkg/src/github.com/disintegration/imaging/histogram_test.go
+gopkg/src/github.com/disintegration/imaging/io.go
+gopkg/src/github.com/disintegration/imaging/io_test.go
+gopkg/src/github.com/disintegration/imaging/resize.go
+gopkg/src/github.com/disintegration/imaging/resize_test.go
+gopkg/src/github.com/disintegration/imaging/scanner.go
+gopkg/src/github.com/disintegration/imaging/scanner_test.go
+gopkg/src/github.com/disintegration/imaging/testdata/branches.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/branches.png
+gopkg/src/github.com/disintegration/imaging/testdata/flowers.png
+gopkg/src/github.com/disintegration/imaging/testdata/flowers_small.png
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_0.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_1.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_2.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_3.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_4.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_5.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_6.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_7.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/orientation_8.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/out_blur_0.5.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_blur_1.5.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_brightness_m10.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_brightness_p10.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_contrast_m15.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_contrast_p15.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_example.jpg
+gopkg/src/github.com/disintegration/imaging/testdata/out_gamma_0.75.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_gamma_1.25.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_resize_catrom.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_resize_lanczos.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_resize_linear.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_resize_nearest.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_sharpen_0.5.png
+gopkg/src/github.com/disintegration/imaging/testdata/out_sharpen_1.5.png
+gopkg/src/github.com/disintegration/imaging/tools.go
+gopkg/src/github.com/disintegration/imaging/tools_test.go
+gopkg/src/github.com/disintegration/imaging/transform.go
+gopkg/src/github.com/disintegration/imaging/transform_test.go
+gopkg/src/github.com/disintegration/imaging/utils.go
+gopkg/src/github.com/disintegration/imaging/utils_test.go
diff -r b107735b89e1 -r 560b645d3984 graphics/go-imaging/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-imaging/buildlink3.mk Sun Nov 18 08:32:54 2018 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/11/18 08:32:54 ryoon Exp $
+
+BUILDLINK_TREE+=       go-imaging
+
+.if !defined(GO_IMAGING_BUILDLINK3_MK)
+GO_IMAGING_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-imaging=  ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-imaging?=       build
+
+BUILDLINK_API_DEPENDS.go-imaging+=     go-imaging>=1.5.0
+BUILDLINK_PKGSRCDIR.go-imaging?=       ../../graphics/go-imaging
+
+.endif # GO_IMAGING_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-imaging
diff -r b107735b89e1 -r 560b645d3984 graphics/go-imaging/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-imaging/distinfo      Sun Nov 18 08:32:54 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/11/18 08:32:54 ryoon Exp $
+
+SHA1 (imaging-1.5.0.tar.gz) = ee12dc5777e1d097df037291f5cfef4a384239a2
+RMD160 (imaging-1.5.0.tar.gz) = 3ae213e221c4d46d005f6423eb83ef1424f5b74e
+SHA512 (imaging-1.5.0.tar.gz) = 8fdc5ec93ee16cd15ff4c569116d3ccfe0cb7ea0b6c30d07701386fc0feada49795f2be23ff336fa74b481892f53e0e88b4c1b4f6fe78998b67f49d31b802fee
+Size (imaging-1.5.0.tar.gz) = 1886547 bytes



Home | Main Index | Thread Index | Old Index