TamTam packaging

Olivier Bélanger olivier.belanger at umontreal.ca
Wed Apr 16 20:17:34 EDT 2008


Hi Jani,

First of all, our main goal is to make TamTam runs on the XO. We  
didn't think yet about porting it to others system...

Le 08-04-16 à 17:44, Jani Monoses a écrit :
> Hi Olivier,
>
> I have a few questions regarding the .deb packaging of the four TamTam
> activities.
>
> -why are the cpp sources in the MANIFEST and consequently in the xo?

At the beginning we TamTam was only one activity with a welcome  
screen to choose which component to play with. When we were aksed to  
spilt the activities it was the simplest way for us to manage all  
activities from one git tree. But all sounds and common images are  
located only inside TamTamEdit.

> -which versions do you recommend for packaging. Latest are 48 and 49 ,
> depending on the activity

Always the latest... even though i'm on the way to make major changes  
in the way TamTam handle resources (mic recording, synthlab  
sounds...) to respect OLPC security policy. These changes will  
complicate once more the port to others system...

>
> I got them to build and start on Ubuntu but I have no sound
>
> The lib is acsound64 not acsound in debian/ubuntu so the link flag
> needed a change to rebuild the aclient.so instead of using the one  
> in git.

I don't think using the aclient is the better way to make it work on  
Debian. This client was build very tight to save cpu cycles on the  
XO. The better way is to use the Python API for Csound... (with the  
API, don't forget to remove -n flag (no sound) in tamtamorc.csd).  
Maybe James can tell you more about aclient.so  
( james.bergstra at umontreal.ca )

>
> Hardcoded paths starting with /home/olpc were changed too but it still
> does not play any sound - the graphics are stunning though! :)
>
> csound is 5.08.0 do you know if that should be OK?
>
> Minor change to get it to build with -Werror with g++ 4.2.3 (Ubuntu  
> 8.04)
>
> thanks
> Jani
>
> --- a/common/Util/Clooper/aclient.cpp
> +++ b/common/Util/Clooper/aclient.cpp
> @@ -549,8 +549,8 @@ struct TamTamSound
>           csound = csoundCreate(NULL);
>           int argc=3;
>           char  **argv = (char**)malloc(argc*sizeof(char*));
> -        argv[0] = "csound";
> -        argv[1] = "-m7";
> +        argv[0] = (char *)"csound";
> +        argv[1] = (char *)"-m7";
>           argv[2] = orc;
> :

Thanks for trying to make it works on Debian!

Olivier


>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel




More information about the Devel mailing list