Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2006 15:28:16 -0000
From:      nivit@email.it (Nicola Vitale)
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/94928: [NEW PORT] audio/espeak: A software speech synthesizer
Message-ID:  <20060325152816.3968.qmail@arancino>
Resent-Message-ID: <200603251540.k2PFeDW0085282@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         94928
>Category:       ports
>Synopsis:       [NEW PORT] audio/espeak: A software speech synthesizer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 25 15:40:12 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nicola Vitale
>Release:        FreeBSD 6.1-BETA3 i386
>Organization:
>Environment:
System: FreeBSD arancino.domo.sva 6.1-BETA3 FreeBSD 6.1-BETA3 #1: Sun Mar  5 18:41:22 CET
>Description:
eSpeak produces good quality English speech. It uses a different
synthesis method from other open source TTS engines, and sounds quite
different. It's perhaps not as natural or "smooth", but I find the
articulation clearer and easier to listen to for long periods.
It can run as a command line program to speak text from a file or
from stdin.

Author:	Jonathan Duddington <jsd@clara.co.uk>
WWW:	http://espeak.sourceforge.net/

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- espeak-1.07.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	espeak
#	espeak/Makefile
#	espeak/distinfo
#	espeak/files
#	espeak/files/patch-src-Makefile
#	espeak/files/patch-src-speak.cpp
#	espeak/pkg-descr
#	espeak/pkg-plist
#
echo c - espeak
mkdir -p espeak > /dev/null 2>&1
echo x - espeak/Makefile
sed 's/^X//' >espeak/Makefile << 'END-of-espeak/Makefile'
X# New ports collection makefile for:	espeak
X# Date created:		2006-03-25
X# Whom:			Nicola Vitale	<nivit@email.it>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	espeak
XPORTVERSION=	1.07
XCATEGORIES=	audio
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	${PORTNAME}
XDISTNAME=	speak-${PORTVERSION}-source
X
XMAINTAINER=	nivit@email.it
XCOMMENT=	A software speech synthesizer
X
XLIB_DEPENDS=	portaudio:${PORTSDIR}/audio/portaudio
X
XMAKE_ENV=	PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" PTHREAD_LIBS="${PTHREAD_LIBS}" CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
X
XUSE_GETOPT_LONG=	yes
XUSE_GMAKE=	yes
XUSE_ZIP=	yes
X
XWRKSRC=	${WRKDIR}/${DISTNAME}
XBUILD_WRKSRC=	${WRKSRC}/src
X
XFIND_DIRS=	data espeak-data
XFIND_DOCS=	docs
X
XREPLACE_FILES=	 ${BUILD_WRKSRC}/Makefile  ${BUILD_WRKSRC}/speak.cpp
X
Xpost-patch:
X	@for FILE in ${REPLACE_FILES}; do \
X	    ${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" -e "s|%%DATADIR%%|${DATADIR}|g" $${FILE} ;\
X	done;
X
Xdo-install:
X	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/speak ${PREFIX}/bin/speak
X	cd ${WRKSRC} && ${FIND} ${FIND_DIRS}  -type d -exec ${MKDIR} ${DATADIR}/{} \;
X	cd ${WRKSRC} && ${FIND} ${FIND_DIRS}  -type f -exec ${INSTALL_DATA} {} ${DATADIR}/{} \;
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	cd ${WRKSRC}/${FIND_DOCS} && ${FIND} . -type f -exec ${INSTALL_DATA} {} ${DOCSDIR}/{} \;
X.endif
X
X.include <bsd.port.mk>
END-of-espeak/Makefile
echo x - espeak/distinfo
sed 's/^X//' >espeak/distinfo << 'END-of-espeak/distinfo'
XMD5 (speak-1.07-source.zip) = a1f1b22033215d95737dec66419149a9
XSHA256 (speak-1.07-source.zip) = d6ed37360c98f59140550a1ba3bfe3d97eda6caabbdba621322a5379e7b64372
XSIZE (speak-1.07-source.zip) = 325880
END-of-espeak/distinfo
echo c - espeak/files
mkdir -p espeak/files > /dev/null 2>&1
echo x - espeak/files/patch-src-Makefile
sed 's/^X//' >espeak/files/patch-src-Makefile << 'END-of-espeak/files/patch-src-Makefile'
X$FreeBSD$
X--- src/Makefile	Sat Feb 18 11:58:02 2006
X+++ src/Makefile.port	Sat Mar 25 13:29:06 2006
X@@ -1,13 +1,13 @@
X SRCS=$(wildcard *.cpp)
X OBJS=$(patsubst %.cpp,%.o,$(SRCS))
X-LIBS=-lstdc++ -lportaudio
X+LIBS=-lstdc++ -L%%LOCALBASE%%/lib $(LDFLAGS) -lportaudio
X all: speak
X 
X .cpp.o:
X-	$(CXX) $(CXXFLAGS) -I. -c $<
X+	$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(PTHREAD_CFLAGS) -I. -c $<
X 
X speak: $(OBJS)
X-	$(CXX) -o $@ $(OBJS) $(LIBS)
X+	$(CXX) $(PTHREAD_LIBS) -o $@ $(OBJS) $(LIBS)
X 
X clean:
X 	rm -f *.o
END-of-espeak/files/patch-src-Makefile
echo x - espeak/files/patch-src-speak.cpp
sed 's/^X//' >espeak/files/patch-src-speak.cpp << 'END-of-espeak/files/patch-src-speak.cpp'
X$FreeBSD$
X--- src/speak.cpp	Fri Mar 24 16:22:56 2006
X+++ src/speak.cpp.port	Sat Mar 25 11:50:37 2006
X@@ -135,7 +135,7 @@
X 	sprintf(path_home,"%s/espeak-data",getenv("HOME"));
X 	if(access(path_home,R_OK) != 0)
X 	{
X-		strcpy(path_home,"/usr/share/espeak-data");
X+		strcpy(path_home,"%%DATADIR%%/espeak-data");
X 	}
X 
X 	WavegenInit(22050,0);
END-of-espeak/files/patch-src-speak.cpp
echo x - espeak/pkg-descr
sed 's/^X//' >espeak/pkg-descr << 'END-of-espeak/pkg-descr'
XeSpeak produces good quality English speech. It uses a different
Xsynthesis method from other open source TTS engines, and sounds quite
Xdifferent. It's perhaps not as natural or "smooth", but I find the
Xarticulation clearer and easier to listen to for long periods.
XIt can run as a command line program to speak text from a file or
Xfrom stdin.
X
XAuthor:	Jonathan Duddington <jsd@clara.co.uk>
XWWW:	http://espeak.sourceforge.net/
END-of-espeak/pkg-descr
echo x - espeak/pkg-plist
sed 's/^X//' >espeak/pkg-plist << 'END-of-espeak/pkg-plist'
X@comment $FreeBSD$
Xbin/speak
X%%PORTDOCS%%%%DOCSDIR%%/commands.html
X%%PORTDOCS%%%%DOCSDIR%%/dictionary.html
X%%PORTDOCS%%%%DOCSDIR%%/phonemes.html
X%%PORTDOCS%%%%DOCSDIR%%/voices.html
X%%DATADIR%%/data/english_extra
X%%DATADIR%%/data/english_list
X%%DATADIR%%/data/english_rules
X%%DATADIR%%/data/esperanto_list
X%%DATADIR%%/data/esperanto_rules
X%%DATADIR%%/data/german_list
X%%DATADIR%%/data/german_rules
X%%DATADIR%%/espeak-data/english_1
X%%DATADIR%%/espeak-data/english_2
X%%DATADIR%%/espeak-data/esperanto_1
X%%DATADIR%%/espeak-data/esperanto_2
X%%DATADIR%%/espeak-data/german_1
X%%DATADIR%%/espeak-data/german_2
X%%DATADIR%%/espeak-data/phondata
X%%DATADIR%%/espeak-data/phonindex
X%%DATADIR%%/espeak-data/phontab
X%%DATADIR%%/espeak-data/voices/default
X%%DATADIR%%/espeak-data/voices/en
X%%DATADIR%%/espeak-data/voices/en-b
X%%DATADIR%%/espeak-data/voices/en-c
X%%DATADIR%%/espeak-data/voices/en-c2
X%%DATADIR%%/espeak-data/voices/en-c3
X%%DATADIR%%/espeak-data/voices/en-d
X%%DATADIR%%/espeak-data/voices/en-f
X%%DATADIR%%/espeak-data/voices/en-fb
X%%DATADIR%%/espeak-data/voices/en-fc
X%%DATADIR%%/espeak-data/voices/en-fd
X%%DATADIR%%/espeak-data/voices/en1
X%%DATADIR%%/espeak-data/voices/en1a
X%%DATADIR%%/espeak-data/voices/en2
X%%DATADIR%%/espeak-data/voices/en3
X%%DATADIR%%/espeak-data/voices/en4
X%%DATADIR%%/espeak-data/voices/en5
X%%DATADIR%%/espeak-data/voices/en6
X%%DATADIR%%/espeak-data/voices/en7
X%%DATADIR%%/espeak-data/voices/en8
X%%DATADIR%%/espeak-data/voices/esperanto
X%%DATADIR%%/espeak-data/voices/german
X%%DATADIR%%/espeak-data/voices/test
X%%DATADIR%%/espeak-data/voices/testtone
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/data
X@dirrm %%DATADIR%%/espeak-data/voices
X@dirrm %%DATADIR%%/espeak-data
X@dirrm %%DATADIR%%
END-of-espeak/pkg-plist
exit
--- espeak-1.07.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060325152816.3968.qmail>