git: a4aab0806301 - main - x11-toolkits/gtk40: update to 4.10.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 05 Mar 2023 00:46:55 UTC
The branch main has been updated by jbeich:

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

commit a4aab08063011da224d728a7a90ceb8ed8b2995f
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-04 16:28:12 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-05 00:46:12 +0000

    x11-toolkits/gtk40: update to 4.10.0
    
    Changes:        https://gitlab.gnome.org/GNOME/gtk/-/blob/4.10.0/NEWS
---
 x11-toolkits/gtk40/Makefile                |  13 ++-
 x11-toolkits/gtk40/distinfo                |   6 +-
 x11-toolkits/gtk40/files/patch-meson.build |  13 +++
 x11-toolkits/gtk40/pkg-plist               | 124 ++++++++++++++++-------------
 4 files changed, 95 insertions(+), 61 deletions(-)

diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile
index e91c9242371d..2072352495b1 100644
--- a/x11-toolkits/gtk40/Makefile
+++ b/x11-toolkits/gtk40/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gtk
-PORTVERSION=	4.8.3
-PORTREVISION=	1
+PORTVERSION=	4.10.0
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	4
@@ -33,11 +32,12 @@ USE_LDCONFIG=	yes
 USE_PERL5=	build
 USE_GNOME=	atk cairo gdkpixbuf2 introspection:build pango \
 		librsvg2:run
+MESON_ARGS=	-Dbuild-testsuite=false
 LDFLAGS+=	-lexecinfo
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
-LIBVERSION=	1.800.3
+LIBVERSION=	1.1000.0
 PLIST_SUB+=	LIBVERSION=${LIBVERSION}
 
 GLIB_SCHEMAS=	org.gtk.Demo4.gschema.xml \
@@ -103,4 +103,11 @@ post-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/loaders
 	@${MKDIR} ${STAGEDIR}${PREFIX}/lib/gtk-4.0/${GTK4_VERSION}/modules
 
