From 16c1b8ea8bc6b5b391925330eef2385b342ee83e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 18 Feb 2007 15:58:30 +0000 Subject: [PATCH] Version bump. Package-Manager: portage-2.1.2-r9 --- app-accessibility/espeak/ChangeLog | 9 +++- app-accessibility/espeak/Manifest | 24 +++++++-- app-accessibility/espeak/espeak-1.20.ebuild | 53 +++++++++++++++++++ .../espeak/files/digest-espeak-1.20 | 3 ++ .../espeak/files/espeak-1.20-big-endian.patch | 30 +++++++++++ .../files/espeak-1.20-ppc64-segfault.patch | 13 +++++ 6 files changed, 127 insertions(+), 5 deletions(-) create mode 100644 app-accessibility/espeak/espeak-1.20.ebuild create mode 100644 app-accessibility/espeak/files/digest-espeak-1.20 create mode 100644 app-accessibility/espeak/files/espeak-1.20-big-endian.patch create mode 100644 app-accessibility/espeak/files/espeak-1.20-ppc64-segfault.patch diff --git a/app-accessibility/espeak/ChangeLog b/app-accessibility/espeak/ChangeLog index be4a8637a6dc..221893c85929 100644 --- a/app-accessibility/espeak/ChangeLog +++ b/app-accessibility/espeak/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-accessibility/espeak # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.8 2007/02/10 13:41:51 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/ChangeLog,v 1.9 2007/02/18 15:58:30 williamh Exp $ + +*espeak-1.20 (18 Feb 2007) + + 18 Feb 2007; William Hubbs + +files/espeak-1.20-big-endian.patch, + +files/espeak-1.20-ppc64-segfault.patch, +espeak-1.20.ebuild: + Version bump. 10 Feb 2007; Steve Dibb espeak-1.19.ebuild: amd64 stable, bug 163285 diff --git a/app-accessibility/espeak/Manifest b/app-accessibility/espeak/Manifest index e2cbd6fba3c3..2f9c0ef5c80f 100644 --- a/app-accessibility/espeak/Manifest +++ b/app-accessibility/espeak/Manifest @@ -6,15 +6,28 @@ AUX espeak-1.19-ppc64-segfault.patch 354 RMD160 b29461b997a41043f2b28a8e48fa0ee8 MD5 0ba2b29ae1337deecaa5d0ef9473b27b files/espeak-1.19-ppc64-segfault.patch 354 RMD160 b29461b997a41043f2b28a8e48fa0ee8d5a316be files/espeak-1.19-ppc64-segfault.patch 354 SHA256 c1e876365013fcf8ab67e8ed8c0a84e05e700345ab0d4d48c7ee7f34858e057f files/espeak-1.19-ppc64-segfault.patch 354 +AUX espeak-1.20-big-endian.patch 783 RMD160 34adcda34d5bf81043b44a7d43ca9e02467ff192 SHA1 e3906e23f55709be1b9062c5265d526827062512 SHA256 8ad07d0541e4a5d9b0cd5cf5fdb275e0960dcebe8da83720f958264c185c1c37 +MD5 51a412d884e110a310159ad6918ff34c files/espeak-1.20-big-endian.patch 783 +RMD160 34adcda34d5bf81043b44a7d43ca9e02467ff192 files/espeak-1.20-big-endian.patch 783 +SHA256 8ad07d0541e4a5d9b0cd5cf5fdb275e0960dcebe8da83720f958264c185c1c37 files/espeak-1.20-big-endian.patch 783 +AUX espeak-1.20-ppc64-segfault.patch 354 RMD160 b29461b997a41043f2b28a8e48fa0ee8d5a316be SHA1 ede6544c87d122037c022ccdd38f82530b871422 SHA256 c1e876365013fcf8ab67e8ed8c0a84e05e700345ab0d4d48c7ee7f34858e057f +MD5 0ba2b29ae1337deecaa5d0ef9473b27b files/espeak-1.20-ppc64-segfault.patch 354 +RMD160 b29461b997a41043f2b28a8e48fa0ee8d5a316be files/espeak-1.20-ppc64-segfault.patch 354 +SHA256 c1e876365013fcf8ab67e8ed8c0a84e05e700345ab0d4d48c7ee7f34858e057f files/espeak-1.20-ppc64-segfault.patch 354 DIST espeak-1.19-source.zip 669628 RMD160 a544181d60561e9f2ed8948b31e47b733562e121 SHA1 0f5ed89c99acadd04f664819f986f04b734f0e47 SHA256 32ded8994f317b9f5f12a2ee5fff621acc4770d5906aaccde6d6d97b06568c79 +DIST espeak-1.20-source.zip 669313 RMD160 233f896de684a743313f70e0d953f90a29f76119 SHA1 a3bd1e3873b53ba8b060330b3cc6898b77f25dc2 SHA256 36933cb231081a4ce1053daf9cfc7a43767aeac2e278760e96888550446d2dc9 EBUILD espeak-1.19.ebuild 1206 RMD160 4df2dfe539a0741d0224e377c4732c732419b779 SHA1 d179bc67f7f4f7d3baea82ceecdf7c43a7ef2b33 SHA256 35e0a0d5f5882064345d1de4291dac6ba589a4da5390cf6cc4898eb17bc9539d MD5 0fbb7c85293d8dedd49d366209a63cdd espeak-1.19.ebuild 1206 RMD160 4df2dfe539a0741d0224e377c4732c732419b779 espeak-1.19.ebuild 1206 SHA256 35e0a0d5f5882064345d1de4291dac6ba589a4da5390cf6cc4898eb17bc9539d espeak-1.19.ebuild 1206 -MISC ChangeLog 1642 RMD160 b6a83689045816a81343ff225c7f94434427e036 SHA1 e920bb99eaa20f194d7028dcb385c2d809578a5b SHA256 ecd5cd2296f4aeb0327d222338d76cce1f7d228700b1b7158dd005bd83b4f909 -MD5 cc30392e60327c34e9dbddccc9081de3 ChangeLog 1642 -RMD160 b6a83689045816a81343ff225c7f94434427e036 ChangeLog 1642 -SHA256 ecd5cd2296f4aeb0327d222338d76cce1f7d228700b1b7158dd005bd83b4f909 ChangeLog 1642 +EBUILD espeak-1.20.ebuild 1208 RMD160 0636f7f59457e84d5b66e191b8126680434bbb64 SHA1 738e7016d93fdc46bf6121e3fb8c209200b005d0 SHA256 8104c9161e35493c53f6707fe244843399006547dc6fd464166ddc2b4f19b101 +MD5 07b46ca5e2176b993a91297e2f65787b espeak-1.20.ebuild 1208 +RMD160 0636f7f59457e84d5b66e191b8126680434bbb64 espeak-1.20.ebuild 1208 +SHA256 8104c9161e35493c53f6707fe244843399006547dc6fd464166ddc2b4f19b101 espeak-1.20.ebuild 1208 +MISC ChangeLog 1842 RMD160 9237796f4a416a9faf2f382017fac6084ae3435c SHA1 f31273034447caee3d1f72b7c2c8a320c25d1191 SHA256 f0480dc0dfb67c00236171db3e040740fe9186b6f1de6269bee104203cf206c8 +MD5 fa717119957c80b114e81fffb452ffd5 ChangeLog 1842 +RMD160 9237796f4a416a9faf2f382017fac6084ae3435c ChangeLog 1842 +SHA256 f0480dc0dfb67c00236171db3e040740fe9186b6f1de6269bee104203cf206c8 ChangeLog 1842 MISC metadata.xml 229 RMD160 7f8d6a0235529eccff705022803122c9534628d7 SHA1 2295356b566d60c8eb979db0e598de9d1d8ccf49 SHA256 b128d301356b3f98f1d6093b4401c36143ff55fc62636612567b0995739b9e66 MD5 82235b237bf37d432e6987e3be2235d1 metadata.xml 229 RMD160 7f8d6a0235529eccff705022803122c9534628d7 metadata.xml 229 @@ -22,3 +35,6 @@ SHA256 b128d301356b3f98f1d6093b4401c36143ff55fc62636612567b0995739b9e66 metadata MD5 dcef0353ad89b28e1374aabc36eed4bd files/digest-espeak-1.19 247 RMD160 a1d74bce771a8bc5bdfa5fe841eae93cc2e20e25 files/digest-espeak-1.19 247 SHA256 5ad3063a8c95e44cdea937a71c466d95191f30c1da344d88b5752f05e82a9ffb files/digest-espeak-1.19 247 +MD5 563f4524e3e7154db6950b44521c4ba2 files/digest-espeak-1.20 247 +RMD160 9250684cc44873d019f51a8057ab4a1119ed2984 files/digest-espeak-1.20 247 +SHA256 c57e200f10255ba365d3aec1ea28007f7ff824570c3e64a02dfed76355fc162b files/digest-espeak-1.20 247 diff --git a/app-accessibility/espeak/espeak-1.20.ebuild b/app-accessibility/espeak/espeak-1.20.ebuild new file mode 100644 index 000000000000..027a31c0b258 --- /dev/null +++ b/app-accessibility/espeak/espeak-1.20.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeak/espeak-1.20.ebuild,v 1.1 2007/02/18 15:58:30 williamh Exp $ + +inherit eutils + +MY_P="${P}-source" + +DESCRIPTION="Speech synthesizer for English and other languages" +HOMEPAGE="http://espeak.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=media-libs/portaudio-18.1-r5 + app-arch/unzip" + +S=${WORKDIR}/${MY_P} + + +src_unpack() { + unpack "${A}" + cd "${S}" + + # portaudio.h is by default the same as portaudio18.h, but use the version + # 19 API if available + if has_version "=media-libs/portaudio-19*" ; then + mv -f "${S}/src/portaudio19.h" "${S}/src/portaudio.h" + fi + + # Apply patch to support big-endian processors + epatch ${FILESDIR}/${P}-big-endian.patch + + # Apply patch for ppc64 segfault + epatch ${FILESDIR}/${P}-ppc64-segfault.patch +} + +src_compile() { + cd src + emake CXXFLAGS="${CXXFLAGS}" || die "Compilation failed" +} + +src_install() { + cd src + make DESTDIR="${D}" install || die "Installation failed" + + cd "${S}" + dodoc ChangeLog ReadMe + dohtml -r docs/* +} diff --git a/app-accessibility/espeak/files/digest-espeak-1.20 b/app-accessibility/espeak/files/digest-espeak-1.20 new file mode 100644 index 000000000000..72b5f5a73be6 --- /dev/null +++ b/app-accessibility/espeak/files/digest-espeak-1.20 @@ -0,0 +1,3 @@ +MD5 47dbb852987d22892bcc1c71eff39d61 espeak-1.20-source.zip 669313 +RMD160 233f896de684a743313f70e0d953f90a29f76119 espeak-1.20-source.zip 669313 +SHA256 36933cb231081a4ce1053daf9cfc7a43767aeac2e278760e96888550446d2dc9 espeak-1.20-source.zip 669313 diff --git a/app-accessibility/espeak/files/espeak-1.20-big-endian.patch b/app-accessibility/espeak/files/espeak-1.20-big-endian.patch new file mode 100644 index 000000000000..c69a3cee463c --- /dev/null +++ b/app-accessibility/espeak/files/espeak-1.20-big-endian.patch @@ -0,0 +1,30 @@ +--- src/Makefile 2007-01-26 03:20:06.000000000 -0600 ++++ src/Makefile 2007-02-06 20:37:41.000000000 -0600 +@@ -39,9 +39,6 @@ + LIBS3=-lstdc++ ./libespeak.so + + CXXFLAGS=-O2 +-ifeq ($(shell uname -m), ppc) +- CXXFLAGS += -D ARCH_BIG +-endif + + + all: $(BIN_NAME) $(LIB_NAME) $(BIN2_NAME) +--- src/speech.h 2007-01-26 03:11:59.000000000 -0600 ++++ src/speech.h 2007-02-06 20:41:11.000000000 -0600 +@@ -18,9 +18,15 @@ + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + ++#include ++ + // conditional compilation options + + ++#if defined(BYTE_ORDER) && BYTE_ORDER == BIG_ENDIAN ++#define ARCH_BIG ++#endif ++ + #define PLATFORM_POSIX + #define PATHSEP '/' + #define USE_PORTAUDIO diff --git a/app-accessibility/espeak/files/espeak-1.20-ppc64-segfault.patch b/app-accessibility/espeak/files/espeak-1.20-ppc64-segfault.patch new file mode 100644 index 000000000000..ac39760ebcf3 --- /dev/null +++ b/app-accessibility/espeak/files/espeak-1.20-ppc64-segfault.patch @@ -0,0 +1,13 @@ +--- src/speak_lib.cpp 2007-02-01 19:34:01.360979913 ++0000 ++++ src/speak_lib.cpp 2007-02-01 19:34:13.708979913 ++0000 +@@ -238,7 +238,7 @@ + char *Alloc(int size) + {//================== + char *p; +- if((p = (char *)malloc(size)) == NULL) ++ if((p = (char *)malloc(size+1)) == NULL) + fprintf(stderr,"Can't allocate memory\n"); + return(p); + } -- 2.26.2