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] (From OE-Core rev: 65186bd86170d8c375931a18487c2fdf3bd1b3b0) Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e2948feae8
commit
094118031c
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue