Skip to contentSkip to conversation

svn commit: trunk/buildroot/package: festival festival/festival festival/lex etc...

Buildroot ninevoltz at uclibc.org 3 participants 3 messages Apr 3, 2008

lore
Share & tools
lore
#0 lore raw

Author: ninevoltz
Date: 2008-04-03 10:13:46 -0700 (Thu, 03 Apr 2008) New Revision: 21627

Log:
add festival speech synthesis package from University of Edinburgh

Added:
trunk/buildroot/package/festival/ trunk/buildroot/package/festival/Config.in trunk/buildroot/package/festival/festival.mk trunk/buildroot/package/festival/festival/ trunk/buildroot/package/festival/festival/festival-1.96-beta-doc.patch trunk/buildroot/package/festival/festival/festival-1.96-beta-etcsiteinit.patch trunk/buildroot/package/festival/festival/festival-1.96-beta-libdir.patch trunk/buildroot/package/festival/festival/festival-1.96-beta-speechtools-dir.patch trunk/buildroot/package/festival/festival/festival.mk trunk/buildroot/package/festival/lexicons/ trunk/buildroot/package/festival/lexicons/Config.in trunk/buildroot/package/festival/lexicons/festlex.mk trunk/buildroot/package/festival/speech-tools/ trunk/buildroot/package/festival/speech-tools/Config.in trunk/buildroot/package/festival/speech-tools/speech-tools-1.2.96-beta-install.patch trunk/buildroot/package/festival/speech-tools/speech-tools.mk trunk/buildroot/package/festival/voices/ trunk/buildroot/package/festival/voices/Config.in trunk/buildroot/package/festival/voices/festvox.mk

Modified:
trunk/buildroot/package/Config.in

Changeset:
Modified: trunk/buildroot/package/Config.in
===================================================================

buildroot/package/Config.in +1 -0
@@ -289,6 +289,7 @@
 source "package/madplay/Config.in"
 source "package/mpg123/Config.in"
 source "package/speex/Config.in"
+source "package/festival/Config.in"
 endif
 
 menuconfig BR2_GRAPHIC_SUPPORT

Added: trunk/buildroot/package/festival/Config.in
===================================================================

buildroot/package/festival/Config.in +23 -0
@@ -0,0 +1,23 @@
+menuconfig BR2_PACKAGE_FESTIVAL
+bool "festival text-to-speech system"
+default n
+select BR2_PACKAGE_ALSA_LIB
+select BR2_PACKAGE_SPEECH_TOOLS
+help
+	Text to speech system for Linux
+
+if BR2_PACKAGE_FESTIVAL
+
+	menu "speech tools"
+		source "package/festival/speech-tools/Config.in"
+	endmenu
+
+	menu "festival lexicons"
+		source "package/festival/lexicons/Config.in"
+	endmenu
+
+	menu "festival voices"
+		source "package/festival/voices/Config.in"
+	endmenu
+
+endif

Added: trunk/buildroot/package/festival/festival/festival-1.96-beta-doc.patch
===================================================================

buildroot/package/festival/festival/festival-1.96-beta-doc.patch +23 -0
@@ -0,0 +1,23 @@
+--- a/doc/Makefile	2008-04-02 15:13:28.000000000 -0400
++++ b/doc/Makefile	2008-04-02 15:13:09.000000000 -0400
+@@ -64,7 +64,7 @@ MANPAGES = festival.head festival.tail \
+ FILES=Makefile $(MANPAGES) festival.texi $(SGMLFILES) refcard.tex  $(DOCXXFILES)
+ LOCAL_CLEAN = *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr
+ 
+-ALL = festival.1 festival_client.1
++#ALL = festival.1 festival_client.1
+ 
+ include $(TOP)/config/common_make_rules
+ include $(EST)/config/rules/doc.mak
+@@ -72,9 +72,9 @@ include $(EST)/config/rules/doc.mak
+ %.1 : %.head %.options %.tail 
+ 	cat $^ >$@
+ %.options : $(TOP)/src/main/%
+-	$(TOP)/bin/$* -man_options >$@
++#	$(TOP)/bin/$* -man_options >$@
+ %.options : $(TOP)/src/main/%.exe
+-	$(TOP)/bin/$* -man_options >$@
++#	$(TOP)/bin/$* -man_options >$@
+ 
+ festival.info: festival.texi festfunc.texi festvars.texi festfeat.texi
+ 	@ if [ ! -d info ] ; \

Added: trunk/buildroot/package/festival/festival/festival-1.96-beta-etcsiteinit.patch
===================================================================

buildroot/package/festival/festival/festival-1.96-beta-etcsiteinit.patch +55 -0

