diff options
| author | Mikko Rapeli <mikko.rapeli@linaro.org> | 2025-09-24 14:32:14 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-25 11:09:04 +0100 |
| commit | 0068ff98105a8128a4cc1d1f4d33d195a23dcb50 (patch) | |
| tree | 9779e4c37aa6339ad1ac4712bbb40cebc4578628 | |
| parent | 52db4985e5c07aa84acdcf4000db3c2345fd4f3f (diff) | |
| download | poky-0068ff98105a8128a4cc1d1f4d33d195a23dcb50.tar.gz | |
fontconfig: disable tests
The tests require json-c library which is not explicit in build
dependencies:
../sources/fontconfig-2.17.1/test/test-conf.c:27:10: fatal error:
json.h: No such file or directory
27 | #include <json.h>
The tests are not used so just disable them.
(From OE-Core rev: 0d039d959c51f3402631014139c4d6208416b1b7)
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb b/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb index 22bdfb139c..de2642bdd1 100644 --- a/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb +++ b/meta/recipes-graphics/fontconfig/fontconfig_2.17.1.bb | |||
| @@ -65,6 +65,12 @@ FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig" | |||
| 65 | # /usr/share/fonts is already included by default (you can change it with --with-default-fonts) | 65 | # /usr/share/fonts is already included by default (you can change it with --with-default-fonts) |
| 66 | FONTCONFIG_FONT_DIRS ?= "no" | 66 | FONTCONFIG_FONT_DIRS ?= "no" |
| 67 | 67 | ||
| 68 | EXTRA_OEMESON = " -Ddoc=disabled -Ddefault-fonts-dirs=${datadir}/fonts -Dcache-dir=${FONTCONFIG_CACHE_DIR} -Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS}" | 68 | EXTRA_OEMESON = "\ |
| 69 | -Dadditional-fonts-dirs=${FONTCONFIG_FONT_DIRS} \ | ||
| 70 | -Dcache-dir=${FONTCONFIG_CACHE_DIR} \ | ||
| 71 | -Ddefault-fonts-dirs=${datadir}/fonts \ | ||
| 72 | -Ddoc=disabled \ | ||
| 73 | -Dtests=disabled \ | ||
| 74 | " | ||
| 69 | 75 | ||
| 70 | BBCLASSEXTEND = "native nativesdk" | 76 | BBCLASSEXTEND = "native nativesdk" |
