Re: becoming embebbed







>On 30 Mar 2000, Havoc Pennington wrote:

>>
>> "Chang Woo Lee(Ultracat)" <ultracat@gmate.co.kr> writes:
>> > how can we reduce GTK's size?
>> >
>>
>> It should be a configure-time option:
>>   ./configure --core-widgets-only
>>
>> This would compile a smaller GTK+ if you want it.

> there's never going to be *the* standard set of "core gtk widgets"
> for more than one application.

Well, how about this then...

./configure --enable-widget-profiling

This activates a little feature that keeps a (text?) database of the
widgets that the library has created.

And then you have...

./configure --use-widget-profile=/some/file

that only compiles in the widgets in the profile file - which corresponds
to the widgets that that system/application/whatever actually uses.

So then Mr. Embedded System Developer Guy (who is most likely _not_
developing on his embedded system) can develop his stuff, and then when he
builds GTK for embedding, he uses the widget profile from his development.

Of course, you'd want to keep the "development/profile" version of GTK
separate from the general system tools GTK, lest all embedded systems
include all the widgets that Glade et. al use :)

DG








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