From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:33463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzTtx-0001kK-1X for qemu-devel@nongnu.org; Mon, 20 Feb 2012 09:07:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzTtq-0004MQ-Nt for qemu-devel@nongnu.org; Mon, 20 Feb 2012 09:07:36 -0500 Received: from mail-tul01m020-f173.google.com ([209.85.214.173]:55158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzTtq-0004ML-Js for qemu-devel@nongnu.org; Mon, 20 Feb 2012 09:07:30 -0500 Received: by obbup16 with SMTP id up16so8177814obb.4 for ; Mon, 20 Feb 2012 06:07:30 -0800 (PST) Message-ID: <4F42539F.6070207@codemonkey.ws> Date: Mon, 20 Feb 2012 08:07:27 -0600 From: Anthony Liguori MIME-Version: 1.0 References: <1329695104-15174-1-git-send-email-aliguori@us.ibm.com> <1329695104-15174-7-git-send-email-aliguori@us.ibm.com> <4F419D7F.7030806@codemonkey.ws> <4F41AEEB.3000304@comstyle.com> <4F41B390.9040000@codemonkey.ws> <4F41B566.8000001@comstyle.com> <4F41B83A.6060005@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 6/6] gtk: make default UI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "qemu-devel@nongnu.org" , Brad Smith , Alex Graf , Roy Tam 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