NetBSD Problem Report #55915

From www@netbsd.org  Thu Jan  7 12:44:27 2021
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 1C7EB1A9217
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  7 Jan 2021 12:44:27 +0000 (UTC)
Message-Id: <20210107124425.1B5191A9245@mollari.NetBSD.org>
Date: Thu,  7 Jan 2021 12:44:25 +0000 (UTC)
From: kamelderouiche@yahoo.com
Reply-To: kamelderouiche@yahoo.com
To: gnats-bugs@NetBSD.org
Subject: Update graphics/go-image to 20201808
X-Send-Pr-Version: www-1.0

>Number:         55915
>Category:       pkg
>Synopsis:       Update graphics/go-image to 20201808
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 07 12:45:00 +0000 2021
>Last-Modified:  Thu Jan 07 13:15:01 +0000 2021
>Originator:     K.I.A.Derouiche
>Release:        pkgsrc-current-07012021
>Organization:
Adgon Solutions
>Environment:
Linux Hattin 5.10.4-1-default #1 SMP Wed Dec 30 13:10:15 UTC 2020 (4169c1f) x86_64 x86_64 x86_64 GNU/Linux
>Description:
go-image-20201208: Available new version
Update go-image  to 20201208
>How-To-Repeat:
n/a
>Fix:
--- PLIST       2021-01-07 11:57:48.291153758 +0100
+++ PLIST.orig  2017-08-17 03:02:56.000000000 +0100
@@ -1,6 +1,5 @@
-@comment $NetBSD$
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 02:02:56 gavan Exp $
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/bmp.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/ccitt.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/colornames.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/draw.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font.a
@@ -18,7 +17,6 @@
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/gofont/gosmallcaps.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/gofont/gosmallcapsitalic.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/inconsolata.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/opentype.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/plan9font.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/font/sfnt.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/math/f32.a
@@ -31,36 +29,17 @@
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/vp8.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/vp8l.a
 gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/webp.a
+gopkg/pkg/${GO_PLATFORM}/golang.org/x/image/webp/nycbcra.a
 gopkg/src/golang.org/x/image/AUTHORS
 gopkg/src/golang.org/x/image/CONTRIBUTING.md
 gopkg/src/golang.org/x/image/CONTRIBUTORS
 gopkg/src/golang.org/x/image/LICENSE
 gopkg/src/golang.org/x/image/PATENTS
-gopkg/src/golang.org/x/image/README.md
+gopkg/src/golang.org/x/image/README
 gopkg/src/golang.org/x/image/bmp/reader.go
 gopkg/src/golang.org/x/image/bmp/reader_test.go
 gopkg/src/golang.org/x/image/bmp/writer.go
 gopkg/src/golang.org/x/image/bmp/writer_test.go
-gopkg/src/golang.org/x/image/ccitt/gen.go
-gopkg/src/golang.org/x/image/ccitt/reader.go
-gopkg/src/golang.org/x/image/ccitt/reader_test.go
-gopkg/src/golang.org/x/image/ccitt/table.go
-gopkg/src/golang.org/x/image/ccitt/table_test.go
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-aligned.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-aligned.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-inverted-aligned.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-inverted-aligned.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-inverted.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-inverted.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-truncated0.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-truncated0.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-truncated1.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher-truncated1.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher.ccitt_group3
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher.ccitt_group4
-gopkg/src/golang.org/x/image/ccitt/testdata/bw-gopher.png
-gopkg/src/golang.org/x/image/ccitt/writer.go
-gopkg/src/golang.org/x/image/ccitt/writer_test.go
 gopkg/src/golang.org/x/image/cmd/webp-manual-test/main.go
 gopkg/src/golang.org/x/image/codereview.cfg
 gopkg/src/golang.org/x/image/colornames/colornames.go
@@ -70,13 +49,14 @@
 gopkg/src/golang.org/x/image/draw/draw.go
 gopkg/src/golang.org/x/image/draw/example_test.go
 gopkg/src/golang.org/x/image/draw/gen.go
+gopkg/src/golang.org/x/image/draw/go1_8.go
+gopkg/src/golang.org/x/image/draw/go1_9.go
 gopkg/src/golang.org/x/image/draw/impl.go
 gopkg/src/golang.org/x/image/draw/scale.go
 gopkg/src/golang.org/x/image/draw/scale_test.go
 gopkg/src/golang.org/x/image/draw/stdlib_test.go
 gopkg/src/golang.org/x/image/example/font/main.go
 gopkg/src/golang.org/x/image/font/basicfont/basicfont.go
-gopkg/src/golang.org/x/image/font/basicfont/basicfont_test.go
 gopkg/src/golang.org/x/image/font/basicfont/data.go
 gopkg/src/golang.org/x/image/font/basicfont/gen.go
 gopkg/src/golang.org/x/image/font/font.go
@@ -110,9 +90,6 @@
 gopkg/src/golang.org/x/image/font/inconsolata/bold8x16.go
 gopkg/src/golang.org/x/image/font/inconsolata/inconsolata.go
 gopkg/src/golang.org/x/image/font/inconsolata/regular8x16.go
-gopkg/src/golang.org/x/image/font/opentype/example_test.go
-gopkg/src/golang.org/x/image/font/opentype/opentype.go
-gopkg/src/golang.org/x/image/font/opentype/opentype_test.go
 gopkg/src/golang.org/x/image/font/plan9font/example_test.go
 gopkg/src/golang.org/x/image/font/plan9font/plan9font.go
 gopkg/src/golang.org/x/image/font/plan9font/plan9font_test.go
@@ -120,8 +97,6 @@
 gopkg/src/golang.org/x/image/font/sfnt/data.go
 gopkg/src/golang.org/x/image/font/sfnt/example_test.go
 gopkg/src/golang.org/x/image/font/sfnt/gen.go
-gopkg/src/golang.org/x/image/font/sfnt/gpos.go
-gopkg/src/golang.org/x/image/font/sfnt/kern_test.go
 gopkg/src/golang.org/x/image/font/sfnt/postscript.go
 gopkg/src/golang.org/x/image/font/sfnt/proprietary_test.go
 gopkg/src/golang.org/x/image/font/sfnt/sfnt.go
@@ -161,8 +136,6 @@
 gopkg/src/golang.org/x/image/font/testdata/fixed/unicode.7x13.font
 gopkg/src/golang.org/x/image/font/testdata/glyfTest.sfd
 gopkg/src/golang.org/x/image/font/testdata/glyfTest.ttf
-gopkg/src/golang.org/x/image/go.mod
-gopkg/src/golang.org/x/image/go.sum
 gopkg/src/golang.org/x/image/math/f32/f32.go
 gopkg/src/golang.org/x/image/math/f64/f64.go
 gopkg/src/golang.org/x/image/math/fixed/fixed.go
@@ -184,13 +157,8 @@
 gopkg/src/golang.org/x/image/testdata/blue-purple-pink.lzwcompressed.tiff
 gopkg/src/golang.org/x/image/testdata/blue-purple-pink.png
 gopkg/src/golang.org/x/image/testdata/bw-deflate.tiff
-gopkg/src/golang.org/x/image/testdata/bw-gopher.png
-gopkg/src/golang.org/x/image/testdata/bw-gopher_ccittGroup3.tiff
-gopkg/src/golang.org/x/image/testdata/bw-gopher_ccittGroup4.tiff
 gopkg/src/golang.org/x/image/testdata/bw-packbits.tiff
 gopkg/src/golang.org/x/image/testdata/bw-uncompressed.tiff
-gopkg/src/golang.org/x/image/testdata/colormap.bmp
-gopkg/src/golang.org/x/image/testdata/colormap.png
 gopkg/src/golang.org/x/image/testdata/go-turns-two-14x18.png
 gopkg/src/golang.org/x/image/testdata/go-turns-two-280x360.jpeg
 gopkg/src/golang.org/x/image/testdata/go-turns-two-down-ab.png
@@ -234,8 +202,6 @@
 gopkg/src/golang.org/x/image/testdata/video-001.lossy.webp.ycbcr.png
 gopkg/src/golang.org/x/image/testdata/video-001.png
 gopkg/src/golang.org/x/image/testdata/video-001.tiff
-gopkg/src/golang.org/x/image/testdata/yellow_rose-small-v5.bmp
-gopkg/src/golang.org/x/image/testdata/yellow_rose-small-v5.png
 gopkg/src/golang.org/x/image/testdata/yellow_rose-small.bmp
 gopkg/src/golang.org/x/image/testdata/yellow_rose-small.png
 gopkg/src/golang.org/x/image/testdata/yellow_rose.lossless.webp
