mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
ui: highres logo for sdl and gtk, bugfixes for vnc and egl.
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJcRdMbAAoJEEy22O7T6HE4wLwQAMncybVlGwPi+1+8qyzOKFJU pKWpqVj0lt5Pfl/7ChwOeZ9TieMs0M+A/8Bw98QYTWrjXUiEAbi+p2NjF9EHdZqI FfU6q1dGQGrfdOBRu+ep5WT3um0vQ4F+D0bCttlq0bIAjLi5cj3dfbHViiHLtjMD yRSoCwy899kAFusCPKXsreXjygvdUFN/7IFVMj4r1Sr2p23hgZ62d7jxUrK1pdez 450kaXmiZZysv9zJiXZ0dRQQ0cr5jYvUqqWgkS1DuSMBju21LASWfRvD9TWWt2/X O7B8pXSpuTMcFoAzXznVv472fh3Ftb8bTXjtJBXE9XslxIGG6xSZ8Qq5ID6w2ofw Ki8vRxVg8lrDh/Glky3Vvvb94AnsII2SLs05O3M8KKDOtn6tB0aZCHDpJnHlFJuY xAYUvkKTyZdjfwwkQy2VLTkXTz73ZaHeIy29raqTUzAoh+ioj96OaOCY5nmf81Tq q+bETkp0EqwF4fslHt/vzHKWp+lXfkWL88VY/Z4TETqd8fqypPkkysBV0XeFZMga HjJ33LRaITqTSQl/qQ8i/s5yX9RVyWTcVZsuqOCAYtNLCV8Pc/AHsCUda9SMu7Ub WnSrq4OMkixZ2ez+ZH0uDt+TZk20cC0RlhC33nJED5ZsRWX9c0ben39BaAHqn6S8 1giOMF4NG5feJKxeUeEL =spwT -----END PGP SIGNATURE----- Merge remote-tracking branch 'remotes/kraxel/tags/ui-20190121-pull-request' into staging ui: highres logo for sdl and gtk, bugfixes for vnc and egl. # gpg: Signature made Mon 21 Jan 2019 14:11:39 GMT # gpg: using RSA key 4CB6D8EED3E87138 # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" # gpg: aka "Gerd Hoffmann <gerd@kraxel.org>" # gpg: aka "Gerd Hoffmann (private) <kraxel@gmail.com>" # Primary key fingerprint: A032 8CFF B93A 17A7 9901 FE7D 4CB6 D8EE D3E8 7138 * remotes/kraxel/tags/ui-20190121-pull-request: egl-helpers.h: do not depend on X11 Window type, use EGLNativeWindowType vnc: detect and optimize pageflips sdl: add support for high resolution window icon ui: fix icon display for GTK frontend under GNOME Shell with Wayland ui: install logo icons to $prefix/share/icons Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
commit
f6b06fccee
22 changed files with 131 additions and 30 deletions
47
configure
vendored
47
configure
vendored
|
@ -349,6 +349,7 @@ fdt=""
|
|||
netmap="no"
|
||||
sdl=""
|
||||
sdlabi=""
|
||||
sdl_image=""
|
||||
virtfs=""
|
||||
mpath=""
|
||||
vnc="yes"
|
||||
|
@ -1045,6 +1046,10 @@ for opt do
|
|||
;;
|
||||
--with-sdlabi=*) sdlabi="$optarg"
|
||||
;;
|
||||
--disable-sdl-image) sdl_image="no"
|
||||
;;
|
||||
--enable-sdl-image) sdl_image="yes"
|
||||
;;
|
||||
--disable-qom-cast-debug) qom_cast_debug="no"
|
||||
;;
|
||||
--enable-qom-cast-debug) qom_cast_debug="yes"
|
||||
|
@ -1707,6 +1712,7 @@ disabled with --disable-FEATURE, default is enabled if available:
|
|||
gcrypt libgcrypt cryptography support
|
||||
sdl SDL UI
|
||||
--with-sdlabi select preferred SDL ABI 1.2 or 2.0
|
||||
sdl_image SDL Image support for icons
|
||||
gtk gtk UI
|
||||
vte vte support for the gtk UI
|
||||
curses curses UI
|
||||
|
@ -3008,10 +3014,43 @@ EOF
|
|||
fi # sdl compile test
|
||||
}
|
||||
|
||||
sdl_image_probe ()
|
||||
{
|
||||
if test "$sdl_image" != "no" ; then
|
||||
if $pkg_config SDL2_image --exists; then
|
||||
if test "$static" = "yes"; then
|
||||
sdl_image_libs=$($pkg_config SDL2_image --libs --static 2>/dev/null)
|
||||
else
|
||||
sdl_image_libs=$($pkg_config SDL2_image --libs 2>/dev/null)
|
||||
fi
|
||||
sdl_image_cflags=$($pkg_config SDL2_image --cflags 2>/dev/null)
|
||||
sdl_image=yes
|
||||
|
||||
sdl_cflags="$sdl_cflags $sdl_image_cflags"
|
||||
sdl_libs="$sdl_libs $sdl_image_libs"
|
||||
else
|
||||
if test "$sdl_image" = "yes" ; then
|
||||
feature_not_found "sdl_image" "Install SDL Image devel"
|
||||
else
|
||||
sdl_image=no
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
if test "$sdl" != "no" ; then
|
||||
sdl_probe
|
||||
fi
|
||||
|
||||
if test "$sdl" = "yes" ; then
|
||||
sdl_image_probe
|
||||
else
|
||||
if test "$sdl_image" = "yes"; then
|
||||
echo "warning: SDL Image requested, but SDL is not available, disabling"
|
||||
fi
|
||||
sdl_image=no
|
||||
fi
|
||||
|
||||
if test "$sdl" = "yes" ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <SDL.h>
|
||||
|
@ -5751,6 +5790,8 @@ qemu_confdir=$sysconfdir$confsuffix
|
|||
qemu_moddir=$libdir$confsuffix
|
||||
qemu_datadir=$datadir$confsuffix
|
||||
qemu_localedir="$datadir/locale"
|
||||
qemu_icondir="$datadir/icons"
|
||||
qemu_desktopdir="$datadir/applications"
|
||||
|
||||
# We can only support ivshmem if we have eventfd
|
||||
if [ "$eventfd" = "yes" ]; then
|
||||
|
@ -6037,6 +6078,7 @@ if test "$darwin" = "yes" ; then
|
|||
echo "Cocoa support $cocoa"
|
||||
fi
|
||||
echo "SDL support $sdl $(echo_version $sdl $sdlversion)"
|
||||
echo "SDL image support $sdl_image"
|
||||
echo "GTK support $gtk $(echo_version $gtk $gtk_version)"
|
||||
echo "GTK GL support $gtk_gl"
|
||||
echo "VTE support $vte $(echo_version $vte $vteversion)"
|
||||
|
@ -6220,6 +6262,8 @@ if test "$mingw32" = "no" ; then
|
|||
fi
|
||||
echo "qemu_helperdir=$libexecdir" >> $config_host_mak
|
||||
echo "qemu_localedir=$qemu_localedir" >> $config_host_mak
|
||||
echo "qemu_icondir=$qemu_icondir" >> $config_host_mak
|
||||
echo "qemu_desktopdir=$qemu_desktopdir" >> $config_host_mak
|
||||
echo "libs_softmmu=$libs_softmmu" >> $config_host_mak
|
||||
echo "GIT=$git" >> $config_host_mak
|
||||
echo "GIT_SUBMODULES=$git_submodules" >> $config_host_mak
|
||||
|
@ -6374,6 +6418,9 @@ if test "$sdl" = "yes" ; then
|
|||
echo "CONFIG_SDLABI=$sdlabi" >> $config_host_mak
|
||||
echo "SDL_CFLAGS=$sdl_cflags" >> $config_host_mak
|
||||
echo "SDL_LIBS=$sdl_libs" >> $config_host_mak
|
||||
if test "$sdl_image" = "yes" ; then
|
||||
echo "CONFIG_SDL_IMAGE=y" >> $config_host_mak
|
||||
fi
|
||||
fi
|
||||
if test "$cocoa" = "yes" ; then
|
||||
echo "CONFIG_COCOA=y" >> $config_host_mak
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue