git: 6add2078f0ce - main - x11/nwg-look: update to 0.2.7

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 12 Feb 2024 05:25:01 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6add2078f0ced147de617ccb292e03e214c76ebb

commit 6add2078f0ced147de617ccb292e03e214c76ebb
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-02-11 23:43:12 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-02-12 05:24:39 +0000

    x11/nwg-look: update to 0.2.7
    
    Changes:        https://github.com/nwg-piotr/nwg-look/releases/tag/v0.2.7
    Reported by:    GitHub (watch releases)
---
 x11/nwg-look/Makefile           |  7 +++----
 x11/nwg-look/distinfo           | 14 +++++++-------
 x11/nwg-look/files/patch-go.mod | 14 ++++++++++++++
 3 files changed, 24 insertions(+), 11 deletions(-)

diff --git a/x11/nwg-look/Makefile b/x11/nwg-look/Makefile
index 2e55c48399d4..51731b808fae 100644
--- a/x11/nwg-look/Makefile
+++ b/x11/nwg-look/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	nwg-look
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.6
-PORTREVISION=	1
+DISTVERSION=	0.2.7
 CATEGORIES=	x11 wayland
 
 MAINTAINER=	jbeich@FreeBSD.org
@@ -17,8 +16,8 @@ USES=		gnome go:modules pkgconfig
 USE_GITHUB=	yes
 USE_GNOME=	cairo gdkpixbuf2 gtk30
 GH_ACCOUNT=	nwg-piotr
-GH_TUPLE=	golang:sys:v0.16.0:golang_sys/vendor/golang.org/x/sys \
-		gotk3:gotk3:v0.6.2:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \
+GH_TUPLE=	golang:sys:v0.17.0:golang_sys/vendor/golang.org/x/sys \
+		gotk3:gotk3:v0.6.3:gotk3_gotk3/vendor/github.com/gotk3/gotk3 \
 		sirupsen:logrus:v1.9.3:sirupsen_logrus/vendor/github.com/sirupsen/logrus
 CGO_LDFLAGS+=	-Wl,--as-needed # harfbuzz, freetype2
 PLIST_FILES=	bin/${PORTNAME} \
diff --git a/x11/nwg-look/distinfo b/x11/nwg-look/distinfo
index f2c728b79586..af795788be69 100644
--- a/x11/nwg-look/distinfo
+++ b/x11/nwg-look/distinfo
@@ -1,9 +1,9 @@
-TIMESTAMP = 1706463157
-SHA256 (nwg-piotr-nwg-look-v0.2.6_GH0.tar.gz) = ac3cb75ece7058120a5ed6b4ec8a321af0a66b522fdc7627bbab44dc1aaac8f8
-SIZE (nwg-piotr-nwg-look-v0.2.6_GH0.tar.gz) = 23658
-SHA256 (golang-sys-v0.16.0_GH0.tar.gz) = 9c17b728aa75f4fc4743c3f5c0dccdc3b7f9ac7c12b3124b666672cc571f657e
-SIZE (golang-sys-v0.16.0_GH0.tar.gz) = 1444155
-SHA256 (gotk3-gotk3-v0.6.2_GH0.tar.gz) = 7e7534e427a66fd118f0b0961b1e2369d6ae3c0b5f24227b9854e181eb4a407f
-SIZE (gotk3-gotk3-v0.6.2_GH0.tar.gz) = 278186
+TIMESTAMP = 1707694992
+SHA256 (nwg-piotr-nwg-look-v0.2.7_GH0.tar.gz) = 20a7773b1bae7ae013efa359e73dcefc89bfb516d45bba4375f59c8a9216c9c3
+SIZE (nwg-piotr-nwg-look-v0.2.7_GH0.tar.gz) = 23920
+SHA256 (golang-sys-v0.17.0_GH0.tar.gz) = ac396e3c66940e34fdd1d422a9628ab2a5118249118f2a36f65082d32e709e7a
+SIZE (golang-sys-v0.17.0_GH0.tar.gz) = 1446309
+SHA256 (gotk3-gotk3-v0.6.3_GH0.tar.gz) = cf233b835b1fdd23afa393d1e7483c44a57ab7729afe3a72e7ae3ded2b27a0c8
+SIZE (gotk3-gotk3-v0.6.3_GH0.tar.gz) = 278230
 SHA256 (sirupsen-logrus-v1.9.3_GH0.tar.gz) = cfa48a647a28c1f12fb6a9b672bc4d88b6407ff05aedcf23ce939d342646acce
 SIZE (sirupsen-logrus-v1.9.3_GH0.tar.gz) = 50320
diff --git a/x11/nwg-look/files/patch-go.mod b/x11/nwg-look/files/patch-go.mod
new file mode 100644
index 000000000000..35992806528a
--- /dev/null
+++ b/x11/nwg-look/files/patch-go.mod
@@ -0,0 +1,14 @@
+Drop after lang/go122 appears (switch to USES=go:1.22,modules)
+
+github.com/nwg-piotr/nwg-look: cannot compile Go 1.22 code
+
+--- go.mod.orig	2024-02-11 23:43:12 UTC
++++ go.mod
+@@ -1,6 +1,6 @@ module github.com/nwg-piotr/nwg-look
+ module github.com/nwg-piotr/nwg-look
+ 
+-go 1.22
++go 1.21
+ 
+ require (
+ 	github.com/gotk3/gotk3 v0.6.3