@@ -248,7 +214,6 @@
 gopkg/src/golang.org/x/image/tiff/buffer_test.go
 gopkg/src/golang.org/x/image/tiff/compress.go
 gopkg/src/golang.org/x/image/tiff/consts.go
-gopkg/src/golang.org/x/image/tiff/fuzz.go
 gopkg/src/golang.org/x/image/tiff/lzw/reader.go
 gopkg/src/golang.org/x/image/tiff/reader.go
 gopkg/src/golang.org/x/image/tiff/reader_test.go
@@ -278,4 +243,6 @@
 gopkg/src/golang.org/x/image/vp8l/transform.go
 gopkg/src/golang.org/x/image/webp/decode.go
 gopkg/src/golang.org/x/image/webp/decode_test.go
-gopkg/src/golang.org/x/image/webp/doc.go
+gopkg/src/golang.org/x/image/webp/nycbcra/nycbcra.go
+gopkg/src/golang.org/x/image/webp/webp.go
+@pkgdir bin
--- distinfo    2021-01-07 11:57:48.291153758 +0100
+++ distinfo.orig       2017-08-17 03:02:56.000000000 +0100
@@ -1,6 +1,6 @@
-$NetBSD$
+$NetBSD: distinfo,v 1.1 2017/08/17 02:02:56 gavan Exp $

-SHA1 (go-image-20201208-35266b9.tar.gz) = d05b1a93c87d8bf592fc5ff2b9670b021db65f2a
-RMD160 (go-image-20201208-35266b9.tar.gz) = 1f629098687338034f590ec03fb614532959a904
-SHA512 (go-image-20201208-35266b9.tar.gz) = 7a3288a7ce392b06ca1c26a5d7b5e162207795a91bfd4c3b3826d2da12d66137a15c701ce966a4586971289399ce364dda1222a7796d58474c519fd8d4df4d62
-Size (go-image-20201208-35266b9.tar.gz) = 4901328 bytes
+SHA1 (go-image-20170405-10ed294.tar.gz) = ec12b38c73634be3b9b5d970c14fdb358b5b53e5
+RMD160 (go-image-20170405-10ed294.tar.gz) = 8f1147e5e85e8c1baae6690019f3a4bd8bda3a16
+SHA512 (go-image-20170405-10ed294.tar.gz) = 07bd721ada95cb9592527e19cd74ebeef4bf0621a5761c1b138d5ced955b6fd7a06bc7b6cc5038a8e35c0527ab8e4e0dbfa3f92eef43e021b8cbd72972b038fb
+Size (go-image-20170405-10ed294.tar.gz) = 4811047 bytes

diff -Naur Makefile Makefile.orig 
--- Makefile    2021-01-07 11:57:48.291153758 +0100
+++ Makefile.orig       2020-11-14 02:00:41.000000000 +0100
@@ -1,11 +1,11 @@
-# $NetBSD$
+# $NetBSD: Makefile,v 1.27 2020/11/13 19:26:15 bsiegert Exp $

-DISTNAME=              go-image-20201208
-PKGREVISION=           26
-GITHUB_PROJECT=                image
-GITHUB_TAG=            35266b9
+DISTNAME=              go-image-20170405
+PKGREVISION=           25
 CATEGORIES=            graphics
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=golang/}
+GITHUB_PROJECT=                image
+GITHUB_TAG=            10ed294

 MAINTAINER=            pkgsrc-users@NetBSD.org
 HOMEPAGE=              https://golang.org/

diff -Naur buildlink3.mk buildlink3.mk.orig 
--- buildlink3.mk       2021-01-07 11:57:48.291153758 +0100
+++ buildlink3.mk.orig  2019-11-03 02:00:58.000000000 +0100
@@ -8,7 +8,7 @@
 BUILDLINK_CONTENTS_FILTER.go-image=    ${EGREP} gopkg/
 BUILDLINK_DEPMETHOD.go-image?=         build

-BUILDLINK_API_DEPENDS.go-image+=       go-image>=20201208
+BUILDLINK_API_DEPENDS.go-image+=       go-image>=20170405
 BUILDLINK_PKGSRCDIR.go-image?=         ../../graphics/go-image

 .include "../../textproc/go-text/buildlink3.mk"






>Audit-Trail:
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/55915
Date: Thu, 7 Jan 2021 14:12:13 +0100

 Is the diff the wrong way around? Also, the PKGREVISION should be
 reset down to 0.

 -- 
 Benny

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.