summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/ptest-packagelists.inc1
-rw-r--r--meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch45
-rw-r--r--meta/recipes-graphics/pango/pango/run-ptest6
-rw-r--r--meta/recipes-graphics/pango/pango_1.54.0.bb (renamed from meta/recipes-graphics/pango/pango_1.52.2.bb)20
4 files changed, 3 insertions, 69 deletions
diff --git a/meta/conf/distro/include/ptest-packagelists.inc b/meta/conf/distro/include/ptest-packagelists.inc
index d7d711383c..16d7b9e6b2 100644
--- a/meta/conf/distro/include/ptest-packagelists.inc
+++ b/meta/conf/distro/include/ptest-packagelists.inc
@@ -53,7 +53,6 @@ PTESTS_FAST = "\
53 m4 \ 53 m4 \
54 nettle \ 54 nettle \
55 opkg \ 55 opkg \
56 pango \
57 popt \ 56 popt \
58 python3-atomicwrites \ 57 python3-atomicwrites \
59 python3-attrs \ 58 python3-attrs \
diff --git a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch b/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
deleted file mode 100644
index ec7fb4727e..0000000000
--- a/meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch
+++ /dev/null
@@ -1,45 +0,0 @@
1From b9bfe3a79f165682a6db3d7ee1928365e93b1ccf Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 13 Apr 2022 19:39:29 -0700
4Subject: [PATCH] Skip running test-layout test
5
6This fails intermittently, it varies based on what version of harfbuzz
7is installed and if it does not match with what pango CI tests then we
8get random failures in this test. This has been disabled in other
9distros [1] too
10
11We want to drop this on next upgrade and see if this test passes if not
12then keep it disabled
13
14Fixes
15
16Running test: pango/test-layout.test
171..36
18ok 1 /layout/letterspacing.layout
19ok 2 /layout/valid-7.layout
20not ok 3 /layout/valid-14.layout
21Bail out!
22FAIL: pango/test-layout.test (Child process killed by signal 6)
23
24[1] https://github.com/archlinux/svntogit-packages/commit/3f883e7ff8071adad23b6bcc0ba4b995aff10d52
25
26Upstream-Status: Inappropriate [bugfix https://gitlab.gnome.org/GNOME/pango/-/issues/677]
27Signed-off-by: Khem Raj <raj.khem@gmail.com>
28---
29 tests/test-layout.c | 2 +-
30 1 file changed, 1 insertion(+), 1 deletion(-)
31
32diff --git a/tests/test-layout.c b/tests/test-layout.c
33index 1139e4f..b47a066 100644
34--- a/tests/test-layout.c
35+++ b/tests/test-layout.c
36@@ -222,5 +222,5 @@ main (int argc, char *argv[])
37 }
38 g_dir_close (dir);
39
40- return g_test_run ();
41+ return 77;
42 }
43--
442.35.2
45
diff --git a/meta/recipes-graphics/pango/pango/run-ptest b/meta/recipes-graphics/pango/pango/run-ptest
deleted file mode 100644
index e1fab050ef..0000000000
--- a/meta/recipes-graphics/pango/pango/run-ptest
+++ /dev/null
@@ -1,6 +0,0 @@
1#! /bin/sh
2
3# workaround for https://gitlab.gnome.org/GNOME/pango/-/issues/668
4mkdir -p /usr/share/fonts/pango-private
5cp -rf /usr/libexec/installed-tests/pango/fonts/* /usr/share/fonts/pango-private
6gnome-desktop-testing-runner pango
diff --git a/meta/recipes-graphics/pango/pango_1.52.2.bb b/meta/recipes-graphics/pango/pango_1.54.0.bb
index 4f748e6554..de6f8bb361 100644
--- a/meta/recipes-graphics/pango/pango_1.52.2.bb
+++ b/meta/recipes-graphics/pango/pango_1.54.0.bb
@@ -11,42 +11,28 @@ LICENSE = "LGPL-2.0-or-later"
11 11
12LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 12LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
13 13
14 14inherit gnomebase gi-docgen upstream-version-is-even gobject-introspection
15inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even gobject-introspection
16 15
17UPSTREAM_CHECK_REGEX = "pango-(?P<pver>\d+\.(?!9\d+)\d+\.\d+)" 16UPSTREAM_CHECK_REGEX = "pango-(?P<pver>\d+\.(?!9\d+)\d+\.\d+)"
18 17
19GIR_MESON_ENABLE_FLAG = "enabled" 18GIR_MESON_ENABLE_FLAG = "enabled"
20GIR_MESON_DISABLE_FLAG = "disabled" 19GIR_MESON_DISABLE_FLAG = "disabled"
21 20
22SRC_URI += "file://run-ptest \ 21SRC_URI[archive.sha256sum] = "8a9eed75021ee734d7fc0fdf3a65c3bba51dfefe4ae51a9b414a60c70b2d1ed8"
23 file://0001-Skip-running-test-layout-test.patch \
24 "
25
26SRC_URI[archive.sha256sum] = "d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b"
27 22
28DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi" 23DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi"
29 24
30PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ 25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
31 ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
32 26
33PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" 27PACKAGECONFIG[x11] = ",,virtual/libx11 libxft"
34PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false"
35PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai" 28PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai"
36 29
37GIR_MESON_OPTION = 'introspection' 30GIR_MESON_OPTION = 'introspection'
38 31
39do_configure:prepend() {
40 chmod +x ${S}/tests/*.py
41}
42
43LEAD_SONAME = "libpango-1.0*" 32LEAD_SONAME = "libpango-1.0*"
44 33
45FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" 34FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}"
46 35
47RDEPENDS:${PN}-ptest += "cantarell-fonts"
48RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us"
49
50RPROVIDES:${PN} += "pango-modules pango-module-indic-lang \ 36RPROVIDES:${PN} += "pango-modules pango-module-indic-lang \
51 pango-module-basic-fc pango-module-arabic-lang" 37 pango-module-basic-fc pango-module-arabic-lang"
52 38