Skip to contentSkip to conversation

Fix fontconfig buildpaths QA check issue

PATCH New Kai Kang 1 participant 2 messages Jul 16, 2015

lore
Share & tools
lore

Kai Kang

author
#0 lore raw

cover Fix fontconfig buildpaths QA check issue

There is another buildpaths issue about fontconfig/usr/lib64/libfontconfig.so.1.9.0. It should be fixed by patch of insane.bbclass from Robert.

The following changes since commit a15b26de4b407726d3ba9bd1e888b2f1d2c586f5:

dbus-ptest: set INSANE_SKIP for build-deps (2015-07-13 13:48:52 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib kangkai/fontconfig
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=kangkai/fontconfig

Kai Kang (1):
fontconfig: fix buildpaths QA check

 meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/1 fontconfig: fix buildpaths QA check

Variable Libs.private contains build path in file fontconfig.pc. It fails buildpaths check and that is not the right value when use pkg-config with option '--static'.

Remove build path from fontconfig.pc to fix it.

---
 meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-graphics/fontconfig/fontconfig_2.11.93.bb +4 -0
index e024adb..081ce1f 100644
@@ -43,3 +43,7 @@ FONTCONFIG_CACHE_DIR ?= "${localstatedir}/cache/fontconfig"
 EXTRA_OECONF = " --disable-docs --with-default-fonts=${datadir}/fonts --with-cache-dir=${FONTCONFIG_CACHE_DIR}"
 
 BBCLASSEXTEND = "native"
+
+do_install_append() {
+    sed -i 's,${STAGING_DIR_HOST},,g' ${D}${libdir}/pkgconfig/fontconfig.pc
+}
Signature · 1 line
1.9.1