git: 5d5b000e62a6 - main - x11-toolkits/gtk40: update to 4.14.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 15 Mar 2024 05:59:49 UTC
The branch main has been updated by jbeich:

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

commit 5d5b000e62a6421cad9084e34268b8d7f44f776d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-12 11:52:13 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-15 05:54:54 +0000

    x11-toolkits/gtk40: update to 4.14.0
    
    Changes:        https://gitlab.gnome.org/GNOME/gtk/-/blob/4.14.0/NEWS
---
 x11-toolkits/gtk40/Makefile                            |  6 +++---
 x11-toolkits/gtk40/distinfo                            |  6 +++---
 .../gtk40/files/patch-gdk_wayland_gdkdisplay-wayland.c | 12 ++++++++++++
 x11-toolkits/gtk40/pkg-plist                           | 18 +++++++++++++++++-
 4 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile
index c0396911819a..94f8b08a0f76 100644
--- a/x11-toolkits/gtk40/Makefile
+++ b/x11-toolkits/gtk40/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gtk
-PORTVERSION=	4.12.5
+PORTVERSION=	4.14.0
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME
 PKGNAMESUFFIX=	4
@@ -32,12 +32,12 @@ USE_LDCONFIG=	yes
 USE_PERL5=	build
 USE_GNOME=	atk cairo gdkpixbuf2 introspection:build pango \
 		librsvg2:run
-MESON_ARGS=	-Dbuild-testsuite=false -Dmedia-ffmpeg=disabled
+MESON_ARGS=	-Dbuild-testsuite=false
 LDFLAGS+=	-lexecinfo
 
 BINARY_ALIAS=	python3=${PYTHON_CMD}
 
-LIBVERSION=	1.1200.5
+LIBVERSION=	1.1400.0
 PLIST_SUB+=	LIBVERSION=${LIBVERSION}
 
 GLIB_SCHEMAS=	org.gtk.Demo4.gschema.xml \
diff --git a/x11-toolkits/gtk40/distinfo b/x11-toolkits/gtk40/distinfo
index cbf0731e66b9..5514321108fe 100644
--- a/x11-toolkits/gtk40/distinfo
+++ b/x11-toolkits/gtk40/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1705549847
-SHA256 (gnome/gtk-4.12.5.tar.xz) = 28b356d590ee68ef626e2ef9820b2dd21441484a9a042a5a3f0c40e9dfc4f4f8
-SIZE (gnome/gtk-4.12.5.tar.xz) = 17314760
+TIMESTAMP = 1710244333
+SHA256 (gnome/gtk-4.14.0.tar.xz) = 3821124067258d4a1f0ab581a56df68768036e66f072eec7e12867949ad0f810
+SIZE (gnome/gtk-4.14.0.tar.xz) = 18307120
diff --git a/x11-toolkits/gtk40/files/patch-gdk_wayland_gdkdisplay-wayland.c b/x11-toolkits/gtk40/files/patch-gdk_wayland_gdkdisplay-wayland.c
new file mode 100644
index 000000000000..4e3687f458f7
--- /dev/null
+++ b/x11-toolkits/gtk40/files/patch-gdk_wayland_gdkdisplay-wayland.c
@@ -0,0 +1,12 @@
+--- gdk/wayland/gdkdisplay-wayland.c.orig	2024-03-12 11:52:13 UTC
++++ gdk/wayland/gdkdisplay-wayland.c
+@@ -24,7 +24,9 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <fcntl.h>
++#ifdef HAVE_SYS_SYSMACROS_H
+ #include <sys/sysmacros.h>
++#endif
+ 
+ #ifdef HAVE_LINUX_MEMFD_H
+ #include <linux/memfd.h>
diff --git a/x11-toolkits/gtk40/pkg-plist b/x11-toolkits/gtk40/pkg-plist
index 3d4adda38145..d4057878d5fb 100644
--- a/x11-toolkits/gtk40/pkg-plist
+++ b/x11-toolkits/gtk40/pkg-plist
@@ -6,6 +6,7 @@ bin/gtk4-encode-symbolic-svg
 bin/gtk4-icon-browser
 bin/gtk4-launch
 bin/gtk4-node-editor
+bin/gtk4-path-tool
 bin/gtk4-print-editor
 bin/gtk4-query-settings
 bin/gtk4-rendernode-tool
@@ -34,6 +35,9 @@ include/gtk-4.0/gdk/gdkdevicepad.h
 include/gtk-4.0/gdk/gdkdevicetool.h
 include/gtk-4.0/gdk/gdkdisplay.h
 include/gtk-4.0/gdk/gdkdisplaymanager.h
