[Etoys] Ogg Vorbis and Speex CODEC for Squeak eToys

Bert Freudenberg bert at freudenbergs.de
Wed Apr 4 07:44:41 EDT 2007


you need to make sure the VM compiles even without the headers and  
libraries present. We need to have configure-time checks for all  
needed headers and libraries, and disable the plugin if those are not  
present. I see you check for the headers, but not for the libraries.  
There is an AC_PLUGIN_CHECK_LIB macro for this, see doc/ 

The proper way to make sure ogg or speex is installed would be in  
sugar-jhbuild sanitycheck.

Also, we might add a configure switch that makes certain plugins  
mandatory, so configure fails if it does not detect the prerequisites  
to mandatory plugins. Ian, do you have an idea how to best implement  

- Bert -

On Apr 4, 2007, at 13:16 , Takashi Yamamiya wrote:

> Hi Bert,
> I have just uploaded OggVorbis plugin into
> http://squeakvm.org/svn/squeak/branches/olpc/.
> So you can compile it as:
> 1) Make sure you have installed ogg / vorbis / speex headers
>   (libogg-devel, libvorbis-devel, and speex-devel in rpm)
> 2) Go sugar-jhbuild directory and type
> $ ./sugar-jhbuild buildone squeak
> For some reason, jhbuild might complain as "configuration changed",
> but please just choose [1] rerun stage build.  Makefile should be
> recreated again in this case.  If you don't have necessary ogg headers
> (libogg, libvorbos, and speex), OggPlugin would be just ignored.
> However, I wanted to show a diagnosis message and stop jhbuild process
> if you don't have speex.h before starting make, like "This module
> needs speex package with headers!". Because you might not be aware the
> new vm won't include OggPlugin. Do you know proper way to
> some test before make?
> Thanks,
> - Takashi
>>> One thing. I'm a little bit vaguely. What was the purpose of this
>>> repository? Is it for providing a stable source tree, or  
>>> experimental
>>> space for OLPC?
>> It's "stable" only in so far as we want to make sure that sugar- 
>> jhbuild does not break. Otherwise this is a way to put out stuff  
>> without waiting for Ian.
>>> Can I commit directly?
>> Sure, but you need to ask Ian for an account.
>> - Bert -

More information about the Etoys mailing list