diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-10 07:15:05 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-02-10 07:15:05 +0000 |
commit | a1d33a933309c328bfd01828f568177db7269d34 (patch) | |
tree | b724d8acf13782c717d2debef5fdfb28c34adaaf /app-accessibility/festival | |
parent | Move things to more LSB-FHS friendly locations. (diff) | |
download | gentoo-2-a1d33a933309c328bfd01828f568177db7269d34.tar.gz gentoo-2-a1d33a933309c328bfd01828f568177db7269d34.tar.bz2 gentoo-2-a1d33a933309c328bfd01828f568177db7269d34.zip |
Move to /usr/share/festival as that's the proper place for us.
(Portage version: 2.0.51-r15)
Diffstat (limited to 'app-accessibility/festival')
-rw-r--r-- | app-accessibility/festival/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/festival/Manifest | 16 | ||||
-rw-r--r-- | app-accessibility/festival/festival-1.4.3-r1.ebuild | 4 | ||||
-rw-r--r-- | app-accessibility/festival/festival-1.4.3-r2.ebuild | 4 | ||||
-rw-r--r-- | app-accessibility/festival/festival-1.4.3-r3.ebuild | 209 | ||||
-rw-r--r-- | app-accessibility/festival/files/digest-festival-1.4.3-r3 | 13 |
6 files changed, 237 insertions, 17 deletions
diff --git a/app-accessibility/festival/ChangeLog b/app-accessibility/festival/ChangeLog index e4f3f01da4ce..82b46a4463e1 100644 --- a/app-accessibility/festival/ChangeLog +++ b/app-accessibility/festival/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/festival # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.18 2005/01/06 01:32:39 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.19 2005/02/10 07:15:05 eradicator Exp $ + +*festival-1.4.3-r3 (09 Feb 2005) + + 09 Feb 2005; Jeremy Huddleston <eradicator@gentoo.org> + +festival-1.4.3-r3.ebuild: + Move to /usr/share/festival as that's the proper place for us. 05 Jan 2005; Jeremy Huddleston <eradicator@gentoo.org> festival-1.4.3-r1.ebuild, festival-1.4.3-r2.ebuild: diff --git a/app-accessibility/festival/Manifest b/app-accessibility/festival/Manifest index eaa96c85ae10..22170461ff07 100644 --- a/app-accessibility/festival/Manifest +++ b/app-accessibility/festival/Manifest @@ -1,21 +1,13 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 99555122e626cc2942d59f73ac989c42 ChangeLog 6424 MD5 6820bbefe624a80495bf90f82ebf38d3 festival-1.4.3-r1.ebuild 5691 -MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185 MD5 ffbc5b44108d056acebcc94601e42e06 festival-1.4.3-r2.ebuild 5854 -MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r2 863 +MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185 +MD5 ac6eb7710a88579e082c300808aa8c7b festival-1.4.3-r3.ebuild 5912 MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r1 863 +MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r2 863 MD5 44bdf5d07947b391cecc75ed8ca49445 files/festival-1.4.2.patch 8724 MD5 b380d6440fe49096f7705d6f1adf01ee files/festival-1.4.3-asterisk.patch 3028 MD5 70fe1c867e8782c7ff288056677fda0c files/festival-gcc3.3.diff 5257 MD5 8517199b1c2ba4350258e5511e93c2ea files/festival.rc 621 MD5 957439462cff84152bc18202042e65c8 files/server.scm 773 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.0 (GNU/Linux) - -iD8DBQFB3JWTArHZZzCEUG0RAuc9AKCGdrY/1m+CIhg02STL0sbeQI4ougCfagyp -jYpM3W6A+urAeQAMWAgaEFE= -=gYv5 ------END PGP SIGNATURE----- +MD5 f38f904b9dfc77c788a63f51ccd2abb7 files/digest-festival-1.4.3-r3 863 diff --git a/app-accessibility/festival/festival-1.4.3-r1.ebuild b/app-accessibility/festival/festival-1.4.3-r1.ebuild index 53ccd48f57f1..88d18778bbe7 100644 --- a/app-accessibility/festival/festival-1.4.3-r1.ebuild +++ b/app-accessibility/festival/festival-1.4.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r1.ebuild,v 1.15 2005/01/06 01:32:39 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r1.ebuild,v 1.16 2005/02/10 07:15:05 eradicator Exp $ inherit eutils @@ -26,7 +26,7 @@ SLOT="0" KEYWORDS="x86 ppc sparc amd64" IUSE="asterisk doc" -RDEPEND=">=app-accessibility/speech-tools-1.2.3-r1" +RDEPEND="=app-accessibility/speech-tools-1.2.3-r1" DEPEND="${RDEPEND} sys-apps/sed" diff --git a/app-accessibility/festival/festival-1.4.3-r2.ebuild b/app-accessibility/festival/festival-1.4.3-r2.ebuild index b3dbe869356e..fa247edb58eb 100644 --- a/app-accessibility/festival/festival-1.4.3-r2.ebuild +++ b/app-accessibility/festival/festival-1.4.3-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r2.ebuild,v 1.4 2005/01/06 01:32:39 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r2.ebuild,v 1.5 2005/02/10 07:15:05 eradicator Exp $ inherit eutils @@ -26,7 +26,7 @@ SLOT="0" KEYWORDS="amd64 ~ppc sparc x86" IUSE="asterisk doc" -RDEPEND=">=app-accessibility/speech-tools-1.2.3" +RDEPEND="=app-accessibility/speech-tools-1.2.3-r1" DEPEND="${RDEPEND} sys-apps/sed" diff --git a/app-accessibility/festival/festival-1.4.3-r3.ebuild b/app-accessibility/festival/festival-1.4.3-r3.ebuild new file mode 100644 index 000000000000..c71c86643681 --- /dev/null +++ b/app-accessibility/festival/festival-1.4.3-r3.ebuild @@ -0,0 +1,209 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.4.3-r3.ebuild,v 1.1 2005/02/10 07:15:05 eradicator Exp $ + +inherit eutils + +DESCRIPTION="Festival Text to Speech engine" +HOMEPAGE="http://www.cstr.ed.ac.uk/" +SITE="http://www.speech.cs.cmu.edu/${PN}/cstr/${PN}/${PV}" +SRC_URI="${SITE}/${P}-release.tar.gz + ${SITE}/festlex_CMU.tar.gz + ${SITE}/festlex_OALD.tar.gz + ${SITE}/festlex_POSLEX.tar.gz + ${SITE}/festvox_don.tar.gz + ${SITE}/festvox_ellpc11k.tar.gz + ${SITE}/festvox_kallpc16k.tar.gz + ${SITE}/festvox_kedlpc16k.tar.gz + ${SITE}/festvox_rablpc16k.tar.gz + ${SITE}/festvox_us1.tar.gz + ${SITE}/festvox_us2.tar.gz + ${SITE}/festvox_us3.tar.gz + doc? ( ${SITE}/festdoc-1.4.2.tar.gz )" + +LICENSE="FESTIVAL BSD as-is" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="asterisk doc" + +RDEPEND=">=app-accessibility/speech-tools-1.2.3-r2" +DEPEND="${RDEPEND} + sys-apps/sed" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${P}-release.tar.gz + unpack festlex_CMU.tar.gz + unpack festlex_OALD.tar.gz + unpack festlex_POSLEX.tar.gz + unpack festvox_don.tar.gz + unpack festvox_ellpc11k.tar.gz + unpack festvox_kallpc16k.tar.gz + unpack festvox_kedlpc16k.tar.gz + unpack festvox_rablpc16k.tar.gz + unpack festvox_us1.tar.gz + unpack festvox_us2.tar.gz + unpack festvox_us3.tar.gz + + cd ${S} + + use doc && unpack festdoc-1.4.2.tar.gz && mv festdoc-1.4.2 festdoc + + epatch ${FILESDIR}/${PN}-gcc3.3.diff + + use asterisk && epatch ${FILESDIR}/${P}-asterisk.patch + + sed -i "s@EST=\$(TOP)/../speech_tools@EST=/usr/share/speech-tools@" config/config.in + + # testsuite still fails to build under gcc-3.2 + # sed -i '/^BUILD_DIRS =/s/testsuite//' Makefile || die + + sed -i "/^const char \*festival_libdir/s:FTLIBDIR:\"/usr/share/festival\":" src/arch/festival/festival.cc + sed -i '/^MODULE_LIBS/s/-ltermcap/-lncurses/' config/modules/editline.mak || die +} + +src_compile() { + econf || die + emake -j1 \ + PROJECT_LIBDEPS="" \ + REQUIRED_LIBDEPS="" \ + LOCAL_LIBDEPS="" \ + OPTIMISE_CXXFLAGS="${CXXFLAGS}" \ + OPTIMISE_CCFLAGS="${CFLAGS}" \ + || die +} + +src_install() { + # Install the binaries + cd ${WORKDIR}/festival/src/main + dobin festival + cd ${WORKDIR}/festival/examples + dobin saytime + cd ${WORKDIR}/festival/bin + dobin text2wave + cd ${WORKDIR}/festival/lib/etc/*Linux* + dobin audsp + + einfo "" + einfo "Please ignore errors about skipped directories. They are harmless." + einfo "" + + # Install the main libraries + insinto /usr/share/festival + doins ${WORKDIR}/festival/lib/* + + # Install the header files + insinto /usr/include/festival + doins ${WORKDIR}/festival/src/include/*.h + + # Install the dicts and vioces + FESTLIB=${WORKDIR}/festival/lib + DESTLIB=/usr/share/festival + insinto ${DESTLIB}/dicts + doins ${FESTLIB}/dicts/COPYING.poslex \ + ${FESTLIB}/dicts/wsj.wp39.poslexR ${FESTLIB}/dicts/wsj.wp39.tri.ngrambin + insinto ${DESTLIB}/dicts/cmu + doins ${FESTLIB}/dicts/cmu/* + insinto ${DESTLIB}/dicts/oald + doins ${FESTLIB}/dicts/oald/* + + FESTLIB=${WORKDIR}/festival/lib/voices/spanish/el_diphone + DESTLIB=/usr/share/festival/voices/spanish/el_diphone + insinto ${DESTLIB}/festvox + doins ${FESTLIB}/festvox/* + insinto ${DESTLIB}/group + doins ${FESTLIB}/group/* + + FESTLIB=${WORKDIR}/festival/lib/voices/english + DESTLIB=/usr/share/festival/voices/english + insinto ${DESTLIB}/don_diphone + doins ${FESTLIB}/don_diphone/* + insinto ${DESTLIB}/don_diphone/festvox + doins ${FESTLIB}/don_diphone/festvox/* + + insinto ${DESTLIB}/kal_diphone + doins ${FESTLIB}/kal_diphone/* + insinto ${DESTLIB}/kal_diphone/festvox + doins ${FESTLIB}/kal_diphone/festvox/* + insinto ${DESTLIB}/kal_diphone/group + doins ${FESTLIB}/kal_diphone/group/* + + insinto ${DESTLIB}/ked_diphone + doins ${FESTLIB}/ked_diphone/* + insinto ${DESTLIB}/ked_diphone/festvox + doins ${FESTLIB}/ked_diphone/festvox/* + insinto ${DESTLIB}/ked_diphone/group + doins ${FESTLIB}/ked_diphone/group/* + + insinto ${DESTLIB}/rab_diphone + doins ${FESTLIB}/rab_diphone/* + insinto ${DESTLIB}/rab_diphone/festvox + doins ${FESTLIB}/rab_diphone/festvox/* + insinto ${DESTLIB}/rab_diphone/group + doins ${FESTLIB}/rab_diphone/group/* + + insinto ${DESTLIB}/us1_mbrola + doins ${FESTLIB}/us1_mbrola/* + insinto ${DESTLIB}/us1_mbrola/festvox + doins ${FESTLIB}/us1_mbrola/festvox/* + + insinto ${DESTLIB}/us2_mbrola + doins ${FESTLIB}/us2_mbrola/* + insinto ${DESTLIB}/us2_mbrola/festvox + doins ${FESTLIB}/us2_mbrola/festvox/* + + insinto ${DESTLIB}/us3_mbrola + doins ${FESTLIB}/us3_mbrola/* + insinto ${DESTLIB}/us3_mbrola/festvox + doins ${FESTLIB}/us3_mbrola/festvox/* + + # Sample server.scm configuration for the server + dodir /etc/festival + insinto /etc/festival + doins ${FILESDIR}/server.scm + + # Install the init script + exeinto /etc/init.d + newexe ${FILESDIR}/festival.rc festival + + # Need to fix saytime to look for festival in the correct spot + dosed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" /usr/bin/saytime + dosed "s:${WORKDIR}/festival/bin/festival:/usr/bin/festival:" /usr/bin/text2wave + + # Install the docs + cd ${S} # needed + into /usr + dodoc ACKNOWLEDGMENTS NEWS README + doman doc/festival.1 doc/festival_client.1 + + if use doc; then + cd ${S}/festdoc/festival/html + dohtml *.html + cd ${S}/festdoc/festival + dodoc festival.ps + cd ${S}/festdoc/festival/info + doinfo * + fi + + # We used to put stuff here, so be safe for now... + dosym /usr/share/festival /usr/lib/festival +} + +pkg_postinst() { + einfo + einfo " To test festival, simply type:" + einfo ' "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 + einfo " Emerge mbrola to enable some additional voices." + einfo +} diff --git a/app-accessibility/festival/files/digest-festival-1.4.3-r3 b/app-accessibility/festival/files/digest-festival-1.4.3-r3 new file mode 100644 index 000000000000..7933fac5b8b9 --- /dev/null +++ b/app-accessibility/festival/files/digest-festival-1.4.3-r3 @@ -0,0 +1,13 @@ +MD5 c070523bea2baa0bcaa2d922481abbb5 festival-1.4.3-release.tar.gz 630179 +MD5 a3ffcd09dcbf1306fdef3c84c1c521d6 festlex_CMU.tar.gz 1697709 +MD5 45a03689025849d02ec963a5b338ef37 festlex_OALD.tar.gz 1472516 +MD5 742c266e4c4978fae2b5c1bf6f549eb4 festlex_POSLEX.tar.gz 242914 +MD5 90442079e34a3a694077f8715d15fbdf festvox_don.tar.gz 645583 +MD5 e96a97644d36fcb89952ca65c283cea3 festvox_ellpc11k.tar.gz 1473907 +MD5 abbd12e1d04ecdcae07f1d0044f3a947 festvox_kallpc16k.tar.gz 4104056 +MD5 35d4a2f377d05913ddae61db542afca1 festvox_kedlpc16k.tar.gz 4221528 +MD5 cefcdda6cd48027da36d78f2f711451b festvox_rablpc16k.tar.gz 5369001 +MD5 d0c3e727003e715a65daf01003101813 festvox_us1.tar.gz 11040 +MD5 fbcc8baacbff3aa2aaaf5a93701bb5e0 festvox_us2.tar.gz 11037 +MD5 06dbfe2edaab6ffa31deeaf522e0c33e festvox_us3.tar.gz 11220 +MD5 faabc25a6c1b11854c41adc257c47bdb festdoc-1.4.2.tar.gz 1652551 |