+include/gtk-4.0/gdk/gdkdmabufformats.h
+include/gtk-4.0/gdk/gdkdmabuftexture.h
+include/gtk-4.0/gdk/gdkdmabuftexturebuilder.h
 include/gtk-4.0/gdk/gdkdrag.h
 include/gtk-4.0/gdk/gdkdragsurface.h
 include/gtk-4.0/gdk/gdkdragsurfacesize.h
@@ -96,17 +100,24 @@ include/gtk-4.0/gdk/version/gdkversionmacros.h
 %%X11%%include/gtk-4.0/gdk/x11/gdkx11utils.h
 %%BROADWAY%%include/gtk-4.0/gsk/broadway/gskbroadwayrenderer.h
 include/gtk-4.0/gsk/gl/gskglrenderer.h
+include/gtk-4.0/gsk/gpu/gskvulkanrenderer.h
 include/gtk-4.0/gsk/gsk.h
 include/gtk-4.0/gsk/gskcairorenderer.h
 include/gtk-4.0/gsk/gskenums.h
 include/gtk-4.0/gsk/gskenumtypes.h
 include/gtk-4.0/gsk/gskglshader.h
+include/gtk-4.0/gsk/gskpath.h
+include/gtk-4.0/gsk/gskpathbuilder.h
+include/gtk-4.0/gsk/gskpathmeasure.h
+include/gtk-4.0/gsk/gskpathpoint.h
 include/gtk-4.0/gsk/gskrenderer.h
 include/gtk-4.0/gsk/gskrendernode.h
 include/gtk-4.0/gsk/gskroundedrect.h
+include/gtk-4.0/gsk/gskstroke.h
 include/gtk-4.0/gsk/gsktransform.h
 include/gtk-4.0/gsk/gsktypes.h
-%%VULKAN%%include/gtk-4.0/gsk/vulkan/gskvulkanrenderer.h
+include/gtk-4.0/gtk/a11y/gtkatspi.h
+include/gtk-4.0/gtk/a11y/gtkatspisocket.h
 include/gtk-4.0/gtk/css/gtkcss.h
 include/gtk-4.0/gtk/css/gtkcssenums.h
 include/gtk-4.0/gtk/css/gtkcssenumtypes.h
@@ -173,6 +184,7 @@ 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/gtkaccessibletext.h
 include/gtk-4.0/gtk/gtkactionable.h
 include/gtk-4.0/gtk/gtkactionbar.h
 include/gtk-4.0/gtk/gtkadjustment.h
@@ -205,6 +217,7 @@ include/gtk-4.0/gtk/gtkcolumnviewcell.h
 include/gtk-4.0/gtk/gtkcolumnviewcolumn.h
 include/gtk-4.0/gtk/gtkcolumnviewrow.h
 include/gtk-4.0/gtk/gtkcolumnviewsorter.h
+include/gtk-4.0/gtk/gtkconfig.h
 include/gtk-4.0/gtk/gtkconstraint.h
 include/gtk-4.0/gtk/gtkconstraintguide.h
 include/gtk-4.0/gtk/gtkconstraintlayout.h
@@ -259,6 +272,7 @@ include/gtk-4.0/gtk/gtkgesturestylus.h
 include/gtk-4.0/gtk/gtkgestureswipe.h
 include/gtk-4.0/gtk/gtkgesturezoom.h
 include/gtk-4.0/gtk/gtkglarea.h
+include/gtk-4.0/gtk/gtkgraphicsoffload.h
 include/gtk-4.0/gtk/gtkgrid.h
 include/gtk-4.0/gtk/gtkgridlayout.h
 include/gtk-4.0/gtk/gtkgridview.h
@@ -307,6 +321,7 @@ include/gtk-4.0/gtk/gtkpicture.h
 include/gtk-4.0/gtk/gtkpopover.h
 include/gtk-4.0/gtk/gtkpopovermenu.h
 include/gtk-4.0/gtk/gtkpopovermenubar.h
+include/gtk-4.0/gtk/gtkprintdialog.h
 include/gtk-4.0/gtk/gtkprogressbar.h
 include/gtk-4.0/gtk/gtkrange.h
 include/gtk-4.0/gtk/gtkrecentmanager.h
@@ -403,6 +418,7 @@ lib/gtk-4.0/4.0.0/printbackends/libprintbackend-file.so
 lib/libgtk-4.so
 lib/libgtk-4.so.1
 lib/libgtk-4.so.%%LIBVERSION%%
+libdata/pkgconfig/gtk4-atspi.pc
 %%BROADWAY%%libdata/pkgconfig/gtk4-broadway.pc
 libdata/pkgconfig/gtk4-unix-print.pc
 %%WAYLAND%%libdata/pkgconfig/gtk4-wayland.pc