Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics Add graphics/go-gift version 1.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad6b06a8eaca
branches:  trunk
changeset: 434968:ad6b06a8eaca
user:      nikita <nikita%pkgsrc.org@localhost>
date:      Mon Jun 29 12:40:53 2020 +0000

description:
Add graphics/go-gift version 1.2.1

Package gift provides a set of useful image processing filters with no
external dependencies outside of the Go standard library.

SUPPORTED FILTERS:
Transformations
- Crop(rect image.Rectangle)
- CropToSize(width, height int, anchor Anchor)
- FlipHorizontal()
- FlipVertical()
- Resize(width, height int, resampling Resampling)
- ResizeToFill(width, height int, resampling Resampling, anchor Anchor)
- ResizeToFit(width, height int, resampling Resampling)
- Rotate(angle float32, backgroundColor color.Color, interpolation
  Interpolation)
- Rotate180()
- Rotate270()
- Rotate90()
- Transpose()
- Transverse()
Adjustments & effects
- Brightness(percentage float32)
- ColorBalance(percentageRed, percentageGreen, percentageBlue float32)
- ColorFunc(fn func(r0, g0, b0, a0 float32) (r, g, b, a float32))
- Colorize(hue, saturation, percentage float32)
- ColorspaceLinearToSRGB()
- ColorspaceSRGBToLinear()
- Contrast(percentage float32)
- Convolution(kernel []float32, normalize, alpha, abs bool, delta float32)
- Gamma(gamma float32)
- GaussianBlur(sigma float32)
- Grayscale()
- Hue(shift float32)
- Invert()
- Maximum(ksize int, disk bool)
- Mean(ksize int, disk bool)
- Median(ksize int, disk bool)
- Minimum(ksize int, disk bool)
- Pixelate(size int)
- Saturation(percentage float32)
- Sepia(percentage float32)
- Sigmoid(midpoint, factor float32)
- Sobel()
- Threshold(percentage float32)
- UnsharpMask(sigma, amount, threshold float32)

diffstat:

 graphics/Makefile              |   3 +-
 graphics/go-gift/DESCR         |  44 ++++++++++++++++++++++++++++++++++
 graphics/go-gift/Makefile      |  19 +++++++++++++++
 graphics/go-gift/PLIST         |  53 ++++++++++++++++++++++++++++++++++++++++++
 graphics/go-gift/buildlink3.mk |  16 ++++++++++++
 graphics/go-gift/distinfo      |   6 ++++
 6 files changed, 140 insertions(+), 1 deletions(-)

diffs (175 lines):

diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/Makefile
--- a/graphics/Makefile Mon Jun 29 12:40:02 2020 +0000
+++ b/graphics/Makefile Mon Jun 29 12:40:53 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.895 2020/06/17 08:47:30 nia Exp $
+# $NetBSD: Makefile,v 1.896 2020/06/29 12:40:53 nikita Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -201,6 +201,7 @@
 SUBDIR+=       gnome-icon-theme-symbolic
 SUBDIR+=       gnome-themes-standard
 SUBDIR+=       gnuplot
+SUBDIR+=       go-gift
 SUBDIR+=       go-image
 SUBDIR+=       go-imaging
 SUBDIR+=       go-resize
diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/go-gift/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-gift/DESCR    Mon Jun 29 12:40:53 2020 +0000
@@ -0,0 +1,44 @@
+Package gift provides a set of useful image processing filters with no
+external dependencies outside of the Go standard library.
+
+SUPPORTED FILTERS:
+Transformations
+- Crop(rect image.Rectangle)
+- CropToSize(width, height int, anchor Anchor)
+- FlipHorizontal()
+- FlipVertical()
+- Resize(width, height int, resampling Resampling)
+- ResizeToFill(width, height int, resampling Resampling, anchor Anchor)
+- ResizeToFit(width, height int, resampling Resampling)
+- Rotate(angle float32, backgroundColor color.Color, interpolation
+  Interpolation)
+- Rotate180()
+- Rotate270()
+- Rotate90()
+- Transpose()
+- Transverse()
+Adjustments & effects
+- Brightness(percentage float32)
+- ColorBalance(percentageRed, percentageGreen, percentageBlue float32)
+- ColorFunc(fn func(r0, g0, b0, a0 float32) (r, g, b, a float32))
+- Colorize(hue, saturation, percentage float32)
+- ColorspaceLinearToSRGB()
+- ColorspaceSRGBToLinear()
+- Contrast(percentage float32)
+- Convolution(kernel []float32, normalize, alpha, abs bool, delta float32)
+- Gamma(gamma float32)
+- GaussianBlur(sigma float32)
+- Grayscale()
+- Hue(shift float32)
+- Invert()
+- Maximum(ksize int, disk bool)
+- Mean(ksize int, disk bool)
+- Median(ksize int, disk bool)
+- Minimum(ksize int, disk bool)
+- Pixelate(size int)
+- Saturation(percentage float32)
+- Sepia(percentage float32)
+- Sigmoid(midpoint, factor float32)
+- Sobel()
+- Threshold(percentage float32)
+- UnsharpMask(sigma, amount, threshold float32)
diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/go-gift/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-gift/Makefile Mon Jun 29 12:40:53 2020 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2020/06/29 12:40:53 nikita Exp $
+
+DISTNAME=              go-gift-1.2.1
+CATEGORIES=            graphics
+MASTER_SITES=          ${MASTER_SITE_GITHUB:=disintegration/}
+GITHUB_PROJECT=                gift
+GITHUB_TAG=            v1.2.1
+
+MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=              https://github.com/disintegration/gift
+COMMENT=               Go Image Filtering Toolkit
+LICENSE=               mit
+
+GO_SRCPATH=            github.com/disintegration/gift
+GO_DIST_BASE=          ${DISTNAME:S/go-//}
+
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/go-gift/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-gift/PLIST    Mon Jun 29 12:40:53 2020 +0000
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2020/06/29 12:40:53 nikita Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/disintegration/gift.a
+gopkg/src/github.com/disintegration/gift/LICENSE
+gopkg/src/github.com/disintegration/gift/README.md
+gopkg/src/github.com/disintegration/gift/colors.go
+gopkg/src/github.com/disintegration/gift/colors_test.go
+gopkg/src/github.com/disintegration/gift/convolution.go
+gopkg/src/github.com/disintegration/gift/convolution_test.go
+gopkg/src/github.com/disintegration/gift/effects.go
+gopkg/src/github.com/disintegration/gift/effects_test.go
+gopkg/src/github.com/disintegration/gift/gift.go
+gopkg/src/github.com/disintegration/gift/gift_test.go
+gopkg/src/github.com/disintegration/gift/go.mod
+gopkg/src/github.com/disintegration/gift/pixels.go
+gopkg/src/github.com/disintegration/gift/pixels_test.go
+gopkg/src/github.com/disintegration/gift/rank.go
+gopkg/src/github.com/disintegration/gift/rank_test.go
+gopkg/src/github.com/disintegration/gift/resize.go
+gopkg/src/github.com/disintegration/gift/resize_test.go
+gopkg/src/github.com/disintegration/gift/testdata/dst_brightness_decrease.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_brightness_increase.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_color_balance.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_color_func.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_colorize.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_contrast_decrease.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_contrast_increase.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_convolution_emboss.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_crop_to_size.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_gamma_0.5.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_gamma_1.5.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_gaussian_blur.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_grayscale.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_hue_rotate.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_invert.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_maximum.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_mean.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_median.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_minimum.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_pixelate.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_resize.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_rotate_180.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_rotate_30.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_saturation_decrease.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_saturation_increase.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_sepia.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_sigmoid.png
+gopkg/src/github.com/disintegration/gift/testdata/dst_unsharp_mask.png
+gopkg/src/github.com/disintegration/gift/testdata/src.jpg
+gopkg/src/github.com/disintegration/gift/testdata/src.png
+gopkg/src/github.com/disintegration/gift/transform.go
+gopkg/src/github.com/disintegration/gift/transform_test.go
+gopkg/src/github.com/disintegration/gift/utils.go
+gopkg/src/github.com/disintegration/gift/utils_test.go
diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/go-gift/buildlink3.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-gift/buildlink3.mk    Mon Jun 29 12:40:53 2020 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/06/29 12:40:53 nikita Exp $
+
+BUILDLINK_TREE+=       go-gift
+
+.if !defined(GO_GIFT_BUILDLINK3_MK)
+GO_GIFT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-gift=     ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-gift?=          build
+
+BUILDLINK_API_DEPENDS.go-gift+=                go-gift>=1.2.1
+BUILDLINK_PKGSRCDIR.go-gift?=          ../../graphics/go-gift
+
+.endif # GO_GIFT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-gift
diff -r 40526d1cf8f3 -r ad6b06a8eaca graphics/go-gift/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/go-gift/distinfo Mon Jun 29 12:40:53 2020 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/06/29 12:40:53 nikita Exp $
+
+SHA1 (go-gift-1.2.1.tar.gz) = 14c3de9be82f6dbec5e7d8f285d6d70bb8c6a017
+RMD160 (go-gift-1.2.1.tar.gz) = 88340d933049be9da021a3969dc8c01f4d3c7189
+SHA512 (go-gift-1.2.1.tar.gz) = 01b797a326c299c623dd2ee3215ab7c791cd0342e834fa49da662d8c97b9e237754e68f21f0200908ee1b251c72a32d6a0e969203346f86e478e74922611c879
+Size (go-gift-1.2.1.tar.gz) = 1098337 bytes



Home | Main Index | Thread Index | Old Index