ChangeLog

# ChangeLog for app-accessibility/festival
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.79 2008/07/15 19:53:41 cardoe Exp $

15 Jul 2008; Doug Goldstein metadata.xml:
add GLEP 56 USE flag desc from use.local.desc

20 Mar 2008; William Hubbs
-files/festival-1.4.3-asterisk.patch,
-files/festival-1.95_beta-asterisk.patch,
-files/festival-1.95_beta-fbsd.patch,
-files/festival-1.95_beta-gcc41-amd64-int-pointer.patch,
-files/festival-1.95_beta-gcc41-amd64.patch,
-files/festival-1.95_beta-gcc41.patch, -files/festival-gcc3.3.diff,
-files/festival-1.95_beta-init-scm.patch, -festival-1.4.3-r3.ebuild,
-festival-1.4.3-r4.ebuild, -festival-1.95_beta.ebuild,
-festival-1.95_beta-r1.ebuild, -festival-1.95_beta-r2.ebuild,
-festival-1.95_beta-r3.ebuild, -festival-1.95_beta-r4.ebuild:
Removed old versions.

13 Mar 2008; William Hubbs
festival-1.96_beta.ebuild:
Adding back the ~x86-fbsd keyword; I'm not sure why it was dropped.

07 Mar 2008; William Hubbs
festival-1.96_beta.ebuild:
I am adding back the mips keyword since I'm the maintainer and I'm not sure
how it got dropped. This closes #209077.

03 Mar 2008; Raúl Porcel festival-1.96_beta.ebuild:
alpha/ia64/sparc stable wrt #209081

10 Feb 2008; Tobias Scherbaum
festival-1.96_beta.ebuild:
ppc stable, bug #209081

