From dd14f79362191b9b3e03ddc495e58eec2cf5f1bb Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Sun, 14 Jun 2026 21:36:26 +0300 Subject: [PATCH] x11-toolkits/pango: Update to 1.57.1 --- x11-toolkits/pango/Makefile | 9 ++++++--- x11-toolkits/pango/distinfo | 6 +++--- x11-toolkits/pango/pkg-plist | 3 +++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/x11-toolkits/pango/Makefile b/x11-toolkits/pango/Makefile index 951696e692d5..15fdeda285bc 100644 --- a/x11-toolkits/pango/Makefile +++ b/x11-toolkits/pango/Makefile @@ -1,6 +1,5 @@ PORTNAME= pango -DISTVERSION= 1.56.4 -PORTREVISION= 1 +DISTVERSION= 1.57.1 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DIST_SUBDIR= gnome @@ -25,7 +24,7 @@ USE_LDCONFIG= yes PORTSCOUT= limit:^1\.[^9] -PLIST_SUB= LIBVERSION=0.${PORTVERSION:R:E}00.${PORTVERSION:E} +PLIST_SUB= LIBVERSION=0.${PORTVERSION:R:E}0${PORTVERSION:E}.0 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) @@ -47,6 +46,10 @@ X11_USES= xorg X11_USE= XORG=x11,xft,xrender X11_MESON_ENABLED= xft +post-patch: + ${REINPLACE_CMD} -e 's|/etc/fonts/fonts.conf|${LOCALBASE}&|' \ + ${WRKSRC}/tests/meson.build + pre-test: # Don't test backup files. Silly Meson. @${FIND} ${WRKSRC}/tests/fontsets/ -name "*.orig" -delete diff --git a/x11-toolkits/pango/distinfo b/x11-toolkits/pango/distinfo index 3b08cb4e7799..34556f6f92f9 100644 --- a/x11-toolkits/pango/distinfo +++ b/x11-toolkits/pango/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1756562922 -SHA256 (gnome/pango-1.56.4.tar.xz) = 17065e2fcc5f5a5bdbffc884c956bfc7c451a96e8c4fb2f8ad837c6413cb5a01 -SIZE (gnome/pango-1.56.4.tar.xz) = 1883988 +TIMESTAMP = 1781435904 +SHA256 (gnome/pango-1.57.1.tar.xz) = e65d6d117080dc3aeeb7d8b4b3b518f7383aa2e6cfce23117c623cd624764c2f +SIZE (gnome/pango-1.57.1.tar.xz) = 2588416 diff --git a/x11-toolkits/pango/pkg-plist b/x11-toolkits/pango/pkg-plist index 46dd11d62ff5..224a50232719 100644 --- a/x11-toolkits/pango/pkg-plist +++ b/x11-toolkits/pango/pkg-plist @@ -161,6 +161,7 @@ libdata/pkgconfig/pangoot.pc %%DOCS%%share/doc/Pango/enum.CoverageLevel.html %%DOCS%%share/doc/Pango/enum.Direction.html %%DOCS%%share/doc/Pango/enum.EllipsizeMode.html +%%DOCS%%share/doc/Pango/enum.FontColor.html %%DOCS%%share/doc/Pango/enum.FontScale.html %%DOCS%%share/doc/Pango/enum.Gravity.html %%DOCS%%share/doc/Pango/enum.GravityHint.html @@ -365,6 +366,7 @@ libdata/pkgconfig/pangoot.pc %%DOCS%%share/doc/Pango/method.FontDescription.copy_static.html %%DOCS%%share/doc/Pango/method.FontDescription.equal.html %%DOCS%%share/doc/Pango/method.FontDescription.free.html +%%DOCS%%share/doc/Pango/method.FontDescription.get_color.html %%DOCS%%share/doc/Pango/method.FontDescription.get_family.html %%DOCS%%share/doc/Pango/method.FontDescription.get_features.html %%DOCS%%share/doc/Pango/method.FontDescription.get_gravity.html @@ -380,6 +382,7 @@ libdata/pkgconfig/pangoot.pc %%DOCS%%share/doc/Pango/method.FontDescription.merge.html %%DOCS%%share/doc/Pango/method.FontDescription.merge_static.html %%DOCS%%share/doc/Pango/method.FontDescription.set_absolute_size.html +%%DOCS%%share/doc/Pango/method.FontDescription.set_color.html %%DOCS%%share/doc/Pango/method.FontDescription.set_family.html %%DOCS%%share/doc/Pango/method.FontDescription.set_family_static.html %%DOCS%%share/doc/Pango/method.FontDescription.set_features.html