pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics



Module Name:    pkgsrc
Committed By:   nikita
Date:           Mon Jun 29 12:40:54 UTC 2020

Modified Files:
        pkgsrc/graphics: Makefile
Added Files:
        pkgsrc/graphics/go-gift: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.895 -r1.896 pkgsrc/graphics/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/go-gift/DESCR \
    pkgsrc/graphics/go-gift/Makefile pkgsrc/graphics/go-gift/PLIST \
    pkgsrc/graphics/go-gift/buildlink3.mk pkgsrc/graphics/go-gift/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/Makefile
diff -u pkgsrc/graphics/Makefile:1.895 pkgsrc/graphics/Makefile:1.896
--- pkgsrc/graphics/Makefile:1.895      Wed Jun 17 08:47:30 2020
+++ pkgsrc/graphics/Makefile    Mon Jun 29 12:40:53 2020
@@ -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-extras
 SUBDIR+=       gnome-icon-theme-symbolic
 SUBDIR+=       gnome-themes-standard
 SUBDIR+=       gnuplot
+SUBDIR+=       go-gift
 SUBDIR+=       go-image
 SUBDIR+=       go-imaging
 SUBDIR+=       go-resize

Added files:

Index: pkgsrc/graphics/go-gift/DESCR
diff -u /dev/null pkgsrc/graphics/go-gift/DESCR:1.1
--- /dev/null   Mon Jun 29 12:40:54 2020
+++ pkgsrc/graphics/go-gift/DESCR       Mon Jun 29 12:40:53 2020
@@ -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)
Index: pkgsrc/graphics/go-gift/Makefile
diff -u /dev/null pkgsrc/graphics/go-gift/Makefile:1.1
--- /dev/null   Mon Jun 29 12:40:54 2020
+++ pkgsrc/graphics/go-gift/Makefile    Mon Jun 29 12:40:53 2020
@@ -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"
Index: pkgsrc/graphics/go-gift/PLIST
diff -u /dev/null pkgsrc/graphics/go-gift/PLIST:1.1
--- /dev/null   Mon Jun 29 12:40:54 2020
+++ pkgsrc/graphics/go-gift/PLIST       Mon Jun 29 12:40:53 2020
@@ -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
Index: pkgsrc/graphics/go-gift/buildlink3.mk
diff -u /dev/null pkgsrc/graphics/go-gift/buildlink3.mk:1.1
--- /dev/null   Mon Jun 29 12:40:54 2020
+++ pkgsrc/graphics/go-gift/buildlink3.mk       Mon Jun 29 12:40:53 2020
@@ -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
Index: pkgsrc/graphics/go-gift/distinfo
diff -u /dev/null pkgsrc/graphics/go-gift/distinfo:1.1
--- /dev/null   Mon Jun 29 12:40:54 2020
+++ pkgsrc/graphics/go-gift/distinfo    Mon Jun 29 12:40:53 2020
@@ -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