summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2006-05-16 05:16:47 +0000
committerWilliam Hubbs <williamh@gentoo.org>2006-05-16 05:16:47 +0000
commita0eca78f18a397a0aea05db553c3e5e5b9fa9377 (patch)
tree8a2b3ebdc3d7eb13dcc4432efde38d3c14ae18a2 /app-accessibility
parentx86 stable; the rails they are alive (diff)
downloadhistorical-a0eca78f18a397a0aea05db553c3e5e5b9fa9377.tar.gz
historical-a0eca78f18a397a0aea05db553c3e5e5b9fa9377.tar.bz2
historical-a0eca78f18a397a0aea05db553c3e5e5b9fa9377.zip
Version bump.
Package-Manager: portage-2.1_rc1-r2
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/festival/ChangeLog8
-rw-r--r--app-accessibility/festival/Manifest69
-rw-r--r--app-accessibility/festival/festival-1.95_beta.ebuild153
-rw-r--r--app-accessibility/festival/files/digest-festival-1.4.3-r324
-rw-r--r--app-accessibility/festival/files/digest-festival-1.4.3-r426
-rw-r--r--app-accessibility/festival/files/digest-festival-1.95_beta54
-rw-r--r--app-accessibility/festival/files/festival-1.95_beta-asterisk.patch17
7 files changed, 332 insertions, 19 deletions
diff --git a/app-accessibility/festival/ChangeLog b/app-accessibility/festival/ChangeLog
index 9bd339e4dffa..7715050e0458 100644
--- a/app-accessibility/festival/ChangeLog
+++ b/app-accessibility/festival/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-accessibility/festival
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.37 2006/04/18 23:18:07 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.38 2006/05/16 05:16:47 williamh Exp $
+
+*festival-1.95_beta (16 May 2006)
+
+ 16 May 2006; William Hubbs <williamh@gentoo.org>
+ +files/festival-1.95_beta-asterisk.patch, +festival-1.95_beta.ebuild:
+ Version Bump.
18 Apr 2006; William Hubbs <williamh@gentoo.org> metadata.xml:
Updated metadata.
diff --git a/app-accessibility/festival/Manifest b/app-accessibility/festival/Manifest
index 3c86d51e9fe8..81478fd606e2 100644
--- a/app-accessibility/festival/Manifest
+++ b/app-accessibility/festival/Manifest
@@ -1,30 +1,69 @@
-MD5 839278075206b884eeaa86030149af75 ChangeLog 8715
-RMD160 fc6001bf63001fbad636e45ff1a15882f5bb33b8 ChangeLog 8715
-SHA256 984dd5bff25bbf75ce17b86a7b929ee6b373528d1d6a4480fa82878816fdec15 ChangeLog 8715
-MD5 5e29e53e94ac53246056b83949a6ec8a festival-1.4.3-r3.ebuild 5935
-RMD160 8144f762ea744229ded6dba2d2774dfbeb1ba0cc festival-1.4.3-r3.ebuild 5935
-SHA256 63b29ea816e023fd98c6004aa3d7b87834a2e1b2028a6abd43f9b193a02b5492 festival-1.4.3-r3.ebuild 5935
-MD5 660d41fcc25f7e6c794e01572c0496ae festival-1.4.3-r4.ebuild 5005
-RMD160 5c13e87034de54911c91c00e7f2eb78efcb037e0 festival-1.4.3-r4.ebuild 5005
-SHA256 5ef77029a8e9b046e33e4272174be2dadcf2b4e71b97d63987788e6fa014c115 festival-1.4.3-r4.ebuild 5005
-MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r3 863
-RMD160 4b1d679753fd7f09f28792af434e85a49289bf62 files/digest-festival-1.4.3-r3 863
-SHA256 3ccb54e47d82c6f5aa2a6c7be9b1747bf015e925ef44f118353f44863cda856d files/digest-festival-1.4.3-r3 863
-MD5 c7f0c77b597f9a682ad2921edb0d26fb files/digest-festival-1.4.3-r4 863
-RMD160 52a334779878d8c037a9509010dccc425c99873e files/digest-festival-1.4.3-r4 863
-SHA256 6b3704c906938108daa64cb8d7407ce369a3e8287af7cd6d9dc615f3f83cc0a1 files/digest-festival-1.4.3-r4 863
+AUX festival-1.4.3-asterisk.patch 3028 RMD160 42afe825a9c5ff47560aa77d66a38f7450ec6d82 SHA1 cc04a3e5c599b4d38d020376f298aa2529baa976 SHA256 2b5ac32aaee2790c3ba4c19ce6d50b6d632620c65000ebf6c093a9cd8d0e722b size 3028
MD5 b380d6440fe49096f7705d6f1adf01ee files/festival-1.4.3-asterisk.patch 3028
RMD160 42afe825a9c5ff47560aa77d66a38f7450ec6d82 files/festival-1.4.3-asterisk.patch 3028
SHA256 2b5ac32aaee2790c3ba4c19ce6d50b6d632620c65000ebf6c093a9cd8d0e722b files/festival-1.4.3-asterisk.patch 3028
+AUX festival-1.95_beta-asterisk.patch 739 RMD160 d333c05bcba43c2713730beec0cd8e13bd2f3436 SHA1 4553e8e02211ac8c67ee36e2ebd3d341278fd62e SHA256 0331929ddfe43bd424c1a55ad8309920c8b51c6d0c2f651beb926d1eecb322d0 size 739
+MD5 d3ccc7a2b85c1c574ef09b92e1ea88ed files/festival-1.95_beta-asterisk.patch 739
+RMD160 d333c05bcba43c2713730beec0cd8e13bd2f3436 files/festival-1.95_beta-asterisk.patch 739
+SHA256 0331929ddfe43bd424c1a55ad8309920c8b51c6d0c2f651beb926d1eecb322d0 files/festival-1.95_beta-asterisk.patch 739
+AUX festival-gcc3.3.diff 5257 RMD160 77cede1bb9bdf583e7b638be43bd8a36de4b84fc SHA1 3ac48e62a45ed386d3b76ad58c7ad6ddab813026 SHA256 468d3c96ed3d917ee8723e598f34689d104b331deef49fa63464bbd23c27f446 size 5257
MD5 70fe1c867e8782c7ff288056677fda0c files/festival-gcc3.3.diff 5257
RMD160 77cede1bb9bdf583e7b638be43bd8a36de4b84fc files/festival-gcc3.3.diff 5257
SHA256 468d3c96ed3d917ee8723e598f34689d104b331deef49fa63464bbd23c27f446 files/festival-gcc3.3.diff 5257
+AUX festival.rc 621 RMD160 3f3c44a2a4aaee279ec2bb52ee04c0fe7ed7cef9 SHA1 2e72c5c8800a467412003199023b48da2b2bc62b SHA256 89153bc45b1e63352b1d04711d49e7ba65040dfaffeea2d7ac00cf2f4997ccf8 size 621
MD5 8517199b1c2ba4350258e5511e93c2ea files/festival.rc 621
RMD160 3f3c44a2a4aaee279ec2bb52ee04c0fe7ed7cef9 files/festival.rc 621
SHA256 89153bc45b1e63352b1d04711d49e7ba65040dfaffeea2d7ac00cf2f4997ccf8 files/festival.rc 621
+AUX server.scm 781 RMD160 55647d6825180573cf54fd54897d80638d1be4c0 SHA1 52719fb6efff6d097250ebe011b1711e45b5db09 SHA256 13b7865ccb0a976cc63f477e97ffbacfb735c68b4f4512a250bb2a307bd6ddb4 size 781
MD5 ac6ab1a049e2d4ec374892de9f058704 files/server.scm 781
RMD160 55647d6825180573cf54fd54897d80638d1be4c0 files/server.scm 781
SHA256 13b7865ccb0a976cc63f477e97ffbacfb735c68b4f4512a250bb2a307bd6ddb4 files/server.scm 781
+DIST festdoc-1.4.2.tar.gz 1652551 size 1652551
+DIST festival-1.4.3-release.tar.gz 630179 size 630179
+DIST festival-1.95-beta.tar.gz 707573 RMD160 7f7cce6ab170ab1e83911ed92408576fff32cbd6 SHA256 c16054d3a8b8bb82b09a87aa26fedc57f65e1c519917b3d6909684f15b47209e size 707573
+DIST festlex_CMU.tar.gz 1697709 RMD160 852a007b5d50ff32d098a4dbd303a4d9c63a1802 SHA256 b485c1e8e8e265e335aa99f083963496fa64b34a314050b10d589e942e10c963 size 1697709
+DIST festlex_OALD.tar.gz 1472516 RMD160 d3fc4c549626dcc2a0d5d37fee7d8ebb3bf89c20 SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5 size 1472516
+DIST festlex_POSLEX.tar.gz 242914 RMD160 d52d6cf4f4300751598facf1b6ff7985a8210b09 SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b size 242914
+DIST festvox_cmu_us_awb_arctic_hts.tar.gz 878090 RMD160 abfcc3457c1735cf772b051c0ec884e55381ad9b SHA256 56b930028a14efdaa01b8b34add087bcde75b774b97b205d2f478413203d9a4d size 878090
+DIST festvox_cmu_us_bdl_arctic_hts.tar.gz 1060641 RMD160 cab02ae2be1c3691cfcc2aa6c09ae6829fca9896 SHA256 caa679c728c8804f4a1dae6ab08e7b31f10b292e572598fb6432d0e18f40bd2b size 1060641
+DIST festvox_cmu_us_jmk_arctic_hts.tar.gz 909045 RMD160 5e9657f55d7aa10e852cd36d5a73f1dd106e6713 SHA256 e4f623d1114922c8844ec266d46d558e1521e0ab3bc6e958cdf8f69c28bcc038 size 909045
+DIST festvox_cmu_us_slt_arctic_hts.tar.gz 955706 RMD160 541cc0959305c656bc4af4b848c666a707671fe3 SHA256 adcc187fc7db39e17c119811936be57f0b788908f06c3d9b330856ad8357b128 size 955706
+DIST festvox_don.tar.gz 645583 RMD160 b601a712d893e6d6f70c1d3a3fa87903aae81917 SHA256 762d26fa476ca7beea8ae0bf0fcf3a8d9324fa65735175fd54eb34e60932e4ff size 645583
+DIST festvox_ellpc11k.tar.gz 1473907 RMD160 75c92fe845c7ded2341d8717784bf7bdc93fa966 SHA256 9599df46c58454200ce546184556eab8faaf53c44fbd16f1ff38b3f2c375cbf8 size 1473907
+DIST festvox_en1.tar.gz 3323 RMD160 48edf2ad55774712754af341f73ced53aa1d963e SHA256 a4bb55d39eaef31eb6ad8b915035c31108b2427108512e1c301941fbf8f6ffb9 size 3323
+DIST festvox_kallpc16k.tar.gz 4104056 RMD160 f8be814267359ac9d4fa5d0bcade18e15b64beb2 SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83 size 4104056
+DIST festvox_kedlpc16k.tar.gz 4221528 RMD160 63480c4ed695c86fc8de0f3a0740196debc710ae SHA256 6b8f11424bda5c81ae8a58f7838e2a9d12fdb39cdfff6ed89f611305391b1a36 size 4221528
+DIST festvox_rablpc16k.tar.gz 5369001 RMD160 d98cc1df3e922fe9894cf51e5913f8bfd0b99889 SHA256 54835837ca734e62c0210c0f9dd27380d2ad89819ae91ec6e8cfab4e515b7bdc size 5369001
+DIST festvox_us1.tar.gz 11040 RMD160 97cfd8e62347aa28cf2319174021bc002044ffd5 SHA256 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e size 11040
+DIST festvox_us2.tar.gz 11037 RMD160 62528dc44291be4f7e7fda1677f3074fcc9fdab7 SHA256 d27ad26213144d956815e804c06e5473191ac12afb44f6a1029b3842e3a3007c size 11037
+DIST festvox_us3.tar.gz 11220 RMD160 86946aa9718b7dacfbb884ba02254e59ebdb7247 SHA256 af9ca4d1832e1971aa6e52f6a3ff8f729bf970c7bee1de7e8ac0611ca01871b8 size 11220
+DIST speech_tools-1.2.95-beta.tar.gz 1281274 RMD160 874b9e6d35bf8a59aeacd3d5b149e24e2a490008 SHA256 d9d0693ed57ba1f6c9471a43fe60fb1b728683fe6f820e98ef2be13bbd1fe772 size 1281274
+EBUILD festival-1.4.3-r3.ebuild 5935 RMD160 8144f762ea744229ded6dba2d2774dfbeb1ba0cc SHA1 1540fed0824f6961f865fc96e8d3285d51586abe SHA256 63b29ea816e023fd98c6004aa3d7b87834a2e1b2028a6abd43f9b193a02b5492 size 5935
+MD5 5e29e53e94ac53246056b83949a6ec8a festival-1.4.3-r3.ebuild 5935
+RMD160 8144f762ea744229ded6dba2d2774dfbeb1ba0cc festival-1.4.3-r3.ebuild 5935
+SHA256 63b29ea816e023fd98c6004aa3d7b87834a2e1b2028a6abd43f9b193a02b5492 festival-1.4.3-r3.ebuild 5935
+EBUILD festival-1.4.3-r4.ebuild 5005 RMD160 5c13e87034de54911c91c00e7f2eb78efcb037e0 SHA1 05e67f0aef1691c026885e460bcd76faf7da1e3d SHA256 5ef77029a8e9b046e33e4272174be2dadcf2b4e71b97d63987788e6fa014c115 size 5005
+MD5 660d41fcc25f7e6c794e01572c0496ae festival-1.4.3-r4.ebuild 5005
+RMD160 5c13e87034de54911c91c00e7f2eb78efcb037e0 festival-1.4.3-r4.ebuild 5005
+SHA256 5ef77029a8e9b046e33e4272174be2dadcf2b4e71b97d63987788e6fa014c115 festival-1.4.3-r4.ebuild 5005
+EBUILD festival-1.95_beta.ebuild 4984 RMD160 3900d2010e82eef74e69ddf279b5b328929dbc9e SHA1 97f53b3833742318c4a7378de280dbbfbadb3cb6 SHA256 e2dbfd06679757f7cbe2869e9a40c74c44f233f890b00c7c473385fce60f587c size 4984
+MD5 f393135b53849686965242400faad43d festival-1.95_beta.ebuild 4984
+RMD160 3900d2010e82eef74e69ddf279b5b328929dbc9e festival-1.95_beta.ebuild 4984
+SHA256 e2dbfd06679757f7cbe2869e9a40c74c44f233f890b00c7c473385fce60f587c festival-1.95_beta.ebuild 4984
+MISC ChangeLog 8890 RMD160 2088feb75209f85f537d75df3c86bcaae478e792 SHA1 56910549f03eee6d6ff5a7fdfadb7a36030c7a0e SHA256 de9c8e24ec24e889a52116bf3af391199450539e1a16400ce95413008ad8c8e0 size 8890
+MD5 156682e436da630d2e04e8f9c0fe2fb1 ChangeLog 8890
+RMD160 2088feb75209f85f537d75df3c86bcaae478e792 ChangeLog 8890
+SHA256 de9c8e24ec24e889a52116bf3af391199450539e1a16400ce95413008ad8c8e0 ChangeLog 8890
+MISC metadata.xml 248 RMD160 ba4734da964d3d5db60feb339d3e89de2eb87ab6 SHA1 bdd70f0d466d7bea88716581054941113ce22a16 SHA256 b40271c6a99e7610d9df3544a98da28417f406b82a48b04f1a8a9bb474cd04cc size 248
MD5 dd298b30a3c1071fdfd33569480dcfd3 metadata.xml 248
RMD160 ba4734da964d3d5db60feb339d3e89de2eb87ab6 metadata.xml 248
SHA256 b40271c6a99e7610d9df3544a98da28417f406b82a48b04f1a8a9bb474cd04cc metadata.xml 248
+MD5 ca9bcfa68fe86db2728290d8ef2c51b4 files/digest-festival-1.4.3-r3 2815
+RMD160 4f20a072ecd0c8b906ba85163f7abe0f02945c7e files/digest-festival-1.4.3-r3 2815
+SHA256 8492554970e24e1b0a132c878fef9a3e2d2acbb6ff1dfa8b6e4a090b3f52e402 files/digest-festival-1.4.3-r3 2815
+MD5 ca9bcfa68fe86db2728290d8ef2c51b4 files/digest-festival-1.4.3-r4 2815
+RMD160 4f20a072ecd0c8b906ba85163f7abe0f02945c7e files/digest-festival-1.4.3-r4 2815
+SHA256 8492554970e24e1b0a132c878fef9a3e2d2acbb6ff1dfa8b6e4a090b3f52e402 files/digest-festival-1.4.3-r4 2815
+MD5 f5ca272d3b45a7370f66686a2b21b10b files/digest-festival-1.95_beta 4596
+RMD160 4cb448ea13d480f2ca172430dd481cd76cbe77ba files/digest-festival-1.95_beta 4596
+SHA256 879cbf8b4203de586e3770729dc322e5d20bdb881dc65fec379691c8436a0ddf files/digest-festival-1.95_beta 4596
diff --git a/app-accessibility/festival/festival-1.95_beta.ebuild b/app-accessibility/festival/festival-1.95_beta.ebuild
new file mode 100644
index 000000000000..f0fd67bd2c41
--- /dev/null
+++ b/app-accessibility/festival/festival-1.95_beta.ebuild
@@ -0,0 +1,153 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.95_beta.ebuild,v 1.1 2006/05/16 05:16:47 williamh Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Festival Text to Speech engine"
+HOMEPAGE="http://www.cstr.ed.ac.uk/"
+SITE="http://www.cstr.ed.ac.uk/downloads/${PN}/${PV/_beta//}"
+MY_P=${PN}-1.95-beta
+SRC_URI="${SITE}/${MY_P}.tar.gz
+ ${SITE}/speech_tools-1.2.95-beta.tar.gz
+ ${SITE}/festlex_POSLEX.tar.gz
+ ${SITE}/festlex_CMU.tar.gz
+ ${SITE}/festlex_OALD.tar.gz
+ ${SITE}/festvox_rablpc16k.tar.gz
+ ${SITE}/festvox_don.tar.gz
+ ${SITE}/festvox_kallpc16k.tar.gz
+ ${SITE}/festvox_kedlpc16k.tar.gz
+ ${SITE}/festvox_cmu_us_bdl_arctic_hts.tar.gz
+ ${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
+ ${SITE}/festvox_cmu_us_jmk_arctic_hts.tar.gz
+ ${SITE}/festvox_cmu_us_awb_arctic_hts.tar.gz
+ linguas_es? ( ${SITE}/festvox_ellpc11k.tar.gz )
+ mbrola? (
+ ${SITE}/festvox_en1.tar.gz
+ ${SITE}/festvox_us1.tar.gz
+ ${SITE}/festvox_us2.tar.gz
+ ${SITE}/festvox_us3.tar.gz )"
+LICENSE="FESTIVAL BSD as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="asterisk esd mbrola X"
+
+RDEPEND="sys-libs/ncurses
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r2 )"
+
+DEPEND="${RDEPEND}
+ sys-apps/sed"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+
+ use asterisk && epatch ${FILESDIR}/${P}-asterisk.patch
+ use esd && sed -i -e 's/# \(INCLUDE_MODULES += ESD_AUDIO\)/\1/' ${S}/speech_tools/config/config.in
+ use X || sed -i -e 's/-lX11 -lXt//' ${S}/speech_tools/config/modules/esd_audio.mak
+
+ # testsuite still fails to build under gcc-3.2
+ # sed -i '/^BUILD_DIRS =/s/testsuite//' ${S}/Makefile || die
+
+ sed -i -e "/^const char \*festival_libdir/s:FTLIBDIR:\"/usr/share/festival\":" ${S}/festival/src/arch/festival/festival.cc
+ sed -i -e '/^MODULE_LIBS/s/-ltermcap/-lncurses/' ${S}/festival/config/modules/editline.mak || die
+
+ # Fix hardcoded path for examples that will be finally installed in /usr/$(get_libdir)/festival/examples
+ sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" ${S}/festival/lib/festival.scm
+}
+
+src_compile() {
+ cd ${S}/speech_tools
+ econf || die
+ emake -j1 OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+ cd ${S}/festival
+ econf || die
+ emake -j1 PROJECT_LIBDEPS="" REQUIRED_LIBDEPS="" LOCAL_LIBDEPS="" OPTIMISE_CXXFLAGS="${CXXFLAGS}" OPTIMISE_CCFLAGS="${CFLAGS}" CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
+}
+
+src_install() {
+ # Install the binaries
+ dobin ${S}/festival/src/main/festival
+ dobin ${S}/festival/lib/etc/*Linux*/audsp
+
+ # Install the main libraries
+ insinto /usr/share/festival
+ doins ${S}/festival/lib/*
+
+ # Install the examples
+ insinto /usr/share/doc/${PF}/examples/
+ doins -r ${S}/festival/examples/*
+
+ # Need to fix saytime, etc. to look for festival in the correct spot
+ for ex in ${D}/usr/share/doc/${PF}/examples/*.sh; do
+ exnoext=${ex%%.sh}
+ chmod a+x ${exnoext}
+ dosed "s:${S}/festival/bin/festival:/usr/bin/festival:" ${exnoext##$D}
+ done
+
+ # Install the header files
+ insinto /usr/include/festival
+ doins ${S}/festival/src/include/*.h
+
+ # Install the dicts
+ insinto /usr/share/festival/dicts
+ doins -r ${S}/festival/lib/dicts/*
+
+ # Installs all existing voices, no matter what language.
+ insinto /usr/share/festival/voices
+ doins -r ${S}/festival/lib/voices/*
+
+ # Sample server.scm configuration for the server
+ insinto /etc/festival
+ doins ${FILESDIR}/server.scm
+
+ # Install the init script
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/festival.rc festival
+
+ use mbrola && mbrola_voices
+
+ # Install the docs
+ dodoc ${S}/festival/{ACKNOWLEDGMENTS,NEWS,README}
+ doman ${S}/festival/doc/{festival.1,festival_client.1}
+}
+
+pkg_postinst() {
+ einfo
+ einfo " Useful examples include saytime, text2wave. For example, try:"
+ einfo " \"/usr/share/doc/${PF}/examples/saytime\""
+ einfo
+ einfo " Or for something more fun:"
+ einfo ' "echo "Gentoo can speak" | festival --tts"'
+ einfo
+ einfo " To enable the festival server at boot, run"
+ einfo " rc-update add festival default"
+ einfo
+ einfo " You must setup the server's port, access list, etc in this file:"
+ einfo " /etc/festival/server.scm"
+ einfo
+}
+
+# Fix mbrola databases: create symbolic links from festival voices
+# directories to MBROLA install dirs.
+mbrola_voices() {
+
+ # This is in case there is no mbrola voice for a particular language.
+ local shopts=$(shopt -p nullglob)
+ shopt -s nullglob
+
+ # This assumes all mbrola voices are named after the voices defined
+ # in MBROLA, i.e. if MBROLA contains a voice fr1, then the Festival
+ # counterpart should be named fr1_mbrola.
+ for language in ${S}/festival/lib/voices/*; do
+ for mvoice in ${language}/*_mbrola; do
+ voice=${mvoice##*/}
+ database=${voice%%_mbrola}
+ dosym /opt/mbrola/${database} /usr/share/festival/voices/${language##*/}/${voice}/${database}
+ done
+ done
+
+ # Restore shopts
+ ${shopts}
+}
diff --git a/app-accessibility/festival/files/digest-festival-1.4.3-r3 b/app-accessibility/festival/files/digest-festival-1.4.3-r3
index 7933fac5b8b9..c0b39ec72a36 100644
--- a/app-accessibility/festival/files/digest-festival-1.4.3-r3
+++ b/app-accessibility/festival/files/digest-festival-1.4.3-r3
@@ -1,13 +1,35 @@
+MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551
MD5 c070523bea2baa0bcaa2d922481abbb5 festival-1.4.3-release.tar.gz 630179
MD5 a3ffcd09dcbf1306fdef3c84c1c521d6 festlex_CMU.tar.gz 1697709
+RMD160 852a007b5d50ff32d098a4dbd303a4d9c63a1802 festlex_CMU.tar.gz 1697709
+SHA256 b485c1e8e8e265e335aa99f083963496fa64b34a314050b10d589e942e10c963 festlex_CMU.tar.gz 1697709
MD5 45a03689025849d02ec963a5b338ef37 festlex_OALD.tar.gz 1472516
+RMD160 d3fc4c549626dcc2a0d5d37fee7d8ebb3bf89c20 festlex_OALD.tar.gz 1472516
+SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5 festlex_OALD.tar.gz 1472516
MD5 742c266e4c4978fae2b5c1bf6f549eb4 festlex_POSLEX.tar.gz 242914
+RMD160 d52d6cf4f4300751598facf1b6ff7985a8210b09 festlex_POSLEX.tar.gz 242914
+SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b festlex_POSLEX.tar.gz 242914
MD5 90442079e34a3a694077f8715d15fbdf festvox_don.tar.gz 645583
+RMD160 b601a712d893e6d6f70c1d3a3fa87903aae81917 festvox_don.tar.gz 645583
+SHA256 762d26fa476ca7beea8ae0bf0fcf3a8d9324fa65735175fd54eb34e60932e4ff festvox_don.tar.gz 645583
MD5 e96a97644d36fcb89952ca65c283cea3 festvox_ellpc11k.tar.gz 1473907
+RMD160 75c92fe845c7ded2341d8717784bf7bdc93fa966 festvox_ellpc11k.tar.gz 1473907
+SHA256 9599df46c58454200ce546184556eab8faaf53c44fbd16f1ff38b3f2c375cbf8 festvox_ellpc11k.tar.gz 1473907
MD5 abbd12e1d04ecdcae07f1d0044f3a947 festvox_kallpc16k.tar.gz 4104056
+RMD160 f8be814267359ac9d4fa5d0bcade18e15b64beb2 festvox_kallpc16k.tar.gz 4104056
+SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83 festvox_kallpc16k.tar.gz 4104056
MD5 35d4a2f377d05913ddae61db542afca1 festvox_kedlpc16k.tar.gz 4221528
+RMD160 63480c4ed695c86fc8de0f3a0740196debc710ae festvox_kedlpc16k.tar.gz 4221528
+SHA256 6b8f11424bda5c81ae8a58f7838e2a9d12fdb39cdfff6ed89f611305391b1a36 festvox_kedlpc16k.tar.gz 4221528
MD5 cefcdda6cd48027da36d78f2f711451b festvox_rablpc16k.tar.gz 5369001
+RMD160 d98cc1df3e922fe9894cf51e5913f8bfd0b99889 festvox_rablpc16k.tar.gz 5369001
+SHA256 54835837ca734e62c0210c0f9dd27380d2ad89819ae91ec6e8cfab4e515b7bdc festvox_rablpc16k.tar.gz 5369001
MD5 d0c3e727003e715a65daf01003101813 festvox_us1.tar.gz 11040
+RMD160 97cfd8e62347aa28cf2319174021bc002044ffd5 festvox_us1.tar.gz 11040
+SHA256 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e festvox_us1.tar.gz 11040
MD5 fbcc8baacbff3aa2aaaf5a93701bb5e0 festvox_us2.tar.gz 11037
+RMD160 62528dc44291be4f7e7fda1677f3074fcc9fdab7 festvox_us2.tar.gz 11037
+SHA256 d27ad26213144d956815e804c06e5473191ac12afb44f6a1029b3842e3a3007c festvox_us2.tar.gz 11037
MD5 06dbfe2edaab6ffa31deeaf522e0c33e festvox_us3.tar.gz 11220
-MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551
+RMD160 86946aa9718b7dacfbb884ba02254e59ebdb7247 festvox_us3.tar.gz 11220
+SHA256 af9ca4d1832e1971aa6e52f6a3ff8f729bf970c7bee1de7e8ac0611ca01871b8 festvox_us3.tar.gz 11220
diff --git a/app-accessibility/festival/files/digest-festival-1.4.3-r4 b/app-accessibility/festival/files/digest-festival-1.4.3-r4
index 459b679b65de..c0b39ec72a36 100644
--- a/app-accessibility/festival/files/digest-festival-1.4.3-r4
+++ b/app-accessibility/festival/files/digest-festival-1.4.3-r4
@@ -1,13 +1,35 @@
+MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551
MD5 c070523bea2baa0bcaa2d922481abbb5 festival-1.4.3-release.tar.gz 630179
MD5 a3ffcd09dcbf1306fdef3c84c1c521d6 festlex_CMU.tar.gz 1697709
+RMD160 852a007b5d50ff32d098a4dbd303a4d9c63a1802 festlex_CMU.tar.gz 1697709
+SHA256 b485c1e8e8e265e335aa99f083963496fa64b34a314050b10d589e942e10c963 festlex_CMU.tar.gz 1697709
MD5 45a03689025849d02ec963a5b338ef37 festlex_OALD.tar.gz 1472516
+RMD160 d3fc4c549626dcc2a0d5d37fee7d8ebb3bf89c20 festlex_OALD.tar.gz 1472516
+SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5 festlex_OALD.tar.gz 1472516
MD5 742c266e4c4978fae2b5c1bf6f549eb4 festlex_POSLEX.tar.gz 242914
+RMD160 d52d6cf4f4300751598facf1b6ff7985a8210b09 festlex_POSLEX.tar.gz 242914
+SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b festlex_POSLEX.tar.gz 242914
MD5 90442079e34a3a694077f8715d15fbdf festvox_don.tar.gz 645583
+RMD160 b601a712d893e6d6f70c1d3a3fa87903aae81917 festvox_don.tar.gz 645583
+SHA256 762d26fa476ca7beea8ae0bf0fcf3a8d9324fa65735175fd54eb34e60932e4ff festvox_don.tar.gz 645583
+MD5 e96a97644d36fcb89952ca65c283cea3 festvox_ellpc11k.tar.gz 1473907
+RMD160 75c92fe845c7ded2341d8717784bf7bdc93fa966 festvox_ellpc11k.tar.gz 1473907
+SHA256 9599df46c58454200ce546184556eab8faaf53c44fbd16f1ff38b3f2c375cbf8 festvox_ellpc11k.tar.gz 1473907
MD5 abbd12e1d04ecdcae07f1d0044f3a947 festvox_kallpc16k.tar.gz 4104056
+RMD160 f8be814267359ac9d4fa5d0bcade18e15b64beb2 festvox_kallpc16k.tar.gz 4104056
+SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83 festvox_kallpc16k.tar.gz 4104056
MD5 35d4a2f377d05913ddae61db542afca1 festvox_kedlpc16k.tar.gz 4221528
+RMD160 63480c4ed695c86fc8de0f3a0740196debc710ae festvox_kedlpc16k.tar.gz 4221528
+SHA256 6b8f11424bda5c81ae8a58f7838e2a9d12fdb39cdfff6ed89f611305391b1a36 festvox_kedlpc16k.tar.gz 4221528
MD5 cefcdda6cd48027da36d78f2f711451b festvox_rablpc16k.tar.gz 5369001
-MD5 e96a97644d36fcb89952ca65c283cea3 festvox_ellpc11k.tar.gz 1473907
-MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551
+RMD160 d98cc1df3e922fe9894cf51e5913f8bfd0b99889 festvox_rablpc16k.tar.gz 5369001
+SHA256 54835837ca734e62c0210c0f9dd27380d2ad89819ae91ec6e8cfab4e515b7bdc festvox_rablpc16k.tar.gz 5369001
MD5 d0c3e727003e715a65daf01003101813 festvox_us1.tar.gz 11040
+RMD160 97cfd8e62347aa28cf2319174021bc002044ffd5 festvox_us1.tar.gz 11040
+SHA256 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e festvox_us1.tar.gz 11040
MD5 fbcc8baacbff3aa2aaaf5a93701bb5e0 festvox_us2.tar.gz 11037
+RMD160 62528dc44291be4f7e7fda1677f3074fcc9fdab7 festvox_us2.tar.gz 11037
+SHA256 d27ad26213144d956815e804c06e5473191ac12afb44f6a1029b3842e3a3007c festvox_us2.tar.gz 11037
MD5 06dbfe2edaab6ffa31deeaf522e0c33e festvox_us3.tar.gz 11220
+RMD160 86946aa9718b7dacfbb884ba02254e59ebdb7247 festvox_us3.tar.gz 11220
+SHA256 af9ca4d1832e1971aa6e52f6a3ff8f729bf970c7bee1de7e8ac0611ca01871b8 festvox_us3.tar.gz 11220
diff --git a/app-accessibility/festival/files/digest-festival-1.95_beta b/app-accessibility/festival/files/digest-festival-1.95_beta
new file mode 100644
index 000000000000..b0601d0be32b
--- /dev/null
+++ b/app-accessibility/festival/files/digest-festival-1.95_beta
@@ -0,0 +1,54 @@
+MD5 0a44e30f922fa57ed1a7aa437baf4dd6 festival-1.95-beta.tar.gz 707573
+RMD160 7f7cce6ab170ab1e83911ed92408576fff32cbd6 festival-1.95-beta.tar.gz 707573
+SHA256 c16054d3a8b8bb82b09a87aa26fedc57f65e1c519917b3d6909684f15b47209e festival-1.95-beta.tar.gz 707573
+MD5 a3ffcd09dcbf1306fdef3c84c1c521d6 festlex_CMU.tar.gz 1697709
+RMD160 852a007b5d50ff32d098a4dbd303a4d9c63a1802 festlex_CMU.tar.gz 1697709
+SHA256 b485c1e8e8e265e335aa99f083963496fa64b34a314050b10d589e942e10c963 festlex_CMU.tar.gz 1697709
+MD5 45a03689025849d02ec963a5b338ef37 festlex_OALD.tar.gz 1472516
+RMD160 d3fc4c549626dcc2a0d5d37fee7d8ebb3bf89c20 festlex_OALD.tar.gz 1472516
+SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5 festlex_OALD.tar.gz 1472516
+MD5 742c266e4c4978fae2b5c1bf6f549eb4 festlex_POSLEX.tar.gz 242914
+RMD160 d52d6cf4f4300751598facf1b6ff7985a8210b09 festlex_POSLEX.tar.gz 242914
+SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b festlex_POSLEX.tar.gz 242914
+MD5 65130b3c466f1b9f5ea3d2ea211cf168 festvox_cmu_us_awb_arctic_hts.tar.gz 878090
+RMD160 abfcc3457c1735cf772b051c0ec884e55381ad9b festvox_cmu_us_awb_arctic_hts.tar.gz 878090
+SHA256 56b930028a14efdaa01b8b34add087bcde75b774b97b205d2f478413203d9a4d festvox_cmu_us_awb_arctic_hts.tar.gz 878090
+MD5 43283634ecceecaa4bb10277343b2852 festvox_cmu_us_bdl_arctic_hts.tar.gz 1060641
+RMD160 cab02ae2be1c3691cfcc2aa6c09ae6829fca9896 festvox_cmu_us_bdl_arctic_hts.tar.gz 1060641
+SHA256 caa679c728c8804f4a1dae6ab08e7b31f10b292e572598fb6432d0e18f40bd2b festvox_cmu_us_bdl_arctic_hts.tar.gz 1060641
+MD5 e8bd1298ac7aad7d752c0bdfe9c9287b festvox_cmu_us_jmk_arctic_hts.tar.gz 909045
+RMD160 5e9657f55d7aa10e852cd36d5a73f1dd106e6713 festvox_cmu_us_jmk_arctic_hts.tar.gz 909045
+SHA256 e4f623d1114922c8844ec266d46d558e1521e0ab3bc6e958cdf8f69c28bcc038 festvox_cmu_us_jmk_arctic_hts.tar.gz 909045
+MD5 28166834ae3b9e5dc5e2ef3476fb56c3 festvox_cmu_us_slt_arctic_hts.tar.gz 955706
+RMD160 541cc0959305c656bc4af4b848c666a707671fe3 festvox_cmu_us_slt_arctic_hts.tar.gz 955706
+SHA256 adcc187fc7db39e17c119811936be57f0b788908f06c3d9b330856ad8357b128 festvox_cmu_us_slt_arctic_hts.tar.gz 955706
+MD5 90442079e34a3a694077f8715d15fbdf festvox_don.tar.gz 645583
+RMD160 b601a712d893e6d6f70c1d3a3fa87903aae81917 festvox_don.tar.gz 645583
+SHA256 762d26fa476ca7beea8ae0bf0fcf3a8d9324fa65735175fd54eb34e60932e4ff festvox_don.tar.gz 645583
+MD5 e96a97644d36fcb89952ca65c283cea3 festvox_ellpc11k.tar.gz 1473907
+RMD160 75c92fe845c7ded2341d8717784bf7bdc93fa966 festvox_ellpc11k.tar.gz 1473907
+SHA256 9599df46c58454200ce546184556eab8faaf53c44fbd16f1ff38b3f2c375cbf8 festvox_ellpc11k.tar.gz 1473907
+MD5 66e3bc07751d7e31826185649c5ada5a festvox_en1.tar.gz 3323
+RMD160 48edf2ad55774712754af341f73ced53aa1d963e festvox_en1.tar.gz 3323
+SHA256 a4bb55d39eaef31eb6ad8b915035c31108b2427108512e1c301941fbf8f6ffb9 festvox_en1.tar.gz 3323
+MD5 abbd12e1d04ecdcae07f1d0044f3a947 festvox_kallpc16k.tar.gz 4104056
+RMD160 f8be814267359ac9d4fa5d0bcade18e15b64beb2 festvox_kallpc16k.tar.gz 4104056
+SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83 festvox_kallpc16k.tar.gz 4104056
+MD5 35d4a2f377d05913ddae61db542afca1 festvox_kedlpc16k.tar.gz 4221528
+RMD160 63480c4ed695c86fc8de0f3a0740196debc710ae festvox_kedlpc16k.tar.gz 4221528
+SHA256 6b8f11424bda5c81ae8a58f7838e2a9d12fdb39cdfff6ed89f611305391b1a36 festvox_kedlpc16k.tar.gz 4221528
+MD5 cefcdda6cd48027da36d78f2f711451b festvox_rablpc16k.tar.gz 5369001
+RMD160 d98cc1df3e922fe9894cf51e5913f8bfd0b99889 festvox_rablpc16k.tar.gz 5369001
+SHA256 54835837ca734e62c0210c0f9dd27380d2ad89819ae91ec6e8cfab4e515b7bdc festvox_rablpc16k.tar.gz 5369001
+MD5 d0c3e727003e715a65daf01003101813 festvox_us1.tar.gz 11040
+RMD160 97cfd8e62347aa28cf2319174021bc002044ffd5 festvox_us1.tar.gz 11040
+SHA256 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e festvox_us1.tar.gz 11040
+MD5 fbcc8baacbff3aa2aaaf5a93701bb5e0 festvox_us2.tar.gz 11037
+RMD160 62528dc44291be4f7e7fda1677f3074fcc9fdab7 festvox_us2.tar.gz 11037
+SHA256 d27ad26213144d956815e804c06e5473191ac12afb44f6a1029b3842e3a3007c festvox_us2.tar.gz 11037
+MD5 06dbfe2edaab6ffa31deeaf522e0c33e festvox_us3.tar.gz 11220
+RMD160 86946aa9718b7dacfbb884ba02254e59ebdb7247 festvox_us3.tar.gz 11220
+SHA256 af9ca4d1832e1971aa6e52f6a3ff8f729bf970c7bee1de7e8ac0611ca01871b8 festvox_us3.tar.gz 11220
+MD5 4a0a58d8c4bafaee9f0a913372ded8bd speech_tools-1.2.95-beta.tar.gz 1281274
+RMD160 874b9e6d35bf8a59aeacd3d5b149e24e2a490008 speech_tools-1.2.95-beta.tar.gz 1281274
+SHA256 d9d0693ed57ba1f6c9471a43fe60fb1b728683fe6f820e98ef2be13bbd1fe772 speech_tools-1.2.95-beta.tar.gz 1281274
diff --git a/app-accessibility/festival/files/festival-1.95_beta-asterisk.patch b/app-accessibility/festival/files/festival-1.95_beta-asterisk.patch
new file mode 100644
index 000000000000..e4e2106e15c6
--- /dev/null
+++ b/app-accessibility/festival/files/festival-1.95_beta-asterisk.patch
@@ -0,0 +1,17 @@
+--- festival/lib/festival.scm.o 2006-03-19 17:30:55.000000000 -0600
++++ festival/lib/festival.scm 2006-03-19 17:36:07.000000000 -0600
+@@ -621,4 +621,14 @@
+ "tobi.scm" "f2bf0lr.scm"))
+ t)
+
++;;; Command for Asterisk begin
++(define (tts_textasterisk string mode)
++ "(tts_textasterisk STRING MODE)
++ Apply tts to STRING. This function is specifically designed for
++ use in server mode so a single function call may synthesize the string.
++ This function name may be added to the server safe functions."
++ (utt.send.wave.client (utt.wave.resample (utt.wave.rescale (utt.synth
++ (eval (list 'Utterance 'Text string))) 5) 8000)))
++ ;;; Command for Asterisk end
++
+ (provide 'festival)