git: 4d97d771962e - main - x11-toolkits/pango: update to 1.56.4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sun, 28 Sep 2025 12:57:36 UTC
The branch main has been updated by arrowd:

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

commit 4d97d771962e7d0cf4e6475a43916aad7e5ed8a0
Author:     Olivier Duchateau <duchateau.olivier@gmail.com>
AuthorDate: 2025-09-16 11:36:59 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-09-28 12:57:26 +0000

    x11-toolkits/pango: update to 1.56.4
    
    Mark as TESTING_UNSAFE because one tests fails in Poudriere, but is reported
    to pass outside of it.
    
    PR:             289188
---
 x11-toolkits/pango/Makefile                        |  8 ++++---
 x11-toolkits/pango/distinfo                        |  6 ++---
 x11-toolkits/pango/files/patch-tests_fontsets_mono | 28 ----------------------
 .../pango/files/patch-tests_fontsets_mono2         | 28 ----------------------
 x11-toolkits/pango/pkg-plist                       |  6 +++++
 5 files changed, 14 insertions(+), 62 deletions(-)

diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile
index 6b2ea8448555..5f62cba59ba9 100644
--- a/x11-toolkits/pango/Makefile
+++ b/x11-toolkits/pango/Makefile
@@ -1,14 +1,14 @@
 PORTNAME=	pango
-PORTVERSION=	1.56.1
+PORTVERSION=	1.56.4
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome
 
 MAINTAINER=	desktop@FreeBSD.org
 COMMENT=	Open-source framework for the layout and rendering of i18n text
-WWW=		https://www.pango.org/
+WWW=		https://www.gtk.org/docs/architecture/pango
 
-LICENSE=	LGPL20
+LICENSE=	LGPL21+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libfreetype.so:print/freetype2 \
@@ -26,6 +26,8 @@ PORTSCOUT=	limit:^1\.[^9]
 
 PLIST_SUB=	LIBVERSION=0.${PORTVERSION:R:E}00.${PORTVERSION:E}
 
+TESTING_UNSAFE=	ERROR:../tests/test-font-data.c:153:test_boxes_font_metrics: assertion failed (metrics->approximate_char_width == boxes_unhinted_metrics.approximate_char_width): (46201 == 49273)
+
 OPTIONS_DEFINE=		DOCS LANG_TH MANPAGES X11
 OPTIONS_DEFAULT=	LANG_TH MANPAGES X11
 OPTIONS_SUB=		yes
diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo
index 8ebe09073e01..3b08cb4e7799 100644
--- a/x11-toolkits/pango/distinfo
+++ b/x11-toolkits/pango/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1737540288
-SHA256 (gnome/pango-1.56.1.tar.xz) = 426be66460c98b8378573e7f6b0b2ab450f6bb6d2ec7cecc33ae81178f246480
-SIZE (gnome/pango-1.56.1.tar.xz) = 1882616
+TIMESTAMP = 1756562922
+SHA256 (gnome/pango-1.56.4.tar.xz) = 17065e2fcc5f5a5bdbffc884c956bfc7c451a96e8c4fb2f8ad837c6413cb5a01
+SIZE (gnome/pango-1.56.4.tar.xz) = 1883988
diff --git a/x11-toolkits/pango/files/patch-tests_fontsets_mono b/x11-toolkits/pango/files/patch-tests_fontsets_mono
deleted file mode 100644
index 5dc01560a02b..000000000000
--- a/x11-toolkits/pango/files/patch-tests_fontsets_mono
+++ /dev/null
@@ -1,28 +0,0 @@
-Fix tests as reported by ${WRKSRC}/_build/meson-logs/testlog.txt
-
-# Contents don't match expected contents
-# --- /tmp/.NT7X02	2025-01-22 06:33:26.361596000 -0500
-# +++ /tmp/.DQ7X02	2025-01-22 06:33:26.361680000 -0500
-# @@ -4,7 +4,7 @@
-#  DejaVu Sans 20
-#  Noto Sans CJK JP 20
-#  Droid Sans Japanese 20
-# -Cantarell 20
-# +Cantarell 20 @wght=400
-#  Amiri 20
-#  DejaVu Sans Bold 20
-#  Font Awesome 5 Free Solid Heavy 20
-# 
-not ok 4 /fontsets/mono
-
---- tests/fontsets/mono.orig	2025-01-18 22:41:03 UTC
-+++ tests/fontsets/mono
-@@ -4,7 +4,7 @@ Droid Sans Japanese 20
- DejaVu Sans 20
- Noto Sans CJK JP 20
- Droid Sans Japanese 20
--Cantarell 20
-+Cantarell 20 @wght=400
- Amiri 20
- DejaVu Sans Bold 20
- Font Awesome 5 Free Solid Heavy 20
diff --git a/x11-toolkits/pango/files/patch-tests_fontsets_mono2 b/x11-toolkits/pango/files/patch-tests_fontsets_mono2
deleted file mode 100644
index 11c02449d261..000000000000
--- a/x11-toolkits/pango/files/patch-tests_fontsets_mono2
+++ /dev/null
@@ -1,28 +0,0 @@
-Fix tests as reported by ${WRKSRC}/_build/meson-logs/testlog.txt
-
-# Contents don't match expected contents
-# --- /tmp/.XSRW02	2025-01-22 06:33:26.302100000 -0500
-# +++ /tmp/.0ORW02	2025-01-22 06:33:26.302186000 -0500
-# @@ -4,7 +4,7 @@
-#  DejaVu Sans 20
-#  Noto Sans CJK JP 20
-#  Droid Sans Japanese 20
-# -Cantarell 20
-# +Cantarell 20 @wght=400
-#  Amiri 20
-#  DejaVu Sans Bold 20
-#  Font Awesome 5 Free Solid Heavy 20
-# 
-not ok 1 /fontsets/mono2
-
---- tests/fontsets/mono2.orig	2025-01-18 22:41:03 UTC
-+++ tests/fontsets/mono2
-@@ -4,7 +4,7 @@ Droid Sans Japanese 20
- DejaVu Sans 20
- Noto Sans CJK JP 20
- Droid Sans Japanese 20
--Cantarell 20
-+Cantarell 20 @wght=400
- Amiri 20
- DejaVu Sans Bold 20
- Font Awesome 5 Free Solid Heavy 20
diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist
index 420b0df49781..46dd11d62ff5 100644
--- a/x11-toolkits/pango/pkg-plist
+++ b/x11-toolkits/pango/pkg-plist
@@ -607,6 +607,7 @@ libdata/pkgconfig/pangoot.pc
 %%DOCS%%share/doc/Pango/method.TabArray.set_tab.html
 %%DOCS%%share/doc/Pango/method.TabArray.sort.html
 %%DOCS%%share/doc/Pango/method.TabArray.to_string.html
