Wed Jan 12 11:09:07 2022 UTC ()
gtk3: updated to 3.24.31

Overview of Changes in GTK+ 3.24.31, 20-12-2021
===============================================

* input:
 - Fix a crash with touch on GtkScale

* clipboard:
 - Avoid a double-free

* css:
 - Avoid a crash with radial gradients

* GtkFileChooser:
 - Don't leak search results

* GtkTextView:
 - Support css letterspacing

* Wayland:
 - Reset position when hiding popups
 - Ignore globals we did not bind ourselves
 - Avoid infinite loops when hiding surfaces
 - Avoid clipboard-related lockups

* X11:
 - Trap errors while doing XRANDR calls
 - Support touchpad gestures with XI 2.4

* win32:
 - Some OpenGL setup fixes
 - Fall back to GLES for OpenGL
 - Fix MinGW autotools build
 - Fix building on Windows 11
 - Support building with Visual Studio 2022
 - Improve DND across monitors
 - Rewrite keymap handling code

* macOS:
 - Accept NSPasteboardTypeFileURL drops
 - Build on macOS 12
 - Fix display on macOS 12
 - Fix keyboard layout notifications
 - Fix a crash
 - Improve performance on Big Sur

* Translation updates:
 Basque
 Brazilian Portuguese
 Chinese (China)
 Chinese (Taiwan)
 Croatian
 Czech
 Danish
 Dutch
 Finnish
 French
 Friulian
 Galician
 German
 Hungarian
 Icelandic
 Italian
 Kazakh
 Korean
 Latvian
 Occitan
 Persian
 Russian
 Serbian
 Spanish
 Swedish


(adam)
diff -r1.168 -r1.169 pkgsrc/x11/gtk3/Makefile
diff -r1.92 -r1.93 pkgsrc/x11/gtk3/distinfo
diff -r1.2 -r1.3 pkgsrc/x11/gtk3/patches/patch-gtk_gtkfontchooserwidget.c

cvs diff -r1.168 -r1.169 pkgsrc/x11/gtk3/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/gtk3/Makefile 2021/12/08 16:02:50 1.168
+++ pkgsrc/x11/gtk3/Makefile 2022/01/12 11:09:07 1.169
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.168 2021/12/08 16:02:50 adam Exp $ 1# $NetBSD: Makefile,v 1.169 2022/01/12 11:09:07 adam Exp $
2 2
3DISTNAME= gtk+-3.24.30 3DISTNAME= gtk+-3.24.31
4PKGNAME= ${DISTNAME:S/gtk/gtk3/} 4PKGNAME= ${DISTNAME:S/gtk/gtk3/}
5PKGREVISION= 2 
6CATEGORIES= x11 gnome 5CATEGORIES= x11 gnome
7MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/} 6MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gtk+/${PKGVERSION_NOREV:R}/}
8EXTRACT_SUFX= .tar.xz 7EXTRACT_SUFX= .tar.xz
9 8
10MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://www.gtk.org/ 10HOMEPAGE= https://www.gtk.org/
12COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces 11COMMENT= GIMP Toolkit v3 - libraries for building X11 user interfaces
13LICENSE= gnu-lgpl-v2.1 12LICENSE= gnu-lgpl-v2.1
14 13
15# "error: 'for' loop initial declarations are only allowed in C99 mode" 14# "error: 'for' loop initial declarations are only allowed in C99 mode"
16USE_LANGUAGES= c c++ 15USE_LANGUAGES= c c++
17USE_LIBTOOL= yes 16USE_LIBTOOL= yes
18USE_PKGLOCALEDIR= yes 17USE_PKGLOCALEDIR= yes

