git: 22e5da756273 - main - x11-toolkits/gtk40: update to 4.10.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Mon, 20 Mar 2023 13:14:28 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=22e5da75627377e665cebcd09e8ef141941a4de5

commit 22e5da75627377e665cebcd09e8ef141941a4de5
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-14 11:50:49 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-20 13:14:08 +0000

    x11-toolkits/gtk40: update to 4.10.1
    
    Changes:        https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.1/NEWS
---
 x11-toolkits/gtk40/Makefile                |  4 ++--
 x11-toolkits/gtk40/distinfo                |  6 +++---
 x11-toolkits/gtk40/files/patch-meson.build | 13 +++++++------
 3 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile
index 2072352495b1..f8175c06e50b 100644
--- a/x11-toolkits/gtk40/Makefile
+++ b/x11-toolkits/gtk40/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gtk
-PORTVERSION=	4.10.0
+PORTVERSION=	4.10.1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	4
@@ -37,7 +37,7 @@ LDFLAGS+=	-lexecinfo
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
-LIBVERSION=	1.1000.0
+LIBVERSION=	1.1000.1
 PLIST_SUB+=	LIBVERSION=${LIBVERSION}
 
 GLIB_SCHEMAS=	org.gtk.Demo4.gschema.xml \
diff --git a/x11-toolkits/gtk40/distinfo b/x11-toolkits/gtk40/distinfo
index 0e09b580ae8e..d4bf64553f48 100644
--- a/x11-toolkits/gtk40/distinfo
+++ b/x11-toolkits/gtk40/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677947292
-SHA256 (gnome/gtk-4.10.0.tar.xz) = 8dc1e7c3b3a46772f0fa416a8ca3fd21d0d0b3b03fb307d2e7327ebee69626e4
-SIZE (gnome/gtk-4.10.0.tar.xz) = 20471568
+TIMESTAMP = 1678794649
+SHA256 (gnome/gtk-4.10.1.tar.xz) = e8fcac04bc7715b9da667c911a5ee8f262e200d1d6a50adf23645ca8cfcd0311
+SIZE (gnome/gtk-4.10.1.tar.xz) = 20481204
diff --git a/x11-toolkits/gtk40/files/patch-meson.build b/x11-toolkits/gtk40/files/patch-meson.build
index 2d7c1adab340..c93d9bf8c833 100644
--- a/x11-toolkits/gtk40/files/patch-meson.build
+++ b/x11-toolkits/gtk40/files/patch-meson.build
@@ -1,13 +1,14 @@
 https://gitlab.gnome.org/GNOME/gtk/-/issues/5633
 
---- meson.build.orig	2023-03-04 16:28:12 UTC
+--- meson.build.orig	2023-03-14 11:50:49 UTC
 +++ meson.build
-@@ -728,7 +728,7 @@ gir = find_program('g-ir-scanner', required : get_opti
+@@ -740,8 +740,7 @@ endif
+   error('Introspection enabled, but g-ir-scanner not found.')
+ endif
  
- # Introspection
- gir = find_program('g-ir-scanner', required : get_option('introspection'))
--build_gir = gir.found() and get_option('introspection').enabled()
+-build_gir = gir.found() and (get_option('introspection').enabled() or
+-                             (get_option('introspection').allowed() and get_option('gtk_doc')))
 +build_gir = gir.found() and get_option('introspection').allowed()
  
- 
  project_build_root = meson.current_build_dir()
+