+%%DOCS%%share/doc/Pango/opensearch.xml
 %%DOCS%%share/doc/Pango/pango-name.png
 %%DOCS%%share/doc/Pango/pango-list.html
 %%DOCS%%share/doc/Pango/pango-segmentation.html
@@ -802,6 +803,7 @@ libdata/pkgconfig/pangoot.pc
 %%DOCS%%share/doc/PangoCairo/method.FontMap.get_resolution.html
 %%DOCS%%share/doc/PangoCairo/method.FontMap.set_default.html
 %%DOCS%%share/doc/PangoCairo/method.FontMap.set_resolution.html
+%%DOCS%%share/doc/PangoCairo/opensearch.xml
 %%DOCS%%share/doc/PangoCairo/pango-name.png
 %%DOCS%%share/doc/PangoCairo/pango_cairo.html
 %%DOCS%%share/doc/PangoCairo/rotated-text.png
@@ -871,6 +873,7 @@ libdata/pkgconfig/pangoot.pc
 %%DOCS%%share/doc/PangoFT2/method.FontMap.set_default_substitute.html
 %%DOCS%%share/doc/PangoFT2/method.FontMap.set_resolution.html
 %%DOCS%%share/doc/PangoFT2/method.FontMap.substitute_changed.html
+%%DOCS%%share/doc/PangoFT2/opensearch.xml
 %%DOCS%%share/doc/PangoFT2/pango-name.png
 %%DOCS%%share/doc/PangoFT2/search.js
 %%DOCS%%share/doc/PangoFT2/solarized-dark.css
@@ -948,6 +951,7 @@ libdata/pkgconfig/pangoot.pc
 %%DOCS%%share/doc/PangoFc/method.FontMap.set_default_substitute.html
 %%DOCS%%share/doc/PangoFc/method.FontMap.shutdown.html
 %%DOCS%%share/doc/PangoFc/method.FontMap.substitute_changed.html
+%%DOCS%%share/doc/PangoFc/opensearch.xml
 %%DOCS%%share/doc/PangoFc/pango-name.png
 %%DOCS%%share/doc/PangoFc/property.Font.fontmap.html
 %%DOCS%%share/doc/PangoFc/property.Font.pattern.html
@@ -1039,6 +1043,7 @@ libdata/pkgconfig/pangoot.pc
 %%DOCS%%share/doc/PangoOT/method.RulesetDescription.equal.html
 %%DOCS%%share/doc/PangoOT/method.RulesetDescription.free.html
 %%DOCS%%share/doc/PangoOT/method.RulesetDescription.hash.html
+%%DOCS%%share/doc/PangoOT/opensearch.xml
 %%DOCS%%share/doc/PangoOT/pango-name.png
 %%DOCS%%share/doc/PangoOT/search.js
 %%DOCS%%share/doc/PangoOT/solarized-dark.css
@@ -1113,6 +1118,7 @@ libdata/pkgconfig/pangoot.pc
 %%X11%%%%DOCS%%share/doc/PangoXft/method.Font.unlock_face.html
 %%X11%%%%DOCS%%share/doc/PangoXft/method.Renderer.set_default_color.html
 %%X11%%%%DOCS%%share/doc/PangoXft/method.Renderer.set_draw.html
+%%X11%%%%DOCS%%share/doc/PangoXft/opensearch.xml
 %%X11%%%%DOCS%%share/doc/PangoXft/pango-name.png
 %%X11%%%%DOCS%%share/doc/PangoXft/pango_xft.html
 %%X11%%%%DOCS%%share/doc/PangoXft/property.Renderer.display.html