55 lines not on this page · raw message

Added: trunk/buildroot/package/festival/festival/festival-1.96-beta-libdir.patch
===================================================================

buildroot/package/festival/festival/festival-1.96-beta-libdir.patch +10 -0
@@ -0,0 +1,10 @@
+--- a/config/project.mak	2005-05-02 10:21:29.000000000 -0400
++++ b/config/project.mak	2008-04-01 14:22:01.000000000 -0400
+@@ -113,6 +113,6 @@ PROJECT_JAVA_ROOT=$(TOP)/src/modules/jav
+ DOCXX_DIRS = $(TOP)/src 
+ MODULE_TO_DOCXX = perl $(TOP)/src/modules/utilities/extract_module_doc++.prl
+ 
+-FTLIBDIR = $(FESTIVAL_HOME)/lib 
++FTLIBDIR = /usr/share/festival/lib 
+ 
+ 

Added: trunk/buildroot/package/festival/festival/festival-1.96-beta-speechtools-dir.patch
===================================================================

buildroot/package/festival/festival/festival-1.96-beta-speechtools-dir.patch +11 -0
@@ -0,0 +1,11 @@
+--- a/config/config.in	2008-03-31 15:20:02.000000000 -0400
++++ b/config/config.in	2008-03-31 15:26:09.000000000 -0400
+@@ -10,7 +10,7 @@
+ ###########################################################################
+ ## Which speech tools to use
+ 
+-EST=$(TOP)/../speech_tools
++EST=$(TOP)/../speech-tools-1.2.96-beta
+ 
+ ###########################################################################
+ ## Where the festival tree will be installed.

Added: trunk/buildroot/package/festival/festival/festival.mk
===================================================================

buildroot/package/festival/festival/festival.mk +21 -0
@@ -0,0 +1,21 @@
+#############################################################
+#
+# festival
+#
+#############################################################
+FESTIVAL_VERSION = 1.96-beta
+FESTIVAL_SOURCE = festival-$(FESTIVAL_VERSION).tar.gz
+FESTIVAL_SITE = http://festvox.org/packed/festival/latest
+FESTIVAL_AUTORECONF = NO
+FESTIVAL_INSTALL_STAGING = NO
+FESTIVAL_INSTALL_TARGET = YES
+FESTIVAL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
+
+FESTIVAL_CONF_OPT = --prefix=/usr --libdir=/usr/share/festival/lib
+
+FESTIVAL_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX)
+
+FESTIVAL_DEPENDENCIES = uclibc alsa-lib speech-tools
+
+$(eval $(call AUTOTARGETS,package/festival,festival))
+

Added: trunk/buildroot/package/festival/festival.mk
===================================================================

buildroot/package/festival/festival.mk +4 -0
@@ -0,0 +1,4 @@
+include package/festival/speech-tools/speech-tools.mk
+include package/festival/festival/festival.mk
+include package/festival/voices/festvox.mk
+include package/festival/lexicons/festlex.mk

Added: trunk/buildroot/package/festival/lexicons/Config.in
===================================================================

buildroot/package/festival/lexicons/Config.in +23 -0
@@ -0,0 +1,23 @@
+config BR2_PACKAGE_FESTLEX_CMU
+	bool "Carnegie Mellon University"
+	default n
+	help
+	  Lexicon for the festival text to speech system
+
+	  http://festvox.org/packed/festival/latest
+
+config BR2_PACKAGE_FESTLEX_OALD
+	bool "Oxford Advanced Learners dictionary"
+	default n
+	help
+	  Lexicon for the festival text to speech system
+
+	  http://festvox.org/packed/festival/latest
+
+config BR2_PACKAGE_FESTLEX_POS
+	bool "POSLEX"
+	default n
+	help
+	  Lexicon for the festival text to speech system
+
+	  http://festvox.org/packed/festival/latest
\ No newline at end of file

Added: trunk/buildroot/package/festival/lexicons/festlex.mk
===================================================================

buildroot/package/festival/lexicons/festlex.mk +46 -0

46 lines not on this page · raw message

Added: trunk/buildroot/package/festival/speech-tools/Config.in
===================================================================

buildroot/package/festival/speech-tools/Config.in +7 -0
@@ -0,0 +1,7 @@
+ config BR2_PACKAGE_SPEECH_TOOLS
+	bool "speech tools for festival"
+	default n
+	help
+	  Speech tools for the festival text to speech system
+
+	  http://festvox.org/packed/festival/latest

Added: trunk/buildroot/package/festival/speech-tools/speech-tools-1.2.96-beta-install.patch
===================================================================

