[Svxlink-devel] Directory layout changed for event handlers and sound clips
Brought to you by:
sm0svx
From: Tobias B. <sm...@us...> - 2010-12-04 15:48:35
|
Hi Subversion users, I have changed a bit how SvxLink looks for event handler scripts and sound clips. I have now placed the event handler scripts outside of the sound clip directory so that only the bits that have to be changed have to be included in a language pack and not the whole set of event scripts. Most of the time a language pack creator can get away with just changing the newly added locale.tcl file and include it in the language pack. Also, the TCL modules have been moved to their own directory. This is what the new structure typically should look like under /usr/share/svxlink (sound clips excluded in listing): events.tcl events.d/ events.d/RepeaterLogic.tcl events.d/MetarInfo.tcl events.d/Help.tcl events.d/SelCall.tcl events.d/EchoLink.tcl events.d/DtmfRepeater.tcl events.d/Parrot.tcl events.d/Logic.tcl events.d/CW.tcl events.d/Module.tcl events.d/SimplexLogic.tcl events.d/locale.tcl events.d/local -> /etc/svxlink/local-events.d modules.d/ modules.d/PropagationMonitor.tcl modules.d/SelCallEnc.tcl modules.d/TclVoiceMail.tcl sounds/ sounds/en_US -> en_US-heather sounds/en_US-heather/ sounds/en_US-heather/Core/ sounds/en_US-heather/SelCallEnc/ sounds/en_US-heather/PropagationMonitor/ sounds/en_US-heather/TclVoiceMail/ sounds/en_US-heather/Help/ sounds/en_US-heather/DtmfRepeater/ sounds/en_US-heather/Default/ sounds/en_US-heather/EchoLink/ sounds/en_US-heather/Parrot/ sounds/en_US-heather/events.d/ sounds/en_US-heather/events.d/local -> /etc/svxlink/local-events.d/en_US- heather sounds/sv_SE -> sv_SE-elin sounds/sv_SE-elin/ sounds/sv_SE-elin/Core sounds/sv_SE-elin/Help sounds/sv_SE-elin/DtmfRepeater sounds/sv_SE-elin/Default sounds/sv_SE-elin/EchoLink sounds/sv_SE-elin/Parrot sounds/sv_SE-elin/events.d/ sounds/sv_SE-elin/events.d/locale.tcl sounds/sv_SE-elin/events.d/local -> /etc/svxlink/local-events.d/sv_SE-elin If you are going to use the new TCL-files from Subversion (required for the Heather voice) you need to rearrange your event script and sound clip directory to look something like the above. You also need to change the EVENT_HANDLER configuration variable to point to the new events.tcl. You may also want to set the new DEFAULT_LANG configuration variable to the wanted language code (e.g. sv_SE for Swedish). Default is en_US. 73's de SM0SVX / Tobias |