]> 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, 8 Feb 2019 14:45:49 +0000 (15:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Feb 2019 16:05:49 +0000 (16:05 +0000)
commit0e6c09442a05728a8c3f367fba3cc7e3b5774f83
tree3d706169ac27a3c24e384553066284813039cbf3
parentba487300ce5dc1431c7d27cf384b542945ad6160
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