+pre-test:
+	@if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \
+		${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \
+		${MAKE} -C${.CURDIR} build MESON_ARGS="${MESON_ARGS} --reconfigure -Dbuild-testsuite=true"; \
+		${TOUCH} ${WRKDIR}/.meson_build_tests; \
+	fi
+
 .include <bsd.port.mk>
diff --git a/x11-toolkits/gtk40/distinfo b/x11-toolkits/gtk40/distinfo
index 38289b1406ab..0e09b580ae8e 100644
--- a/x11-toolkits/gtk40/distinfo
+++ b/x11-toolkits/gtk40/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671734688
-SHA256 (gnome/gtk-4.8.3.tar.xz) = b362f968d085b4d3d9340d4d38c706377ded9d5374e694a2b6b7e6292e3cba74
-SIZE (gnome/gtk-4.8.3.tar.xz) = 20297060
+TIMESTAMP = 1677947292
+SHA256 (gnome/gtk-4.10.0.tar.xz) = 8dc1e7c3b3a46772f0fa416a8ca3fd21d0d0b3b03fb307d2e7327ebee69626e4
+SIZE (gnome/gtk-4.10.0.tar.xz) = 20471568
diff --git a/x11-toolkits/gtk40/files/patch-meson.build b/x11-toolkits/gtk40/files/patch-meson.build
new file mode 100644
index 000000000000..2d7c1adab340
--- /dev/null
+++ b/x11-toolkits/gtk40/files/patch-meson.build
@@ -0,0 +1,13 @@
+https://gitlab.gnome.org/GNOME/gtk/-/issues/5633
+
+--- meson.build.orig	2023-03-04 16:28:12 UTC
++++ meson.build
+@@ -728,7 +728,7 @@ gir = find_program('g-ir-scanner', required : get_opti
+ 
+ # 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').allowed()
+ 
+ 
+ project_build_root = meson.current_build_dir()
diff --git a/x11-toolkits/gtk40/pkg-plist b/x11-toolkits/gtk40/pkg-plist
index 51975454d4cc..a5c54e7cbd6c 100644
--- a/x11-toolkits/gtk40/pkg-plist
+++ b/x11-toolkits/gtk40/pkg-plist
@@ -58,6 +58,7 @@ include/gtk-4.0/gdk/gdkseat.h
 include/gtk-4.0/gdk/gdksnapshot.h
 include/gtk-4.0/gdk/gdksurface.h
 include/gtk-4.0/gdk/gdktexture.h
+include/gtk-4.0/gdk/gdktexturedownloader.h
 include/gtk-4.0/gdk/gdktoplevel.h
 include/gtk-4.0/gdk/gdktoplevellayout.h
 include/gtk-4.0/gdk/gdktoplevelsize.h
@@ -69,8 +70,10 @@ include/gtk-4.0/gdk/gdkvulkancontext.h
 %%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylanddisplay.h
 %%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandglcontext.h
 %%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandmonitor.h
+%%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandpopup.h
 %%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandseat.h
 %%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandsurface.h
+%%WAYLAND%%include/gtk-4.0/gdk/wayland/gdkwaylandtoplevel.h
 %%X11%%include/gtk-4.0/gdk/x11/gdkx-autocleanups.h
 %%X11%%include/gtk-4.0/gdk/x11/gdkx.h
 %%X11%%include/gtk-4.0/gdk/x11/gdkx11applaunchcontext.h
@@ -106,21 +109,73 @@ include/gtk-4.0/gtk/css/gtkcssenumtypes.h
 include/gtk-4.0/gtk/css/gtkcsserror.h
 include/gtk-4.0/gtk/css/gtkcsslocation.h
 include/gtk-4.0/gtk/css/gtkcsssection.h
+include/gtk-4.0/gtk/deprecated/gtkappchooser.h
+include/gtk-4.0/gtk/deprecated/gtkappchooserbutton.h
+include/gtk-4.0/gtk/deprecated/gtkappchooserdialog.h
+include/gtk-4.0/gtk/deprecated/gtkappchooserwidget.h
+include/gtk-4.0/gtk/deprecated/gtkassistant.h
+include/gtk-4.0/gtk/deprecated/gtkcellarea.h
+include/gtk-4.0/gtk/deprecated/gtkcellareabox.h
+include/gtk-4.0/gtk/deprecated/gtkcellareacontext.h
+include/gtk-4.0/gtk/deprecated/gtkcelleditable.h
+include/gtk-4.0/gtk/deprecated/gtkcelllayout.h
+include/gtk-4.0/gtk/deprecated/gtkcellrenderer.h
+include/gtk-4.0/gtk/deprecated/gtkcellrendereraccel.h
+include/gtk-4.0/gtk/deprecated/gtkcellrenderercombo.h
+include/gtk-4.0/gtk/deprecated/gtkcellrendererpixbuf.h
+include/gtk-4.0/gtk/deprecated/gtkcellrendererprogress.h
+include/gtk-4.0/gtk/deprecated/gtkcellrendererspin.h
+include/gtk-4.0/gtk/deprecated/gtkcellrendererspinner.h
+include/gtk-4.0/gtk/deprecated/gtkcellrenderertext.h
+include/gtk-4.0/gtk/deprecated/gtkcellrenderertoggle.h
+include/gtk-4.0/gtk/deprecated/gtkcellview.h
+include/gtk-4.0/gtk/deprecated/gtkcolorbutton.h
+include/gtk-4.0/gtk/deprecated/gtkcolorchooser.h
+include/gtk-4.0/gtk/deprecated/gtkcolorchooserdialog.h
+include/gtk-4.0/gtk/deprecated/gtkcolorchooserwidget.h
+include/gtk-4.0/gtk/deprecated/gtkcombobox.h
+include/gtk-4.0/gtk/deprecated/gtkcomboboxtext.h
+include/gtk-4.0/gtk/deprecated/gtkdialog.h
+include/gtk-4.0/gtk/deprecated/gtkentrycompletion.h
+include/gtk-4.0/gtk/deprecated/gtkfilechooser.h
+include/gtk-4.0/gtk/deprecated/gtkfilechooserdialog.h
+include/gtk-4.0/gtk/deprecated/gtkfilechoosernative.h
+include/gtk-4.0/gtk/deprecated/gtkfilechooserwidget.h
+include/gtk-4.0/gtk/deprecated/gtkfontbutton.h
+include/gtk-4.0/gtk/deprecated/gtkfontchooser.h
+include/gtk-4.0/gtk/deprecated/gtkfontchooserdialog.h
+include/gtk-4.0/gtk/deprecated/gtkfontchooserwidget.h
+include/gtk-4.0/gtk/deprecated/gtkiconview.h
+include/gtk-4.0/gtk/deprecated/gtkinfobar.h
+include/gtk-4.0/gtk/deprecated/gtkliststore.h
+include/gtk-4.0/gtk/deprecated/gtklockbutton.h
+include/gtk-4.0/gtk/deprecated/gtkmessagedialog.h
+include/gtk-4.0/gtk/deprecated/gtkrender.h
+include/gtk-4.0/gtk/deprecated/gtkshow.h
+include/gtk-4.0/gtk/deprecated/gtkstatusbar.h
+include/gtk-4.0/gtk/deprecated/gtkstylecontext.h
+include/gtk-4.0/gtk/deprecated/gtktreednd.h
+include/gtk-4.0/gtk/deprecated/gtktreemodel.h
+include/gtk-4.0/gtk/deprecated/gtktreemodelfilter.h
+include/gtk-4.0/gtk/deprecated/gtktreemodelsort.h
+include/gtk-4.0/gtk/deprecated/gtktreeselection.h
+include/gtk-4.0/gtk/deprecated/gtktreesortable.h
+include/gtk-4.0/gtk/deprecated/gtktreestore.h
+include/gtk-4.0/gtk/deprecated/gtktreeview.h
+include/gtk-4.0/gtk/deprecated/gtktreeviewcolumn.h
+include/gtk-4.0/gtk/deprecated/gtkvolumebutton.h
 include/gtk-4.0/gtk/gtk.h
 include/gtk-4.0/gtk/gtkaboutdialog.h
 include/gtk-4.0/gtk/gtkaccelgroup.h
 include/gtk-4.0/gtk/gtkaccessible.h
+include/gtk-4.0/gtk/gtkaccessiblerange.h
 include/gtk-4.0/gtk/gtkactionable.h
 include/gtk-4.0/gtk/gtkactionbar.h
 include/gtk-4.0/gtk/gtkadjustment.h
-include/gtk-4.0/gtk/gtkappchooser.h
-include/gtk-4.0/gtk/gtkappchooserbutton.h
-include/gtk-4.0/gtk/gtkappchooserdialog.h
-include/gtk-4.0/gtk/gtkappchooserwidget.h
+include/gtk-4.0/gtk/gtkalertdialog.h
 include/gtk-4.0/gtk/gtkapplication.h
 include/gtk-4.0/gtk/gtkapplicationwindow.h
 include/gtk-4.0/gtk/gtkaspectframe.h
-include/gtk-4.0/gtk/gtkassistant.h
 include/gtk-4.0/gtk/gtkatcontext.h
 include/gtk-4.0/gtk/gtkbinlayout.h
 include/gtk-4.0/gtk/gtkbitset.h
@@ -135,33 +190,15 @@ include/gtk-4.0/gtk/gtkbuilderlistitemfactory.h
 include/gtk-4.0/gtk/gtkbuilderscope.h
 include/gtk-4.0/gtk/gtkbutton.h
 include/gtk-4.0/gtk/gtkcalendar.h
-include/gtk-4.0/gtk/gtkcellarea.h
-include/gtk-4.0/gtk/gtkcellareabox.h
-include/gtk-4.0/gtk/gtkcellareacontext.h
-include/gtk-4.0/gtk/gtkcelleditable.h
-include/gtk-4.0/gtk/gtkcelllayout.h
-include/gtk-4.0/gtk/gtkcellrenderer.h
-include/gtk-4.0/gtk/gtkcellrendereraccel.h
-include/gtk-4.0/gtk/gtkcellrenderercombo.h
-include/gtk-4.0/gtk/gtkcellrendererpixbuf.h
-include/gtk-4.0/gtk/gtkcellrendererprogress.h
-include/gtk-4.0/gtk/gtkcellrendererspin.h
-include/gtk-4.0/gtk/gtkcellrendererspinner.h
-include/gtk-4.0/gtk/gtkcellrenderertext.h
-include/gtk-4.0/gtk/gtkcellrenderertoggle.h
-include/gtk-4.0/gtk/gtkcellview.h
 include/gtk-4.0/gtk/gtkcenterbox.h
 include/gtk-4.0/gtk/gtkcenterlayout.h
 include/gtk-4.0/gtk/gtkcheckbutton.h
-include/gtk-4.0/gtk/gtkcolorbutton.h
-include/gtk-4.0/gtk/gtkcolorchooser.h
-include/gtk-4.0/gtk/gtkcolorchooserdialog.h
-include/gtk-4.0/gtk/gtkcolorchooserwidget.h
+include/gtk-4.0/gtk/gtkcolordialog.h
+include/gtk-4.0/gtk/gtkcolordialogbutton.h
 include/gtk-4.0/gtk/gtkcolorutils.h
 include/gtk-4.0/gtk/gtkcolumnview.h
 include/gtk-4.0/gtk/gtkcolumnviewcolumn.h
-include/gtk-4.0/gtk/gtkcombobox.h
-include/gtk-4.0/gtk/gtkcomboboxtext.h
+include/gtk-4.0/gtk/gtkcolumnviewsorter.h
 include/gtk-4.0/gtk/gtkconstraint.h
 include/gtk-4.0/gtk/gtkconstraintguide.h
 include/gtk-4.0/gtk/gtkconstraintlayout.h
@@ -170,7 +207,7 @@ include/gtk-4.0/gtk/gtkcustomfilter.h
 include/gtk-4.0/gtk/gtkcustomlayout.h
 include/gtk-4.0/gtk/gtkcustomsorter.h
 include/gtk-4.0/gtk/gtkdebug.h
-include/gtk-4.0/gtk/gtkdialog.h
+include/gtk-4.0/gtk/gtkdialogerror.h
 include/gtk-4.0/gtk/gtkdirectorylist.h
 include/gtk-4.0/gtk/gtkdragicon.h
 include/gtk-4.0/gtk/gtkdragsource.h
@@ -184,7 +221,6 @@ include/gtk-4.0/gtk/gtkeditablelabel.h
 include/gtk-4.0/gtk/gtkemojichooser.h
 include/gtk-4.0/gtk/gtkentry.h
 include/gtk-4.0/gtk/gtkentrybuffer.h
-include/gtk-4.0/gtk/gtkentrycompletion.h
 include/gtk-4.0/gtk/gtkenums.h
 include/gtk-4.0/gtk/gtkeventcontroller.h
 include/gtk-4.0/gtk/gtkeventcontrollerfocus.h
@@ -194,21 +230,17 @@ include/gtk-4.0/gtk/gtkeventcontrollermotion.h
 include/gtk-4.0/gtk/gtkeventcontrollerscroll.h
 include/gtk-4.0/gtk/gtkexpander.h
 include/gtk-4.0/gtk/gtkexpression.h
-include/gtk-4.0/gtk/gtkfilechooser.h
-include/gtk-4.0/gtk/gtkfilechooserdialog.h
-include/gtk-4.0/gtk/gtkfilechoosernative.h
-include/gtk-4.0/gtk/gtkfilechooserwidget.h
+include/gtk-4.0/gtk/gtkfiledialog.h
 include/gtk-4.0/gtk/gtkfilefilter.h
+include/gtk-4.0/gtk/gtkfilelauncher.h
 include/gtk-4.0/gtk/gtkfilter.h
 include/gtk-4.0/gtk/gtkfilterlistmodel.h
 include/gtk-4.0/gtk/gtkfixed.h
 include/gtk-4.0/gtk/gtkfixedlayout.h
 include/gtk-4.0/gtk/gtkflattenlistmodel.h
 include/gtk-4.0/gtk/gtkflowbox.h
-include/gtk-4.0/gtk/gtkfontbutton.h
-include/gtk-4.0/gtk/gtkfontchooser.h
-include/gtk-4.0/gtk/gtkfontchooserdialog.h
-include/gtk-4.0/gtk/gtkfontchooserwidget.h
+include/gtk-4.0/gtk/gtkfontdialog.h
+include/gtk-4.0/gtk/gtkfontdialogbutton.h
 include/gtk-4.0/gtk/gtkframe.h
 include/gtk-4.0/gtk/gtkgesture.h
 include/gtk-4.0/gtk/gtkgestureclick.h
@@ -226,13 +258,11 @@ include/gtk-4.0/gtk/gtkgridlayout.h
 include/gtk-4.0/gtk/gtkgridview.h
 include/gtk-4.0/gtk/gtkheaderbar.h
 include/gtk-4.0/gtk/gtkicontheme.h
-include/gtk-4.0/gtk/gtkiconview.h
 include/gtk-4.0/gtk/gtkimage.h
 include/gtk-4.0/gtk/gtkimcontext.h
 include/gtk-4.0/gtk/gtkimcontextsimple.h
 include/gtk-4.0/gtk/gtkimmodule.h
 include/gtk-4.0/gtk/gtkimmulticontext.h
-include/gtk-4.0/gtk/gtkinfobar.h
 include/gtk-4.0/gtk/gtkinscription.h
 include/gtk-4.0/gtk/gtklabel.h
 include/gtk-4.0/gtk/gtklayoutchild.h
@@ -243,16 +273,13 @@ include/gtk-4.0/gtk/gtklistbase.h
 include/gtk-4.0/gtk/gtklistbox.h
 include/gtk-4.0/gtk/gtklistitem.h
 include/gtk-4.0/gtk/gtklistitemfactory.h
-include/gtk-4.0/gtk/gtkliststore.h
 include/gtk-4.0/gtk/gtklistview.h
-include/gtk-4.0/gtk/gtklockbutton.h
 include/gtk-4.0/gtk/gtkmain.h
 include/gtk-4.0/gtk/gtkmaplistmodel.h
 include/gtk-4.0/gtk/gtkmediacontrols.h
 include/gtk-4.0/gtk/gtkmediafile.h
 include/gtk-4.0/gtk/gtkmediastream.h
 include/gtk-4.0/gtk/gtkmenubutton.h
-include/gtk-4.0/gtk/gtkmessagedialog.h
 include/gtk-4.0/gtk/gtkmountoperation.h
 include/gtk-4.0/gtk/gtkmultifilter.h
 include/gtk-4.0/gtk/gtkmultiselection.h
@@ -282,7 +309,6 @@ include/gtk-4.0/gtk/gtkprintsettings.h
 include/gtk-4.0/gtk/gtkprogressbar.h
 include/gtk-4.0/gtk/gtkrange.h
 include/gtk-4.0/gtk/gtkrecentmanager.h
-include/gtk-4.0/gtk/gtkrender.h
 include/gtk-4.0/gtk/gtkrevealer.h
 include/gtk-4.0/gtk/gtkroot.h
 include/gtk-4.0/gtk/gtkscale.h
@@ -306,7 +332,6 @@ include/gtk-4.0/gtk/gtkshortcutssection.h
 include/gtk-4.0/gtk/gtkshortcutsshortcut.h
 include/gtk-4.0/gtk/gtkshortcutswindow.h
 include/gtk-4.0/gtk/gtkshortcuttrigger.h
-include/gtk-4.0/gtk/gtkshow.h
 include/gtk-4.0/gtk/gtksignallistitemfactory.h
 include/gtk-4.0/gtk/gtksingleselection.h
 include/gtk-4.0/gtk/gtksizegroup.h
@@ -320,11 +345,9 @@ include/gtk-4.0/gtk/gtkspinner.h
 include/gtk-4.0/gtk/gtkstack.h
 include/gtk-4.0/gtk/gtkstacksidebar.h
 include/gtk-4.0/gtk/gtkstackswitcher.h
-include/gtk-4.0/gtk/gtkstatusbar.h
 include/gtk-4.0/gtk/gtkstringfilter.h
 include/gtk-4.0/gtk/gtkstringlist.h
 include/gtk-4.0/gtk/gtkstringsorter.h
-include/gtk-4.0/gtk/gtkstylecontext.h
 include/gtk-4.0/gtk/gtkstyleprovider.h
 include/gtk-4.0/gtk/gtkswitch.h
 include/gtk-4.0/gtk/gtksymbolicpaintable.h
@@ -340,24 +363,15 @@ include/gtk-4.0/gtk/gtktexttagtable.h
 include/gtk-4.0/gtk/gtktextview.h
 include/gtk-4.0/gtk/gtktogglebutton.h
 include/gtk-4.0/gtk/gtktooltip.h
-include/gtk-4.0/gtk/gtktreednd.h
 include/gtk-4.0/gtk/gtktreeexpander.h
 include/gtk-4.0/gtk/gtktreelistmodel.h
 include/gtk-4.0/gtk/gtktreelistrowsorter.h
-include/gtk-4.0/gtk/gtktreemodel.h
-include/gtk-4.0/gtk/gtktreemodelfilter.h
-include/gtk-4.0/gtk/gtktreemodelsort.h
-include/gtk-4.0/gtk/gtktreeselection.h
-include/gtk-4.0/gtk/gtktreesortable.h
-include/gtk-4.0/gtk/gtktreestore.h
-include/gtk-4.0/gtk/gtktreeview.h
-include/gtk-4.0/gtk/gtktreeviewcolumn.h
 include/gtk-4.0/gtk/gtktypebuiltins.h
 include/gtk-4.0/gtk/gtktypes.h
+include/gtk-4.0/gtk/gtkurilauncher.h
 include/gtk-4.0/gtk/gtkversion.h
 include/gtk-4.0/gtk/gtkvideo.h
 include/gtk-4.0/gtk/gtkviewport.h
-include/gtk-4.0/gtk/gtkvolumebutton.h
 include/gtk-4.0/gtk/gtkwidget.h
 include/gtk-4.0/gtk/gtkwidgetpaintable.h
 include/gtk-4.0/gtk/gtkwindow.h