]> code.ossystems Code Review - openembedded-core.git/commit
qemu: add environment variable wrappers to make qemu look good with gtk frontend
authorAlexander Kanavin <alex.kanavin@gmail.com>
Fri, 22 Feb 2019 14:33:43 +0000 (15:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Feb 2019 10:56:07 +0000 (10:56 +0000)
commitd5b8a65861adba298a9dc2c4e9a7a7da5490073a
treed61331f95d48493fd78da239595b781a6663df88
parent01324f5e741a106cdb4b2989379f71b0b727a224
qemu: add environment variable wrappers to make qemu look good with gtk frontend

GTK_THEME instructs gtk to use its built-in theme. Otherwise
gtk attempts to use the theme from the host, which may be from
a totally mismatching gtk version.

On the other hand FONTCONFIG_PATH tells it to use the host fonts,
as providing fonts in the native sysroot and instructing the components
to use them is a lot more tricky.

GDK_PIXBUF_MODULE_FILE is set, because otherwise qemu works but
fills stdout with error messages, which eventually fill the pipe
they go into. That pipe is read from only when qemu exits (to
collect any error messages) by runqemu script. The pipe fill-up
causes the qemu process to lock up.

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc