debian/0000775000000000000000000000000012170417255007174 5ustar debian/rules0000775000000000000000000000370412170416507010257 0ustar #!/usr/bin/make -f FT := $(shell pwd)/debian/festival FDT := $(shell pwd)/debian/festival-dev DPKG_EXPORT_BUILDFLAGS = 1 -include /usr/share/dpkg/buildflags.mk DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) export DEB_HOST_MULTIARCH override_dh_auto_configure: #Avoid conflicting with upstreams build system override_dh_auto_test: #Upstream states test is only for their local development not a functional test override_dh_auto_build: ifneq "$(wildcard /usr/share/misc/config.sub)" "" cp -f /usr/share/misc/config.sub config.sub endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif $(MAKE) cd doc && $(MAKE) festival.info override_dh_auto_clean: -QUILT_PATCHES=debian/patches quilt push config_config.diff [ ! -f Makefile ] || $(MAKE) clean override_dh_clean: find . -name make.depend -print0 | xargs -0r $(RM) find . -name make.include -print0 | xargs -0r $(RM) find bin/ \( -name SCCS -o -name RCS -o -name CVS \) -prune \ -o -type f ! -name Makefile -print0 | xargs -0r $(RM) rm -rf doc/*.1 doc/festfeat.texi doc/festvars.texi doc/festfunc.texi \ doc/info src/modules/hts21_engine/*.o \ src/modules/hts21_engine/.buildlib_Festival rm -f config/modincludes.inc config/system.mak rm -f bin/festival* rm -f config.sub config.guess config.log config.status config.cache -rmdir src/modules/hts21_engine dh_clean override_dh_installinit: #Init script has BAD security Debian switches it off by default override_dh_installchangelogs: dh_installchangelogs -a -k NEWS override_dh_installdocs: dh_installdocs -a README ACKNOWLEDGMENTS override_dh_installman: dh_installman -pfestival doc/festival.1 doc/festival_client.1 doc/text2wave.1 override_dh_installinfo: dh_installinfo -pfestival doc/info/festival.info* override_dh_installexamples: dh_installexamples -pfestival examples/* -Xexamples/text2wave debian/festival.init debian/festival.scm %: dh $@ # debian/watch0000664000000000000000000000021312170416507010220 0ustar version=3 opts="uversionmangle=s/-beta/~beta/;s/-release/~release/" \ http://www.festvox.org/packed/festival/latest/festival-(.*)\.tar\.gz debian/festival.postrm0000664000000000000000000000022312170416507012253 0ustar #!/bin/sh set -e rm -f /etc/init.d/festival if [ "$1" = "purge" ];then rm -rf /var/log/festival rm -f /etc/festival.scm fi #DEBHELPER# debian/changelog0000664000000000000000000011203712170417220011042 0ustar festival (1:2.1~release-6ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc, as Ubuntu doesn't support it. -- Logan Rosen Sat, 13 Jul 2013 23:42:32 -0400 festival (1:2.1~release-6) unstable; urgency=low [ Peter Drysdale ] * Do not build EsounD support as ESD is long deprecated by Gnome. [ Sergio Oller ] * Enable PulseAudio native support. Original implementation by Matthias Clasen. Depends on libestools-2.1 (>=1:2.1~release-6). * Enable ALSA native support. * Updated README.Debian to reflect the new audio module options and how to set them up. [ Samuel Thibault ] * Bump Standards-Version to 3.9.4 (no changes). -- Samuel Thibault Sat, 13 Jul 2013 19:20:47 +0200 festival (1:2.1~release-5.1ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc, as Ubuntu doesn't support it. -- Logan Rosen Fri, 11 Jan 2013 02:10:49 -0500 festival (1:2.1~release-5.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: does not define DEB_HOST_MULTIARCH": set and export DEB_HOST_MULTIARCH in debian/rules, thanks to Ivo De Decker for the solution. Build-depend on dpkg-dev (>= 1.16.0) to ensure DEB_HOST_MULTIARCH is available. (Closes: #696507) -- gregor herrmann Sun, 06 Jan 2013 00:50:19 +0100 festival (1:2.1~release-5ubuntu1) raring; urgency=low * Merge from Debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc, as Ubuntu doesn't support it. -- Logan Rosen Thu, 06 Dec 2012 23:35:31 -0500 festival (1:2.1~release-5) unstable; urgency=low [ Samuel Thibault ] * control: Bump Standards-Version to 3.9.3 (no changes). [ Peter Drysdale ] * Change config to point to new location of multiarch speech_tools during compile process. (Fixes FTBS with multiarch enabled speech_tools). Build-depend on the multiarch-enabled version of speech_tools. -- Samuel Thibault Sat, 25 Feb 2012 17:37:01 +0100 festival (1:2.1~release-4) unstable; urgency=low [ Jean-Philippe MENGUAL ] * Added a new build-dep with libaudiofile-dev. Closes: #657597 [ Samuel Thibault ] * Add myself as uploader. -- Jean-Philippe MENGUAL Sat, 28 Jan 2012 23:27:39 +0100 festival (1:2.1~release-3) unstable; urgency=low [ Samuel Thibault ] * debian/rules: Fix clean rule again. -- Jean-Philippe MENGUAL Sun, 08 Jan 2012 03:07:32 +0100 festival (1:2.1~release-2) unstable; urgency=low [ Peter Drysdale ] * Commits from Jean-Philippe incorporated in master * Fix spelling and hyphen lintian problems * Move to dh style packaging * Remove parts of redundant namespace patching and individually title patches. Gcc version patching no longer needed (Closes: #592052) * Provide HTS compatibility module for HTS 2.1 voices (Closes: #589614) * General way of adding languages from Sergio Oller (Closes: #606173) * Include clustergen module which is on in 2.1 (Closes: #639648) * Add Peter Drysdale to uploaders [ Samuel Thibault ] * debian/rules: fix clean rules. * debian/control: depend on quilt. [ Jean-Philippe MENGUAL ] * New maintainer. Closes #601596 * Bump Standards-Version to 3.9.2 (no change needed) * Fixed debian/patches/lib_festival.scm.diff (desplays replaced with displays) -- Jean-Philippe MENGUAL Tue, 16 Aug 2011 02:18:09 +0200 festival (1:2.1~release-1ubuntu3) quantal; urgency=low * Cherry-pick from 1:2.1~release-5 to fix FTBFS: [ Peter Drysdale ] * Change config to point to new location of multiarch speech_tools during compile process. (Fixes FTBS with multiarch enabled speech_tools). Build-depend on the multiarch-enabled version of speech_tools. -- Felix Geyer Mon, 24 Sep 2012 20:00:04 +0200 festival (1:2.1~release-1ubuntu2) precise; urgency=low * Rebuild to pick new audiofile's shlibs (LP: #922036) -- Alessio Treglia Fri, 27 Jan 2012 13:00:35 +0100 festival (1:2.1~release-1ubuntu1) oneiric; urgency=low * Merge from debian/unstable, remaining change: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Andreas Moog Wed, 04 May 2011 20:54:27 +0200 festival (1:2.1~release-1) unstable; urgency=low * New upstream release * No longer depend on alsa-oss and oss-compat (Closes: #592411) * Add festival.scm for aplay setting * Build-Depend on speech-tools 2.1-release version -- Kumar Appaiah Wed, 16 Feb 2011 21:21:02 -0600 festival (1:2.0.95~beta-6) unstable; urgency=low * Add the multisyn directory to the installation. (Closes: #613682) -- Kumar Appaiah Wed, 16 Feb 2011 10:14:57 -0600 festival (1:2.0.95~beta-5.1ubuntu2) natty; urgency=low * No longer depend on alsa-oss and oss-compat (LP: #612751) * Add festival.scm for default audio setting (LP: #662630, #209900) -- Andreas Moog Wed, 02 Mar 2011 07:39:07 +0100 festival (1:2.0.95~beta-5.1ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Artur Rona Thu, 11 Nov 2010 12:16:57 +0100 festival (1:2.0.95~beta-5.1) unstable; urgency=low * Non-maintainer upload. * Fix making ALSA backend default (Closes: #592442). -- Samuel Thibault Tue, 09 Nov 2010 18:23:43 +0100 festival (1:2.0.95~beta-5ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Artur Rona Thu, 28 Oct 2010 20:04:58 +0200 festival (1:2.0.95~beta-5) unstable; urgency=low * alsa-utils and alsa-oss do not exist on non-Linux arches; exclude those architectures in the dependencies. * Add change to README.Debian to provide hints to non-Linux users on configuring their sound system. -- Kumar Appaiah Wed, 27 Oct 2010 09:11:57 -0500 festival (1:2.0.95~beta-4ubuntu1) natty; urgency=low * Merge from debian unstable. Remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Artur Rona Tue, 26 Oct 2010 17:56:29 +0200 festival (1:2.0.95~beta-4) unstable; urgency=low * Brown paper bag: Reupload without .git directory -- Kumar Appaiah Mon, 25 Oct 2010 23:53:18 -0500 festival (1:2.0.95~beta-3) unstable; urgency=low * Add patch from Samuel Thibault to make ALSA backend default. (Closes: #592442) * Standards Version is now 3.9.1 (no changes needed) * Depend on alsa-utils for default ALSA use. -- Kumar Appaiah Mon, 25 Oct 2010 21:38:04 -0500 festival (1:2.0.95~beta-2ubuntu1) maverick; urgency=low * Merge from debian unstable, remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. * Fixes: - (LP: #482611) - (LP: #612127) -- Artur Rona Sat, 31 Jul 2010 17:50:34 +0200 festival (1:2.0.95~beta-2) unstable; urgency=low * Don't depend on alsa-oss on kfreebsd-*, since it is unavailable there. (Closes: #590860) -- Kumar Appaiah Thu, 29 Jul 2010 18:40:17 -0500 festival (1:2.0.95~beta-1) unstable; urgency=low [ Kartik Mistry ] * debian/control: + Updated Standards-Version to 3.9.0 (no changes needed) + Updated debhelper dependency to 7 + Added missing dependency on alsa-oss and oss-compat (Closes: #565929) * debian/README.Debian already provides example of .festivalrc to use festival with ALSA (Closes: #567514, #584634) * debian/rules: + Used dh_prep instead of obsolete dh_clean -k + dh_testdir and dh_testroot don't need -a argument * debian/source/format: + Updated to use source format 3.0 (quilt) [ Kumar Appaiah ] * New Upstream Release. * debian/source/format: + Revert to 1.0 to avoid quilt patching problems. * debian/control: + Depend on new speech-tools. * debian/patches/festival_el_utf8.diff: + Patch from Javier M Mora for fixing Emacs functionality if character set of system is UTF-8 (Closes: #572779) -- Kumar Appaiah Sat, 17 Jul 2010 21:25:55 -0500 festival (1.96~beta-10ubuntu1) lucid; urgency=low * Merge from debian testing, remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Andrew Starr-Bochicchio Sat, 07 Nov 2009 00:18:59 -0500 festival (1.96~beta-10) unstable; urgency=low * Add missing part os languages.scm from Sergey Kirpichev's patch. (Closes: #516262, #545737) -- Kumar Appaiah Fri, 02 Oct 2009 23:12:43 -0500 festival (1.96~beta-9ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - debian/control: Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Andrew Starr-Bochicchio Mon, 14 Sep 2009 15:46:17 -0400 festival (1.96~beta-9) unstable; urgency=low * debian/control: + Removed c++abi2-dev from dependency as it is provided by g++ which is build-essential + Wrapped up Depends and Build-Depends + Removed festival-gaim from Suggests as it is no longer in Sid as suggested by debcheck + Updated to Standards-Version 3.8.3 * Added README.source file * debian/rules: + Removed lintian installation -- Kartik Mistry Sat, 22 Aug 2009 20:45:50 +0530 festival (1.96~beta-8ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. -- Andrew Starr-Bochicchio Fri, 19 Jun 2009 14:28:07 -0400 festival (1.96~beta-8) unstable; urgency=low [Kumar Appaiah] * debian/control: + Update maintainers' addresses to debian.org address. + Standards version is now 3.8.0 (no changes needed). * debian/patches: + russian_support.diff: Added Russian support patches provided by Sergey B Kirpichev. (Closes: #516262) + Add default description for each patch. * debian/rules: + Copy the lintian override to the correct location; remove incorrect location from the festival.install file. Thanks to Andreas Beckmann for bringing this to our notice. (Closes: #532403) [Kartik Mistry] * debian/control: + Updated Standards-Version to 3.8.1 (no changes needed) -- Kartik Mistry Sat, 13 Jun 2009 11:12:59 +0530 festival (1.96~beta-7ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. + Munge Maintainer field as per spec. -- Stefan Ebner Fri, 21 Mar 2008 06:37:03 +0000 festival (1.96~beta-7) unstable; urgency=high * Do not start festival server by default. (Closes: #466796) * Revert use of debconf. * debian/festival.preinst: + Check for obsolete configuration files. * debian/{festival.init,festival.scm}: Now example files, documented with warnings about potential security issues by their use. * debian/README.Debian: Document server start details. -- Kumar Appaiah Thu, 21 Feb 2008 09:40:52 +0530 festival (1.96~beta-6) unstable; urgency=high * Fix root security hole. Thanks to Tim Brown. + debian/festival.init: Read festival.scm upon start. (Closes: #466146) * debian/control: + Remove Debian revision from speech-tools dependency. * debian/festival.scm: + Add sane default values for server. The festival init script now uses these values while starting the server. * debian/README.Debian: + Document some changes on daemon mode. * debian/templates, debian/config, debian/festival.postinst: + Ask for server password during install. * debian/lintian-override: + Permission of /etc/festival.scm should be 0600. -- Kumar Appaiah Sun, 17 Feb 2008 06:45:30 +0530 festival (1.96~beta-5ubuntu2) hardy; urgency=low * debian/festival.default: don't start festival server by default as this poses a security risk * debian/README.Debian: Document server start details * debian/festival.init: don't complain when server set to not start * References CVE-2007-4074 -- Jamie Strandboge Thu, 20 Mar 2008 11:56:35 -0400 festival (1.96~beta-5ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. + Munge Maintainer field as per spec. -- Luke Yelavich Sun, 03 Feb 2008 19:03:27 +1100 festival (1.96~beta-5) unstable; urgency=low * debian/shlibs.local: + Added to provide a versioned dependency on libestools1.2. * debian/festival.default: + RUN_FESTIVAL set to yes by default. -- Kumar Appaiah Wed, 16 Jan 2008 09:00:50 +0530 festival (1.96~beta-4) unstable; urgency=low [ Kumar Appaiah ] * debian/control: + Updated Homepage entry [ Kartik Mistry ] * debian/control: + Updated Standard-Versions to 3.7.3 [ Kumar Appaiah ] * debian/festival.init: + Source /etc/default/festival for boot time startup setting. (Closes: #455404) -- Kumar Appaiah Wed, 02 Jan 2008 11:26:20 +0530 festival (1.96~beta-3ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. + Munge Maintainer field as per spec. -- Luke Yelavich Thu, 13 Dec 2007 14:09:16 +1100 festival (1.96~beta-3) unstable; urgency=low * debian/control: + Add Vcs-Git and Vcs-Browser. * debian/patches: + Refresh all patches. + Fix the doc_festval.texi.diff to add info section and get rid of the lintian warning. -- Kumar Appaiah Tue, 27 Nov 2007 10:39:11 +0530 festival (1.96~beta-2) unstable; urgency=low * Uh, really removed DM-Upload-Allowed flag this time. * Added myself to uploaders. -- Jaldhar H. Vyas Mon, 26 Nov 2007 12:07:31 -0500 festival (1.96~beta-1) unstable; urgency=low [Kumar Appaiah] * Long awaited new upstream release (Closes: #327541) * Added quilt support, previously applied patches is now under debian/patches * debian/rules: + Fixed old config.* warning + Using dh_install now to make debian/rules better and clean * debian/*.install: updated for better installation process [Kartik Mistry] * debian/control: + Updated dependencies for quilt and libestools1.2-dev as festival can't build without latest speech-tools + Added Kumar Appaiah to co-maintainer list + Added XS-Dm-Upload-Allowed: yes to allow Debian-Maintainer upload * debian/watch: updated to get correct upstream version, Thanks to Kumar * debian/copyright: updated copyright year * debian/patches: added patch src_modules_MultiSyn_path_fixes.diff to fix wrong paths to speech_tools * debian/patches: removed obsolete patches or merged patches * debian/rules: + Using export QUILT_PATCHES=./debian/patches to make it available duing clean chroot build + Added /etc/default/festival installation * Provided /etc/default/festival to startup option of festival at boot time (Closes: #287214) * debian/README.Debian: + Recommended use of alsa and provides festivalrc in it (Closes: #431169) + Updated for use of /etc/default/festival -- Kartik Mistry Sat, 24 Nov 2007 23:22:34 +0530 festival (1.4.3-23) unstable; urgency=low * config/config: provides -fPIC option to allow compilation of shared libraries (closes: #447665) * debian/control: added adduser version dependency to 3.105 (Closes: #447978) * debian/control: updated dependency on libestools1.2 to 1.2.3-11 (Closes: 447979) * debian/control: updated suggests, updated homepage and moved it to real control field * debian/copyright: moved copyright out of license section * Added debian/watch file -- Kartik Mistry Thu, 15 Oct 2007 18:20:20 +0530 festival (1.4.3-22) unstable; urgency=low * src/modules/Text/text_modes.cc: fixed ftbfs with g++-4.3/gcc-snapshot, Thanks to Ubuntu for patch (Closes: #441527) * debian/rules: handling strip binaries by dh_strip instead of install -s (Closes: #436836) * debian/control: fixed Suggests: field -- Kartik Mistry Thu, 27 Sep 2007 10:29:45 +0530 festival (1.4.3-21ubuntu2) gutsy; urgency=low * Fix build failure with g++-4.3. LP: #138573. -- Matthias Klose Thu, 13 Sep 2007 14:14:05 +0000 festival (1.4.3-21ubuntu1) gutsy; urgency=low * Merge from debian unstable, remaining changes: - debian/control: + Drop file-rc as an alternative to sysv-rc as Ubuntu doesn't support it. + Munge Maintainer field as per spec. -- Michael Bienia Sat, 04 Aug 2007 13:26:02 +0200 festival (1.4.3-21) unstable; urgency=medium * debian/festival.init: fixed CVE-2007-4074: priviledge escalation (Closes: #435445) * debian/festival.postinst: adding new user festival to audio group * debian/README.Debian: added warning about possible security flow * debian/control: updated dependency of sysv-rc, added dependency on adduser * debian/rules: a better clean target * lib/languages.scm: fixed typo from previous patch, Thanks to Niko Tyni for this (Closes: #427550) -- Kartik Mistry Thu, 2 Aug 2007 13:52:29 +0530 festival (1.4.3-20ubuntu1) gutsy; urgency=low * Drop the Debian release for the Depends on sysv-rc, and don't have file-rc as a alternative, since we don't support it. * Munge Maintainer field as per spec. -- Steve Kowalik Sat, 14 Jul 2007 14:35:50 +1000 festival (1.4.3-20) unstable; urgency=low * debian/control: Added file-rc along with sysv-rc in Depends for systems using file-rc (Closes: #431264) * lib/languages.scm: fixed (male1) and its friends only work once by adding lambda() function, Thanks to Niko Tyni for patch (Closes: #427550) * debian/rules: use $(MAKE) clean to catch any errors in clean target -- Kartik Mistry Tue, 03 Jul 2007 11:50:12 +0530 festival (1.4.3-19) unstable; urgency=low * debian/rules:Fixed update-rc.d failure during update (Closes: #430823) * Added debian/festival.postinst from Ubuntu -- Kartik Mistry Wed, 27 Jun 2007 22:02:50 +0530 festival (1.4.3-18) unstable; urgency=low * New maintainer (Closes: #429470) * Acknowledge previous NMUs (Closes: #335845, #352351) * Updated debhelper compability to 5 * Updated standards-version to 3.7.2 * debian/README.Debian: updated to standards format, fixed typos (Closes: #360537) * debian/copyright: updated to standard copyright format, added missing license texts * debian/rules: made it simpler and readable, better install target now, added -- multiuser option to dh_installinit from Ubuntu * debian/control: fixed long descriptions, minor cleanups, fixed mini dependency hell by moving festvox-kallpc16k | festival-voice to Recommands (Closes: #359152) * debian/control: Added available festival frontends as Suggests list (Closes: #366794) * config/config: fixed FTBFS with GCC 4.2 by removing -fno-shared-data option (Closes: #387107) * debian/festival.init: added LSBInitScript header, added lsb logging functions, Thanks to David Härdeman for patch (Closes: #384861) * doc/festival_client.1: fixed typos, Thanks to A Costa for patch (Closes: #360323) * doc/festival.1: fixed typos, Thanks to A Costa for patch (Closes: #360322) * src/modules/UniSyn_diphone/us_diphone_index.cc: fix for error is sent to stdout instead of stderr, Thanks to Javier Serrano Polo for patch (Closes: #407655) * lib/languages.scm: fixed error in the Finnish female voice definition, Thanks to Niko Tyni for patch (Closes: #427552) * lib/languages.scm: added support for Czech language, --language czech Thanks to Milan Zamazal for patch (Closes: #381260) * Removed unused lintian.override -- Kartik Mistry Tue, 19 Jun 2007 16:51:42 +0530 festival (1.4.3-17.2) unstable; urgency=low * Drop build dependency on g++-3.4. Closes: #385829. -- Matthias Klose Sun, 3 Sep 2006 14:19:04 +0000 festival (1.4.3-17.1) unstable; urgency=low * NMU * Added support for italian anf finnish language selection. Closes: #335845. Closes: #352351. * Updated man page accordingly -- Marco Presi (Zufus) Fri, 24 Mar 2006 15:55:33 +0100 festival (1.4.3-17) unstable; urgency=low * Synchronize package from Ubuntu. * (Build-)depend on c++abi2-dev. -- Matthias Klose Tue, 2 Aug 2005 10:07:25 +0000 festival (1.4.3-16ubuntu1) breezy; urgency=low * CXX transition: Tighten build dependency on libestools1.2-dev. * Build using g++-3.4, FTBFS with g++-4.0 -- Matthias Klose Mon, 23 May 2005 21:26:47 +0000 festival (1.4.3-16) unstable; urgency=low * Add ';' as a sentence delimiter. - Workaround for decreasing pitch in long sentences - Fix by Alan W Black - Closes: #284585 -- Matthias Urlichs Thu, 9 Dec 2004 18:34:40 +0100 festival (1.4.3-15) unstable; urgency=low * Added a-law encoding rules, along the lines of the existing u-law support. - Closes: #217007: Patch required to use festival with asterisk (This is a generic solution, not an Asterisk-specific hack.) * better shared lib support -- Matthias Urlichs Fri, 16 Jul 2004 09:44:07 +0200 festival (1.4.3-14) unstable; urgency=medium * Conflict on those versions on all voice/lex packages which predate the move from /usr/lib to /usr/share. - Closes: #242086 * De-right-align Closes: texts. -- Matthias Urlichs Sun, 4 Apr 2004 22:59:20 +0200 festival (1.4.3-13) unstable; urgency=low * Depend on "festvox-kallpc16k | festival-voice" in order to avoid preferring non-free. Thanks to . - Closes: #235666 -- Matthias Urlichs Mon, 1 Mar 2004 22:41:26 +0100 festival (1.4.3-12) unstable; urgency=low * Added singing DTD. - Closes: #216816 * Helpful comments for server mode. - Closes: #217005 -- Matthias Urlichs Mon, 9 Feb 2004 16:14:28 +0100 festival (1.4.3-11) unstable; urgency=low * Depend on debhelper 4.1.75 ... which fixes a bug in dh_installcatalogs (thanks, Ardo) * Updated maintainer address * Updated Standards-Version 3.6.1, no changes. -- Matthias Urlichs Sun, 19 Oct 2003 08:14:27 +0200 festival (1.4.3-10) unstable; urgency=medium * debian/festival.sgmlcatalogs: The catalog path needs a leading slash (closes: #198928) * lib/festival.scm: typo (closes: #119998) * lib/tts.scm: Fix the path to festival's SGML files. * debian/rules: Don't create the the obsolete SGML directory (/usr/lib/sgml/cstr). -- Matthias Urlichs 13 Jun 2003 09:14:00 +0200 festival (1.4.3-9) unstable; urgency=low * Extract the arch-independent files from /usr/lib/festival (almost all of them...) to /usr/share/festival. * Add a new option --datadir, aka FTDATADIR. Warning: This is no longer compatible with the previous version, but doing anything else would be too confusing in the long run. -- Matthias Urlichs 28 May 2003 12:48:25 +0200 festival (1.4.3-8) unstable; urgency=low * debian/rules Use /usr/share/festival, not /usr/lib/festival -- the latter in fact doesn't contain any arch-dependent data. * TEMPORARY KLUDGE: Install a symlink from /usr/lib/festival to /usr/share. This will be fixed later, as the Makefiles need to be overhauled anyway. -- Matthias Urlichs 27 May 2003 19:58:39 +0200 festival (1.4.3-7) unstable; urgency=low * debian/control: Remove short description from long description (policy 5.7.1) * debian/festival.sgmlcatalogs: Install catalog file correctly -- Matthias Urlichs 27 May 2003 19:04:40 +0200 festival (1.4.3-6) unstable; urgency=low * Add explicit EST_String cast to various .cc files which needed it (GCC got more strict...) -- Matthias Urlichs 19 May 2003 13:55:07 +0200 festival (1.4.3-5) unstable; urgency=low * Make loading of /etc/festival.scm optional -- Matthias Urlichs 19 May 2003 13:53:17 +0200 festival (1.4.3-4) unstable; urgency=low * debian/control: Move development libraries to section libdevel * debian/rules: Fix "find" command -- Matthias Urlichs 19 May 2003 13:51:38 +0200 festival (1.4.3-3) unstable; urgency=low * Switched to debhelper compat level v4 * Fixed SGML installation (thanks, Ardo) -- Matthias Urlichs 22 Apr 2003 04:55:42 +0200 festival (1.4.3-2) unstable; urgency=low * Depend on festival-voice -- Matthias Urlichs 18 Apr 2003 21:46:56 +0200 festival (1.4.3-1) unstable; urgency=low * New maintainer. * Bugs in (not uploaded) NMU / see earlier changelog entries: Closes #115911, #143673, #179490, #167325, #160781, #186895 -- Matthias Urlichs 18 Apr 2003 16:50:22 +0200 festival (1.4.3-0.2) unstable; urgency=low * NMU. * Updated SGML installation. - Closes: #115911 * Shortened path to upstream. - Closes: #143673 -- Matthias Urlichs 18 Apr 2003 15:49:21 +0200 festival (1.4.3-0.1) unstable; urgency=low * NMU. * New upstream release. - Closes: #179490 -- Matthias Urlichs 18 Apr 2003 01:15:13 +0200 festival (1.4.2-2.3) unstable; urgency=low * Make the festival server setgid audio. Closes: #167325. * Load /etc/festival.scm. Closes: #160781. -- Matthias Urlichs 17 Apr 2003 20:30:37 +0200 festival (1.4.2-2.2) unstable; urgency=low * NMU * Fix GCC 3.2 problems. Closes: #186895 -- Matthias Urlichs 17 Apr 2003 20:23:45 +0200 festival (1.4.2-2.1) unstable; urgency=low * NMU, to prevent removal from woody. * Made /etc/emacs/site-start.d/50festival.el a conffile. Closes: #132192 * Fixed bashisms in rules file. -- Joey Hess Sat, 2 Mar 2002 18:57:33 -0500 festival (1.4.2-2) unstable; urgency=low * Pre-emptively make Festival *not* default to ESD audio, because it doesn't currently work. * Clean up some cruft from the init.scm that was there to work around bugs in 1.4.1. * Twiddle the XML stuff a bit more. It still doesn't work perfectly since you need to (require 'sable-mode) (or have tts_file do it for you) before you can synth sable markup, but it's better than it used to be, at least. * Add SHELL definition to debian/rules since it contains bashisms. -- David Huggins-Daines Fri, 24 Aug 2001 12:33:25 -0400 festival (1.4.2-1) unstable; urgency=low * New upstream version. * Add Build-Depends: debhelper (strange this hasn't been reported yet) * Fix prerm to remove sgml catalog entry on removal (closes: #96714) * Twiddle paths in sable-mode to make it DTRT (closes: #106190) -- David Huggins-Daines Thu, 23 Aug 2001 22:28:51 -0400 festival (1.4.1p-2) unstable; urgency=low * Sorry ... have to rebuild this to get the correct speech-tools dependency. * Tweak the configuration stuff slightly. * Add Build-Depends: texinfo (closes: #93147) -- David Huggins-Daines Mon, 9 Apr 2001 15:27:15 -0400 festival (1.4.1p-1) unstable; urgency=low * No longer using DBS. Because I can't overwrite the .orig.tar.gz, I've added a 'p' (for 'pristine', I guess) to the version number. Wish our source package format wasn't so @#$%# broken... sigh... * Twiddled configuration to build on all systems (it will fall back to something reasonable, and it recognizes Debian specifically now) * Fix brokenness in postinst/postrm (which should actually be prerm). (closes: #91222) * Make 16-bit audio the default. I think it's safe to say that 16-bit sound cards are now the vast majority. * Remove NAS support, which is no longer in speech_tools either. * Add an init script for optionally starting a festival server at boot time. This is turned off by default for security reasons. * Apply serverdiphfdfix.patch from http://festvox.org/packed/festival/1.4.1/PATCHES, merge changes from lexicon.cc, siteinit.scm. -- David Huggins-Daines Sun, 8 Apr 2001 17:05:38 -0400 festival (1.4.1-2.1) unstable; urgency=low * NMU * Set the "SYSTEM_TYPE" to "Linux" in debian/patches/speech_tools_config_config. (closes: #84496) -- Adrian Bunk Fri, 16 Mar 2001 23:32:35 +0100 festival (1.4.1-2) unstable; urgency=low * Fix build on powerpc. Closes: #62133 * Fix spew of compiler warnings when building. * Recompile to fix esound dependency issues (feh). Closes: #74592, #56193 * Recompile to fix speech-tools dependency issues. Closes: #51630 * Mark /etc/festival.scm as a conffile. Closes: #52901 * Include ESD patch from #62597. Closes: #62597 -- David Huggins-Daines Wed, 8 Nov 2000 19:19:00 -0500 festival (1.4.1-1) unstable; urgency=low * Fixed m68k config file patch. Really, really closes: #51614, I mean it. * New upstream (bugfix) version. Now has esound support, included. -- David Huggins-Daines Sat, 15 Jan 2000 01:14:31 -0500 festival (1.4.0-4) unstable; urgency=low * Added m68k config files (sigh). Closes: #51614 * Compile with -fPIC. Closes: #51637 -- David Huggins-Daines Tue, 30 Nov 1999 10:47:38 -0500 festival (1.4.0-3) unstable; urgency=low * Use -l option to dh_shlibdeps. Closes: #50602, #50600 * Applied patch to sys-build.mak from Adam Heath. Closes: #50327 * Created a sparc_Linux2.2.mak. Closes: #50472 -- David Huggins-Daines Sat, 27 Nov 1999 13:57:01 -0500 festival (1.4.0-2) unstable; urgency=low * Turns out the authors forgot to include a generic configuration file for Linux 2.2 on i386. * Fixed a foible in debian/rules that caused the *.so links to be created in the wrong package, yuck. -- David Huggins-Daines Mon, 8 Nov 1999 23:35:27 -0500 festival (1.4.0-1) unstable; urgency=medium * New upstream version. Is now free software. Hooray. * Change in source format - festival and speech-tools now build from a single source package again, using Adam Heath's most excellent build system. This allows me to eliminate many (but not all) of the nasty hacks previously needed to build this package. An unfortunate side effect of this is that the version number of the debian package for speech-tools does not reflect the actual upstream numbering system. This is due to Festival and Speech-Tools having a build system that is designed with the intent that the packages will be built under the same directory together and installed in place. As the authors state, this reflects the purpose of Festival as a research system. It does, however, make life very difficult when trying to produce a distributable and policy-compliant Debian package. * Most of the documentation is in the festival-doc package now. This is from the prebuilt festdoc package provided upstream, as it appears to be quite impossible to build the docs without a specially modified version of doc++ (boooooo) -- David Huggins-Daines Sat, 6 Nov 1999 20:05:18 -0500 festival (1.3.1-4) unstable; urgency=low * Now installs festival.el properly. Also, did s/stml/sable/g. Run "say-minor-mode" to get a nice menu for reading your buffers. * Also builds info documentation (this creates a rather nasty source dependency on the voice packages, which I'll try to fix ASAP) * Also builds C++ API documentation in HTML. * Renamed ppc_Linux.mak to powerpc_Linux.mak (doh!) * Work around some RXP weirdness with respect to the location of the Sable DTD. (a real fix will have to wait until a standalone RXP is packaged and we can link against it) -- David Huggins-Daines Fri, 28 May 1999 00:15:49 -0400 festival (1.3.1-3) unstable; urgency=low * Cleaned out the Debian diff a bit * Added some .mak files that may or may not allow the package to build on non-i386 platforms. * Installing the Sable DTD with sgml-base now, so that it works automagically with Emacs, nsgmls, and the like. -- David Huggins-Daines Tue, 4 May 1999 18:40:00 -0400 festival (1.3.1-2.1) unstable; urgency=low * Fixed it to compile with glibc 2.1. * Recompiled so it _works_ under glibc 2.1, without random crashes. -- Joey Hess Fri, 26 Mar 1999 21:42:29 -0800 festival (1.3.1-2) unstable; urgency=low * Changed the name of ellpc16k to ellpc11k. * Recommend the kallpc* packages too. * Modified voices.scm so it will support the kal voice too. -- Joey Hess Sun, 31 Jan 1999 19:47:30 -0800 festival (1.3.1-1) unstable; urgency=low * New upstream version. * Linked dynamically to new speech tools libraries. * Added festival-dev package (#32058).x -- Joey Hess Thu, 28 Jan 1999 22:12:22 -0800 festival (1.3.0-3) unstable; urgency=low * Include Sable.v0_2.dtd in the lib directory (#31304). -- Joey Hess Tue, 5 Jan 1999 14:20:41 -0800 festival (1.3.0-2) unstable; urgency=low * Made short description not start with package name. -- Joey Hess Mon, 31 Aug 1998 13:40:35 -0700 festival (1.3.0-1) unstable; urgency=low * New upstream release. * Updated copyright file. * Currently depends on xlib6, I think this is due to a bug in nas. -- Joey Hess Wed, 26 Aug 1998 15:57:21 -0700 festival (1.2.1-9) unstable; urgency=low * Corrected name of festvox-kdlpc16 in control file (#23886). -- Joey Hess Thu, 25 Jun 1998 11:14:52 -0700 festival (1.2.1-8) unstable; urgency=low * Added nas support (#22359). Disabled by default, edit /etc/festival.scm to enable. -- Joey Hess Wed, 13 May 1998 19:09:48 -0700 festival (1.2.1-7) unstable; urgency=low * Rebuilt linked to a version of speech-tools that supports linux16 audio. However, it will continue to use 8 bit audio by default. * Added a /etc/festival.scm (equivialnt to siteinit.scm that may be referred to in festival's documentation) to make it easy to switch to 16 bit sound (part of #22359). -- Joey Hess Tue, 12 May 1998 12:44:17 -0700 festival (1.2.1-6) unstable; urgency=low * Removed old unused debian/config file. * Do not compress some examples that are executables. -- Joey Hess Sun, 8 Mar 1998 20:36:38 -0800 festival (1.2.1-5) unstable; urgency=low * Fixed package descrption spelling (#18973). -- Joey Hess Thu, 5 Mar 1998 17:03:48 -0800 festival (1.2.1-4) unstable; urgency=low * New standards-version. * Rebuilt with debhlper 0.60 to fix many mode 444 and 555 files. * Moved audsp to /usr/lib/festival/audsp, becuase it's an internal command I don't want to write a man page for. -- Joey Hess Mon, 9 Feb 1998 14:42:55 -0800 festival (1.2.1-3) unstable; urgency=low * Applied patch from author to fix segfault problem (#16188). -- Joey Hess Tue, 23 Dec 1997 11:04:10 -0500 festival (1.2.1-2) unstable; urgency=low * token.cc: Applied patch to fix number pronounciation (#15919). * tts.scm: Fixed to call nsgmls, not nsgmls-1.0 (#15928). -- Joey Hess Sun, 14 Dec 1997 13:33:33 -0500 festival (1.2.1-1) unstable; urgency=low * New upstream release. * Split out speech-tools sources, so I could use pristine sources. * Use debhelper. * Fixed some examples files to work with modified festival paths. * examples/benchmark: default to reading /usr/doc/festival/README. * lib/voices.scm: added el_diphone to the voice search list, so festvox-ellpc16k will work. -- Joey Hess Sun, 26 Oct 1997 23:34:42 -0500 festival (1.1.1-1) unstable; urgency=low * First release. -- Joey Hess Mon, 14 Jul 1997 23:29:25 -0400 debian/compat0000664000000000000000000000000212170416507010371 0ustar 8 debian/festival.preinst0000664000000000000000000000175412170416507012425 0ustar #!/bin/sh set -e # Remove a no-longer used conffile rm_conffile() { PKGNAME="$1" CONFFILE="$2" if [ -e "$CONFFILE" ]; then md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE'{s/ obsolete$//;s/.* //p}\"`" if [ "$md5sum" != "$old_md5sum" ]; then echo "Obsolete conffile $CONFFILE has been modified by you." echo "Saving as $CONFFILE.dpkg-bak ..." mv -f "$CONFFILE" "$CONFFILE".dpkg-bak else echo "Removing obsolete conffile $CONFFILE ..." rm -f "$CONFFILE" fi fi } case "$1" in install|upgrade) if dpkg --compare-versions "$2" le 1.96~beta-6; then rm_conffile festival "/etc/init.d/festival" [ -e "/etc/init.d/festival.dpkg-bak" ] && chmod a-x /etc/init.d/festival.dpkg-bak rm_conffile festival "/etc/festival.scm" rm_conffile festival "/etc/default/festival" fi esac #DEBHELPER# debian/festival.postinst0000664000000000000000000000061212170416507012614 0ustar #!/bin/sh set -e # Remove shutdown and reboot links; this init script does not need them. if dpkg --compare-versions "$2" lt "1.4.3-18"; then rm -f /etc/rc0.d/K20festival /etc/rc6.d/K20festival fi # Create festival user if it doesn't already exist. if ! getent passwd festival >/dev/null; then adduser festival --quiet --system --ingroup audio --no-create-home fi #DEBHELPER# debian/README.source0000664000000000000000000000132212170416507011350 0ustar The festival package uses quilt to maintain local changes to the festival distribution. The Debian-specific patches are maintained in the debian/patches/ directory. To apply all the patches, preparing the source for building, use: debian/rules patch To revert the patches, preparing to build a source package, use: debian/rules unpatch You do not need to manually execute these targets when building the package; they are part of the debian/rules target chain. For more information on the quilt integration with Debian packages, as well as editing, adding or removing patches, please see the quilt documentation; in recent versions of the Debian package of quilt, Please sees: /usr/share/doc/quilt/README.source debian/festival.dirs0000664000000000000000000000020112170416507011664 0ustar usr/bin usr/lib/festival usr/share/festival usr/share/sgml/festival usr/share/emacs/site-lisp etc/emacs/site-start.d etc/default debian/copyright0000664000000000000000000001755612170416507011144 0ustar This package was debianzied by Joey Hess on Mon, 14 Jul 1997 23:29:25 -0400 It was downloaded from: . Upstream Authors: Centre for Speech Technology Research, University of Edinburgh, UK See ACKNOWLEDGMENTS for more details Copyright (C) 1996-2006 Centre for Speech Technology Research, University of Edinburgh, UK License: All rights reserved. The system as a whole and almost all of the files in it are distributed under the following copyright and conditions Permission is hereby granted, free of charge, to use and distribute this software and its documentation without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this work, and to permit persons to whom this work is furnished to do so, subject to the following conditions: 1. The code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Any modifications must be clearly marked as such. 3. Original authors' names are not deleted. 4. The authors' names are not used to endorse or promote products derived from this software without specific prior written permission. THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Some further comments: Every effort has been made to ensure that Festival does not contain any violation of intellectual property rights through disclosure of trade secrets, copyright or patent violation. Considerable time and effort has been spent to ensure that this is the case. However, especially with patent problems, it is not always within our control to know what has or has not been restricted. If you do suspect that some part of Festival cannot be legally distributed please please inform us so that an alternative may be sought. Festival is only useful if it is truly free to distribute. As of 1.4.0 the core distribution (and speech tools) is free. Unlike previous versions which had a commercial restriction. You are free to incorporate Festival in commercial (and of course non-commercial systems), without any further communication or licence from us. However if you are seriously using Festival within a commercial application we would like to know, both so we know we are contributing and so we can keep you informed of future developments. Also if you require maintenance, support or wish us to provide consultancy feel free to contact us. The voices however aren't all free. At present the US voices, kal and ked are free. Our British voices are free themselves but they use OALD which is restricted for non-commercial use. Our Spanish voice is also so restricted. Note other modules that festival supports e.g MBROLA and OGI extensions, may have different licencing please take care when using the system to understand what you are actually using. A number of individual files in the system fall under a different copyright from the above. All however are termed "free software" but most people. (src/arch/festival/tcl.c) Copyright (C) 1997 Jacques H. de Villiers Copyright (C) 1997 Center for Spoken Language Understanding, Oregon Graduate Institute of Science & Technology License: The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. (examples/festival_client.pl) Copyright (C) 1997 Kevin A. Lenzo License: The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. (lib/festival.el) Copyright (C) 1996 Alan W Black License: This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. No author or distributor accepts responsibility to anyone for the consequences of using this code or for whether it serves any particular purpose or works at all, unless explicitly stated in a written agreement. Everyone is granted permission to copy, modify and redistribute this code, but only under the conditions described in the GNU Emacs General Public License. A copy of this license is distrubuted with GNU Emacs so you can know your rights and responsibilities. It should be in a file named COPYING. Among other things, the copyright notice and this notice must be preserved on all copies. Please also read the COPYING section of speech_tools/README for the conditions on those files. debian/source/0000775000000000000000000000000012170417241010467 5ustar debian/source/format0000664000000000000000000000001412170416507011701 0ustar 3.0 (quilt) debian/festival.init0000664000000000000000000000470512170416507011703 0ustar #!/bin/sh #/etc/init.d/festival # # Init script for starting Festival as a system-wide server process. # # Written by David Huggins-Daines # LSBINITInfo by Kartik Mistry # LSB logging functions by David Härdeman ### BEGIN INIT INFO # Provides: festival # Required-Start: $syslog # Required-Stop: $syslog # Should-Start: $local_fs # Should-Stop: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Starts Festival engine at boot time # Description: Init script for starting Festival TTS as a # system-wide server process ### END INIT INFO # WARNING: It is inherently insecure to run a festival instance as a # server, mainly because it exposes the whole system to exploits which # can be easily used by attackers to gain access to your # computer. This is because of the inherent design of the festival # server. Please use it only in a situation where you are sure that # you will not be subjected to such an attack, or have adequate # security precautions. # This file has been provided as an example file for your use, should # you wish to run festival as a server. [ -r /etc/default/festival ] && . /etc/default/festival if [ "$RUN_FESTIVAL" != yes ]; then echo Not starting festival server, as /etc/default/festival does not have RUN_FESTIVAL=yes. exit 0 fi # NOTE: Not just anybody can connect to your server; the list of allowed # hostnames is a regexp. Check /usr/share/festival/festival.scm for more # helpful comments; add your settings to /etc/festival.scm. set -e DAEMON=/usr/bin/festival REALPROC=/usr/bin/festival NAME=festival . /lib/lsb/init-functions test -x $DAEMON || exit 0 case "$1" in start) log_daemon_msg "Starting Festival server" "$NAME" start-stop-daemon --start --chuid festival --background \ --exec $DAEMON -- --server -b /etc/festival.scm log_end_msg 0 ;; stop) log_daemon_msg "Stopping Festival server" "$NAME" start-stop-daemon --stop --oknodo --exec $REALPROC log_end_msg 0 ;; restart|reload|force-reload) log_daemon_msg "Restarting Festival server" "$NAME" start-stop-daemon --stop --oknodo --exec $REALPROC start-stop-daemon --start --chuid festival --background \ --exec $DAEMON -- --server -b /etc/festival.scm log_end_msg 0 ;; *) echo "Usage: /etc/init.d/$NAME {start|stop|restart}" >&2 exit 2 ;; esac exit 0 debian/README.Debian0000664000000000000000000001072212170416751011237 0ustar Festival for Debian ------------------- This package has a few differences to Upstream which are not adequately reflected in the documentation. - The standard .scm files are located in /usr/share/festival. - DTDs and related files are in /usr/share/sgml/festival. - HTS 2.1 backward compatibility module s provided for festival. Feel free to submit patches. Warning: ------- It is inherently insecure to run a festival instance as a server, mainly because it exposes the whole system to exploits which can be easily used by attackers to gain access to your computer. This is because of the inherent design of the festival server. Please use it only in a situation where you are sure that you will not be subjected to such an attack, or have adequate security precautions. The following process may give access of your machine to another users. Please take care and don't allow server other than localhost or 127.0.0.1 or trusted users. The festival server is now disabled by default, as it exposes the whole system to a root exploit, and makes even a default installation insecure. Since festival 1.96~beta-7, the daemon start is disabled by default. If you want to enable the Festival server as daemon with customization in the example festival.scm, you need to do these things: - Set RUN_FESTIVAL=yes in /etc/default/festival file. - Set the 'server_access_list' variable to the host names you want to grant access to the server in festival.scm, and put it somewhere (such as /etc/festival.scm). - Use the example festival.init as /etc/init.d/festival. Ensure it has executable permissions, and the festival.scm file is the rght ones pointed to. Note that the server_access_list variable holds a regular expression which is matched against whatever the client's IP address resolves to (or the address itself, if address-to-name resolution fails). For local connections, that is the first name in the '127.0.0.1' line of /etc/hosts; it may or may not be 'localhost'. Set 'server_access_list' to NIL if you want to control access by other means (e.g., if your firewall filters incoming access to TCP port 1314, or whatever you've set the 'server_port' variable to): (set! 'server_access_list nil) Use with alsa/other sound system: --------------------------------- We recommend that you use alsa through aplay. This is the default setting in /etc/festival.scm. However, for non-Linux architectures, where ALSA is unavailable, the audio method can be changed by setting it in ~/.festivalrc, with: (Param.set 'Audio_Method ') where is an appropriate sound system reference, such as freebsd16audio, mplayeraudio etc. A native PulseAudio module is also available, which can be selected by setting in ~/.festivalrc: (Param.set 'Audio_Method 'pulseaudio) Additionally, a native ALSA sound module is also available on Linux architectures. However this native module may underrun on some hardware. In order to enable it, please set in ~/.festivalrc: (Param.set 'Audio_Method 'linux16audio) If an underrun occurs, a warning will be raised suggesting you to change back the audio output module. -- Sergio Oller Sat, 22 Dec 2012 17:18:40 +0100 Use of HTS 2.1 compatibility module: ------------------------------------ From festival 2.095 onward festival upstream no longer supports older HTS 2.1 version voices. The popularity of such voices is so large that for we provide a "forward ported" module from an earlier version of festival (version 1.96) to allow the use of these voices. In order to use the voice with the Debian provided compatibility module (known as the "hts21_engine") two slight changes must be made to the voice. These lines are in a file in the festvox directory of the voice but the name of the file changes from voice to voice. The lines to be replaced are the following: (require 'hts) must be replaced with: (require 'hts21compat) and the line: (Parameter.set 'Synth_Method 'HTS) must be replaced with: (Parameter.set 'Synth_Method 'HTS21) Please note the compatibility module is intended to operate separately and in parallel with the modern HTS engine known as "hts_engine". There is no need to modify newer HTS 2.1.1 voices. They use "hts_engine". We recommend that you move to newer voices when available as the "hts21_engine" may not be ported to future releases in Debian of festival. debian/50festival.el0000664000000000000000000000143612170416507011503 0ustar ;; Autoloads (most probable entry points) for Festival (autoload 'say-minor-mode "festival" "Menu for using Festival." t) (autoload 'run-festival "festival" "Run an inferior FESTIVAL process, input and output via buffer *festival*." t) (autoload 'festival-say-buffer "festival" "Send given region to festival for saying. This saves the region as a file in /tmp and then tells festival to say that file. The major-mode is passed as a text mode to Festival." t) (autoload 'festival-say-region "festival" "Send given region to festival for saying. This saves the region as a file in /tmp and then tells festival to say that file. The major mode is *not* passed as text mode name to Festival." t) (autoload 'festival-say-string "festival" "Send string to festival and have it said" t) debian/festival-dev.dirs0000664000000000000000000000003512170416507012445 0ustar usr/lib usr/include/festival debian/festival.scm0000664000000000000000000000222612170416507011516 0ustar ;; WARNING: It is inherently insecure to run a festival instance as a ;; server, mainly because it exposes the whole system to exploits which ;; can be easily used by attackers to gain access to your ;; computer. This is because of the inherent design of the festival ;; server. Please use it only in a situation where you are sure that ;; you will not be subjected to such an attack, or have adequate ;; security precautions. ;; This file has been provided as an example file for your use, should ;; you wish to run festival as a server. ; Maximum number of clients on the server ;(set! server_max_clients 10) ; Server port ;(set! server_port 1314) ; Server password: ;(set! server_passwd "password") ; Log file location ;(set! server_log_file "/var/log/festival/festival.log") ; Server access list (hosts) ; Example: ; (set! server_access_list '("[^.]+" "127.0.0.1" "localhost.*" "192.168.*")) ; Secure default: ;(set! server_access_list '("[^.]+" "127.0.0.1" "localhost")) ; Server deny list (hosts) ;; Debian-specific: Use aplay to play audio (Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE") (Parameter.set 'Audio_Method 'Audio_Command) debian/festival.catalog0000664000000000000000000000043012170416507012341 0ustar -- This is the catalog entry for the Sable DTD used in the -- -- Festival speech synthesis system. -- ENTITY %ISOlat1 sable-latin.ent DOCTYPE "SABLE" Sable.v0_2.dtd PUBLIC "-//SABLE//DTD SABLE speech mark up//EN" Sable.v0_2.dtd PUBLIC "-//CSTR//DTD SABLE v0.2//EN" Sable.v0_2.dtd debian/festival.install0000664000000000000000000000106112170416507012376 0ustar src/main/festival usr/bin src/main/festival_client usr/bin lib/etc/unknown_DebianGNULinux/audsp usr/lib/festival lib/*.scm usr/share/festival lib/languages/*.scm usr/share/festival/languages lib/multisyn/*.scm usr/share/festival/multisyn lib/sable-latin.ent usr/share/sgml/festival lib/Sable.v0_2.dtd usr/share/sgml/festival lib/Singing.v0_1.dtd usr/share/sgml/festival lib/festival.el usr/share/emacs/site-lisp lib/*gram* usr/share/festival debian/50festival.el etc/emacs/site-start.d examples/text2wave usr/bin debian/festival.scm etc debian/festival-dev.install0000664000000000000000000000011112170416507013145 0ustar src/lib/libFestival.a usr/lib src/include/*.h usr/include/festival debian/clean0000664000000000000000000000001312170416507010172 0ustar confdefs.h debian/control0000664000000000000000000000432612170416751010604 0ustar Source: festival Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Jean-Philippe MENGUAL Uploaders: Kumar Appaiah , Jaldhar H. Vyas , Samuel Thibault Build-Depends: debhelper (>= 8), autotools-dev, libestools2.1-dev (>= 1:2.1~release-6), libncurses5-dev, texinfo, quilt, libaudiofile-dev, dpkg-dev (>= 1.16.0) Standards-Version: 3.9.4 Homepage: http://www.cstr.ed.ac.uk/projects/festival/ Vcs-Git: git://git.debian.org/git/tts/festival.git Vcs-Browser: http://git.debian.org/?p=tts/festival.git Package: festival Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser (>= 3.105), alsa-utils [linux-any], lsb-base (>= 3.0-10), sysv-rc (>= 2.86.ds1) Recommends: festvox-kallpc16k | festival-voice Breaks: festvox-rablpc8k (<< 1.4.0-2), festvox-rablpc16k (<< 1.4.0-2), festvox-kdlpc16k (<< 1.4.0-4), festvox-kdlpc8k (<< 1.4.0-5), festvox-don (<< 1.4.0-3), festvox-ellpc11k (<< 1.4.0-1), festlex-cmu (<< 1.4.0-3), festlex-oald (<< 1.4.0-2), festlex-poslex (<< 1.4.0-3) Suggests: pidgin-festival, festival-freebsoft-utils Description: General multi-lingual speech synthesis system Festival offers a full text to speech system with various APIs, as well an environment for development and research of speech synthesis techniques. It includes a Scheme-based command interpreter. . Besides research into speech synthesis, festival is useful as a stand-alone speech synthesis program. It is capable of producing clearly understandable speech from text. Package: festival-dev Architecture: any Depends: ${misc:Depends}, libestools2.1-dev (>= 1:2.1~release) Suggests: festival-doc Section: libdevel Description: Development kit for the Festival speech synthesis system This package contains the static library and headers that can be used to develop programs that use Festival. Documentation is now contained in the separate festival-doc package. debian/shlibs.local0000664000000000000000000000006212170416507011471 0ustar libestools 1.2 libestools1.2 (>= 1:1.2.96~beta-2) debian/patches/0000775000000000000000000000000012170417241010616 5ustar debian/patches/lib_festdoc.scm.diff0000664000000000000000000000075312170416507014517 0ustar This patch is for festival for Debian GNU/Linux, to ensure manual includes functions/variables from festival library Index: b/lib/festdoc.scm =================================================================== --- a/lib/festdoc.scm +++ b/lib/festdoc.scm @@ -55,6 +55,7 @@ ;; Need to ensure all library files are actually loaded if they contain ;; funcstions/variables which have to be put in the manual + (require 'festival) (require 'display) (require 'mbrola) (require 'tilt) debian/patches/src_modules_diphone_diphone.h.diff0000664000000000000000000000154612170416507017443 0ustar This patch is part of a series of patches for festival for Debian GNU/Linux, to allow alaw output (asterisk interoperability) Index: b/src/modules/diphone/diphone.h =================================================================== --- a/src/modules/diphone/diphone.h +++ b/src/modules/diphone/diphone.h @@ -41,7 +41,7 @@ enum di_sigaccess_t {di_direct, di_dynamic, di_ondemand}; enum di_db_type_t {di_pcm, di_lpc}; -enum di_group_encode_t {di_raw, di_ulaw }; +enum di_group_encode_t {di_raw, di_ulaw, di_alaw }; enum di_group_t {di_grouped, di_ungrouped}; typedef struct { @@ -109,7 +109,7 @@ int lpc_pitch_synch; /* True if lpc frames are pitch synchronous */ short *allsignal; /* used in group files */ - unsigned char *allulawsignal; + unsigned char *allualawsignal; float *allframes; short *allframesshort; debian/patches/src_modules_donovan_t2s.h.diff0000664000000000000000000000106612170416507016540 0ustar This patch is part of a series of patches for festival for Debian GNU/Linux, to allow alaw output (asterisk interoperability) Index: b/src/modules/donovan/t2s.h =================================================================== --- a/src/modules/donovan/t2s.h +++ b/src/modules/donovan/t2s.h @@ -261,10 +261,6 @@ /* transcribe.c */ void transcribe(CONFIG *config, LING_LIST *ling_list); -/* ulaw.c */ -unsigned char linear2ulaw(int sample); -int ulaw2linear(unsigned char ulawbyte); - /* utils.c */ char **split(char *in); void tidy_split(char **root); debian/patches/config_project.mak.diff0000664000000000000000000000202312170416507015213 0ustar This patch is part of a series of patches for festival for Debian GNU/Linux, to provide Debian specific building for festival Index: b/config/project.mak =================================================================== --- a/config/project.mak +++ b/config/project.mak @@ -71,8 +71,8 @@ # Place where programs are compiled -PROJECT_MAIN_DIR=$(FESTIVAL_HOME)/src/main -PROJECT_SCRIPTS_DIR=$(FESTIVAL_HOME)/src/scripts +PROJECT_MAIN_DIR=$(TOP)/src/main +PROJECT_SCRIPTS_DIR=$(TOP)/src/scripts # Where the main RCS tree is, probably only used within CSTR @@ -87,9 +87,9 @@ # Libraries used from other projects REQUIRED_LIBRARIES = estools estbase eststring -REQUIRED_LIBRARY_DIR_estools = $(EST)/lib -REQUIRED_LIBRARY_DIR_estbase = $(EST)/lib -REQUIRED_LIBRARY_DIR_eststring = $(EST)/lib +REQUIRED_LIBRARY_DIR_estools = /usr/lib/$(DEB_HOST_MULTIARCH) +REQUIRED_LIBRARY_DIR_estbase = /usr/lib/$(DEB_HOST_MULTIARCH) +REQUIRED_LIBRARY_DIR_eststring = /usr/lib/$(DEB_HOST_MULTIARCH) REQUIRED_MAKE_INCLUDE = $(EST)/make.include debian/patches/lib_voices_english_kal_diphone_festvox_kal_diphone.scm.diff0000664000000000000000000000061712170416507024540 0ustar This patch is part of a series of patches for festival for Debian GNU/Linux, enable suggested kal_diphone voice Index: b/lib/voices/english/kal_diphone/festvox/kal_diphone.scm =================================================================== --- /dev/null +++ b/lib/voices/english/kal_diphone/festvox/kal_diphone.scm @@ -0,0 +1 @@ +(define voice_kal_diphone (lambda () t)) (provide 'kal_diphone) debian/patches/doc_festival.texi.diff0000664000000000000000000031766112170416507015104 0ustar This patch is part of a series of patches for festival for Debian GNU/Linux, to provide Debian specific changes to documentation Index: b/doc/festival.texi =================================================================== --- a/doc/festival.texi +++ b/doc/festival.texi @@ -1,6 +1,11 @@ \input texinfo @c -*-texinfo-*- @c %**start of header -@setfilename festival.info +@dircategory Sound +@dircategory Development +@direntry +* Festival: (festival). Speech synthesis system. +@end direntry +@c c@setfilename festival.info @settitle Festival Speech Synthesis System @finalout @setchapternewpage odd @@ -135,7 +140,7 @@ @chapter Abstract This document provides a user manual for the Festival -Speech Synthesis System, version @value{VERSION}. +Speech Synthesis System, version @value{VERSION}. Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole it @@ -190,34 +195,34 @@ The current copyright on the core system is @example The Festival Speech Synthesis System: version 1.4.3 - Centre for Speech Technology Research - University of Edinburgh, UK - Copyright (c) 1996-2004 - All Rights Reserved. - - Permission is hereby granted, free of charge, to use and distribute - this software and its documentation without restriction, including - without limitation the rights to use, copy, modify, merge, publish, - distribute, sublicense, and/or sell copies of this work, and to - permit persons to whom this work is furnished to do so, subject to - the following conditions: - 1. The code must retain the above copyright notice, this list of - conditions and the following disclaimer. - 2. Any modifications must be clearly marked as such. - 3. Original authors' names are not deleted. - 4. The authors' names are not used to endorse or promote products - derived from this software without specific prior written - permission. - - THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK - DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING - ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT - SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE - FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN - AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, - ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF - THIS SOFTWARE. + Centre for Speech Technology Research + University of Edinburgh, UK + Copyright (c) 1996-2004 + All Rights Reserved. + + Permission is hereby granted, free of charge, to use and distribute + this software and its documentation without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of this work, and to + permit persons to whom this work is furnished to do so, subject to + the following conditions: + 1. The code must retain the above copyright notice, this list of + conditions and the following disclaimer. + 2. Any modifications must be clearly marked as such. + 3. Original authors' names are not deleted. + 4. The authors' names are not used to endorse or promote products + derived from this software without specific prior written + permission. + + THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK + DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING + ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT + SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE + FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, + ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF + THIS SOFTWARE. @end example @node Acknowledgements, What is new, Copying, Top @@ -259,7 +264,7 @@ for providing such a useful and well-written sub-system. @example Scheme In One Defun (SIOD) - COPYRIGHT (c) 1988-1994 BY + COPYRIGHT (c) 1988-1994 BY PARADIGM ASSOCIATES INCORPORATED, CAMBRIDGE, MASSACHUSETTS. ALL RIGHTS RESERVED @@ -291,23 +296,23 @@ within the standard speech tools distribution) and our modifications fall under the following licence. @example -Copyright 1992 Simmule Turner and Rich Salz. All rights reserved. - -This software is not subject to any license of the American Telephone -and Telegraph Company or of the Regents of the University of California. - -Permission is granted to anyone to use this software for any purpose on -any computer system, and to alter it and redistribute it freely, subject -to the following restrictions: -1. The authors are not responsible for the consequences of use of this - software, no matter how awful, even if they arise from flaws in it. -2. The origin of this software must not be misrepresented, either by - explicit claim or by omission. Since few users ever read sources, - credits must appear in the documentation. -3. Altered versions must be plainly marked as such, and must not be - misrepresented as being the original software. Since few users - ever read sources, credits must appear in the documentation. -4. This notice may not be removed or altered. +Copyright 1992 Simmule Turner and Rich Salz. All rights reserved. + +This software is not subject to any license of the American Telephone +and Telegraph Company or of the Regents of the University of California. + +Permission is granted to anyone to use this software for any purpose on +any computer system, and to alter it and redistribute it freely, subject +to the following restrictions: +1. The authors are not responsible for the consequences of use of this + software, no matter how awful, even if they arise from flaws in it. +2. The origin of this software must not be misrepresented, either by + explicit claim or by omission. Since few users ever read sources, + credits must appear in the documentation. +3. Altered versions must be plainly marked as such, and must not be + misrepresented as being the original software. Since few users + ever read sources, credits must appear in the documentation. +4. This notice may not be removed or altered. @end example @section Edinburgh Speech Tools Library @@ -319,7 +324,7 @@ those who have contributed to the Speech Tools make Festival a more usable system. -@xref{Acknowledgements, , Acknowledgements, speechtools, +@xref{Acknowledgements, , Acknowledgements, speechtools, Edinburgh Speech Tools Library Manual}. Online information about the Edinburgh Speech Tools library @@ -341,7 +346,7 @@ directorship and LPC diphone code, design of diphone schema. @item EPSRC: who fund Alan Black and Paul Taylor. -@item Sun Microsystems Laboratories: +@item Sun Microsystems Laboratories: for supporting the project and funding Richard. @item AT&T Labs - Research: for supporting the project. @@ -371,7 +376,7 @@ @item Samuel Audet @file{guardia@@cam.org}: OS/2 support @item Mari Ostendorf: -For providing access to the BU FM Radio corpus from which some +For providing access to the BU FM Radio corpus from which some modules were trained. @item Melvin Hunt: from whose work we based our residual LPC synthesis model on @@ -390,7 +395,7 @@ for first getting Paul and Alan to work together and for the experience we gained. @item FSF: -for G++, make, .... +for G++, make, .... @item Center for Spoken Language Understanding: CSLU at OGI, particularly Ron Cole and Mike Macon, have acted as significant users for the system giving significant feedback and @@ -420,7 +425,7 @@ 1.4.0 is not functionally so different from its previous versions. This release is primarily a consolidation release fixing and tidying up some of the lower level aspects of the system to allow better -modularity for some of our future planned modules. +modularity for some of our future planned modules. @itemize @bullet @item Copyright change: @@ -436,10 +441,10 @@ compatibility reasons. This is a much higher dependence of features and easier (and safer) ways to register new objects as feature values and Scheme objects. Scheme has been tidied up. It is no longer -"in one defun" but "in one directory". +"in one defun" but "in one directory". @item New documentation system for speech tools: -A new docbook based documentation system has been added to the +A new docbook based documentation system has been added to the speech tools. Festival's documentation will will move over to this sometime soon too. @@ -449,7 +454,7 @@ investgated under Solaris and Linux. @item Generalization of statistical models: CART, ngrams, -and WFSTs are now fully supported from Lisp and can be used with a +and WFSTs are now fully supported from Lisp and can be used with a generalized viterbi function. This makes adding quite complex statistical models easy without adding new C++. @@ -459,7 +464,7 @@ @item Documentation on Bulding New Voices in Festival: documentation, scripts etc. for building new voices and languages in -the system, see +the system, see @example @url{http://www.cstr.ed.ac.uk/projects/festival/docs/festvox/} @end example @@ -509,7 +514,7 @@ improvements. Festival is specifically designed to allow the addition of new -modules, easily and efficiently, so that development need not +modules, easily and efficiently, so that development need not get bogged down in re-implementing the wheel. But there is another aspect of Festival which makes it more useful than @@ -545,7 +550,7 @@ externally from the program @emph{such that} they can reimplemented by others, what is the point of doing the work? -Festival offers a common framework where multiple techniques may be +Festival offers a common framework where multiple techniques may be implemented (by the same or different researchers) so that they may be tested more fairly in the same environment. @@ -568,7 +573,7 @@ there are always new things that can make it better. However as time goes on Festival's core architecture will stabilise and little or no changes will be made. Other aspects of the system will gain -greater attention such as waveform synthesis modules, intonation +greater attention such as waveform synthesis modules, intonation techniques, text type dependent analysers etc. Festival will improve, so don't expected it to be the same six months @@ -624,7 +629,7 @@ @item festival-1.4.3-release.tar.gz Festival Speech Synthesis System source @item speech_tools-1.2.3-release.tar.gz -The Edinburgh Speech Tools Library +The Edinburgh Speech Tools Library @item festlex_NAME.tar.gz @cindex lexicon The lexicon distribution, where possible, includes the lexicon input @@ -677,7 +682,7 @@ Visual C++ v6.0 @end itemize Note if GCC works on one version of Unix it usually works on -others. +others. @cindex Windows NT/95 We have compiled both the speech tools and Festival under Windows NT 4.0 @@ -750,7 +755,7 @@ @section Configuration First ensure you have a compiled version of the Edinburgh -Speech Tools Library. See @file{speech_tools/INSTALL} for +Speech Tools Library. See @file{speech_tools/INSTALL} for instructions. @cindex configuration @@ -805,7 +810,7 @@ gmake test @end example -To simply make it run with a male US English voice it is +To simply make it run with a male US English voice it is sufficient to install just @example festlex_CMU.tar.gz @@ -857,7 +862,7 @@ @end example in the speech_tools and festival directories. I have only done this under unix, it's possible it would work under the cygnus gnuwin32 -system. +system. If @file{make.depend} files exist (i.e. if you have done @file{gnumake depend} in unix) equivalent @file{vc_make.depend} files will be created, if not @@ -869,7 +874,7 @@ need to have a collection of environment variables set. In Windows NT there is an instalation option for Visual C++ which sets these globally. Under Windows95 or if you don't ask for them to be set -globally under NT you need to run +globally under NT you need to run @example vcvars32.bat @end example @@ -888,10 +893,10 @@ Now you can compile. cd to the speech_tools directory and do @example -nmake /nologo /fVCMakefile +nmake /nologo /fVCMakefile @end example @exdent and the library, the programs in main and the test programs should be -compiled. +compiled. The tests can't be run automatically under Windows. A simple test to check that things are probably OK is: @@ -902,7 +907,7 @@ Next go into the festival directory and do @example -nmake /nologo /fVCMakefile +nmake /nologo /fVCMakefile @end example @exdent to build festival. When it's finished, and assuming you have the voices and lexicons unpacked in the right place, festival should run @@ -936,14 +941,15 @@ @cindex initialization @cindex installation initialization @cindex @file{init.scm} -@cindex @file{siteinit.scm} +@cindex @file{/etc/festival.scm} +@cindex @file{/etc/festivalvars.scm} Once compiled Festival may be further customized for particular sites. At start up time Festival loads the file @file{init.scm} from its library directory. This file further loads other necessary files such as phoneset descriptions, duration parameters, intonation parameters, definitions of voices etc. It will also load the files -@file{sitevars.scm} and @file{siteinit.scm} if they exist. -@file{sitevars.scm} is loaded after the basic Scheme library functions +@file{/etc/festivalvars.scm} and @file{/etc/festival.scm} if they exist. +@file{/etc/festivalvars.scm} is loaded after the basic Scheme library functions are loaded but before any of the festival related functions are loaded. This file is intended to set various path names before various subsystems are loaded. Typically variables such @@ -951,17 +957,17 @@ @code{voices_dir} (pointing to voice directories) should be reset here if necessary. -@cindex change libdir at run-time +@cindex change libdir or datadir at run-time @cindex run-time configuration @cindex @code{load-path} The default installation will try to find its lexicons and voices automatically based on the value of @code{load-path} (this is derived -from @code{FESTIVAL_HOME} at compilation time or by using the @code{--libdir} +from @code{FESTIVAL_HOME} at compilation time or by using the @code{--datadir} at run-time). If the voices and lexicons have been unpacked into subdirectories of the library directory (the default) then no site specific initialization of the above pathnames will be necessary. -The second site specific file is @file{siteinit.scm}. Typical examples +The second site specific file is @file{/etc/festival.scm}. Typical examples of local initialization are as follows. The default audio output method is NCD's NAS system if that is supported as that's what we use normally in CSTR. If it is not supported, any hardware specific mode is the @@ -969,13 +975,13 @@ But that default is just a setting in @file{init.scm}. If for example in your environment you may wish the default audio output method to be 8k mulaw through @file{/dev/audio} you should add the following line to -your @file{siteinit.scm} file +your @file{/etc/festival.scm} file @lisp (Parameter.set 'Audio_Method 'sunaudio) @end lisp Note the use of @code{Parameter.set} rather than @code{Parameter.def} the second function will not reset the value if it is already set. -Remember that you may use the audio methods @code{sun16audio}. +Remember that you may use the audio methods @code{sun16audio}. @code{linux16audio} or @code{freebsd16audio} only if @code{NATIVE_AUDIO} was selected in @file{speech_tools/config/config} and your are on such machines. The Festival variable @code{*modules*} contains @@ -990,7 +996,7 @@ for sample rate and file type. When playing waveforms, Festival, by default, outputs as unheadered waveform in native byte order. In this example you would set up the default audio playing mechanism in -@file{siteinit.scm} as follows +@file{/etc/festival.scm} as follows @lisp (Parameter.set 'Audio_Method 'Audio_Command) (Parameter.set 'Audio_Command "adplay -raw -r $SR $FILE") @@ -1009,9 +1015,9 @@ resample functions this could be optimal. The second addition audio parameter is @code{Audio_Required_Format} which can be used to specify the desired output forms of the file. The default -is unheadered raw, but this may be any of the values supported by +is unheadered raw, but this may be any of the values supported by the speech tools (including nist, esps, snd, riff, aiff, audlab, raw -and, if you really want it, ascii). +and, if you really want it, ascii). For example suppose you run Festival on a remote machine and are not running any network audio system and want Festival to copy files back to @@ -1021,7 +1027,7 @@ (Parameter.set 'Audio_Method 'Audio_Command) ;; Make output file ulaw 8k (format ulaw implies 8k) (Parameter.set 'Audio_Required_Format 'ulaw) -(Parameter.set 'Audio_Command +(Parameter.set 'Audio_Command "userhost=`echo $DISPLAY | sed 's/:.*$//'`; rcp $FILE $userhost:$FILE; \ rsh $userhost \"cat $FILE >/dev/audio\" ; rsh $userhost \"rm $FILE\"") @end lisp @@ -1036,12 +1042,12 @@ depend on many things but due to various licence (and resource) restrictions you may only have some diphone/nphone databases available in your installation. The function name that is the value of -@code{voice_default} is called immediately after @file{siteinit.scm} is +@code{voice_default} is called immediately after @file{/etc/festival.scm} is loaded offering the opportunity for you to change it. In the standard distribution no change should be required. If you download all the distributed voices @code{voice_rab_diphone} is the default voice. You may change this for a site by adding -the following to @file{siteinit.scm} or per person by changing +the following to @file{/etc/festival.scm} or per person by changing your @file{.festivalrc}. For example if you wish to change the default voice to the American one @code{voice_ked_diphone} @lisp @@ -1053,15 +1059,15 @@ @cindex @file{.festivalrc} @cindex user initialization A second level of customization is on a per user basis. After loading -@file{init.scm}, which includes @file{sitevars.scm} and -@file{siteinit.scm} for local installation, Festival loads the file +@file{init.scm}, which includes @file{/etc/festival.scm} +for local installation, Festival loads the file @file{.festivalrc} from the user's home directory (if it exists). This -file may contain arbitrary Festival commands. +file may contain arbitrary Festival commands. @node Checking an installation, , Site initialization, Installation @section Checking an installation -Once compiled and site initialization is set up you should test +Once compiled and site initialization is set up you should test to see if Festival can speak or not. Start the system @@ -1085,7 +1091,9 @@ Copyright (C) University of Edinburgh, 1996-2003. All rights reserved. For details type `(festival_warranty)' festival> libdir -"/projects/festival/lib/" +"/usr/lib/festival" +festival> datadir +"/usr/share/festival" festival> ^D @end example This should show the pathname you set in your @file{config/config}. @@ -1106,7 +1114,7 @@ You have selected NAS as the audio output but have no server running on that machine or your @code{DISPLAY} or @code{AUDIOSERVER} environment variable is not set properly for your output device. Either set these -properly or change the audio output device in @file{lib/siteinit.scm} as +properly or change the audio output device in @file{lib/festival.scm} as described above. Ensure your audio device actually works the way you think it does. On @@ -1136,7 +1144,7 @@ @code{voice_rab_diphone} (@file{festvox_rabxxxx.tar.gz}) is the default voice and that @code{voice_ked_diphone} and @code{voice_don_diphone} (@file{festvox_kedxxxx.tar.gz} and @file{festvox_don.tar.gz}) are -installed. Also local settings in your @file{festival/lib/siteinit.scm} +installed. Also local settings in your @file{/etc/festival.scm} may affect these tests. However, after installation it may be worth trying @example @@ -1188,7 +1196,7 @@ @table @code @item -q -start Festival without loading @file{init.scm} or user's +start Festival without loading @file{init.scm} or user's @file{.festivalrc} @item -b @itemx --batch @@ -1203,7 +1211,7 @@ @cindex tts mode Treat file arguments in text-to-speech mode, causing them to be rendered as speech rather than interpreted as commands. When selected -in interactive mode the command line edit functions are not available +in interactive mode the command line edit functions are not available @item --command @cindex command mode Treat file arguments in command mode. This is the default. @@ -1212,19 +1220,19 @@ Set the default language to @var{LANG}. Currently @var{LANG} may be one of @code{english}, @code{spanish} or @code{welsh} (depending on what voices are actually available in your installation). -@item --server +@item --server After loading any specified files go into server mode. This is a mode where Festival waits for clients on a known port (the value of @code{server_port}, default is 1314). Connected clients may send commands (or text) to the server and expect waveforms back. @xref{Server/client API}. Note server mode may be unsafe and allow unauthorised access to your -machine, be sure to read the security recommendations in +machine, be sure to read the security recommendations in @ref{Server/client API} @item --script scriptfile @cindex script files @cindex Festival script files -Run scriptfile as a Festival script file. This is similar to +Run scriptfile as a Festival script file. This is similar to to @code{--batch} but it encapsulates the command line arguments into the Scheme variables @code{argv} and @code{argc}, so that Festival scripts may process their command line arguments just like @@ -1315,9 +1323,9 @@ @cindex playing an utterance This calls various modules, including tokenizing, duration,. intonation etc. Which modules are called are defined with respect to the type -of the utterance, in this case @code{Text}. It is possible to +of the utterance, in this case @code{Text}. It is possible to individually call the modules by hand but you just wanted it to talk didn't -you. So +you. So @lisp festival> (utt.play utt1) # @@ -1365,7 +1373,7 @@ played at some later time. The simplest way to do this with festival is by using the @file{text2wave} program. This is a festival script that will take a file (or text from standard input) and produce a single -waveform. +waveform. @cindex text2wave An example use is @@ -1404,29 +1412,29 @@ @end example Another related function is @code{manual-sym} which given a symbol will check its documentation string for a cross reference to a manual -section and request Netscape to display it. This function is -bound to @key{m-m} and will display the appropriate section for +section and request Netscape to display it. This function is +bound to @key{m-m} and will display the appropriate section for the given symbol. Note also that the @key{TAB} key can be used to find out the name of commands available as can the function @code{Help} (remember the parentheses). -For more up to date information on Festival regularly check +For more up to date information on Festival regularly check the Festival Home Page at @example @url{http://www.cstr.ed.ac.uk/projects/festival.html} @end example -Further help is available by mailing questions to +Further help is available by mailing questions to @example festival-help@@cstr.ed.ac.uk @end example -Although we cannot guarantee the time required to answer you, we +Although we cannot guarantee the time required to answer you, we will do our best to offer help. @cindex bug reports -Bug reports should be submitted to +Bug reports should be submitted to @example festival-bug@@cstr.ed.ac.uk @end example @@ -1454,7 +1462,7 @@ * Scheme references:: Places to learn more about Scheme * Scheme fundamentals:: Syntax and semantics * Scheme Festival specifics:: -* Scheme I/O:: +* Scheme I/O:: @end menu @node Scheme references, Scheme fundamentals, , Scheme @@ -1473,7 +1481,7 @@ @itemize @bullet @item The Revised Revised Revised Revised Scheme Report, the document -defining the language is available from +defining the language is available from @example @url{http://tinuviel.cs.wcu.edu/res/ldp/r4rs-html/r4rs_toc.html} @end example @@ -1494,7 +1502,7 @@ But you want more now, don't you, not just be referred to some other book. OK here goes. -@emph{Syntax}: an expression is an @emph{atom} or a @emph{list}. A +@emph{Syntax}: an expression is an @emph{atom} or a @emph{list}. A list consists of a left paren, a number of expressions and right paren. Atoms can be symbols, numbers, strings or other special types like functions, hash tables, arrays, etc. @@ -1565,7 +1573,7 @@ @end lisp Which will cause a backtrace to be displayed whenever a Scheme error occurs. This can be put in your @file{.festivalrc} if you wish. This -is especially useful when running Festival in non-interactive mode +is especially useful when running Festival in non-interactive mode (batch or script mode) so that more information is printed when an error occurs. @@ -1590,7 +1598,7 @@ bugs in parameters or code. Every effort has been made to ensure that the processing of text never causes errors in Festival. However when using Festival as a development system it is often -that errors occur in code. +that errors occur in code. Sometimes in writing Scheme code you know there is a potential for an error but you wish to ignore that and continue on to the next @@ -1611,7 +1619,7 @@ occurs. @lisp (unwind-protect - (process_utt filename) + (process_utt filename) (begin (format t "Error found in processing %s\n" filename) (format t "continuing\n"))) @@ -1632,7 +1640,7 @@ @cindex file i/o in Scheme @cindex i/o in Scheme -Different Scheme's may have quite different implementations of +Different Scheme's may have quite different implementations of file i/o functions so in this section we will describe the basic functions in Festival SIOD regarding i/o. @@ -1750,12 +1758,12 @@ based on a filename's extension. Within the command interpreter the function @code{tts} is used -to render files as text; it takes a filename and the text mode +to render files as text; it takes a filename and the text mode as arguments. @menu * Utterance chunking:: From text to utterances -* Text modes:: Mode specific text analysis +* Text modes:: Mode specific text analysis * Example text mode:: An example mode for reading email @end menu @@ -1775,7 +1783,7 @@ different use. The following tree is currently used which works better than simply using punctuation. @lisp -(defvar eou_tree +(defvar eou_tree '((n.whitespace matches ".*\n.*\n\\(.\\|\n\\)*") ;; 2 or more newlines ((1)) ((punc in ("?" ":" "!")) @@ -1845,13 +1853,13 @@ Our initial text mode implementation allows configuration both in C++ and in Scheme. Obviously in C++ almost anything can be done but it is not as easy to reconfigure without recompilation. Here -we will discuss those modes which can be fully configured at +we will discuss those modes which can be fully configured at run time. A text mode may contain the following @table @emph @item filter -A Unix shell program filter that processes the text file in some +A Unix shell program filter that processes the text file in some appropriate way. For example for email it might remove uninteresting headers and just output the subject, from line and the message body. If not specified, an identity filter is used. @@ -1888,7 +1896,7 @@ as follows @lisp (set! auto-text-mode-alist - (cons (cons "\\.email$" 'email) + (cons (cons "\\.email$" 'email) auto-text-mode-alist)) @end lisp If the function @code{tts} is called with a mode other than @code{nil} @@ -1927,7 +1935,7 @@ be read in HTML mode. @example (set! auto-text-mode-alist - (cons (cons "\\.html?$" 'html) + (cons (cons "\\.html?$" 'html) auto-text-mode-alist)) @end example Then you may synthesize an HTML file either from Scheme @@ -1961,13 +1969,13 @@ # Email filter for Festival tts mode # usage: email_filter mail_message >tidied_mail_message grep "^From: " $1 -echo +echo grep "^Subject: " $1 echo # delete up to first blank line (i.e. the header) sed '1,/^$/ d' $1 @end example -Next we define the email init function, which will be called +Next we define the email init function, which will be called when we start this mode. What we will do is save the current token to words function and slot in our own new one. We can then restore the previous one when we exit. @@ -1982,7 +1990,7 @@ @code{token_to_words} should be set to ensure that our new token to word function is still used when we change voices. -The corresponding end function puts the token to words function +The corresponding end function puts the token to words function back. @lisp (define (email_exit_func) @@ -1993,7 +2001,7 @@ Now we can define the email specific token to words function. In this example we deal with two specific cases. First we deal with the common form of email addresses so that the angle brackets are not pronounced. -The second points are to recognise quoted text and immediately change the +The second points are to recognise quoted text and immediately change the the speaker to the alternative speaker. @lisp (define (email_token_to_words token name) @@ -2011,7 +2019,7 @@ (append (email_previous_t2w_func token (string-after (string-before name "@@") "<")) - (cons + (cons "at" (email_previous_t2w_func token (string-before (string-after name "@@") ">"))))) @@ -2023,7 +2031,7 @@ greater than signs which are the first token on a line. @lisp ((and (string-matches name ">") - (string-matches (item.feat token "whitespace") + (string-matches (item.feat token "whitespace") "[ \t\n]*\n *")) (voice_don_diphone) nil ;; return nothing to say @@ -2037,7 +2045,7 @@ switch back to the primary speaker. @lisp (t ;; for all other cases - (if (string-matches (item.feat token "whitespace") + (if (string-matches (item.feat token "whitespace") ".*\n[ \t\n]*") (voice_rab_diphone)) (email_previous_t2w_func token name)))) @@ -2057,7 +2065,7 @@ tts_text_modes)) @end lisp This will now allow simple email messages to be dealt with in a mode -specific way. +specific way. An example mail message is included in @file{examples/ex1.email}. To hear the result of the above text mode start Festival, load @@ -2137,7 +2145,7 @@ @example - @@ -2149,11 +2157,11 @@ Good morning My name is Stuart, which is spelled stuart -though some people pronounce it +though some people pronounce it stuart. My telephone number is 2787. -I used to work in Buccleuch Place, +I used to work in Buccleuch Place, but no one can pronounce that. By the way, my telephone number is actually @@ -2182,7 +2190,7 @@ will form over the next few months. As adding support for new tags is often trivial the problem lies much more in defining what tags there should be than in actually implementing them. The following -are based on version 0.2 of Sable as described in +are based on version 0.2 of Sable as described in @url{http://www.cstr.ed.ac.uk/projects/sable_spec2.html}, though some aspects are not currently supported in this implementation. Further updates will be announces through the Sable mailing list. @@ -2214,7 +2222,7 @@ the waveform is to be played in the background of the following text or not. Festival as yet only supports insertion. @example -My telephone number is +My telephone number is