07 Feb 2008; Jeroen Roovers festival-1.96_beta.ebuild:
Stable for HPPA (bug #209081).

07 Feb 2008; Brent Baude festival-1.96_beta.ebuild:
stable ppc64, bug 209081

06 Feb 2008; Christian Faulhammer
festival-1.96_beta.ebuild:
stable x86 amd64, bug 209081

12 Jan 2008; William Hubbs
+files/festival-1.96_beta-gcc43.patch, festival-1.96_beta.ebuild:
Fixed dependencies for bug #199886.
Applied a gcc 4.3 patch for bug #205401 -- thanks to dirtyepic@gentoo.org.

29 Aug 2007; William Hubbs
+files/festival-1.96_beta-init-scm.patch:
Fixed patch bug #190619.

*festival-1.96_beta (28 Aug 2007)

28 Aug 2007; William Hubbs
+festival-1.96_beta.ebuild:
Version bump #188821.
Also, I have been able to re-enstate the dependency on speech-tools.

06 Jul 2007; Roy Marples
+files/festival-1.95_beta-fbsd.patch, festival-1.95_beta-r4.ebuild:
Add patch to build on fbsd, #183686 thanks to Nathan Smith.
Keyworded ~x86-fbsd.

11 Jun 2007; Gustavo Zacarias
festival-1.95_beta-r4.ebuild:
Stable on sparc wrt security #170477

10 Jun 2007; Raúl Porcel
festival-1.95_beta-r4.ebuild:
x86 stable wrt security #170477

09 Jun 2007; Wulf C. Krueger
festival-1.95_beta-r4.ebuild:
Marked stable on amd64 as per bug 170477.

09 Jun 2007; Jose Luis Rivero
festival-1.95_beta-r4.ebuild:
Stable on alpha wrt security bug #170477. Thanks to Brian Evans (grknight)
for testing.

09 Jun 2007; Markus Rothe
festival-1.95_beta-r4.ebuild:
Stable on ppc64; bug #170477

09 Jun 2007; Jeroen Roovers festival-1.95_beta-r4.ebuild:
Stable for HPPA (bug #170477).

09 Jun 2007; Tobias Scherbaum
festival-1.95_beta-r4.ebuild:
ppc stable, bug #170477

*festival-1.95_beta-r4 (09 Jun 2007)

09 Jun 2007; William Hubbs files/festival.rc,
files/server.scm, +festival-1.95_beta-r4.ebuild:
Fix for security bug #170477.
Thanks to solar for the patch.

28 Apr 2007; Sven Wegener festival-1.4.3-r3.ebuild,
festival-1.4.3-r4.ebuild, festival-1.95_beta.ebuild,
festival-1.95_beta-r1.ebuild, festival-1.95_beta-r2.ebuild,
festival-1.95_beta-r3.ebuild:
Fix *initd, *confd and *envd calls (#173884, #174266)

*festival-1.95_beta-r3 (06 Nov 2006)

06 Nov 2006; William Hubbs
+festival-1.95_beta-r3.ebuild:
Did a rev bump to install the multisyn code.

*festival-1.95_beta-r2 (04 Nov 2006)

04 Nov 2006; William Hubbs files/server.scm,
+festival-1.95_beta-r2.ebuild:
This revision fixes bug #118404, now libfestival.a will be installed.
Also, I revised server.scm so that it only contains server settings.

19 Oct 2006; Bryan Østergaard
festival-1.95_beta-r1.ebuild:
Stable on Alpha.

15 Oct 2006; Bryan Østergaard
festival-1.95_beta-r1.ebuild:
Stable on ia64.

12 Oct 2006; Guy Martin festival-1.95_beta-r1.ebuild:
Stable on hppa.

26 Sep 2006; Jason Wever festival-1.95_beta-r1.ebuild:
Stable the right one for SPARC wrt bug #146897.

26 Sep 2006; Jason Wever festival-1.95_beta.ebuild:
Stable on SPARC wrt bug #146897.

24 Sep 2006; Michael Hanselmann
festival-1.95_beta-r1.ebuild:
Stable on ppc.

22 Sep 2006; Michael Cummings
festival-1.95_beta-r1.ebuild:
Keywording amd64, bug 146897

21 Sep 2006; festival-1.95_beta-r1.ebuild:
Stable on x86, bug #146897.

21 Sep 2006; Markus Rothe
festival-1.95_beta-r1.ebuild:
Stable on ppc64; bug #146897

*festival-1.95_beta-r1 (21 Sep 2006)

21 Sep 2006; William Hubbs
+files/festival-1.95_beta-init-scm.patch, festival-1.4.3-r3.ebuild,
festival-1.4.3-r4.ebuild, +festival-1.95_beta-r1.ebuild:
This revision fixes dependencies for X and esd use flags.
It also makes it possible to configure siteinit.scm and sitevars.scm by
moving them to /etc/festival.
The dependency between festival and speech-tools has been broken because
festival now directly includes source files from speech-tools.
I added a blocker so that old versions of festival cannot be installed with
the new speech-tools.
This is for bug #146897.

20 Sep 2006; festival-1.95_beta.ebuild:
stable on amd64

09 Sep 2006; festival-1.95_beta.ebuild:
Stable on ppc wrt bug 146897

08 Aug 2006; William Hubbs
+files/festival-1.95_beta-gcc41-amd64-int-pointer.patch,
festival-1.95_beta.ebuild:
Added another amd64 patch. Thanks again Ed.

20 Jul 2006; William Hubbs
+files/festival-1.95_beta-gcc41-amd64.patch,
+files/festival-1.95_beta-gcc41.patch, festival-1.95_beta.ebuild:
Added Ed Catmur's patches so this will compile under gcc 4.1.
This is for bug #116030.

19 Jul 2006; festival-1.4.3-r3.ebuild,
festival-1.4.3-r4.ebuild:
stable on mips

16 Jun 2006; Jon Hood festival-1.4.3-r4.ebuild,
festival-1.95_beta.ebuild:
Add linguas_es IUSE wrt #136953.

05 Jun 2006; Jeremy Huddleston
festival-1.4.3-r4.ebuild:
Stable amd64 and sparc.

*festival-1.95_beta (16 May 2006)

16 May 2006; William Hubbs
+files/festival-1.95_beta-asterisk.patch, +festival-1.95_beta.ebuild:
Version Bump.

18 Apr 2006; William Hubbs metadata.xml:
Updated metadata.

26 Oct 2005; Jeremy Huddleston
festival-1.4.3-r4.ebuild:
Don't do the prerm deletion of the symlinks because they get removed during
subsequent emerges.

09 Sep 2005; Aron Griffis festival-1.4.3-r3.ebuild:
Mark 1.4.3-r3 stable on alpha

24 Aug 2005; Aron Griffis festival-1.4.3-r4.ebuild:
add ~alpha ~ia64 #100083

23 Aug 2005; Aron Griffis festival-1.4.3-r3.ebuild:
stable on ia64

01 Aug 2005; Jeremy Huddleston
festival-1.4.3-r3.ebuild:
Properly create the /usr/lib/festival symlink.

30 Jul 2005; Jeremy Huddleston
-files/festival-1.4.2.patch, files/server.scm, -festival-1.4.3-r2.ebuild,
festival-1.4.3-r3.ebuild, festival-1.4.3-r4.ebuild:
-r3 stable ppc per JoseJX. Finally cleaning out crufty old versions.

27 Jul 2005; Guy Martin festival-1.4.3-r3.ebuild,
festival-1.4.3-r4.ebuild:
Stable on hppa.

24 Jul 2005; Jeremy Huddleston
festival-1.4.3-r4.ebuild:
Changing tts USE flags to linguas_.

*festival-1.4.3-r4 (24 Jul 2005)

24 Jul 2005; Jeremy Huddleston
+festival-1.4.3-r4.ebuild:
Revision bump with cleanups thanks to Vincent Poinot
. Also, it now uses the correct toolchain
compiler.

21 Jul 2005; Jeremy Huddleston
-festival-1.4.3-r1.ebuild, festival-1.4.3-r3.ebuild:
Stable amd64, sparc, x86.

04 Jul 2005; Bryan Østergaard
festival-1.4.3-r3.ebuild:
Add ~alpha keyword.

09 Jun 2005; Markus Rothe festival-1.4.3-r3.ebuild:
Stable on ppc64

11 May 2005; Aron Griffis festival-1.4.3-r3.ebuild:
add ~ia64

27 Apr 2005; Markus Rothe festival-1.4.3-r3.ebuild:
Added ~ppc64 to KEYWORDS

27 Mar 2005; Michael Hanselmann
festival-1.4.3-r2.ebuild:
Stable on ppc.

*festival-1.4.3-r3 (09 Feb 2005)

09 Feb 2005; Jeremy Huddleston
+festival-1.4.3-r3.ebuild:
Move to /usr/share/festival as that's the proper place for us.

05 Jan 2005; Jeremy Huddleston
festival-1.4.3-r1.ebuild, festival-1.4.3-r2.ebuild:
Fix compilation problems with not finding speech-tools... closes bug #76810.

18 Dec 2004; Jeremy Huddleston
festival-1.4.3-r2.ebuild:
Stable amd64, sparc, x86.

*festival-1.4.3-r2 (19 Oct 2004)

19 Oct 2004; Jeremy Huddleston
+festival-1.4.3-r2.ebuild, -festival-1.4.3.ebuild:
get_libdir updates. Now installs header files to close bug #64504.

05 Oct 2004; Pieter Van den Abeele
festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild:
Masked festival-1.4.3.ebuild stable for ppc

05 Oct 2004; Pieter Van den Abeele
festival-1.4.3-r1.ebuild:
Masked festival-1.4.3-r1.ebuild stable for ppc

28 Jun 2004; Aron Griffis festival-1.4.3.ebuild:
sync IUSE (+doc)

28 Jun 2004; Aron Griffis festival-1.4.3.ebuild:
QA - fix use invocation, econf || die, sync IUSE, glibc -> libc

25 Apr 2004; Aron Griffis festival-1.4.3.ebuild:
Add die following econf

20 Apr 2004; Jeremy Huddleston
festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild:
Removed unneccessary GCCPV to close bug #48383.

30 Mar 2004; Todd Sunderlin festival-1.4.3-r1.ebuild:
set stable on sparc

25 Mar 2004; Gustavo Zacarias
festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild:
~sparced, closes #41330

24 Mar 2004; Jeremy Huddleston festival-1.4.3.ebuild:
inherit eutils. doc in IUSE

21 Mar 2004; Jeremy Huddleston files/server.scm:
Fixed voice selection in server.scm

21 Mar 2004; Jeremy Huddleston
festival-1.4.3-r1.ebuild:
Massive ebuild cleanup.

16 Mar 2004; Jeremy Huddleston
festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild:
speech-tools is in app-accessibility.

16 Mar 2004; Jeremy Huddleston
festival-1.4.3-r1.ebuild, festival-1.4.3.ebuild, metadata.xml,
files/festival-1.4.2.patch, files/festival-1.4.3-asterisk.patch,
files/festival-gcc3.3.diff, files/festival.rc, files/server.scm:
Moved from media-sound/festival to app-accessibility/festival.

13 Mar 2004; Jeremy Huddleston files/server.scm:
fixed sticky keyboard typo. bug #44557.

13 Mar 2004; Jeremy Huddleston
festival-1.4.2-r3.ebuild:
Removing borked ebuild to fix bug #41228.

*festival-1.4.3-r1 (12 Mar 2004)

12 Mar 2004; Jeremy Huddleston
festival-1.4.3-r1.ebuild, files/festival.rc, files/server.scm:
Adding init script and configuration to use festival server... part of the fix
for bug #43374.

25 Feb 2004; Sven Blumenstein festival-1.4.3.ebuild:
DEPEND media-sounds/speech-tools is broken on sparc, see bug #41329.

18 Feb 2004; festival-1.4.3.ebuild:
Added amd64 to keywords. festival works fine on AMD64. Marked stable since
it's the only release.

12 Feb 2004; Jeremy Huddleston
festival-1.4.3.ebuild:
Fixed RDEPEND/DEPEND to close bug #41412

11 Feb 2004; Jeremy Huddleston
festival-1.4.2-r1.ebuild, festival-1.4.2-r2.ebuild,
festival-1.4.2-r3.ebuild, festival-1.4.2.ebuild, festival-1.4.3.ebuild:
Removing crusty ebuilds.

10 Feb 2004; Jeremy Huddleston
festival-1.4.3.ebuild, metadata.xml, files/festival-1.4.3-asterisk.patch:
Added optional patch that adds a new command named tts_textasterisk that is
required by Asterisk to communicate with the Festival server. Submitted by Ray
Russell Reese III in bug #30456.

25 Jan 2004; festival-1.4.2*: Fixed all references
to $T as that is a portage variable and yields AccessViolations when set
incorrectly.

08 Jan 2004; festival-1.4.2-r3.ebuild:
the parrot is stable on sparc

10 Nov 2003; Ciaran McCreesh festival-1.4.2-r3.ebuild:
Moving to ~sparc, thanks to gust4voz in #gentoo-sparc

*festival-1.4.3 (20 Jul 2003)

20 Jul 2003; jje festival-1.4.3.ebuild:
Version bump. Speech-tools is now split out into a seperate build.

Submitted by: Paul Giordano

*festival-1.4.2-r3 (01 Dec 2002)

01 Dec 2002; Matt Keadle festival-1.4.2-r3.ebuild
files/digest-festival-1.4.2-r3 ChangeLog

-r2 was an attempt at building for all arch types, but it just didn't cut it.
Thanks to J Robert Ray and his wicked CyrixIII/VIA-C3/VIA-C5 processor for
pointing this out.

*festival-1.4.2-r2 (16 Nov 2002)

16 Nov 2002; Matt Keadle festival-1.4.2-r2.ebuild
files/digest-festival-1.4.2-r2 ChangeLog

-r1 was hardcoded to i686. This build should check your arch type and build
accordingly. Also added IUSE="" for completeness.

*festival-1.4.2-r1 (16 Nov 2002)

16 Nov 2002; Sascha Schwabbauer festival-1.4.2-r1.ebuild, festival-1.4.2.ebuild :

Added -ppc to keywords.

*festivial-1.4.2-r1 (14 Nov 2002)

John P. Davis
I changed emake to make in the top of the src_compile function. (it is commented)
This change is made to force festival to use -jX where X <=2.

*festival-1.4.2-r1 (23 Oct 2002)

23 Oct 2002; Matt Keadle festival-1.4.2-r1.ebuild
files/digest-festival-1.4.2-r1 files/festival-1.4.2.patch

This should take care of issues with gcc3.2, killing bug #8280. Thanks to
Paul Thompson, Rigo Ketelings, Tom Ribbens, Julian J., Chris Bruner,
Paul Oswald and Michal Maruska for all the comments made and support and
testing provided.

*festival-1.4.2 (24 Aug 2002)

24 Aug 2002; Sascha Schwabbauer festival-1.4.2.ebuild :

Added ppc to keywords.

*festival-1.4.2.ebuild (28 May 2002)

28 May 2002; Michael Nazaroff Initial release of festival
package, requires patch's to install and build properly on a our system.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX festival-1.96_beta-gcc43.patch 547 RMD160 e5842ef3e8cd40e6af85a48b60e3b012efb213a6 SHA1 3dc6b811919db2f636435f9ca78a83b276f40755 SHA256 2bb1b1355e60636efb5e66dc5c00330343f01cc9702ac920f87b062185f03216
AUX festival-1.96_beta-init-scm.patch 856 RMD160 442150175506a5ec0732ff81d685b6bb5d2bf891 SHA1 11ca7d2eb3f9e8f92fac542d3779e18c5d5c2f5b SHA256 71bc918dffd72adb21b8cd7394358929e23aa1e32849a4c7f0aa85aa6d4cba40
AUX festival.rc 638 RMD160 962ec6f32c4d40f88a0ba28ba952078b0692ab9b SHA1 da66766c8a3cd075d308efde55dc677e71ee7850 SHA256 b831cf7edfd83920c9d5f6358054b460e70d49e6c988a7dd1469e37b14eba8d2
AUX server.scm 466 RMD160 78e65ec53638c588018534be55ce0d3180444dc7 SHA1 5da0a34d36a072289ffa48bb850af2465e9edce6 SHA256 47fdb50da65813547cef61d44040373e8c0d8f83adddc0e82e10502a1a9b6c3d
DIST festival-1.96-beta.tar.gz 731682 RMD160 566eb3cc5983a969985a5e198b4ea9e4324377f6 SHA1 ffb1a7f8a587cee942de7722f9b7a58e4fd0a8e2 SHA256 4fa48d3525957762c83f289fba361063b8855f57ff50b7db22754d844aeadbee
DIST festlex_CMU.tar.gz 1697709 RMD160 852a007b5d50ff32d098a4dbd303a4d9c63a1802 SHA1 968f0007c4cd7d92ce0a786840b6dc64628776b7 SHA256 b485c1e8e8e265e335aa99f083963496fa64b34a314050b10d589e942e10c963
DIST festlex_OALD.tar.gz 1472516 RMD160 d3fc4c549626dcc2a0d5d37fee7d8ebb3bf89c20 SHA1 53c9470d62da9754db85b11c2c82a3dd6b5ddc71 SHA256 61afc02c4b9dee6322412958ea8be477ee451c3cdab789b88c4907e3e377ccd5
DIST festlex_POSLEX.tar.gz 242914 RMD160 d52d6cf4f4300751598facf1b6ff7985a8210b09 SHA1 cb7f7a3643c1af95d82144a342397cc118605f73 SHA256 5ef8cc5d35e9f2141b5a0a4774df82dc9731fe7e9800eb09ecf264f2f8503e7b
DIST festvox_cmu_us_awb_arctic_hts.tar.gz 878090 RMD160 abfcc3457c1735cf772b051c0ec884e55381ad9b SHA1 b9caaea8b2a5469ae84b219f74382a7e14153551 SHA256 56b930028a14efdaa01b8b34add087bcde75b774b97b205d2f478413203d9a4d
DIST festvox_cmu_us_bdl_arctic_hts.tar.gz 1060641 RMD160 cab02ae2be1c3691cfcc2aa6c09ae6829fca9896 SHA1 d07c072609634589a058bb18c501c3cf09a07581 SHA256 caa679c728c8804f4a1dae6ab08e7b31f10b292e572598fb6432d0e18f40bd2b
DIST festvox_cmu_us_jmk_arctic_hts.tar.gz 909045 RMD160 5e9657f55d7aa10e852cd36d5a73f1dd106e6713 SHA1 768c33e88a150b5b984a4594bfb67ac7e235d176 SHA256 e4f623d1114922c8844ec266d46d558e1521e0ab3bc6e958cdf8f69c28bcc038
DIST festvox_cmu_us_slt_arctic_hts.tar.gz 955706 RMD160 541cc0959305c656bc4af4b848c666a707671fe3 SHA1 3e8224f46be9aa04e576b8ab9d218753bf5c80fb SHA256 adcc187fc7db39e17c119811936be57f0b788908f06c3d9b330856ad8357b128
DIST festvox_kallpc16k.tar.gz 4104056 RMD160 f8be814267359ac9d4fa5d0bcade18e15b64beb2 SHA1 ad18502ae0fd10bdc3db189fa9afa8a167eceebb SHA256 9eb6336f35c202c8069d37e489fb009a7e9fd8539cd47644329db1e92c6aba83
DIST festvox_kedlpc16k.tar.gz 4221528 RMD160 63480c4ed695c86fc8de0f3a0740196debc710ae SHA1 777e58d25fd499530601c514650328267fb716fb SHA256 6b8f11424bda5c81ae8a58f7838e2a9d12fdb39cdfff6ed89f611305391b1a36
DIST festvox_us1.tar.gz 11040 RMD160 97cfd8e62347aa28cf2319174021bc002044ffd5 SHA1 f740064af99670e35879352d164b7aa9f2079820 SHA256 23b332513867d6e9c340dc888a7ce67843e5a3c03db328cd36975985057c8b8e
DIST festvox_us2.tar.gz 11037 RMD160 62528dc44291be4f7e7fda1677f3074fcc9fdab7 SHA1 227df7165a47d181eb019c7774d7b8517436507d SHA256 d27ad26213144d956815e804c06e5473191ac12afb44f6a1029b3842e3a3007c
DIST festvox_us3.tar.gz 11220 RMD160 86946aa9718b7dacfbb884ba02254e59ebdb7247 SHA1 8302d0875c2872c45ff4a8ec633f9bb916a2a814 SHA256 af9ca4d1832e1971aa6e52f6a3ff8f729bf970c7bee1de7e8ac0611ca01871b8
EBUILD festival-1.96_beta.ebuild 4666 RMD160 f29c5ec0fae23dabb7cb9c1cb638d96b17f490ca SHA1 83040a779aa54620a7416368010b69a1296b9c80 SHA256 7bcf75368850e7677bf6d2432356a24b2c0bedea377e90653c42fd8863ef4f5a
MISC ChangeLog 15769 RMD160 98bf25b6d06074cc5cc5536f6945104dbfa68442 SHA1 14fa706a090821e7c21c6f7673593ca6439c2836 SHA256 c161c1db5142b3c4c2cfe9765785eb41478353a616fec1b50be672daa2740732
MISC metadata.xml 320 RMD160 bbe9bfd7f2d31d6fd34b6d07eb39b12224fc076c SHA1 ec6133fa36acb1d0ed4e0df3ed96ec796b5abf63 SHA256 696aed194846ce22b4ed3e3c49b33bcb43e1d62eaa9538e645a62f47555864b8
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkh9AJsACgkQoeSe8B0zEfygIQCdE+IE3KZYBHfH19pLX+Rk+yn+
D5UAoIS6Pm4WOQmv9lktoeK3UF6j5XKJ
=f9Tt
-----END PGP SIGNATURE-----

festival-1.96_beta.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.9 2008/03/13 02:55:28 williamh Exp $

inherit eutils toolchain-funcs

DESCRIPTION="Festival Text to Speech engine"
HOMEPAGE="http://www.cstr.ed.ac.uk/"
SITE="http://www.festvox.org/packed/festival/latest"
MY_P=${PN}-1.96-beta
SRC_URI="${SITE}/${MY_P}.tar.gz
${SITE}/festlex_CMU.tar.gz
${SITE}/festlex_OALD.tar.gz
${SITE}/festlex_POSLEX.tar.gz
${SITE}/festvox_cmu_us_awb_arctic_hts.tar.gz
${SITE}/festvox_cmu_us_bdl_arctic_hts.tar.gz
${SITE}/festvox_cmu_us_jmk_arctic_hts.tar.gz
${SITE}/festvox_cmu_us_slt_arctic_hts.tar.gz
${SITE}/festvox_kallpc16k.tar.gz
${SITE}/festvox_kedlpc16k.tar.gz
mbrola? (
${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 ~mips ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="mbrola"

DEPEND=">=app-accessibility/speech-tools-1.2.96_beta"
RDEPEND="${DEPEND}
mbrola? ( >=app-accessibility/mbrola-3.0.1h-r2 )"

S=${WORKDIR}/festival

pkg_setup() {
enewuser festival -1 -1 -1 audio
}

src_unpack() {
unpack ${A}

# tell festival to use the speech-tools we have installed.
sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/config.in
sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak

# disable the multisyn modules
sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in

# fix the reference to /usr/lib/festival
sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak

# Fix path for examples in festival.scm
sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm

# patch init.scm to look for siteinit.scm and sitevars.scm in /etc/festival
epatch "${FILESDIR}"/${P}-init-scm.patch

# Apply a patch for gcc4.3.
epatch "${FILESDIR}"/${P}-gcc43.patch
}

src_compile() {
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 src/main/festival
dobin lib/etc/*Linux*/audsp
dolib.a src/lib/libFestival.a

# Install the main libraries
insinto /usr/share/festival
doins -r lib/*

# Install the examples
insinto /usr/share/doc/${PF}
doins -r 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}/bin/festival:/usr/bin/festival:" "${exnoext##$D}"
done

# Install the header files
insinto /usr/include/festival
doins src/include/*.h

insinto /etc/festival
# Sample server.scm configuration for the server
doins "${FILESDIR}"/server.scm
doins lib/site*

# Install the init script
newinitd "${FILESDIR}"/festival.rc festival

# Install the docs
dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README}
doman "${S}"/doc/{festival.1,festival_client.1}

# create the directory where our log file will go.
diropts -m 0755 -o festival -g audio
keepdir /var/log/festival

use mbrola && mbrola_voices
}

pkg_postinst() {
elog
elog " Useful examples include saytime, text2wave. For example, try:"
elog " \"/usr/share/doc/${PF}/examples/saytime\""
elog
elog " Or for something more fun:"
elog ' "echo "Gentoo can speak" | festival --tts"'
elog
elog " To enable the festival server at boot, run"
elog " rc-update add festival default"
elog
elog " You must setup the server's port, access list, etc in this file:"
elog " /etc/festival/server.scm"
elog
elog "This version also allows configuration of site specific"
elog "initialization in /etc/festival/siteinit.scm and"
elog "variables in /etc/festival/sitevars.scm."
elog
}

# 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}"/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}
}

files

metadata.xml




accessibility
sound

williamh@gentoo.org


Adds support for mbrola voices