1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This

commit includes the various ports festival can work with.  Big thanks to
Trevor for putting in all the time to port these!

PR:		21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
		21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
		21198, 21199, 21200, 21201
Submitted by:	Trevor Johnson <trevor@jpj.net>
Obtained from:	NetBSD pkgsrc
This commit is contained in:
Will Andrews 2000-09-16 08:39:50 +00:00
parent ebf59fced2
commit bab74078a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32683
143 changed files with 2621 additions and 0 deletions

View File

@ -21,6 +21,24 @@
SUBDIR += dap
SUBDIR += esound
SUBDIR += extace
SUBDIR += festdoc
SUBDIR += festival
SUBDIR += festlex-cmu
SUBDIR += festlex-oald
SUBDIR += festlex-ogi
SUBDIR += festlex-poslex
SUBDIR += festogi-spanish
SUBDIR += festvox-abc
SUBDIR += festvox-don
SUBDIR += festvox-el11
SUBDIR += festvox-hvs
SUBDIR += festvox-kal16
SUBDIR += festvox-kal8
SUBDIR += festvox-ked16
SUBDIR += festvox-ked8
SUBDIR += festvox-mwm
SUBDIR += festvox-ogirab
SUBDIR += festvox-rab16
SUBDIR += gdcd
SUBDIR += gkrellmms
SUBDIR += gkrellmvolume

40
audio/festdoc/Makefile Normal file
View File