cvs diff -r1.92 -r1.93 pkgsrc/x11/gtk3/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/gtk3/distinfo 2021/10/26 11:33:52 1.92
+++ pkgsrc/x11/gtk3/distinfo 2022/01/12 11:09:07 1.93
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1$NetBSD: distinfo,v 1.92 2021/10/26 11:33:52 nia Exp $ 1$NetBSD: distinfo,v 1.93 2022/01/12 11:09:07 adam Exp $
2 2
3BLAKE2s (gtk+-3.24.30.tar.xz) = 8328518bef280db10e775fa636c4208c708194500206118b6a1cd51a24391c76 3BLAKE2s (gtk+-3.24.31.tar.xz) = 8951a4c3fed2aebfd2b5cb4f1911f692552578885f8da0e8f35ba7e4d99723bf
4SHA512 (gtk+-3.24.30.tar.xz) = 4164559f3e14501b9f9330a76535ebf5e26961d436f65e65ea609998cb120fcbcc5d9591453a64e1d414248499857288e5758274d03a7f75e9ae76cbf8c68ff9 4SHA512 (gtk+-3.24.31.tar.xz) = e7f8e5003a919e297bd3e616acccbc5cc9bf9c9d41377c108c24db51817fcccec919abc12d05c0ed585d49526d52f0395a1c0f3ed9d9ef816bb0c4b2aa615f9b
5Size (gtk+-3.24.30.tar.xz) = 22407016 bytes 5Size (gtk+-3.24.31.tar.xz) = 22449112 bytes
6SHA1 (patch-Makefile.in) = 8edcfe2ff492d90138a24b680fe39814c3848d80 6SHA1 (patch-Makefile.in) = 8edcfe2ff492d90138a24b680fe39814c3848d80
7SHA1 (patch-config.h.in) = dc5f8741eed554f88c0b6834cadad95083e4dc8f 7SHA1 (patch-config.h.in) = dc5f8741eed554f88c0b6834cadad95083e4dc8f
8SHA1 (patch-configure) = d531b33e52facf960058f1223b70db680da35300 8SHA1 (patch-configure) = d531b33e52facf960058f1223b70db680da35300
9SHA1 (patch-configure.ac) = 68793f40752f25ccaecc958c72c23a504670bea5 9SHA1 (patch-configure.ac) = 68793f40752f25ccaecc958c72c23a504670bea5
10SHA1 (patch-gdk_wayland_gdkdevice-wayland.c) = e283bd6533ea1307b971c524bc05f0d3ee90453d 10SHA1 (patch-gdk_wayland_gdkdevice-wayland.c) = e283bd6533ea1307b971c524bc05f0d3ee90453d
11SHA1 (patch-gdk_x11_gdkscreen-x11.h) = 455d6c3de8421984ba3c99baf51cd31982a3df78 11SHA1 (patch-gdk_x11_gdkscreen-x11.h) = 455d6c3de8421984ba3c99baf51cd31982a3df78
12SHA1 (patch-gdk_x11_gdkwindow-x11.h) = c80f7c9d5a570817e54fd74fa903a53400dc6f64 12SHA1 (patch-gdk_x11_gdkwindow-x11.h) = c80f7c9d5a570817e54fd74fa903a53400dc6f64
13SHA1 (patch-gtk_a11y_gtkaccessibility.c) = 13232c85bd570f21ea03153dacde4ca98c7c76a8 13SHA1 (patch-gtk_a11y_gtkaccessibility.c) = 13232c85bd570f21ea03153dacde4ca98c7c76a8
14SHA1 (patch-gtk_fallback-c89.c) = eaf5ac8aace9eab673eed0e265d4cb2617bf1fcd 14SHA1 (patch-gtk_fallback-c89.c) = eaf5ac8aace9eab673eed0e265d4cb2617bf1fcd
15SHA1 (patch-gtk_gtkfontchooserwidget.c) = 5ca98e5417865d8c60333c8c2b2ba757755ef547 15SHA1 (patch-gtk_gtkfontchooserwidget.c) = 0f4a47b7260e9227ed7e20613bbe435163afd149
16SHA1 (patch-gtk_gtklabel.c) = 8ec7e9df8d2169f15698ff6a29cf8254ca44ea61 16SHA1 (patch-gtk_gtklabel.c) = 8ec7e9df8d2169f15698ff6a29cf8254ca44ea61

cvs diff -r1.2 -r1.3 pkgsrc/x11/gtk3/patches/patch-gtk_gtkfontchooserwidget.c (expand / switch to unified diff)

--- pkgsrc/x11/gtk3/patches/patch-gtk_gtkfontchooserwidget.c 2018/10/30 17:49:37 1.2
+++ pkgsrc/x11/gtk3/patches/patch-gtk_gtkfontchooserwidget.c 2022/01/12 11:09:07 1.3
@@ -1,23 +1,23 @@ @@ -1,23 +1,23 @@
1$NetBSD: patch-gtk_gtkfontchooserwidget.c,v 1.2 2018/10/30 17:49:37 leot Exp $ 1$NetBSD: patch-gtk_gtkfontchooserwidget.c,v 1.3 2022/01/12 11:09:07 adam Exp $
2 2
3Correctly include freetype2 headers (<ft2build.h> and then macros 3Correctly include freetype2 headers (<ft2build.h> and then macros
4should be used instead of directly including the headers). 4should be used instead of directly including the headers).
5 5
6Issue opened upstream as: 6Issue opened upstream as:
7 7
8 <https://gitlab.gnome.org/GNOME/gtk/issues/1432>  8 <https://gitlab.gnome.org/GNOME/gtk/issues/1432>
9 9
10--- gtk/gtkfontchooserwidget.c.orig 2018-07-18 11:04:31.000000000 +0000 10--- gtk/gtkfontchooserwidget.c.orig 2021-12-11 02:50:17.000000000 +0000
11+++ gtk/gtkfontchooserwidget.c 11+++ gtk/gtkfontchooserwidget.c
12@@ -58,8 +58,9 @@ 12@@ -66,8 +66,9 @@
13 #include <hb.h> 13 #include <hb.h>
14 #include <hb-ot.h> 14 #include <hb-ot.h>
15 #include <hb-ft.h> 15 #include <hb-ft.h>
16-#include <freetype/freetype.h> 16-#include <freetype/freetype.h>
17-#include <freetype/ftmm.h> 17-#include <freetype/ftmm.h>
18+#include <ft2build.h> 18+#include <ft2build.h>
19+#include FT_FREETYPE_H 19+#include FT_FREETYPE_H
20+#include FT_MULTIPLE_MASTERS_H 20+#include FT_MULTIPLE_MASTERS_H
21 #include "language-names.h" 21 #include "language-names.h"
22 #include "script-names.h" 22 #include "script-names.h"
23 #endif 23 #elif defined (HAVE_FONT_FEATURES)