qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	Brad Smith <brad@comstyle.com>, Alex Graf <agraf@suse.de>,
	Roy Tam <roytam@gmail.com>
Subject: Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI
Date: Mon, 20 Feb 2012 08:07:27 -0600	[thread overview]
Message-ID: <4F42539F.6070207@codemonkey.ws> (raw)
In-Reply-To: <alpine.DEB.2.00.1202201359400.23091@kaball-desktop>

On 02/20/2012 08:06 AM, Stefano Stabellini wrote:
> On Mon, 20 Feb 2012, Anthony Liguori wrote:
>> On 02/19/2012 08:52 PM, Brad Smith wrote:
>>> On 19/02/12 9:44 PM, Anthony Liguori wrote:
>>>> On 02/19/2012 08:24 PM, Brad Smith wrote:
>>>>> On 19/02/12 8:10 PM, Anthony Liguori wrote:
>>>>>>> If not, it will be nice to keep
>>>>>>> SDL because GTK huge and not that portable for win32 users.
>>>>>>
>>>>>> Neither are true. GTK is a reasonably small dependency especially given
>>>>>> that GLIB is a mandatory dependency. I can't imagine that in terms of
>>>>>> binary size, libsdl is much bigger than gtk/gdk.
>>>>>
>>>>> Double check your facts. That's not even close to being true.
>>>>>
>>>>> SDL is a tiny fraction of Gtk+.
>>>>>
>>>>> Just as an example taking a look at package sizes..
>>>>>
>>>>> 549KB for SDL vs 17.3MB for just Gtk+ and its dependencies (7 libraries)
>>>>> excluding Glib2 and what it depends on.
>>>>
>>>> I don't see how 17.3MB qualifies as "huge".
>>>
>>> It's FAR from small not to mention dragging in A LOT of libraries for what?
>>> A prettier looking UI?
>>
>> An accessible UI that meets the most basic definition of usable.  Sit someone
>> down with the SDL interface for the first time, how in the world are they
>> supposed to figure out that you hit Ctrl+Alt+2 to get to a command prompt?
>
> I think that having a GTK UI is quite important for QEMU and having it
> be the default is also a good idea.
>
> BUT we should not deprecate and plan to remove SDL.

Actually, I think Cairo can be a better SDL than SDL.

It doesn't have the same level of backend support (or input support) as SDL 
does, but it can render to Win32, Quartz, and a raw X11 window.

> Do we really want to force everybody that uses QEMU on X11 to compile
> the entire set of GTK dependencies?
> Keep in mind that QEMU is not just used on Linux distros but it also
> used as a component in other projects that might have very different
> constraints.
> I think that having a lightweight graphical UI with very few and small
> dependencies is NOT something we should give up.

If we went in a different direction with SDL, I wouldn't mind it so much.  For 
instance, removing the console emulation and reducing the use of magic accelerators.

Regards,

Anthony Liguori

  reply	other threads:[~2012-02-20 14:07 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 23:44 [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility Anthony Liguori
2012-02-19 23:44 ` [Qemu-devel] [PATCH 1/6] console: allow VCs to be overridden by UI Anthony Liguori
2012-02-20  9:17   ` Gerd Hoffmann
2012-02-20 13:45     ` Anthony Liguori
2012-02-20 13:59       ` Gerd Hoffmann
2012-02-20 14:11         ` Anthony Liguori
2012-02-20 14:27           ` Gerd Hoffmann
2012-02-20 15:10             ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 2/6] ui: add basic GTK gui Anthony Liguori
2012-02-20 20:45   ` Stefan Weil
2012-02-21  0:20     ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 3/6] gtk: add virtual console support Anthony Liguori
2012-02-20 21:13   ` Stefan Weil
2012-02-25 16:21   ` Stefan Weil
2012-02-25 19:49     ` Anthony Liguori
2012-02-25 20:22       ` Stefan Weil
2012-02-25 21:18         ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 4/6] gtk: add support for input grabbing Anthony Liguori
2012-02-20  0:09   ` Anthony Liguori
2012-02-19 23:45 ` [Qemu-devel] [PATCH 5/6] gtk: add support for screen scaling and full screen Anthony Liguori
2012-02-20  7:41   ` Paolo Bonzini
2012-02-20 13:45     ` Anthony Liguori
2012-02-25 15:49   ` Stefan Weil
2012-02-19 23:45 ` [Qemu-devel] [PATCH 6/6] gtk: make default UI Anthony Liguori
2012-02-20  0:15   ` Roy Tam
2012-02-20  1:10     ` Anthony Liguori
2012-02-20  1:50       ` Roy Tam
2012-02-20  2:22         ` Anthony Liguori
2012-02-20  2:24       ` Brad Smith
2012-02-20  2:44         ` Anthony Liguori
2012-02-20  2:50           ` Roy Tam
2012-02-20  2:52           ` Brad Smith
2012-02-20  3:04             ` Anthony Liguori
2012-02-20 14:06               ` Stefano Stabellini
2012-02-20 14:07                 ` Anthony Liguori [this message]
2012-02-20 14:44                   ` Stefano Stabellini
2012-02-20 14:46                     ` Roy Tam
2012-02-19 23:59 ` [Qemu-devel] [PATCH 0/6] Add GTK UI to enable basic accessibility Anthony Liguori
2012-02-20 12:17 ` Kevin Wolf
2012-02-20 12:47   ` Kevin Wolf
2012-02-20 14:08     ` Anthony Liguori
2012-02-20 14:04   ` Anthony Liguori
2012-02-20 14:33     ` Kevin Wolf
2012-02-25 17:02 ` Stefan Weil
2012-02-25 20:11   ` Anthony Liguori
2012-02-25 21:15     ` Stefan Weil
2012-02-25 21:47       ` [Qemu-devel] Very small VGA window sizes (was: Re: [PATCH 0/6] Add GTK UI to enable basic accessibility) Stefan Weil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F42539F.6070207@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=agraf@suse.de \
    --cc=brad@comstyle.com \
    --cc=qemu-devel@nongnu.org \
    --cc=roytam@gmail.com \
    --cc=stefano.stabellini@eu.citrix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).