diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-11-10 19:12:31 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-11 13:43:40 +0000 |
commit | cf3fbfe04e83813211178e2e5dd5369d3f851cc5 (patch) | |
tree | e30b490065e1f9004f4df338958f6e2964edf877 /meta/recipes-graphics/pango | |
parent | 48abeedd63f0e3bc295bc910c7a34cd0da599001 (diff) | |
download | poky-cf3fbfe04e83813211178e2e5dd5369d3f851cc5.tar.gz |
pango: replace a recipe fix with an upstream submitted patch
(From OE-Core rev: f444e01e0230904510f50d1b093d75253faf1bca)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/pango')
-rw-r--r-- | meta/recipes-graphics/pango/pango/0001-tests-meson.build-install-nofonts-fonts.conf-as-it-i.patch | 35 | ||||
-rw-r--r-- | meta/recipes-graphics/pango/pango_1.50.11.bb | 13 |
2 files changed, 38 insertions, 10 deletions
diff --git a/meta/recipes-graphics/pango/pango/0001-tests-meson.build-install-nofonts-fonts.conf-as-it-i.patch b/meta/recipes-graphics/pango/pango/0001-tests-meson.build-install-nofonts-fonts.conf-as-it-i.patch new file mode 100644 index 0000000000..8dacd62138 --- /dev/null +++ b/meta/recipes-graphics/pango/pango/0001-tests-meson.build-install-nofonts-fonts.conf-as-it-i.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 13f8ba5d5b699df1f88eeea859406daba6d6941f Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Tue, 8 Nov 2022 18:08:51 +0100 | ||
4 | Subject: [PATCH] tests/meson.build: install nofonts/fonts.conf as it is | ||
5 | required by tests | ||
6 | |||
7 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/pango/-/merge_requests/654] | ||
8 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
9 | --- | ||
10 | tests/meson.build | 5 +++++ | ||
11 | 1 file changed, 5 insertions(+) | ||
12 | |||
13 | diff --git a/tests/meson.build b/tests/meson.build | ||
14 | index 8b4bfa38..6c1c461b 100644 | ||
15 | --- a/tests/meson.build | ||
16 | +++ b/tests/meson.build | ||
17 | @@ -250,6 +250,10 @@ foreach d: test_items_data | ||
18 | installed_test_items_data += d + '.expected' | ||
19 | endforeach | ||
20 | |||
21 | +installed_test_nofonts_data = [ | ||
22 | + 'nofonts/fonts.conf', | ||
23 | +] | ||
24 | + | ||
25 | installed_test_datadir = join_paths(pango_datadir, 'installed-tests', 'pango') | ||
26 | installed_test_bindir = join_paths(pango_libexecdir, 'installed-tests', 'pango') | ||
27 | |||
28 | @@ -261,6 +265,7 @@ if get_option('install-tests') | ||
29 | install_data(installed_test_breaks_data, install_dir: join_paths(installed_test_bindir, 'breaks')) | ||
30 | install_data(installed_test_items_data, install_dir: join_paths(installed_test_bindir, 'itemize')) | ||
31 | install_data(installed_test_fontsets_data, install_dir: join_paths(installed_test_bindir, 'fontsets')) | ||
32 | + install_data(installed_test_nofonts_data, install_dir: join_paths(installed_test_bindir, 'nofonts')) | ||
33 | endif | ||
34 | |||
35 | gen_installed_test = files([ 'gen-installed-test.py' ]) | ||
diff --git a/meta/recipes-graphics/pango/pango_1.50.11.bb b/meta/recipes-graphics/pango/pango_1.50.11.bb index f982d9a65b..6f599f5b78 100644 --- a/meta/recipes-graphics/pango/pango_1.50.11.bb +++ b/meta/recipes-graphics/pango/pango_1.50.11.bb | |||
@@ -21,8 +21,9 @@ GIR_MESON_ENABLE_FLAG = "enabled" | |||
21 | GIR_MESON_DISABLE_FLAG = "disabled" | 21 | GIR_MESON_DISABLE_FLAG = "disabled" |
22 | 22 | ||
23 | SRC_URI += "file://run-ptest \ | 23 | SRC_URI += "file://run-ptest \ |
24 | file://0001-Skip-running-test-layout-test.patch \ | 24 | file://0001-Skip-running-test-layout-test.patch \ |
25 | " | 25 | file://0001-tests-meson.build-install-nofonts-fonts.conf-as-it-i.patch \ |
26 | " | ||
26 | 27 | ||
27 | SRC_URI[archive.sha256sum] = "8800f812d89ee61388188703203f3a7878963c22f8695aaf1fa0a1a1428d17ae" | 28 | SRC_URI[archive.sha256sum] = "8800f812d89ee61388188703203f3a7878963c22f8695aaf1fa0a1a1428d17ae" |
28 | 29 | ||
@@ -41,14 +42,6 @@ do_configure:prepend() { | |||
41 | chmod +x ${S}/tests/*.py | 42 | chmod +x ${S}/tests/*.py |
42 | } | 43 | } |
43 | 44 | ||
44 | # https://gitlab.gnome.org/GNOME/pango/-/issues/713 | ||
45 | do_install:append() { | ||
46 | if [ "${@bb.utils.filter('PACKAGECONFIG', 'tests', d)}" ]; then | ||
47 | mkdir -p ${D}${libexecdir}/installed-tests/pango/nofonts | ||
48 | install ${S}/tests/nofonts/fonts.conf ${D}${libexecdir}/installed-tests/pango/nofonts | ||
49 | fi | ||
50 | } | ||
51 | |||
52 | LEAD_SONAME = "libpango-1.0*" | 45 | LEAD_SONAME = "libpango-1.0*" |
53 | 46 | ||
54 | FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" | 47 | FILES:${PN} = "${bindir}/* ${libdir}/libpango*${SOLIBS}" |