buildroot/package/festival/speech-tools/speech-tools-1.2.96-beta-install.patch +36 -0
@@ -0,0 +1,36 @@
+--- a/config/rules/install.mak	2001-04-04 07:55:32.000000000 -0400
++++ b/config/rules/install.mak	2008-04-03 12:37:45.000000000 -0400
+@@ -50,9 +50,9 @@ ifneq ($(SHARED),0)
+ endif
+ endif
+ 
+-ifeq ($(PROJECT_HOME_PATH), $(PROJECT_TOP_PATH))
+-    TO_INSTALL=make_bin
+-else
++#ifeq ($(PROJECT_HOME_PATH), $(PROJECT_TOP_PATH))
++#    TO_INSTALL=make_bin
++#else
+ 
+     TO_INSTALL= \
+ 	make_installed_exec$(S) \
+@@ -62,7 +62,7 @@ else
+     INSTALLED_LIB=$(shell (cd $($(PROJECT_PREFIX)_HOME); pwd))/lib
+     INSTALLED_PRIVATE_LIB=$(INSTALLED_LIB)/$(shell echo $(PROJECT_PREFIX)| tr A-Z a-z)
+     INSTALLED_BIN=$(shell (cd $($(PROJECT_PREFIX)_HOME); pwd))/bin
+-endif
++#endif
+ 
+ install: $(TO_INSTALL)
+ 
+--- a/config/rules/bin_process.mak	2004-01-27 18:56:39.000000000 -0500
++++ b/config/rules/bin_process.mak	2008-04-03 12:37:31.000000000 -0400
+@@ -69,7 +69,8 @@ endif
+ 	    do \
+ 	    b=`basename "$$i"`;\
+ 	    $(ECHO_N) " $$b";\
+-	    $(INSTALL_PROG) -s "$$main/$$i" "$(subst TOP,$(TOP),$(BIN))/$$b";\
++	    $(INSTALL_PROG) "$$main/$$i" "$(DESTDIR)/usr/bin/$$b";\
++		$(STRIP) "$(DESTDIR)/usr/bin/$$b";\
+ 	done
+ 	@echo
+ 

Added: trunk/buildroot/package/festival/speech-tools/speech-tools.mk
===================================================================

buildroot/package/festival/speech-tools/speech-tools.mk +20 -0
@@ -0,0 +1,20 @@
+#############################################################
+#
+# speech-tools
+#
+#############################################################
+SPEECH_TOOLS_VERSION = 1.2.96-beta
+SPEECH_TOOLS_SOURCE = speech_tools-$(SPEECH_TOOLS_VERSION).tar.gz
+SPEECH_TOOLS_SITE = http://festvox.org/packed/festival/latest
+SPEECH_TOOLS_AUTORECONF = NO
+SPEECH_TOOLS_INSTALL_STAGING = NO
+SPEECH_TOOLS_INSTALL_TARGET = YES
+SPEECH_TOOLS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install
+
+SPEECH_TOOLS_CONF_OPT = 
+SPEECH_TOOLS_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX)
+
+SPEECH_TOOLS_DEPENDENCIES = uclibc ncurses
+
+$(eval $(call AUTOTARGETS,package/festival,speech-tools))
+

Added: trunk/buildroot/package/festival/voices/Config.in
===================================================================

buildroot/package/festival/voices/Config.in +72 -0

72 lines not on this page · raw message

Added: trunk/buildroot/package/festival/voices/festvox.mk
===================================================================

buildroot/package/festival/voices/festvox.mk +99 -0

99 lines not on this page · raw message

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"ninevoltz" == ninevoltz <[email protected]> writes:

ninevoltz> Author: ninevoltz
ninevoltz> Date: 2008-04-03 10:13:46 -0700 (Thu, 03 Apr 2008) ninevoltz> New Revision: 21627

ninevoltz> Log:
ninevoltz> add festival speech synthesis package from University of Edinburgh

Neat.

ninevoltz> +FESTIVAL_VERSION = 1.96-beta
ninevoltz> +FESTIVAL_SOURCE = festival-$(FESTIVAL_VERSION).tar.gz ninevoltz> +FESTIVAL_SITE = http://festvox.org/packed/festival/latest

That doesn't sound like a very stable URL :/

The /packed/festival/1.96 directory seems to have the same contents, wouldn't it be better to use that instead?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

True. I didn't notice the more stable URL. duh.

I'll fix it tomorrow.

John

Quoted 6 lines

That doesn't sound like a very stable URL :/

The /packed/festival/1.96 directory seems to have the same contents, wouldn't it be better to use that instead?

Quoted 7 lines

--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot at uclibc.org
http://busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080403/2443909d/attachment.htm