ui: install logo icons to $prefix/share/icons
commita8260d3876389eb52ca5c62ed4d80cdb7e025c85
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 10 Jan 2019 12:00:45 +0000 (10 12:00 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 21 Jan 2019 08:43:13 +0000 (21 09:43 +0100)
treeacf70c8ec9214f7c7560c180fbbc531ad75c830d
parent681d61362d3f766a00806b89d6581869041f73cb
ui: install logo icons to $prefix/share/icons

QEMU currently installs logos to $prefix/share/qemu/ which means no GUI
toolkit or applications can find them by default.

The accepted standards for desktop applications declare that application
logos / icons should be installed under $prefix/share/icons, so use this
directory location.

Pre-rendered icons are provided at the standard sizes expected for GUI
applications, along with the scalable SVG, to ensure maximum portability.

The PNGs are rendered from the SVG using inkscape, however, this is not
wired up into the default make rules to avoid requiring inkscape as a
mandatory tool in build systems / developer workstations.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20190110120047.25369-2-berrange@redhat.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
16 files changed:
Makefile
configure
pc-bios/qemu-icon.bmp [deleted file]
ui/gtk.c
ui/icons/Makefile [new file with mode: 0644]
ui/icons/qemu.svg [moved from pc-bios/qemu_logo_no_text.svg with 100% similarity]
ui/icons/qemu_128x128.png [new file with mode: 0644]
ui/icons/qemu_16x16.png [new file with mode: 0644]
ui/icons/qemu_24x24.png [new file with mode: 0644]
ui/icons/qemu_256x256.png [new file with mode: 0644]
ui/icons/qemu_32x32.bmp [new file with mode: 0644]
ui/icons/qemu_32x32.png [new file with mode: 0644]
ui/icons/qemu_48x48.png [new file with mode: 0644]
ui/icons/qemu_512x512.png [new file with mode: 0644]
ui/icons/qemu_64x64.png [new file with mode: 0644]
ui/sdl2.c