speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH 2/2] Use GLib allocation in the audio subsystem.


From: Rui Batista
Subject: [PATCH 2/2] Use GLib allocation in the audio subsystem.
Date: Tue, 05 Oct 2010 13:17:01 +0100

Hi,
Ter, 2010-10-05 ?s 14:04 +0200, Halim Sahin escreveu:
> Hi Hynek,
> I am fine with your opinion except one litle thing:
> Glib is a bad dependency if you don't use a whole desktop but want to
> use speechd in plain consoles.
> Building small environments will install a lot of deps when using glib(eg. 
> gtk).
> 
Just to clarify, glib *does not* depend on GTK, it is the other way
around: gtk depends on glib. You can install glib alone and it just
depends on libc, zlib and some regex libraries and such... 

You can check more details at the glib manual:

http://library.gnome.org/devel/glib/2.26/


> Unfortunately glib is in use on many places in the speechd code so it
> would take a lot of time to refactor these parts.

I don't see it as infortunate. Glib implements such useful things as
hashtables and dynamic strings wich to implement correctly require some
effort and testing. For instance c++ as these for free in the STL and
noone implements that... In c there is no library with this types so
people create glib and friends...

> You are right that there are other more important things to do.
> My only concerns are about the dependencies which will be more and more.

I agree with this... If a dependency can be optional so leave it that
wyay.

> The dbus thing is a great example. Nice to have but it should be an
> optional dependency. 

For the desktop today is almost everywhere (GNOME, KDE...) but for other
systems I don't think so.
> 
Regards,

Rui Batista
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd

Rui Batista
E-mail/googletalk: ruiandrebatista (at) gmail (dot) com
MSN/WLM: ruiandrebatista (at) hotmail (dot) com (don't send mail to this
one)
Skype: ruiandrebatista
twitter: http://twitter.com/ragb
weblog: http://unreliabledevice.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]