diff options
-rw-r--r-- | meta/conf/distro/include/ptest-packagelists.inc | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango/0001-Skip-running-test-layout-test.patch | 45 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango/run-ptest | 6 | ||||
-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 @@ | |||
1 | From b9bfe3a79f165682a6db3d7ee1928365e93b1ccf Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 13 Apr 2022 19:39:29 -0700 | ||
4 | Subject: [PATCH] Skip running test-layout test | ||
5 | |||
6 | This fails intermittently, it varies based on what version of harfbuzz | ||
7 | is installed and if it does not match with what pango CI tests then we | ||
8 | get random failures in this test. This has been disabled in other | ||
9 | distros [1] too | ||
10 | |||
11 | We want to drop this on next upgrade and see if this test passes if not | ||
12 | then keep it disabled | ||
13 | |||
14 | Fixes | ||
15 | |||
16 | Running test: pango/test-layout.test | ||
17 | 1..36 | ||
18 | ok 1 /layout/letterspacing.layout | ||
19 | ok 2 /layout/valid-7.layout | ||
20 | not ok 3 /layout/valid-14.layout | ||
21 | Bail out! | ||
22 | FAIL: pango/test-layout.test (Child process killed by signal 6) | ||
23 | |||
24 | [1] https://github.com/archlinux/svntogit-packages/commit/3f883e7ff8071adad23b6bcc0ba4b995aff10d52 | ||
25 | |||
26 | Upstream-Status: Inappropriate [bugfix https://gitlab.gnome.org/GNOME/pango/-/issues/677] | ||
27 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
28 | --- | ||
29 | tests/test-layout.c | 2 +- | ||
30 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
31 | |||
32 | diff --git a/tests/test-layout.c b/tests/test-layout.c | ||
33 | index 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 | -- | ||
44 | 2.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 | ||
4 | mkdir -p /usr/share/fonts/pango-private | ||
5 | cp -rf /usr/libexec/installed-tests/pango/fonts/* /usr/share/fonts/pango-private | ||
6 | gnome-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 | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" |
13 | 13 | ||
14 | 14 | inherit gnomebase gi-docgen upstream-version-is-even gobject-introspection | |
15 | inherit gnomebase gi-docgen ptest-gnome upstream-version-is-even gobject-introspection | ||
16 | 15 | ||
17 | UPSTREAM_CHECK_REGEX = "pango-(?P<pver>\d+\.(?!9\d+)\d+\.\d+)" | 16 | UPSTREAM_CHECK_REGEX = "pango-(?P<pver>\d+\.(?!9\d+)\d+\.\d+)" |
18 | 17 | ||
19 | GIR_MESON_ENABLE_FLAG = "enabled" | 18 | GIR_MESON_ENABLE_FLAG = "enabled" |
20 | GIR_MESON_DISABLE_FLAG = "disabled" | 19 | GIR_MESON_DISABLE_FLAG = "disabled" |
21 | 20 | ||
22 | SRC_URI += "file://run-ptest \ | 21 | SRC_URI[archive.sha256sum] = "8a9eed75021ee734d7fc0fdf3a65c3bba51dfefe4ae51a9b414a60c70b2d1ed8" |
23 | file://0001-Skip-running-test-layout-test.patch \ | ||
24 | " | ||
25 | |||
26 | SRC_URI[archive.sha256sum] = "d0076afe01082814b853deec99f9349ece5f2ce83908b8e58ff736b41f78a96b" | ||
27 | 22 | ||
28 | DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi" | 23 | DEPENDS = "glib-2.0 glib-2.0-native fontconfig freetype virtual/libiconv cairo harfbuzz fribidi" |
29 | 24 | ||
30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
31 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
32 | 26 | ||
33 | PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" | 27 | PACKAGECONFIG[x11] = ",,virtual/libx11 libxft" |
34 | PACKAGECONFIG[tests] = "-Dinstall-tests=true, -Dinstall-tests=false" | ||
35 | PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai" | 28 | PACKAGECONFIG[thai] = "-Dlibthai=enabled,-Dlibthai=disabled,libthai" |
36 | 29 | ||
37 | GIR_MESON_OPTION = 'introspection' | 30 | GIR_MESON_OPTION = 'introspection' |
38 | 31 | ||
39 | do_configure:prepend() { | ||
40 | chmod +x ${S}/tests/*.py | ||
41 | } | ||
42 | |||
43 | LEAD_SONAME = "libpango-1.0*" | 32 | LEAD_SONAME = "libpango-1.0*" |
44 | 33 | ||
45 | FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" | 34 | FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" |
46 | 35 | ||
47 | RDEPENDS:${PN}-ptest += "cantarell-fonts" | ||
48 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-en-us" | ||
49 | |||
50 | RPROVIDES:${PN} += "pango-modules pango-module-indic-lang \ | 36 | RPROVIDES:${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 | ||