From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkrEZ-0000rO-VN for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:28:45 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkrEN-0000jf-TZ for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:28:33 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkrEL-0000dM-Tc for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:28:30 -0400 Received: from [128.8.10.162] (helo=po0.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkrDI-00042D-J1 for qemu-devel@nongnu.org; Tue, 21 Jun 2005 18:27:24 -0400 Date: Tue, 21 Jun 2005 18:24:20 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] quick gtk2.c update Message-ID: <20050621222420.GA5775@jbrown.mylinuxbox.org> References: <214616558.20050621222242@ena.si> <001701c576a6$f12c53f0$334d21d1@organiza3bfb0e> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001701c576a6$f12c53f0$334d21d1@organiza3bfb0e> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jeebs@yango.us Cc: qemu-devel@nongnu.org On Tue, Jun 21, 2005 at 04:19:33PM -0500, jeebs@yango.us wrote: > >I'd say it's worth it, if Qemu gains a usable GUI this way. GTK+ libraries > >are ~3,5MB download, and only need to be installed once. > > Putting libraries like this in a common location is always a bad thing. > That means the files whill have to be distributed with qemu > I disagree. I think distributing the GTK library with qemu (even for windows versions) is a very bad idea. At most, the qemu installer should just download and run the GTK installer. At most. GTK libraries are not part of qemu, they are a separate resource that qemu depends on. > And not everybody installs qemu over old versions, so you can't really > expect the files to already be there from last time. > > > It just seems fundamentally wrong to have a small emulator with very large > libraries, just to satisfy some gui bloat. > > I do like the idea of a gui... Really. > > I'm just saying that I think 6meg is a bit large for a program that's only > 780k by itself. > qemu is 3.4M here. So I don't think that is so bad. Especially when that one set of 6M libs can be shared by many different applications (qemu, xchat, etc). It is possible to rewrite the GTK code so it is only written in GDK (the only GTK object we use is the GtkWindow, which I guess could be replaced by a GdkWindow). GDK looks a lot smaller than GTK over here (4M vs 16M). > As for the gui... Well, I haven't seen that yet. What little I see looks > the same boring Windows window that qemu always runs in. The gtk version > isn't usable yet. > The GTK version, on Linux, is perfectly usable. It is no more usable than the SDL version, but no less. On Windows, you have no fullscreen support. Everything else should be exactly the same. If it's not, I'll try to fix it. A GUI is coming soon. I think. > It runs, but there are keyboard problems. > What keyboard problems? There shouldn't be any for the GTK version. -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.