Re: Shrinking GTK for PDA usage



Hi,

Luis Oliveira <luismbo netcabo pt> writes:

> I am trying to package GTK 2.0 for my PDA, but it won't get adopted if
> it's too big.
> 
> These are the libs currently installed on my pda:
> 
> 230     libgdk-1.2.so.0.9.1
> 84      libgdk_pixbuf.so.2.0.0
> 169     libglib-1.2.so.0.0.10
> 1463    libgtk-1.2.so.0.9.1
> 1946	total
> 
> These are the ones I compiled:
> 
> 88      libatk-1.0.so
> 344     libgdk-x11-2.0.so
> 84      libgdk_pixbuf.so
> 404     libglib-2.0.so
> 2044    libgtk-x11-2.0.so
> 2964	total
> 
> So, gtk 2.0 is about 1M bigger, which is quite a bit for a pda.
> 
> I would like to know if there is something I can do to shrink gtk's
> size. Someone mentioned removing deprecated widgets, how can I do that?

basically you remove the widgets you don't need from the GTK+
Makefile.am. We have successfullyq shrinked GTK+ to a third by doing
so. Of course only very few and simple widgets have been left in.

> Are there any other ways to shrink it?

you could replace X11 with DirectFB (see
http://www.directfb.org/gtk.xml).


Salut, Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]