@ -0,0 +1,40 @@
# New ports collection makefile for: festdoc
# Date created: 2000-06-16
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 2000/01/05 17:56:46 wiz Exp $
# $FreeBSD$
#
PORTNAME= festdoc
PORTVERSION= 1.4.0.1
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
NO_BUILD= yes
INFO_FILES= festival.info
FDOC= ${PREFIX}/share/doc/festival
post-extract:
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
${RM} ${WRKSRC}/festival/src-manual/c3750.htm~
${RM} ${WRKSRC}/speechtools/c16909.htm~
${RMDIR} ${WRKSRC}/festival/src-manual/images_gen
do-install:
${MKDIR} ${FDOC}
cd ${WRKSRC} && info=`find . -name '*.info*' -type f` && \
${CP} $$info ${PREFIX}/info && \
${CP} -r ${WRKSRC}/* ${FDOC} && \
cd ${FDOC} && \
${RM} -f $$info && \
${RMDIR} festival/info
.include <bsd.port.mk>

3
audio/festdoc/distinfo Normal file
View File

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.2 1999/10/10 23:14:40 proff Exp $
MD5 (festival/festdoc-1.4.0.1.tar.gz) = f99b1aa7c0a95a6f0ed2222a37035792

View File

@ -0,0 +1,16 @@
$NetBSD: patch-aa,v 1.1 2000/01/06 01:40:11 wiz Exp $
--- festival/info/festival.info.orig Sat Jun 19 17:08:03 1999
+++ festival/info/festival.info Wed Jan 5 16:36:08 2000
@@ -1,6 +1,11 @@
This is Info file festival.info, produced by Makeinfo-1.63 from the
input file festival.texi.
+INFO-DIR-SECTION Speech Synthesis
+START-INFO-DIR-ENTRY
+* Festival: (festival). A general text-to-speech system.
+END-INFO-DIR-ENTRY
+
This file documents the `Festival' Speech Synthesis System a general
text to speech system for making your computer talk and developing new
synthesis techniques.

View File

@ -0,0 +1 @@
Festival documentation

3
audio/festdoc/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
Festival documentation in texinfo, HTML, DVI and PostScript formats
WWW: http://www.cstr.ed.ac.uk/projects/festival.html

203
audio/festdoc/pkg-plist Normal file
View File

@ -0,0 +1,203 @@
@comment $NetBSD: PLIST,v 1.6 2000/01/05 17:56:48 wiz Exp $
share/doc/festival/speechtools/images_gen/docppimath_929959730_6.gif
share/doc/festival/speechtools/images_gen/docppmath_929959728_2.gif
share/doc/festival/speechtools/images_gen/docppmath_929959741_1.gif
share/doc/festival/speechtools/images_gen/docppmath_929959741_2.gif
share/doc/festival/speechtools/images_gen/docppmath_929959741_3.gif
share/doc/festival/speechtools/images_gen/docppmath_929959741_4.gif
share/doc/festival/speechtools/images_gen/docppmath_929959741_5.gif
share/doc/festival/speechtools/images_gen/docppmath_929959730_1.gif
share/doc/festival/speechtools/images_gen/docppmath_929959730_2.gif
share/doc/festival/speechtools/images_gen/docppmath_929959731_1.gif
share/doc/festival/speechtools/images_gen/docppmath_929959731_2.gif
share/doc/festival/speechtools/images_gen/docppmath_929959743_1.gif
share/doc/festival/speechtools/images_gen/docppmath_929959726_1.gif
share/doc/festival/speechtools/images_gen/docppmath_929959726_2.gif
share/doc/festival/speechtools/images_gen/docppmath_929959726_3.gif
share/doc/festival/speechtools/images_gen/docppimath_929959717_2.gif
share/doc/festival/speechtools/images_gen/docppimath_929959730_1.gif
share/doc/festival/speechtools/images_gen/docppimath_929959730_2.gif
share/doc/festival/speechtools/images_gen/docppimath_929959730_3.gif
share/doc/festival/speechtools/images_gen/docppimath_929959730_4.gif
share/doc/festival/speechtools/images_gen/docppimath_929959730_5.gif
share/doc/festival/speechtools/images_gen/docppmath_929959728_1.gif
@dirrm share/doc/festival/speechtools/images_gen
share/doc/festival/speechtools/arch_doc/tilt_eq11.gif
share/doc/festival/speechtools/arch_doc/figure02.gif
share/doc/festival/speechtools/arch_doc/figure03.gif
share/doc/festival/speechtools/arch_doc/figure04.gif
share/doc/festival/speechtools/arch_doc/figure05.gif
share/doc/festival/speechtools/arch_doc/figure06.gif
share/doc/festival/speechtools/arch_doc/figure07.gif
share/doc/festival/speechtools/arch_doc/figure15.gif
share/doc/festival/speechtools/arch_doc/eq01.gif
share/doc/festival/speechtools/arch_doc/eq02.gif
share/doc/festival/speechtools/arch_doc/eq03.gif
share/doc/festival/speechtools/arch_doc/eq04.gif
share/doc/festival/speechtools/arch_doc/eq05.gif
share/doc/festival/speechtools/arch_doc/eq06.gif
share/doc/festival/speechtools/arch_doc/eq07.gif
share/doc/festival/speechtools/arch_doc/eq09.gif
share/doc/festival/speechtools/arch_doc/eq08.gif
share/doc/festival/speechtools/arch_doc/tilt_fig01.gif
share/doc/festival/speechtools/arch_doc/tilt_fig02.gif
share/doc/festival/speechtools/arch_doc/tilt_fig03.gif
share/doc/festival/speechtools/arch_doc/track_fig01.gif
share/doc/festival/speechtools/arch_doc/Makefile
share/doc/festival/speechtools/arch_doc/tilt_fig01.fig
share/doc/festival/speechtools/arch_doc/tilt_fig02.fig
share/doc/festival/speechtools/arch_doc/track_fig01.fig
share/doc/festival/speechtools/arch_doc/tilt_eq01.gif
share/doc/festival/speechtools/arch_doc/tilt_eq02.gif
share/doc/festival/speechtools/arch_doc/tilt_eq03.gif
share/doc/festival/speechtools/arch_doc/tilt_eq04.gif
share/doc/festival/speechtools/arch_doc/tilt_eq05.gif
share/doc/festival/speechtools/arch_doc/tilt_eq06.gif
share/doc/festival/speechtools/arch_doc/tilt_eq07.gif
share/doc/festival/speechtools/arch_doc/tilt_eq08.gif
share/doc/festival/speechtools/arch_doc/tilt_eq09.gif
share/doc/festival/speechtools/arch_doc/tilt_eq10.gif
share/doc/festival/speechtools/arch_doc/figure01.gif
@dirrm share/doc/festival/speechtools/arch_doc
share/doc/festival/speechtools/a17354.htm
share/doc/festival/speechtools/book1.htm
share/doc/festival/speechtools/c10710.htm
share/doc/festival/speechtools/c12967.htm
share/doc/festival/speechtools/c13670.htm
share/doc/festival/speechtools/c15774.htm
share/doc/festival/speechtools/c16616.htm
share/doc/festival/speechtools/c16909.htm
share/doc/festival/speechtools/c23.htm
share/doc/festival/speechtools/c409.htm
share/doc/festival/speechtools/c4327.htm
share/doc/festival/speechtools/c76.htm
share/doc/festival/speechtools/c9312.htm
share/doc/festival/speechtools/i17445.htm
share/doc/festival/speechtools/x10356.htm
share/doc/festival/speechtools/x10572.htm
share/doc/festival/speechtools/x10806.htm
share/doc/festival/speechtools/x11037.htm
share/doc/festival/speechtools/x1196.htm
share/doc/festival/speechtools/x130.htm
share/doc/festival/speechtools/x1374.htm
share/doc/festival/speechtools/x13778.htm
share/doc/festival/speechtools/x83.htm
share/doc/festival/speechtools/x1440.htm
share/doc/festival/speechtools/x154.htm
share/doc/festival/speechtools/x15608.htm
share/doc/festival/speechtools/x15742.htm
share/doc/festival/speechtools/x15902.htm
share/doc/festival/speechtools/x15937.htm
share/doc/festival/speechtools/x16708.htm
share/doc/festival/speechtools/x16710.htm
share/doc/festival/speechtools/x16721.htm
share/doc/festival/speechtools/x17072.htm
share/doc/festival/speechtools/x17086.htm
share/doc/festival/speechtools/x1717.htm
share/doc/festival/speechtools/x17367.htm
share/doc/festival/speechtools/x17375.htm
share/doc/festival/speechtools/x17399.htm
share/doc/festival/speechtools/x17409.htm
share/doc/festival/speechtools/x17426.htm
share/doc/festival/speechtools/x1888.htm
share/doc/festival/speechtools/x2086.htm
share/doc/festival/speechtools/x2152.htm
share/doc/festival/speechtools/x2378.htm
share/doc/festival/speechtools/x2656.htm
share/doc/festival/speechtools/x2759.htm
share/doc/festival/speechtools/x2921.htm
share/doc/festival/speechtools/x3039.htm
share/doc/festival/speechtools/x3206.htm
share/doc/festival/speechtools/x3391.htm
share/doc/festival/speechtools/x3475.htm
share/doc/festival/speechtools/x3661.htm
share/doc/festival/speechtools/x3736.htm
share/doc/festival/speechtools/x3787.htm
share/doc/festival/speechtools/x3857.htm
share/doc/festival/speechtools/x3927.htm
share/doc/festival/speechtools/x3988.htm
share/doc/festival/speechtools/x4041.htm
share/doc/festival/speechtools/x4122.htm
share/doc/festival/speechtools/x4167.htm
share/doc/festival/speechtools/x4218.htm
share/doc/festival/speechtools/x427.htm
share/doc/festival/speechtools/x4273.htm
share/doc/festival/speechtools/x4298.htm
share/doc/festival/speechtools/x444.htm
share/doc/festival/speechtools/x737.htm
share/doc/festival/speechtools/x9162.htm
share/doc/festival/speechtools/x9210.htm
share/doc/festival/speechtools/x9265.htm
share/doc/festival/speechtools/x9347.htm
share/doc/festival/speechtools/x9358.htm
share/doc/festival/speechtools/x961.htm
share/doc/festival/speechtools/est.jpg
share/doc/festival/speechtools/edcrest.gif
share/doc/festival/speechtools/cstr.gif
share/doc/festival/speechtools/est_small.jpg
share/doc/festival/speechtools/cstrdoc.css
share/doc/festival/speechtools/index.html
share/doc/festival/speechtools/HTML.index
share/doc/festival/speechtools/TeX.formulae
@dirrm share/doc/festival/speechtools
@unexec install-info --delete %D/info/festival.info %D/info/dir
info/festival.info
info/festival.info-9
info/festival.info-8
info/festival.info-7
info/festival.info-6
info/festival.info-5
info/festival.info-4
info/festival.info-3
info/festival.info-2
info/festival.info-1
info/festival.info-10
@exec install-info %D/info/festival.info %D/info/dir
share/doc/festival/festival/user-manual/festival_35.html
share/doc/festival/festival/user-manual/festival_1.html
share/doc/festival/festival/user-manual/festival_2.html
share/doc/festival/festival/user-manual/festival_3.html
share/doc/festival/festival/user-manual/festival_4.html
share/doc/festival/festival/user-manual/festival_5.html
share/doc/festival/festival/user-manual/festival_6.html
share/doc/festival/festival/user-manual/festival_7.html
share/doc/festival/festival/user-manual/festival_8.html
share/doc/festival/festival/user-manual/festival_9.html
share/doc/festival/festival/user-manual/festival_10.html
share/doc/festival/festival/user-manual/festival_11.html
share/doc/festival/festival/user-manual/festival_12.html
share/doc/festival/festival/user-manual/festival_13.html
share/doc/festival/festival/user-manual/festival_14.html
share/doc/festival/festival/user-manual/festival_15.html
share/doc/festival/festival/user-manual/festival_16.html
share/doc/festival/festival/user-manual/festival_17.html
share/doc/festival/festival/user-manual/festival_18.html
share/doc/festival/festival/user-manual/festival_19.html
share/doc/festival/festival/user-manual/festival_20.html
share/doc/festival/festival/user-manual/festival_21.html
share/doc/festival/festival/user-manual/festival_22.html
share/doc/festival/festival/user-manual/festival_23.html
share/doc/festival/festival/user-manual/festival_24.html
share/doc/festival/festival/user-manual/festival_25.html
share/doc/festival/festival/user-manual/festival_26.html
share/doc/festival/festival/user-manual/festival_27.html
share/doc/festival/festival/user-manual/festival_28.html
share/doc/festival/festival/user-manual/festival_29.html
share/doc/festival/festival/user-manual/festival_30.html
share/doc/festival/festival/user-manual/festival_31.html
share/doc/festival/festival/user-manual/festival_32.html
share/doc/festival/festival/user-manual/festival_33.html
share/doc/festival/festival/user-manual/festival_34.html
share/doc/festival/festival/user-manual/festival_toc.html
@dirrm share/doc/festival/festival/user-manual
share/doc/festival/festival/src-manual/c3750.htm
share/doc/festival/festival/src-manual/x3792.htm
share/doc/festival/festival/src-manual/unisyn02.gif
@dirrm share/doc/festival/festival/src-manual
share/doc/festival/festival/refcard.dvi
share/doc/festival/festival/refcard.ps
share/doc/festival/festival/festival.dvi
share/doc/festival/festival/festival.ps
@dirrm share/doc/festival/festival
share/doc/festival/README
@dirrm share/doc/festival

138
audio/festival+OGI/Makefile Normal file
View File

@ -0,0 +1,138 @@
# New ports collection makefile for: festival
# Date created: 2000-06-11
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.11 1999/12/28 04:19:58 wiz Exp $
# $FreeBSD$
#
PORTNAME= festival
PORTVERSION= 1.4.1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cstr.ed.ac.uk/pub/festival/${PORTVERSION}/ \
http://www.speech.cs.cmu.edu/festival/cstr/festival/${PORTVERSION}/ \
ftp://ftp.leb.net/pub/blinux/${SUB} \
ftp://ftp.mayn.de/pub/linux/BLinux/${SUB} \
ftp://ftp.tuwien.ac.at/zaux024/opsys/linux/blinux/${SUB} \
SUB= festival/mirror.festival_home/${PORTVERSION}/
.if defined (WITH_OGI)
MASTER_SITES+= ftp://ftp.leb.net/pub/blinux/festival/mirror.ogi-synth_home/ \
ftp://ftp.mayn.de/pub/linux/BLinux/festival/mirror.ogi-synth_home/ \
ftp://cslu.cse.ogi.edu/pub/tts/
.endif
DISTFILES= ${DISTNAME}.tar.gz \
speech_tools-1.2.1.tar.gz
.if defined (WITH_OGI)
DISTFILES+= OGIresLPC-2.0.4.tar.gz
.endif
.if defined (WITH_OGI)
PATCHFILES= OGIfestpatch-${PORTVERSION}.tar.gz
.endif
MAINTAINER= trevor@jpj.net
LIB_DEPENDS= audio.1:${PORTSDIR}/audio/nas \
esd.2:${PORTSDIR}/audio/esound
DIST_SUBDIR= festival
EXTRA_PATCHES= ${FILESDIR}/patch-aa
.if defined (WITH_OGI)
EXTRA_PATCHES= ${FILESDIR}/patch-aa-ogi
RESTRICTED= no-commercial-use
.endif
PLIST= ${PKGDIR}/PLIST
.if defined (WITH_OGI)
PLIST= ${PKGDIR}/PLIST-ogi
.endif
WRKSRC= ${WRKDIR}
USE_GMAKE= yes
USE_NEWGCC= yes
SPEECHTOOLS= ${WRKSRC}/speech_tools
FESTIVAL= ${WRKSRC}/festival
FHOME= ${PREFIX}/share/festival
MAKE_ENV+= PKG_EST_HOME=${SPEECHTOOLS} \
EST_HOME=${SPEECHTOOLS} \
PKG_FESTIVAL_BUILD_HOME=${FESTIVAL} \
PKG_FESTIVAL_HOME=${FHOME} \
PKG_COMPILER="${CC}" \
PKG_X11BASE=${X11BASE} \
PKG_PREFIX=${PREFIX} \
EGCS_CC="${CC}" \
EGCS_CXX="${CXX}" \
GCC28_CC="${CC}" \
GCC28_CXX="${CXX}" \
GCC27_CC="${CC}" \
GCC27_CXX="${CXX}" \
GCC26_CC="${CC}" \
GCC26_CXX="${CXX}" \
CC="${CC}" \
CXX="${CXX}"
MAN1= festival.1 festival_client.1
.if defined (WITH_OGI)
post-extract:
@${GUNZIP_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/OGIfestpatch-${PORTVERSION}.tar.gz \
| ${TAR} -C ${WRKSRC} -xf -
.endif
.if !defined(WITH_OGI)
pre-fetch:
@${ECHO}
@${ECHO_MSG} "********************************************************"
@${ECHO_MSG} "* To build this port with the OGI enhancements, define *"
@${ECHO_MSG} "* \"WITH_OGI\" and restart the build. The license for *"
@${ECHO_MSG} "* the OGI materials prohibits commercial use, but they *"
@${ECHO_MSG} "* are required by some of the voices. *"
@${ECHO_MSG} "********************************************************"
@${ECHO}
.endif
pre-patch:
${CP} ${SPEECHTOOLS}/config/config-dist ${SPEECHTOOLS}/config/config && \
${CHMOD} u+w ${SPEECHTOOLS}/config/config
${CP} ${FESTIVAL}/config/config-dist ${FESTIVAL}/config/config && \
${CHMOD} u+w ${FESTIVAL}/config/config
post-patch:
${CP} ${FILESDIR}/top-Makefile ${WRKSRC}/Makefile
${CP} ${FILESDIR}/FreeBSD.mak ${SPEECHTOOLS}/config/systems/FreeBSD.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.4.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.5.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.0.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.1.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.0.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD5.0.mak
do-install:
${MKDIR} ${FHOME}
${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib
${FIND} ${FESTIVAL}/lib -type d -print0| xargs -0 ${CHMOD} 755
cd ${FESTIVAL} && ${CP} -pPR lib examples ${FHOME}
${RM} -rf ${FHOME}/lib/etc/*FreeBSD*
${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*FreeBSD*/audsp ${PREFIX}/libexec
${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${PREFIX}/libexec/festival.naked
${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client ${PREFIX}/libexec/festival_client.naked
for n in festival.sh festival_client.sh sitevars.scm; \
do {\
${SED} "s%@PKG_FESTIVAL_LOCATION@%${FHOME}%; \
s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/$$n > ${WRKDIR}/$$n ;} \
done
${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${PREFIX}/bin/festival
${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh ${PREFIX}/bin/festival_client
${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${FHOME}/lib/sitevars.scm
${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 ${PREFIX}/man/man1/festival.1
${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${PREFIX}/man/man1/festival_client.1
.include <bsd.port.mk>

View File

@ -0,0 +1,4 @@
MD5 (festival/festival-1.4.1.tar.gz) = 1cf585adfd5f8f14a3eed71200c5cbde
MD5 (festival/speech_tools-1.2.1.tar.gz) = 4b77d63f202a410868cc79b5e0640b9b
MD5 (festival/OGIresLPC-2.0.4.tar.gz) = d9ef4871ae35bd750dfb649de8ec1728
MD5 (festival/OGIfestpatch-1.4.1.tar.gz) = a94d02c9c6415d373e50536f6aeaeac4

View File

@ -0,0 +1,15 @@
include $(EST)/config/systems/default.mak
## echo -n doesn't work (well only sometimes ?)
ECHO_N = /usr/bin/printf "%s"
NAWK=awk
NAS_LIB=$(PKG_X11BASE)/lib
NAS_INCLUDE=$(PKG_X11BASE)/include
X11_LIB=$(PKG_X11BASE)/lib
X11_INCLUDE=$(PKG_X11BASE)/include
OS_INCLUDES+=-I$(PKG_PREFIX)/include
OS_LIBS+=-L$(PKG_PREFIX)/lib

View File

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/config/config Mon Oct 11 07:48:44 1999
+++ festival/config/config Mon Oct 11 05:48:33 1999
@@ -20,7 +20,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-FESTIVAL_HOME := $(shell (cd $(TOP); pwd))
+FESTIVAL_HOME := $(PKG_FESTIVAL_HOME)
###########################################################################
## Feature selection.

View File

@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/config/config Mon Oct 11 07:48:44 1999
+++ festival/config/config Mon Oct 11 05:48:33 1999
@@ -20,7 +20,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-FESTIVAL_HOME := $(shell (cd $(TOP); pwd))
+FESTIVAL_HOME := $(PKG_FESTIVAL_HOME)
###########################################################################
## Feature selection.
@@ -70,3 +70,6 @@
## in config/configs/default.mak.
+ALSO_INCLUDE += OGIcommon
+ALSO_INCLUDE += OGIdbase
+ALSO_INCLUDE += OGIresLPC

View File

@ -0,0 +1,5 @@
#!/bin/sh
# path for audsp
PATH=@PKG_PREFIX@/libexec:$PATH
export PATH
exec festival.naked --libdir @PKG_FESTIVAL_LOCATION@/lib $*

View File

@ -0,0 +1,4 @@
#!/bin/sh
PATH=@PKG_PREFIX@/libexec:$PATH
export PATH
exec festival_client.naked @PKG_FESTIVAL_LOCATION@/lib $*

View File

@ -0,0 +1,25 @@
$NetBSD: patch-ab,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/doc/Makefile Thu Jun 17 20:29:54 1999
+++ festival/doc/Makefile Mon Oct 11 06:06:35 1999
@@ -44,7 +44,7 @@
EXAMPLE_TO_DOCUMENT=
-FESTIVAL=$(TOP)/bin/festival --libdir $(TOP)/lib
+FESTIVAL=$(TOP)/src/main/festival --libdir $(TOP)/lib
# Include some of EST documentation.
DOCXX_EXTRA_FILES =
@@ -72,9 +72,9 @@
%.1 : %.head %.options %.tail
cat $^ >$@
%.options : $(TOP)/src/main/%
- $(TOP)/bin/$* -man_options >$@
+ $(FESTIVAL)$* -man_options >$@
%.options : $(TOP)/src/main/%.exe
- $(TOP)/bin/$* -man_options >$@
+ $(FESTIVAL)$* -man_options >$@
festival.info: festival.texi festfunc.texi festvars.texi festfeat.texi
@ if [ ! -d info ] ; \

View File

@ -0,0 +1,24 @@
$NetBSD: patch-ac,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/examples/benchmark Thu Feb 27 00:47:45 1997
+++ festival/examples/benchmark Mon Oct 11 05:41:14 1999
@@ -1,6 +1,6 @@
#!/bin/sh
-default_libdir="/projects/festival/lib"
+default_libdir="$FESTIVAL_HOME/lib"
while true
do
@@ -15,9 +15,9 @@
esac
done
-text=${1-"$HOME/projects/festival/examples/benchmark.text"}
+text=${1-"$FESTIVAL_HOME/examples/benchmark.text"}
-for i in . src/main ../src/main $HOME/projects/festival/src/main /cstr/bin
+for i in . src/main ../src/main $FESTIVAL_HOME/src/main
do
if [ -n "$festival" ]
then

View File

@ -0,0 +1,33 @@
--- speech_tools/config/config.orig Thu Nov 18 19:10:29 1999
+++ speech_tools/config/config Fri Jun 16 17:03:16 2000
@@ -15,7 +15,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-EST_HOME := $(shell (cd $(EST); pwd))
+EST_HOME := $(PKG_EST_HOME)
###########################################################################
## System type.
@@ -77,10 +77,10 @@
## specify a program to play files in a desired format.
## NCD's network audio system, This is recommended.
-# INCLUDE_MODULES += NAS_AUDIO
+INCLUDE_MODULES += NAS_AUDIO
## Elightenment Sound Demon, for KDE etc.
-# INCLUDE_MODULES += ESD_AUDIO
+INCLUDE_MODULES += ESD_AUDIO
## Native audio for your platform (sun, linux, freebsd, irix, windows)
INCLUDE_MODULES += NATIVE_AUDIO
@@ -95,7 +95,7 @@
INCLUDE_MODULES += EDITLINE
# speech recognition
-#INCLUDE_MODULES += ASR
+INCLUDE_MODULES += ASR
## Scheme

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.2 1999/10/11 14:13:49 proff Exp $
--- speech_tools/include/EST_unix.h Sun May 30 20:53:04 1999
+++ speech_tools/include/EST_unix.h Mon Oct 11 05:40:15 1999
@@ -53,6 +53,7 @@
# include <sys/wait.h>
# include <sys/resource.h>
# include <dirent.h>
+# define unix 1
#elif defined(SYSTEM_IS_WIN32)
# include <io.h>
# include "win32/EST_unix_win32.h"

View File

@ -0,0 +1,15 @@
$NetBSD: patch-af,v 1.1 1999/10/11 14:13:49 proff Exp $
--- festival/config/project.mak-dist Mon Oct 11 21:41:08 1999
+++ festival/config/project.mak Mon Oct 11 22:27:37 1999
@@ -70,8 +70,8 @@
# Place where programs are compiled
-PROJECT_MAIN_DIR=$(FESTIVAL_HOME)/src/main
-PROJECT_SCRIPTS_DIR=$(FESTIVAL_HOME)/src/scripts
+PROJECT_MAIN_DIR=$(PKG_FESTIVAL_BUILD_HOME)/src/main
+PROJECT_SCRIPTS_DIR=$(PKG_FESTIVAL_BUILD_HOME)/src/scripts
# Where the main RCS tree is, probably only used within CSTR

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ag,v 1.1 2000/05/05 20:54:57 hubertf Exp $
--- speech_tools/config/modules/nas_audio.mak.orig Fri May 5 20:55:15 2000
+++ speech_tools/config/modules/nas_audio.mak Fri May 5 20:58:07 2000
@@ -45,6 +45,6 @@
AUDIO_DEFINES += -DSUPPORT_NAS
AUDIO_INCLUDES += -I$(NAS_INCLUDE)
MODULE_LIBS += -L$(NAS_LIB) -laudio
-MODULE_EXTRA_LIBS += -L$(X11_LIB) -lX11 -lXt
+MODULE_EXTRA_LIBS += -L$(X11_LIB) -Wl,-R $(X11_LIB) -lX11 -lXt

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ah,v 1.1 2000/05/05 20:54:57 hubertf Exp $
--- festival/config/modules/nas_audio.mak.orig Fri May 5 21:07:15 2000
+++ festival/config/modules/nas_audio.mak Fri May 5 21:07:29 2000
@@ -44,6 +44,6 @@
AUDIO_DEFINES += -DSUPPORT_NAS
AUDIO_INCLUDES += -I$(NAS_INCLUDE)
-MODULE_LIBS += -L$(NAS_LIB) -laudio -L$(X11_LIB) -lX11 -lXt
+MODULE_LIBS += -L$(NAS_LIB) -laudio -L$(X11_LIB) -Wl,-R$(X11_LIB) -lX11 -lXt

View File

@ -0,0 +1,17 @@
$NetBSD: patch-ai,v 1.2 2000/05/31 14:51:16 dmcmahill Exp $
work around pmax compiler bug
--- speech_tools/grammar/ngram/Makefile.orig Sun May 30 06:59:41 1999
+++ speech_tools/grammar/ngram/Makefile Tue May 30 12:41:32 2000
@@ -49,3 +49,10 @@
include $(TOP)/config/common_make_rules
+ifeq ($(MACHINETYPE),pmax)
+
+ngrammar_io.o: ngrammar_io.cc
+ ${CXX} -c -fno-implicit-templates -fguiding-decls -Wall -I../../include ${OS_INCLUDES} ngrammar_io.cc
+
+endif
+

View File

@ -0,0 +1,16 @@
$NetBSD: patch-al,v 1.1 2000/05/31 14:51:17 dmcmahill Exp $
work around pmax compiler bug
--- festival/src/modules/Duration/Makefile.orig Sun May 30 08:07:31 1999
+++ festival/src/modules/Duration/Makefile Wed May 31 09:22:01 2000
@@ -51,3 +51,9 @@
include $(TOP)/config/common_make_rules
+ifeq ($(MACHINETYPE),pmax)
+
+duration.o:duration.cc
+ ${CXX} -c -fno-implicit-templates -fguiding-decls -Wall -I../include -I../../../src/include -I../../../../speech_tools/include ${OS_INCLUDES} duration.cc
+
+endif

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `accept(int, sockaddr *, socklen_t *)' changes signedness
--- speech_tools/utils/EST_Server.cc.orig Thu Nov 18 23:14:51 1999
+++ speech_tools/utils/EST_Server.cc Sun Jun 11 17:27:17 2000
@@ -647,7 +647,7 @@
while (connected() &&
(csocket = accept(p_socket, (struct sockaddr *) &sin,
- SOCKLEN_CAST &sin_size))>=0)
+ (socklen_t *) &sin_size))>=0)
{
if (p_trace)
*p_trace << "connection " << csocket << "\n";

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `getsockname(int, sockaddr *, socklen_t *)' changes signedness
--- speech_tools/utils/EST_ServiceTable.cc.orig Thu Nov 18 23:15:21 1999
+++ speech_tools/utils/EST_ServiceTable.cc Sun Jun 11 17:28:29 2000
@@ -296,7 +296,7 @@
// This only gets the port number
- if (getsockname(socket, (struct sockaddr *)&sin, SOCKLEN_CAST &size) != 0)
+ if (getsockname(socket, (struct sockaddr *)&sin, (socklen_t *) &size) != 0)
EST_sys_error("Can't find my address");

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `getpeername(int, sockaddr *, socklen_t *)' changes signedness
--- ./festival/src/arch/festival/server.cc.orig Thu Nov 18 23:46:47 1999
+++ ./festival/src/arch/festival/server.cc Sun Jun 11 17:48:45 2000
@@ -206,7 +206,7 @@
const char *client_hostnum;
const char *reason = "";
- getpeername(fd,(struct sockaddr *)&peer,SOCKLEN_CAST &addrlen);
+ getpeername(fd,(struct sockaddr *)&peer, (socklen_t *) &addrlen);
clienthost = gethostbyaddr((char *)&peer.sin_addr,
sizeof(peer.sin_addr),AF_INET);
client_hostnum = inet_ntoa(peer.sin_addr);

View File

@ -0,0 +1,12 @@
--- speech_tools/audio/nas.cc.orig Thu Oct 14 16:26:29 1999
+++ speech_tools/audio/nas.cc Fri Jun 16 17:24:25 2000
@@ -57,7 +57,8 @@
int nas_supported = TRUE;
-int endian_int = 1;
+extern int endian_int;
+int endian_int = 1;
#define NAS_BIG_ENDIAN (((char *)&endian_int)[0] == 0)
static void na_sync_play_cb(AuServer *aud, AuEventHandlerRec *handler,

View File

@ -0,0 +1,10 @@
--- speech_tools/audio/esd.cc.orig Mon Oct 4 15:39:01 1999
+++ speech_tools/audio/esd.cc Fri Jun 16 17:49:10 2000
@@ -66,7 +66,6 @@
bool esd_supported = TRUE;
-int endian_int = 1;
#define ESD_BIG_ENDIAN (((char *)&endian_int)[0] == 0)
EST_String server;

View File

@ -0,0 +1,2 @@
(set! system-voice-path '("@PKG_FESTIVAL_LOCATION@/lib/voices"))
(set! sgml_parse_progname "nsgmls")

View File

@ -0,0 +1,3 @@
all:
cd speech_tools && $(MAKE)
cd festival && $(MAKE)

View File

@ -0,0 +1 @@
Festival is an advanced multi-lingual speech synthesis system

View File

@ -0,0 +1,19 @@
from the authors:
The Festival Speech Synthesis System is a general multi-lingual
text-to-speech system for Unix platforms. It is written in C++ and
includes a Scheme-based scripting language. Included with Festival
are lexicons and voices that together form a whole text-to-speech
system.
For output via esd do:
(Parameter.set 'Audio_Method 'esdaudio)
NAS and direct output are documented in section 23 of the users'
manual.
WWW: http://www.cstr.ed.ac.uk/projects/festival.html
Trevor Johnson
trevor@jpj.net

View File

@ -0,0 +1,6 @@
**************************************************************************
* You need to install at least one festvox-* package before festival can *
* do anything other than mumble silently to itself. See the festival *
* package description, the festdoc package (share/doc/festival/*), *
* or the festival home page for more information. *
**************************************************************************

View File

@ -0,0 +1,109 @@
@comment $NetBSD: PLIST,v 1.3 1999/10/27 14:20:50 hubertf Exp $
bin/festival
bin/festival_client
libexec/festival.naked
libexec/festival_client.naked
libexec/audsp
share/festival/lib/Makefile
share/festival/lib/VCLocalRules
share/festival/lib/mrpa_phones.scm
share/festival/lib/mrpa_allophones.scm
share/festival/lib/radio_phones.scm
share/festival/lib/holmes_phones.scm
share/festival/lib/darpa_phones.scm
share/festival/lib/phoneset.scm
share/festival/lib/mrpa_durs.scm
share/festival/lib/klatt_durs.scm
share/festival/lib/gswdurtreeZ.scm
share/festival/lib/f2bdurtreeZ.scm
share/festival/lib/tobi.scm
share/festival/lib/f2bf0lr.scm
share/festival/lib/tobi_rules.scm
share/festival/lib/tilt.scm
share/festival/lib/sec.ts20.quad.ngrambin
share/festival/lib/sec.B.hept.ngrambin
share/festival/lib/init.scm
share/festival/lib/synthesis.scm
share/festival/lib/module_description.scm
share/festival/lib/lexicons.scm
share/festival/lib/festival.scm
share/festival/lib/intonation.scm
share/festival/lib/duration.scm
share/festival/lib/pos.scm
share/festival/lib/phrase.scm
share/festival/lib/voices.scm
share/festival/lib/tts.scm
share/festival/lib/festdoc.scm
share/festival/lib/languages.scm
share/festival/lib/token.scm
share/festival/lib/mbrola.scm
share/festival/lib/display.scm
share/festival/lib/postlex.scm
share/festival/lib/tokenpos.scm
share/festival/lib/festtest.scm
share/festival/lib/cslush.scm
share/festival/lib/cart_aux.scm
share/festival/lib/pauses.scm
share/festival/lib/scfg.scm
share/festival/lib/mettree.scm
share/festival/lib/java.scm
share/festival/lib/lts.scm
share/festival/lib/engmorph.scm
share/festival/lib/engmorphsyn.scm
share/festival/lib/lts_build.scm
share/festival/lib/Sable.v0_2.dtd
share/festival/lib/sable-latin.ent
share/festival/lib/festival.el
share/festival/lib/scfg_wsj_wp20.gram
share/festival/lib/speech.properties
share/festival/lib/email-mode.scm
share/festival/lib/ogimarkup-mode.scm
share/festival/lib/sable-mode.scm
share/festival/lib/soleml-mode.scm
share/festival/lib/etc/Makefile
share/festival/lib/etc/email_filter
@dirrm share/festival/lib/etc
share/festival/lib/siod.scm
share/festival/lib/web.scm
share/festival/lib/cstr.scm
share/festival/lib/fringe.scm
share/festival/lib/sitevars.scm
@dirrm share/festival/lib
share/festival/examples/Makefile
share/festival/examples/webdemo.scm
share/festival/examples/ex1.email
share/festival/examples/ex1.ogi
share/festival/examples/example.sable
share/festival/examples/example2.sable
share/festival/examples/tobi.stml
share/festival/examples/example.th
share/festival/examples/intro.text
share/festival/examples/spintro.text
share/festival/examples/benchmark.text
share/festival/examples/saytime.sh
share/festival/examples/speech_pm_1.0.tar
share/festival/examples/text2pos.sh
share/festival/examples/latest.sh
share/festival/examples/scfg_parse_text.sh
share/festival/examples/text2wave.sh
share/festival/examples/make_utts.sh
share/festival/examples/dumpfeats.sh
share/festival/examples/durmeanstd.sh
share/festival/examples/benchmark
share/festival/examples/festival_client.pl
share/festival/examples/toksearch.scm
share/festival/examples/th-mode.scm
share/festival/examples/addr-mode.scm
share/festival/examples/festival_client.c
share/festival/examples/festival_client.h
share/festival/examples/benchmark.orig
share/festival/examples/saytime
share/festival/examples/text2pos
share/festival/examples/latest
share/festival/examples/scfg_parse_text
share/festival/examples/text2wave
share/festival/examples/make_utts
share/festival/examples/dumpfeats
share/festival/examples/durmeanstd
@dirrm share/festival/examples
@dirrm share/festival

View File

@ -0,0 +1,121 @@
@comment $NetBSD: PLIST,v 1.3 1999/10/27 14:20:50 hubertf Exp $
bin/festival
bin/festival_client
libexec/festival.naked
libexec/festival_client.naked
libexec/audsp
share/festival/lib/ogi_gswdurtreeZ_wb.scm
share/festival/lib/ogi_hack.scm
share/festival/lib/ogi_kddurtreeZ_wb.scm
share/festival/lib/ogi_klatt_durs_wb.scm
share/festival/lib/ogi_languages.scm
share/festival/lib/ogi_lexicons.scm
share/festival/lib/ogi_lts_worldbet.scm
share/festival/lib/ogi_phrase.scm
share/festival/lib/ogi_postlex.scm
share/festival/lib/ogi_synthesis.scm
share/festival/lib/ogi_unitsel.scm
share/festival/lib/ogi_worldbet_phones.scm
share/festival/lib/Makefile
share/festival/lib/VCLocalRules
share/festival/lib/mrpa_phones.scm
share/festival/lib/mrpa_allophones.scm
share/festival/lib/radio_phones.scm
share/festival/lib/holmes_phones.scm
share/festival/lib/darpa_phones.scm
share/festival/lib/phoneset.scm
share/festival/lib/mrpa_durs.scm
share/festival/lib/klatt_durs.scm
share/festival/lib/gswdurtreeZ.scm
share/festival/lib/f2bdurtreeZ.scm
share/festival/lib/tobi.scm
share/festival/lib/f2bf0lr.scm
share/festival/lib/tobi_rules.scm
share/festival/lib/tilt.scm
share/festival/lib/sec.ts20.quad.ngrambin
share/festival/lib/sec.B.hept.ngrambin
share/festival/lib/init.scm
share/festival/lib/synthesis.scm
share/festival/lib/module_description.scm
share/festival/lib/lexicons.scm
share/festival/lib/festival.scm
share/festival/lib/intonation.scm
share/festival/lib/duration.scm
share/festival/lib/pos.scm
share/festival/lib/phrase.scm
share/festival/lib/voices.scm
share/festival/lib/tts.scm
share/festival/lib/festdoc.scm
share/festival/lib/languages.scm
share/festival/lib/token.scm
share/festival/lib/mbrola.scm
share/festival/lib/display.scm
share/festival/lib/postlex.scm
share/festival/lib/tokenpos.scm
share/festival/lib/festtest.scm
share/festival/lib/cslush.scm
share/festival/lib/cart_aux.scm
share/festival/lib/pauses.scm
share/festival/lib/scfg.scm
share/festival/lib/mettree.scm
share/festival/lib/java.scm
share/festival/lib/lts.scm
share/festival/lib/engmorph.scm
share/festival/lib/engmorphsyn.scm
share/festival/lib/lts_build.scm
share/festival/lib/Sable.v0_2.dtd
share/festival/lib/sable-latin.ent
share/festival/lib/festival.el
share/festival/lib/scfg_wsj_wp20.gram
share/festival/lib/speech.properties
share/festival/lib/email-mode.scm
share/festival/lib/ogimarkup-mode.scm
share/festival/lib/sable-mode.scm
share/festival/lib/soleml-mode.scm
share/festival/lib/etc/Makefile
share/festival/lib/etc/email_filter
@dirrm share/festival/lib/etc
share/festival/lib/siod.scm
share/festival/lib/web.scm
share/festival/lib/cstr.scm
share/festival/lib/fringe.scm
share/festival/lib/sitevars.scm
@dirrm share/festival/lib
share/festival/examples/Makefile
share/festival/examples/webdemo.scm
share/festival/examples/ex1.email
share/festival/examples/ex1.ogi
share/festival/examples/example.sable
share/festival/examples/example2.sable
share/festival/examples/tobi.stml
share/festival/examples/example.th
share/festival/examples/intro.text
share/festival/examples/spintro.text
share/festival/examples/benchmark.text
share/festival/examples/saytime.sh
share/festival/examples/speech_pm_1.0.tar
share/festival/examples/text2pos.sh
share/festival/examples/latest.sh
share/festival/examples/scfg_parse_text.sh
share/festival/examples/text2wave.sh
share/festival/examples/make_utts.sh
share/festival/examples/dumpfeats.sh
share/festival/examples/durmeanstd.sh
share/festival/examples/benchmark
share/festival/examples/festival_client.pl
share/festival/examples/toksearch.scm
share/festival/examples/th-mode.scm
share/festival/examples/addr-mode.scm
share/festival/examples/festival_client.c
share/festival/examples/festival_client.h
share/festival/examples/benchmark.orig
share/festival/examples/saytime
share/festival/examples/text2pos
share/festival/examples/latest
share/festival/examples/scfg_parse_text
share/festival/examples/text2wave
share/festival/examples/make_utts
share/festival/examples/dumpfeats
share/festival/examples/durmeanstd
@dirrm share/festival/examples
@dirrm share/festival

138
audio/festival/Makefile Normal file
View File

@ -0,0 +1,138 @@
# New ports collection makefile for: festival
# Date created: 2000-06-11
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.11 1999/12/28 04:19:58 wiz Exp $
# $FreeBSD$
#
PORTNAME= festival
PORTVERSION= 1.4.1
CATEGORIES= audio
MASTER_SITES= ftp://ftp.cstr.ed.ac.uk/pub/festival/${PORTVERSION}/ \
http://www.speech.cs.cmu.edu/festival/cstr/festival/${PORTVERSION}/ \
ftp://ftp.leb.net/pub/blinux/${SUB} \
ftp://ftp.mayn.de/pub/linux/BLinux/${SUB} \
ftp://ftp.tuwien.ac.at/zaux024/opsys/linux/blinux/${SUB} \
SUB= festival/mirror.festival_home/${PORTVERSION}/
.if defined (WITH_OGI)
MASTER_SITES+= ftp://ftp.leb.net/pub/blinux/festival/mirror.ogi-synth_home/ \
ftp://ftp.mayn.de/pub/linux/BLinux/festival/mirror.ogi-synth_home/ \
ftp://cslu.cse.ogi.edu/pub/tts/
.endif
DISTFILES= ${DISTNAME}.tar.gz \
speech_tools-1.2.1.tar.gz
.if defined (WITH_OGI)
DISTFILES+= OGIresLPC-2.0.4.tar.gz
.endif
.if defined (WITH_OGI)
PATCHFILES= OGIfestpatch-${PORTVERSION}.tar.gz
.endif
MAINTAINER= trevor@jpj.net
LIB_DEPENDS= audio.1:${PORTSDIR}/audio/nas \
esd.2:${PORTSDIR}/audio/esound
DIST_SUBDIR= festival
EXTRA_PATCHES= ${FILESDIR}/patch-aa
.if defined (WITH_OGI)
EXTRA_PATCHES= ${FILESDIR}/patch-aa-ogi
RESTRICTED= no-commercial-use
.endif
PLIST= ${PKGDIR}/PLIST
.if defined (WITH_OGI)
PLIST= ${PKGDIR}/PLIST-ogi
.endif
WRKSRC= ${WRKDIR}
USE_GMAKE= yes
USE_NEWGCC= yes
SPEECHTOOLS= ${WRKSRC}/speech_tools
FESTIVAL= ${WRKSRC}/festival
FHOME= ${PREFIX}/share/festival
MAKE_ENV+= PKG_EST_HOME=${SPEECHTOOLS} \
EST_HOME=${SPEECHTOOLS} \
PKG_FESTIVAL_BUILD_HOME=${FESTIVAL} \
PKG_FESTIVAL_HOME=${FHOME} \
PKG_COMPILER="${CC}" \
PKG_X11BASE=${X11BASE} \
PKG_PREFIX=${PREFIX} \
EGCS_CC="${CC}" \
EGCS_CXX="${CXX}" \
GCC28_CC="${CC}" \
GCC28_CXX="${CXX}" \
GCC27_CC="${CC}" \
GCC27_CXX="${CXX}" \
GCC26_CC="${CC}" \
GCC26_CXX="${CXX}" \
CC="${CC}" \
CXX="${CXX}"
MAN1= festival.1 festival_client.1
.if defined (WITH_OGI)
post-extract:
@${GUNZIP_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/OGIfestpatch-${PORTVERSION}.tar.gz \
| ${TAR} -C ${WRKSRC} -xf -
.endif
.if !defined(WITH_OGI)
pre-fetch:
@${ECHO}
@${ECHO_MSG} "********************************************************"
@${ECHO_MSG} "* To build this port with the OGI enhancements, define *"
@${ECHO_MSG} "* \"WITH_OGI\" and restart the build. The license for *"
@${ECHO_MSG} "* the OGI materials prohibits commercial use, but they *"
@${ECHO_MSG} "* are required by some of the voices. *"
@${ECHO_MSG} "********************************************************"
@${ECHO}
.endif
pre-patch:
${CP} ${SPEECHTOOLS}/config/config-dist ${SPEECHTOOLS}/config/config && \
${CHMOD} u+w ${SPEECHTOOLS}/config/config
${CP} ${FESTIVAL}/config/config-dist ${FESTIVAL}/config/config && \
${CHMOD} u+w ${FESTIVAL}/config/config
post-patch:
${CP} ${FILESDIR}/top-Makefile ${WRKSRC}/Makefile
${CP} ${FILESDIR}/FreeBSD.mak ${SPEECHTOOLS}/config/systems/FreeBSD.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.4.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.3.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD3.5.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.0.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.1.mak
${CP} ${SPEECHTOOLS}/config/systems/ix86_FreeBSD4.0.mak \
${SPEECHTOOLS}/config/systems/ix86_FreeBSD5.0.mak
do-install:
${MKDIR} ${FHOME}
${CHMOD} -R u+w,a+r,og-w ${FESTIVAL}/lib
${FIND} ${FESTIVAL}/lib -type d -print0| xargs -0 ${CHMOD} 755
cd ${FESTIVAL} && ${CP} -pPR lib examples ${FHOME}
${RM} -rf ${FHOME}/lib/etc/*FreeBSD*
${INSTALL_PROGRAM} ${FESTIVAL}/lib/etc/*FreeBSD*/audsp ${PREFIX}/libexec
${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival ${PREFIX}/libexec/festival.naked
${INSTALL_PROGRAM} ${FESTIVAL}/src/main/festival_client ${PREFIX}/libexec/festival_client.naked
for n in festival.sh festival_client.sh sitevars.scm; \
do {\
${SED} "s%@PKG_FESTIVAL_LOCATION@%${FHOME}%; \
s%@PKG_PREFIX@%${PREFIX}%" <${FILESDIR}/$$n > ${WRKDIR}/$$n ;} \
done
${INSTALL_SCRIPT} ${WRKDIR}/festival.sh ${PREFIX}/bin/festival
${INSTALL_SCRIPT} ${WRKDIR}/festival_client.sh ${PREFIX}/bin/festival_client
${INSTALL_DATA} ${WRKDIR}/sitevars.scm ${FHOME}/lib/sitevars.scm
${INSTALL_MAN} ${FESTIVAL}/doc/festival.1 ${PREFIX}/man/man1/festival.1
${INSTALL_MAN} ${FESTIVAL}/doc/festival_client.1 ${PREFIX}/man/man1/festival_client.1
.include <bsd.port.mk>

4
audio/festival/distinfo Normal file
View File

@ -0,0 +1,4 @@
MD5 (festival/festival-1.4.1.tar.gz) = 1cf585adfd5f8f14a3eed71200c5cbde
MD5 (festival/speech_tools-1.2.1.tar.gz) = 4b77d63f202a410868cc79b5e0640b9b
MD5 (festival/OGIresLPC-2.0.4.tar.gz) = d9ef4871ae35bd750dfb649de8ec1728
MD5 (festival/OGIfestpatch-1.4.1.tar.gz) = a94d02c9c6415d373e50536f6aeaeac4

View File

@ -0,0 +1,15 @@
include $(EST)/config/systems/default.mak
## echo -n doesn't work (well only sometimes ?)
ECHO_N = /usr/bin/printf "%s"
NAWK=awk
NAS_LIB=$(PKG_X11BASE)/lib
NAS_INCLUDE=$(PKG_X11BASE)/include
X11_LIB=$(PKG_X11BASE)/lib
X11_INCLUDE=$(PKG_X11BASE)/include
OS_INCLUDES+=-I$(PKG_PREFIX)/include
OS_LIBS+=-L$(PKG_PREFIX)/lib

View File

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/config/config Mon Oct 11 07:48:44 1999
+++ festival/config/config Mon Oct 11 05:48:33 1999
@@ -20,7 +20,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-FESTIVAL_HOME := $(shell (cd $(TOP); pwd))
+FESTIVAL_HOME := $(PKG_FESTIVAL_HOME)
###########################################################################
## Feature selection.

View File

@ -0,0 +1,20 @@
$NetBSD: patch-aa,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/config/config Mon Oct 11 07:48:44 1999
+++ festival/config/config Mon Oct 11 05:48:33 1999
@@ -20,7 +20,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-FESTIVAL_HOME := $(shell (cd $(TOP); pwd))
+FESTIVAL_HOME := $(PKG_FESTIVAL_HOME)
###########################################################################
## Feature selection.
@@ -70,3 +70,6 @@
## in config/configs/default.mak.
+ALSO_INCLUDE += OGIcommon
+ALSO_INCLUDE += OGIdbase
+ALSO_INCLUDE += OGIresLPC

View File

@ -0,0 +1,5 @@
#!/bin/sh
# path for audsp
PATH=@PKG_PREFIX@/libexec:$PATH
export PATH
exec festival.naked --libdir @PKG_FESTIVAL_LOCATION@/lib $*

View File

@ -0,0 +1,4 @@
#!/bin/sh
PATH=@PKG_PREFIX@/libexec:$PATH
export PATH
exec festival_client.naked @PKG_FESTIVAL_LOCATION@/lib $*

View File

@ -0,0 +1,25 @@
$NetBSD: patch-ab,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/doc/Makefile Thu Jun 17 20:29:54 1999
+++ festival/doc/Makefile Mon Oct 11 06:06:35 1999
@@ -44,7 +44,7 @@
EXAMPLE_TO_DOCUMENT=
-FESTIVAL=$(TOP)/bin/festival --libdir $(TOP)/lib
+FESTIVAL=$(TOP)/src/main/festival --libdir $(TOP)/lib
# Include some of EST documentation.
DOCXX_EXTRA_FILES =
@@ -72,9 +72,9 @@
%.1 : %.head %.options %.tail
cat $^ >$@
%.options : $(TOP)/src/main/%
- $(TOP)/bin/$* -man_options >$@
+ $(FESTIVAL)$* -man_options >$@
%.options : $(TOP)/src/main/%.exe
- $(TOP)/bin/$* -man_options >$@
+ $(FESTIVAL)$* -man_options >$@
festival.info: festival.texi festfunc.texi festvars.texi festfeat.texi
@ if [ ! -d info ] ; \

View File

@ -0,0 +1,24 @@
$NetBSD: patch-ac,v 1.2 1999/10/11 14:13:49 proff Exp $
--- festival/examples/benchmark Thu Feb 27 00:47:45 1997
+++ festival/examples/benchmark Mon Oct 11 05:41:14 1999
@@ -1,6 +1,6 @@
#!/bin/sh
-default_libdir="/projects/festival/lib"
+default_libdir="$FESTIVAL_HOME/lib"
while true
do
@@ -15,9 +15,9 @@
esac
done
-text=${1-"$HOME/projects/festival/examples/benchmark.text"}
+text=${1-"$FESTIVAL_HOME/examples/benchmark.text"}
-for i in . src/main ../src/main $HOME/projects/festival/src/main /cstr/bin
+for i in . src/main ../src/main $FESTIVAL_HOME/src/main
do
if [ -n "$festival" ]
then

View File

@ -0,0 +1,33 @@
--- speech_tools/config/config.orig Thu Nov 18 19:10:29 1999
+++ speech_tools/config/config Fri Jun 16 17:03:16 2000
@@ -15,7 +15,7 @@
## You may need to set this explicitly if automounter or NFS
## side effects cause problems
-EST_HOME := $(shell (cd $(EST); pwd))
+EST_HOME := $(PKG_EST_HOME)
###########################################################################
## System type.
@@ -77,10 +77,10 @@
## specify a program to play files in a desired format.
## NCD's network audio system, This is recommended.
-# INCLUDE_MODULES += NAS_AUDIO
+INCLUDE_MODULES += NAS_AUDIO
## Elightenment Sound Demon, for KDE etc.
-# INCLUDE_MODULES += ESD_AUDIO
+INCLUDE_MODULES += ESD_AUDIO
## Native audio for your platform (sun, linux, freebsd, irix, windows)
INCLUDE_MODULES += NATIVE_AUDIO
@@ -95,7 +95,7 @@
INCLUDE_MODULES += EDITLINE
# speech recognition
-#INCLUDE_MODULES += ASR
+INCLUDE_MODULES += ASR
## Scheme

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.2 1999/10/11 14:13:49 proff Exp $
--- speech_tools/include/EST_unix.h Sun May 30 20:53:04 1999
+++ speech_tools/include/EST_unix.h Mon Oct 11 05:40:15 1999
@@ -53,6 +53,7 @@
# include <sys/wait.h>
# include <sys/resource.h>
# include <dirent.h>
+# define unix 1
#elif defined(SYSTEM_IS_WIN32)
# include <io.h>
# include "win32/EST_unix_win32.h"

View File

@ -0,0 +1,15 @@
$NetBSD: patch-af,v 1.1 1999/10/11 14:13:49 proff Exp $
--- festival/config/project.mak-dist Mon Oct 11 21:41:08 1999
+++ festival/config/project.mak Mon Oct 11 22:27:37 1999
@@ -70,8 +70,8 @@
# Place where programs are compiled
-PROJECT_MAIN_DIR=$(FESTIVAL_HOME)/src/main
-PROJECT_SCRIPTS_DIR=$(FESTIVAL_HOME)/src/scripts
+PROJECT_MAIN_DIR=$(PKG_FESTIVAL_BUILD_HOME)/src/main
+PROJECT_SCRIPTS_DIR=$(PKG_FESTIVAL_BUILD_HOME)/src/scripts
# Where the main RCS tree is, probably only used within CSTR

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ag,v 1.1 2000/05/05 20:54:57 hubertf Exp $
--- speech_tools/config/modules/nas_audio.mak.orig Fri May 5 20:55:15 2000
+++ speech_tools/config/modules/nas_audio.mak Fri May 5 20:58:07 2000
@@ -45,6 +45,6 @@
AUDIO_DEFINES += -DSUPPORT_NAS
AUDIO_INCLUDES += -I$(NAS_INCLUDE)
MODULE_LIBS += -L$(NAS_LIB) -laudio
-MODULE_EXTRA_LIBS += -L$(X11_LIB) -lX11 -lXt
+MODULE_EXTRA_LIBS += -L$(X11_LIB) -Wl,-R $(X11_LIB) -lX11 -lXt

View File

@ -0,0 +1,12 @@
$NetBSD: patch-ah,v 1.1 2000/05/05 20:54:57 hubertf Exp $
--- festival/config/modules/nas_audio.mak.orig Fri May 5 21:07:15 2000
+++ festival/config/modules/nas_audio.mak Fri May 5 21:07:29 2000
@@ -44,6 +44,6 @@
AUDIO_DEFINES += -DSUPPORT_NAS
AUDIO_INCLUDES += -I$(NAS_INCLUDE)
-MODULE_LIBS += -L$(NAS_LIB) -laudio -L$(X11_LIB) -lX11 -lXt
+MODULE_LIBS += -L$(NAS_LIB) -laudio -L$(X11_LIB) -Wl,-R$(X11_LIB) -lX11 -lXt

View File

@ -0,0 +1,17 @@
$NetBSD: patch-ai,v 1.2 2000/05/31 14:51:16 dmcmahill Exp $
work around pmax compiler bug
--- speech_tools/grammar/ngram/Makefile.orig Sun May 30 06:59:41 1999
+++ speech_tools/grammar/ngram/Makefile Tue May 30 12:41:32 2000
@@ -49,3 +49,10 @@
include $(TOP)/config/common_make_rules
+ifeq ($(MACHINETYPE),pmax)
+
+ngrammar_io.o: ngrammar_io.cc
+ ${CXX} -c -fno-implicit-templates -fguiding-decls -Wall -I../../include ${OS_INCLUDES} ngrammar_io.cc
+
+endif
+

View File

@ -0,0 +1,16 @@
$NetBSD: patch-al,v 1.1 2000/05/31 14:51:17 dmcmahill Exp $
work around pmax compiler bug
--- festival/src/modules/Duration/Makefile.orig Sun May 30 08:07:31 1999
+++ festival/src/modules/Duration/Makefile Wed May 31 09:22:01 2000
@@ -51,3 +51,9 @@
include $(TOP)/config/common_make_rules
+ifeq ($(MACHINETYPE),pmax)
+
+duration.o:duration.cc
+ ${CXX} -c -fno-implicit-templates -fguiding-decls -Wall -I../include -I../../../src/include -I../../../../speech_tools/include ${OS_INCLUDES} duration.cc
+
+endif

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `accept(int, sockaddr *, socklen_t *)' changes signedness
--- speech_tools/utils/EST_Server.cc.orig Thu Nov 18 23:14:51 1999
+++ speech_tools/utils/EST_Server.cc Sun Jun 11 17:27:17 2000
@@ -647,7 +647,7 @@
while (connected() &&
(csocket = accept(p_socket, (struct sockaddr *) &sin,
- SOCKLEN_CAST &sin_size))>=0)
+ (socklen_t *) &sin_size))>=0)
{
if (p_trace)
*p_trace << "connection " << csocket << "\n";

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `getsockname(int, sockaddr *, socklen_t *)' changes signedness
--- speech_tools/utils/EST_ServiceTable.cc.orig Thu Nov 18 23:15:21 1999
+++ speech_tools/utils/EST_ServiceTable.cc Sun Jun 11 17:28:29 2000
@@ -296,7 +296,7 @@
// This only gets the port number
- if (getsockname(socket, (struct sockaddr *)&sin, SOCKLEN_CAST &size) != 0)
+ if (getsockname(socket, (struct sockaddr *)&sin, (socklen_t *) &size) != 0)
EST_sys_error("Can't find my address");

View File

@ -0,0 +1,13 @@
passing `int *' as argument 3 of `getpeername(int, sockaddr *, socklen_t *)' changes signedness
--- ./festival/src/arch/festival/server.cc.orig Thu Nov 18 23:46:47 1999
+++ ./festival/src/arch/festival/server.cc Sun Jun 11 17:48:45 2000
@@ -206,7 +206,7 @@
const char *client_hostnum;
const char *reason = "";
- getpeername(fd,(struct sockaddr *)&peer,SOCKLEN_CAST &addrlen);
+ getpeername(fd,(struct sockaddr *)&peer, (socklen_t *) &addrlen);
clienthost = gethostbyaddr((char *)&peer.sin_addr,
sizeof(peer.sin_addr),AF_INET);
client_hostnum = inet_ntoa(peer.sin_addr);

View File

@ -0,0 +1,12 @@
--- speech_tools/audio/nas.cc.orig Thu Oct 14 16:26:29 1999
+++ speech_tools/audio/nas.cc Fri Jun 16 17:24:25 2000
@@ -57,7 +57,8 @@
int nas_supported = TRUE;
-int endian_int = 1;
+extern int endian_int;
+int endian_int = 1;
#define NAS_BIG_ENDIAN (((char *)&endian_int)[0] == 0)
static void na_sync_play_cb(AuServer *aud, AuEventHandlerRec *handler,

View File

@ -0,0 +1,10 @@
--- speech_tools/audio/esd.cc.orig Mon Oct 4 15:39:01 1999
+++ speech_tools/audio/esd.cc Fri Jun 16 17:49:10 2000
@@ -66,7 +66,6 @@
bool esd_supported = TRUE;
-int endian_int = 1;
#define ESD_BIG_ENDIAN (((char *)&endian_int)[0] == 0)
EST_String server;

View File

@ -0,0 +1,2 @@
(set! system-voice-path '("@PKG_FESTIVAL_LOCATION@/lib/voices"))
(set! sgml_parse_progname "nsgmls")

View File

@ -0,0 +1,3 @@
all:
cd speech_tools && $(MAKE)
cd festival && $(MAKE)

View File

@ -0,0 +1 @@
Festival is an advanced multi-lingual speech synthesis system

19
audio/festival/pkg-descr Normal file
View File

@ -0,0 +1,19 @@
from the authors:
The Festival Speech Synthesis System is a general multi-lingual
text-to-speech system for Unix platforms. It is written in C++ and
includes a Scheme-based scripting language. Included with Festival
are lexicons and voices that together form a whole text-to-speech
system.
For output via esd do:
(Parameter.set 'Audio_Method 'esdaudio)
NAS and direct output are documented in section 23 of the users'
manual.
WWW: http://www.cstr.ed.ac.uk/projects/festival.html
Trevor Johnson
trevor@jpj.net

View File

@ -0,0 +1,6 @@
**************************************************************************
* You need to install at least one festvox-* package before festival can *
* do anything other than mumble silently to itself. See the festival *
* package description, the festdoc package (share/doc/festival/*), *
* or the festival home page for more information. *
**************************************************************************

109
audio/festival/pkg-plist Normal file
View File

@ -0,0 +1,109 @@
@comment $NetBSD: PLIST,v 1.3 1999/10/27 14:20:50 hubertf Exp $
bin/festival
bin/festival_client
libexec/festival.naked
libexec/festival_client.naked
libexec/audsp
share/festival/lib/Makefile
share/festival/lib/VCLocalRules
share/festival/lib/mrpa_phones.scm
share/festival/lib/mrpa_allophones.scm
share/festival/lib/radio_phones.scm
share/festival/lib/holmes_phones.scm
share/festival/lib/darpa_phones.scm
share/festival/lib/phoneset.scm
share/festival/lib/mrpa_durs.scm
share/festival/lib/klatt_durs.scm
share/festival/lib/gswdurtreeZ.scm
share/festival/lib/f2bdurtreeZ.scm
share/festival/lib/tobi.scm
share/festival/lib/f2bf0lr.scm
share/festival/lib/tobi_rules.scm
share/festival/lib/tilt.scm
share/festival/lib/sec.ts20.quad.ngrambin
share/festival/lib/sec.B.hept.ngrambin
share/festival/lib/init.scm
share/festival/lib/synthesis.scm
share/festival/lib/module_description.scm
share/festival/lib/lexicons.scm
share/festival/lib/festival.scm
share/festival/lib/intonation.scm
share/festival/lib/duration.scm
share/festival/lib/pos.scm
share/festival/lib/phrase.scm
share/festival/lib/voices.scm
share/festival/lib/tts.scm
share/festival/lib/festdoc.scm
share/festival/lib/languages.scm
share/festival/lib/token.scm
share/festival/lib/mbrola.scm
share/festival/lib/display.scm
share/festival/lib/postlex.scm
share/festival/lib/tokenpos.scm
share/festival/lib/festtest.scm
share/festival/lib/cslush.scm
share/festival/lib/cart_aux.scm
share/festival/lib/pauses.scm
share/festival/lib/scfg.scm
share/festival/lib/mettree.scm
share/festival/lib/java.scm
share/festival/lib/lts.scm
share/festival/lib/engmorph.scm
share/festival/lib/engmorphsyn.scm
share/festival/lib/lts_build.scm
share/festival/lib/Sable.v0_2.dtd
share/festival/lib/sable-latin.ent
share/festival/lib/festival.el
share/festival/lib/scfg_wsj_wp20.gram
share/festival/lib/speech.properties
share/festival/lib/email-mode.scm
share/festival/lib/ogimarkup-mode.scm
share/festival/lib/sable-mode.scm
share/festival/lib/soleml-mode.scm
share/festival/lib/etc/Makefile
share/festival/lib/etc/email_filter
@dirrm share/festival/lib/etc
share/festival/lib/siod.scm
share/festival/lib/web.scm
share/festival/lib/cstr.scm
share/festival/lib/fringe.scm
share/festival/lib/sitevars.scm
@dirrm share/festival/lib
share/festival/examples/Makefile
share/festival/examples/webdemo.scm
share/festival/examples/ex1.email
share/festival/examples/ex1.ogi
share/festival/examples/example.sable
share/festival/examples/example2.sable
share/festival/examples/tobi.stml
share/festival/examples/example.th
share/festival/examples/intro.text
share/festival/examples/spintro.text
share/festival/examples/benchmark.text
share/festival/examples/saytime.sh
share/festival/examples/speech_pm_1.0.tar
share/festival/examples/text2pos.sh
share/festival/examples/latest.sh
share/festival/examples/scfg_parse_text.sh
share/festival/examples/text2wave.sh
share/festival/examples/make_utts.sh
share/festival/examples/dumpfeats.sh
share/festival/examples/durmeanstd.sh
share/festival/examples/benchmark
share/festival/examples/festival_client.pl
share/festival/examples/toksearch.scm
share/festival/examples/th-mode.scm
share/festival/examples/addr-mode.scm
share/festival/examples/festival_client.c
share/festival/examples/festival_client.h
share/festival/examples/benchmark.orig
share/festival/examples/saytime
share/festival/examples/text2pos
share/festival/examples/latest
share/festival/examples/scfg_parse_text
share/festival/examples/text2wave
share/festival/examples/make_utts
share/festival/examples/dumpfeats
share/festival/examples/durmeanstd
@dirrm share/festival/examples
@dirrm share/festival

View File

@ -0,0 +1,121 @@
@comment $NetBSD: PLIST,v 1.3 1999/10/27 14:20:50 hubertf Exp $
bin/festival
bin/festival_client
libexec/festival.naked
libexec/festival_client.naked
libexec/audsp
share/festival/lib/ogi_gswdurtreeZ_wb.scm
share/festival/lib/ogi_hack.scm
share/festival/lib/ogi_kddurtreeZ_wb.scm
share/festival/lib/ogi_klatt_durs_wb.scm
share/festival/lib/ogi_languages.scm
share/festival/lib/ogi_lexicons.scm
share/festival/lib/ogi_lts_worldbet.scm
share/festival/lib/ogi_phrase.scm
share/festival/lib/ogi_postlex.scm
share/festival/lib/ogi_synthesis.scm
share/festival/lib/ogi_unitsel.scm
share/festival/lib/ogi_worldbet_phones.scm
share/festival/lib/Makefile
share/festival/lib/VCLocalRules
share/festival/lib/mrpa_phones.scm
share/festival/lib/mrpa_allophones.scm
share/festival/lib/radio_phones.scm
share/festival/lib/holmes_phones.scm
share/festival/lib/darpa_phones.scm
share/festival/lib/phoneset.scm
share/festival/lib/mrpa_durs.scm
share/festival/lib/klatt_durs.scm
share/festival/lib/gswdurtreeZ.scm
share/festival/lib/f2bdurtreeZ.scm
share/festival/lib/tobi.scm
share/festival/lib/f2bf0lr.scm
share/festival/lib/tobi_rules.scm
share/festival/lib/tilt.scm
share/festival/lib/sec.ts20.quad.ngrambin
share/festival/lib/sec.B.hept.ngrambin
share/festival/lib/init.scm
share/festival/lib/synthesis.scm
share/festival/lib/module_description.scm
share/festival/lib/lexicons.scm
share/festival/lib/festival.scm
share/festival/lib/intonation.scm
share/festival/lib/duration.scm
share/festival/lib/pos.scm
share/festival/lib/phrase.scm
share/festival/lib/voices.scm
share/festival/lib/tts.scm
share/festival/lib/festdoc.scm
share/festival/lib/languages.scm
share/festival/lib/token.scm
share/festival/lib/mbrola.scm
share/festival/lib/display.scm
share/festival/lib/postlex.scm
share/festival/lib/tokenpos.scm
share/festival/lib/festtest.scm
share/festival/lib/cslush.scm
share/festival/lib/cart_aux.scm
share/festival/lib/pauses.scm
share/festival/lib/scfg.scm
share/festival/lib/mettree.scm
share/festival/lib/java.scm
share/festival/lib/lts.scm
share/festival/lib/engmorph.scm
share/festival/lib/engmorphsyn.scm
share/festival/lib/lts_build.scm
share/festival/lib/Sable.v0_2.dtd
share/festival/lib/sable-latin.ent
share/festival/lib/festival.el
share/festival/lib/scfg_wsj_wp20.gram
share/festival/lib/speech.properties
share/festival/lib/email-mode.scm
share/festival/lib/ogimarkup-mode.scm
share/festival/lib/sable-mode.scm
share/festival/lib/soleml-mode.scm
share/festival/lib/etc/Makefile
share/festival/lib/etc/email_filter
@dirrm share/festival/lib/etc
share/festival/lib/siod.scm
share/festival/lib/web.scm
share/festival/lib/cstr.scm
share/festival/lib/fringe.scm
share/festival/lib/sitevars.scm
@dirrm share/festival/lib
share/festival/examples/Makefile
share/festival/examples/webdemo.scm
share/festival/examples/ex1.email
share/festival/examples/ex1.ogi
share/festival/examples/example.sable
share/festival/examples/example2.sable
share/festival/examples/tobi.stml
share/festival/examples/example.th
share/festival/examples/intro.text
share/festival/examples/spintro.text
share/festival/examples/benchmark.text
share/festival/examples/saytime.sh
share/festival/examples/speech_pm_1.0.tar
share/festival/examples/text2pos.sh
share/festival/examples/latest.sh
share/festival/examples/scfg_parse_text.sh
share/festival/examples/text2wave.sh
share/festival/examples/make_utts.sh
share/festival/examples/dumpfeats.sh
share/festival/examples/durmeanstd.sh
share/festival/examples/benchmark
share/festival/examples/festival_client.pl
share/festival/examples/toksearch.scm
share/festival/examples/th-mode.scm
share/festival/examples/addr-mode.scm
share/festival/examples/festival_client.c
share/festival/examples/festival_client.h
share/festival/examples/benchmark.orig
share/festival/examples/saytime
share/festival/examples/text2pos
share/festival/examples/latest
share/festival/examples/scfg_parse_text
share/festival/examples/text2wave
share/festival/examples/make_utts
share/festival/examples/dumpfeats
share/festival/examples/durmeanstd
@dirrm share/festival/examples
@dirrm share/festival

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: festlex-cmu
# Date created: 2000-06-15
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:58 wiz Exp $
# $FreeBSD$
#
PORTNAME= festlex-cmu
PORTVERSION= 1.4.1
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DISTNAME= festlex_CMU
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.2 1999/10/11 16:30:53 proff Exp $
MD5 (festival/festlex_CMU.tar.gz) = a3ffcd09dcbf1306fdef3c84c1c521d6

View File

@ -0,0 +1 @@
CMU American English pronunciation dictionary for Festival

View File

@ -0,0 +1,2 @@
CMU American English pronunciation dictionary for the Festival
speech synthesis system

View File

@ -0,0 +1,12 @@
@comment $NetBSD: PLIST,v 1.3 1999/10/27 15:34:11 hubertf Exp $
share/festival/lib/dicts/cmu/cmulex.scm
share/festival/lib/dicts/cmu/cmu_lts_rules.scm
share/festival/lib/dicts/cmu/cmudict-0.4.out
share/festival/lib/dicts/cmu/Makefile
share/festival/lib/dicts/cmu/cmudict-0.4.scm
share/festival/lib/dicts/cmu/cmudict-0.4.diff
share/festival/lib/dicts/cmu/cmu2ft
share/festival/lib/dicts/cmu/cmudict_extensions.scm
share/festival/lib/dicts/cmu/COPYING
@dirrm share/festival/lib/dicts/cmu
@dirrm share/festival/lib/dicts

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: festlex-oald
# Date created: 2000-06-12
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:58 wiz Exp $
# $FreeBSD$
#
PORTNAME= festlex-oald
PORTVERSION= 1.4.1
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DISTNAME= festlex_OALD
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival
RESTRICTED= no-commercial-use
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.2 1999/10/11 17:18:38 proff Exp $
MD5 (festival/festlex_OALD.tar.gz) = 45a03689025849d02ec963a5b338ef37

View File

@ -0,0 +1 @@
Oxford Advanced Learner's pronunciation dictionary for Festival

View File

@ -0,0 +1,5 @@
This is the Oxford Advanced Learner's pronunciation dictionary
(British English), modified for the Festival speech synthesis
system.
WWW: http://www.cstr.ed.ac.uk/projects/festival.html

View File

@ -0,0 +1,12 @@
@comment $NetBSD: PLIST,v 1.2 1999/10/27 15:41:31 hubertf Exp $
share/festival/lib/dicts/oald/cuvoald710-0.2.scm
share/festival/lib/dicts/oald/oald_lts_rules.scm
share/festival/lib/dicts/oald/oaldlex.scm
share/festival/lib/dicts/oald/README.oald
share/festival/lib/dicts/oald/Makefile
share/festival/lib/dicts/oald/oald_extensions.scm
share/festival/lib/dicts/oald/oald2ft.tar.gz
share/festival/lib/dicts/oald/oald-0.4.out
share/festival/lib/dicts/oald/COPYING
@dirrm share/festival/lib/dicts/oald
@dirrm share/festival/lib/dicts

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: festlex-ogi
# Date created: 2000-06-19
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.8 2000/02/15 09:26:12 agc Exp $
# $FreeBSD$
#
PORTNAME= festlex-ogi
PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= ftp://cslu.cse.ogi.edu/pub/tts/
DISTNAME= OGIlexicon-2.0
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival \
${LOCALBASE}/share/festival/lib/dicts/wsj.wp39.poslexR:../festlex-poslex
RESTRICTED= no-commercial-use
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (festival/OGIlexicon-2.0.tar.gz) = 389f9262bbc5cb38bef8f2ec9fe29a74

View File

@ -0,0 +1 @@
Composite pronunciation dictionary from ogi.edu for Festival

View File

@ -0,0 +1,4 @@
This is a composite pronunciation dictionary from ogi.edu, for
use with Festival.
WWW: http://cslu.cse.ogi.edu/tts

View File

@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/04 19:33:08 proff Exp $
share/festival/lib/dicts/ogilex_lts_rules.scm
share/festival/lib/dicts/ogi_lex.out

View File

@ -0,0 +1,36 @@
# New ports collection makefile for: festlex-poslex
# Date created: 2000-06-12
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:59 wiz Exp $
# $FreeBSD$
#
PORTNAME= festlex-poslex
PORTVERSION= 1.4.1
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DISTNAME= festlex_POSLEX
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.2 1999/10/11 11:10:01 proff Exp $
MD5 (festival/festlex_POSLEX.tar.gz) = 742c266e4c4978fae2b5c1bf6f549eb4

View File

@ -0,0 +1 @@
English lexicon for Festival

View File

@ -0,0 +1 @@
This is an English lexicon for the Festival speech synthesis system.

View File

@ -0,0 +1,4 @@
@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/04 19:33:21 proff Exp $
share/festival/lib/dicts/COPYING.poslex
share/festival/lib/dicts/wsj.wp39.poslexR
share/festival/lib/dicts/wsj.wp39.tri.ngrambin

View File

@ -0,0 +1,40 @@
# New ports collection makefile for: festogi-spanish
# Date created: 2000-06-19
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:59 wiz Exp $
# $FreeBSD$
#
PORTNAME= festogi-spanish
PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= ftp://cslu.cse.ogi.edu/pub/tts/
DISTNAME= OGIspanish-2.0
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival
RESTRICTED= no-commercial-use
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
pre-install:
(find ${WRKSRC} -name CVS | xargs rm -rf)
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (festival/OGIspanish-2.0.tar.gz) = e44cd7f10b67b5d352c2d5ab3af0e562

View File

@ -0,0 +1 @@
Festival Spanish (Mexican) language support routines (in scheme)

View File

@ -0,0 +1,10 @@
from the NetBSD maintainer:
OGIspanish is an extension to the Festival speech synthesis system.
It provides Mexican Spanish voices created by OGI staff and Alejandro
Barbosa from UDLA, Puebla, Mexico.
WWW: http://cslu.cse.ogi.edu/tts
Trevor Johnson
trevor@jpj.net

View File

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/04 19:33:34 proff Exp $
share/festival/lib/ogi_spanish/ogi_span_mx_duration.scm
share/festival/lib/ogi_spanish/ogi_span_mx_intonation.scm
share/festival/lib/ogi_spanish/ogi_span_mx_lexicon.scm
share/festival/lib/ogi_spanish/ogi_span_mx_lts.scm
share/festival/lib/ogi_spanish/ogi_span_mx_phones.scm
share/festival/lib/ogi_spanish/ogi_span_mx_phrasing.scm
share/festival/lib/ogi_spanish/ogi_span_mx_syl.scm
share/festival/lib/ogi_spanish/ogi_span_mx_token.scm
@dirrm share/festival/lib/ogi_spanish

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: festvox-abc
# Date created: 2000-06-12
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.10 2000/02/15 09:26:13 agc Exp $
# $FreeBSD$
#
PORTNAME= festvox_abc
PORTVERSION= 2.0
CATEGORIES= audio
MASTER_SITES= ftp://cslu.cse.ogi.edu/pub/tts/
DISTNAME= voice_abc_di-2.0
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival \
${LOCALBASE}/share/festival/lib/ogi_spanish/ogi_span_mx_lts.scm:../festogi-spanish \
${LOCALBASE}/share/festival/lib/dicts/ogi_lex.out:../festlex-ogi
RESTRICTED= no-commercial-use
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
${CHMOD} -R a+r ${WRKSRC}
find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
${RM} -f ${WRKSRC}/lib/voices/spanish/abc_diphone/group/hvslpcOGI16k.group
find ${WRKSRC} -type d -name CVS | xargs ${RM} -fr
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (festival/voice_abc_di-2.0.tar.gz) = d58c653f91541229ce0ff5efef0e3582

View File

@ -0,0 +1 @@
Mexican Spanish male voice for the Festival speech synthesis system

View File

@ -0,0 +1,10 @@
from the NetBSD maintainer:
This voice provides a Mexican Spanish male voice using a residual
excited LPC diphone synthesis module, both created at OGI. It uses
a lexicon compiled from MOBY and CMU lexicons, and other trained
modules used by CSTR voices.
This voice can be activated via (voice_abc_diphone) .
WWW: http://cslu.cse.ogi.edu/tts

View File

@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.2 1999/10/28 00:48:32 hubertf Exp $
share/festival/lib/voices/spanish/abc_diphone/festvox/abc_diphone.scm
share/festival/lib/voices/spanish/abc_diphone/festvox/abcdiph.msec
share/festival/lib/voices/spanish/abc_diphone/group/abc_di_resLPC.group
@dirrm share/festival/lib/voices/spanish/abc_diphone/festvox
@dirrm share/festival/lib/voices/spanish/abc_diphone/group
@dirrm share/festival/lib/voices/spanish/abc_diphone
@dirrm share/festival/lib/voices/spanish
@dirrm share/festival/lib/voices
@dirrm share/festival/lib

View File

@ -0,0 +1,38 @@
# New ports collection makefile for: festvox-don
# Date created: 2000-06-12
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.10 2000/02/15 09:26:14 agc Exp $
# $FreeBSD$
#
PORTNAME= festvox_don
PORTVERSION= 1.4.0
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DISTNAME= festvox_don
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival \
${LOCALBASE}/share/festival/lib/dicts/wsj.wp39.poslexR:../festlex-poslex \
${LOCALBASE}/share/festival/lib/dicts/oald/oaldlex.scm:../festlex-oald
WRKSRC= ${WRKDIR}/festival
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (festival/festvox_don.tar.gz) = 90442079e34a3a694077f8715d15fbdf

View File

@ -0,0 +1 @@
British English male voice for the Festival speech synthesis system

View File

@ -0,0 +1,13 @@
note from the NetBSD maintainer:
This voice uses a very small and efficient pulse-excited LPC diphone
synthesis method. It was originally written by Steve Isard. The
front end uses the same British English lexicon, intonation and
duration methods as rab_diphone.
This voice can be activated via (voice_don_diphone).
WWW: http://www.cstr.ed.ac.uk/projects/festival.html
Trevor Johnson
trevor@jpj.net

View File

@ -0,0 +1,7 @@
@comment $NetBSD: PLIST,v 1.1.1.1 1999/04/04 19:34:09 proff Exp $
share/festival/lib/voices/english/don_diphone/diphlocs.txt
share/festival/lib/voices/english/don_diphone/lpcdiphs.bin
share/festival/lib/voices/english/don_diphone/festvox/don_diphone.scm
share/festival/lib/voices/english/don_diphone/COPYING
@dirrm share/festival/lib/voices/english/don_diphone/festvox
@dirrm share/festival/lib/voices/english/don_diphone

View File

@ -0,0 +1,41 @@
# New ports collection makefile for: festvox-el11
# Date created: 2000-06-20
# Whom: Trevor Johnson <trevor@jpj.net>
# based on the NetBSD port
#
# $NetBSD: Makefile,v 1.7 1999/12/28 04:19:59 wiz Exp $
# $FreeBSD$
#
PORTNAME= festvox-el11
PORTVERSION= 1.4.0
CATEGORIES= audio
MASTER_SITES= http://www.speech.cs.cmu.edu/festival/cstr/festival/1.4.1/ \
ftp://ftp.cstr.ed.ac.uk/pub/festival/1.4.1/
DISTNAME= festvox_ellpc11k
DIST_SUBDIR= festival
MAINTAINER= trevor@jpj.net
RUN_DEPENDS= festival:../festival
WRKSRC= ${WRKDIR}/festival
CONFLICTS= festvox-rab8
NO_BUILD= yes
FHOME= ${PREFIX}/share/festival
post-extract:
@ ${CHMOD} -R a+r ${WRKSRC}
@ find ${WRKSRC} -type d -print0 | xargs -0 ${CHMOD} 755
do-install:
${MKDIR} ${FHOME}
cd ${WRKSRC} && ${CP} -pPR * ${FHOME}
post-install:
${RM} ${PREFIX}/share/festival/lib/voices/spanish/el_diphone/COPYING
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (festival/festvox_ellpc11k.tar.gz) = e96a97644d36fcb89952ca65c283cea3

Some files were not shown because too many files have changed in this diff Show More