[langdale 10/37] pango: upgrade 1.50.10 -> 1.50.11


Steve Sakoman
 

From: Alexander Kanavin <alex.kanavin@...>

Overview of changes in 1.50.11, 03-10-2022
==========================================
- Don't crash for lack of fonts
- Avoid a crash in shaping

Signed-off-by: Alexander Kanavin <alex@...>
Signed-off-by: Alexandre Belloni <alexandre.belloni@...>
(cherry picked from commit a330e75f90841cd230180d8a9b37e58d7d69c495)
Signed-off-by: Steve Sakoman <steve@...>
---
.../pango/{pango_1.50.10.bb => pango_1.50.11.bb} | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
rename meta/recipes-graphics/pango/{pango_1.50.10.bb => pango_1.50.11.bb} (84%)

diff --git a/meta/recipes-graphics/pango/pango_1.50.10.bb b/meta/recipes-graphics/pango/pango_1.50.11.bb
similarity index 84%
rename from meta/recipes-graphics/pango/pango_1.50.10.bb
rename to meta/recipes-graphics/pango/pango_1.50.11.bb
index 95209889a8..f545689811 100644
--- a/meta/recipes-graphics/pango/pango_1.50.10.bb
+++ b/meta/recipes-graphics/pango/pango_1.50.11.bb
@@ -24,7 +24,7 @@ SRC_URI += "file://run-ptest \
file://0001-Skip-running-test-layout-test.patch \
"

-SRC_URI[archive.sha256sum] = "7e5d2f1e40854d24a9a2c4d093bafe75dcdbeccdf1de43e4437332eabed64966"
+SRC_URI[archive.sha256sum] = "8800f812d89ee61388188703203f3a7878963c22f8695aaf1fa0a1a1428d17ae"

DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi"

@@ -41,6 +41,12 @@ do_configure:prepend() {
chmod +x ${S}/tests/*.py
}

+# https://gitlab.gnome.org/GNOME/pango/-/issues/713
+do_install:append() {
+ mkdir -p ${D}/${libexecdir}/installed-tests/pango/nofonts/
+ install ${S}/tests/nofonts/fonts.conf ${D}/${libexecdir}/installed-tests/pango/nofonts/
+}
+
LEAD_SONAME = "libpango-1.0*"

FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"
--
2.25.1