From 65186bd86170d8c375931a18487c2fdf3bd1b3b0 Mon Sep 17 00:00:00 2001 From: Xiaofeng Yan Date: Thu, 12 Jan 2012 15:39:57 +0800 Subject: pango.inc: add directory "/etc/pango" Command "pango-querymodules > /etc/pango/pango.modules" can't work when \ starting up yocto because of no directory "/etc/pango". It will cause \ messy code when gtk-demo running. [YOCTO #1900] [RP: PR bump] Signed-off-by: Xiaofeng Yan --- meta/recipes-graphics/pango/pango.inc | 6 +++++- meta/recipes-graphics/pango/pango_1.28.4.bb | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc index b428b9df06..5a2555f11f 100644 --- a/meta/recipes-graphics/pango/pango.inc +++ b/meta/recipes-graphics/pango/pango.inc @@ -46,6 +46,11 @@ fi } +# Command "pango-querymodules > /etc/pango/pango.modules" needs this directory. +do_install_prepend() { + install -d ${D}/${sysconfdir}/pango +} + python populate_packages_prepend () { prologue = d.getVar("postinst_prologue", 1) @@ -54,6 +59,5 @@ python populate_packages_prepend () { do_split_packages(d, modules_root, '^pango-(.*)\.so$', 'pango-module-%s', 'Pango module %s', prologue + 'pango-querymodules > /etc/pango/pango.modules') } -FILES_${PN} = "/etc/pango/* ${bindir}/* ${libdir}/libpango*${SOLIBS}" FILES_${PN}-dbg += "${libdir}/pango/${LIBV}/modules/.debug" FILES_${PN}-dev += "${libdir}/pango/${LIBV}/modules/*.la" diff --git a/meta/recipes-graphics/pango/pango_1.28.4.bb b/meta/recipes-graphics/pango/pango_1.28.4.bb index d7af871ce3..d2776a6700 100644 --- a/meta/recipes-graphics/pango/pango_1.28.4.bb +++ b/meta/recipes-graphics/pango/pango_1.28.4.bb @@ -2,7 +2,7 @@ require pango.inc LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" -PR = "r3" +PR = "r4" SRC_URI += "file://no-tests.patch" SRC_URI += "file://noconst.patch" -- cgit v1.2.3