diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:38:06 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:38:06 +0000 |
commit | 1565bc4ca99906c093e3980a5b97f6acd084a567 (patch) | |
tree | a2ef4d4a749ed26aba09c772486fa17b6887c279 /app-accessibility | |
parent | revert unintended removal. (diff) | |
download | gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.tar.gz gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.tar.bz2 gentoo-2-1565bc4ca99906c093e3980a5b97f6acd084a567.zip |
revert unintended removal.
Diffstat (limited to 'app-accessibility')
-rw-r--r-- | app-accessibility/SphinxTrain/ChangeLog | 68 | ||||
-rw-r--r-- | app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild | 40 | ||||
-rw-r--r-- | app-accessibility/SphinxTrain/files/gcc.patch | 34 | ||||
-rw-r--r-- | app-accessibility/SphinxTrain/files/gcc34.patch | 11 | ||||
-rw-r--r-- | app-accessibility/SphinxTrain/metadata.xml | 12 |
5 files changed, 165 insertions, 0 deletions
diff --git a/app-accessibility/SphinxTrain/ChangeLog b/app-accessibility/SphinxTrain/ChangeLog new file mode 100644 index 000000000000..88ac7d00fe98 --- /dev/null +++ b/app-accessibility/SphinxTrain/ChangeLog @@ -0,0 +1,68 @@ +# ChangeLog for app-accessibility/SphinxTrain +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/SphinxTrain/ChangeLog,v 1.15 2009/11/01 18:38:04 eva Exp $ + + 26 Sep 2009; William Hubbs <williamh@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild: + migrated to eapi 2. + + 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild: + Removing virtual/libc depends + + 26 Dec 2007; Christian Heim <phreak@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild: + Fix the quotation. + + 23 Jan 2007; Marius Mauch <genone@gentoo.org> SphinxTrain-0.9.1-r1.ebuild: + Replacing einfo with elog + + 10 Oct 2005; Chris White <chriswhite@gentoo.org> metadata.xml, + SphinxTrain-0.9.1-r1.ebuild: + Updated homepage, provided English and Japanese metadata.xml tranlsations. + + 20 Jul 2005; Jeremy Huddleston <eradicator@gentoo.org> +files/gcc34.patch, + SphinxTrain-0.9.1-r1.ebuild: + gcc-3.4 and installation fix thanks to laughingplant + <hsggebhardt@ucdavis.edu> in bug #73586. + + 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild: + Masked SphinxTrain-0.9.1-r1.ebuild stable for ppc + + 24 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild: + inherit eutils + + 17 Mar 2004; David Holm <dholm@gentoo.org> SphinxTrain-0.9.1-r1.ebuild: + Added to ~ppc. + + 16 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild metadata.xml, files/gcc.patch: + Moved from media-sound/SphinxTrain to app-accessibility/SphinxTrain. + + 16 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + SphinxTrain-0.9.1-r1.ebuild, SphinxTrain-0.9.1.ebuild: + sphinx2 and festival are in app-accessibility now + + 16 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + SphinxTrain-0.9.1.ebuild: + sphinx2 and festival are in app-accessibility now + +*SphinxTrain-0.9.1-r1 (28 Sep 2003) + + 28 Sep 2003; jje <jje@gentoo.org> SphinxTrain-0.9.1-r1.ebuild, + files/gcc.patch: + Patched for gcc3.3. Closes #29461. + + 12 Jun 2003; <msterret@gentoo.org> SphinxTrain-0.9.1.ebuild: + fix Header + +*SphinxTrain-0.9.1 (5 Nov 2002) + + 5 Nov 2002; Matt Keadle <mkeadle@gentoo.org> SphinxTrain-0.9.1.ebuild + ChangeLog files/digest-SphinxTrain-0.9.1 : + + Added initial ChangeLog which should be updated whenever the package is + updated in any way. Many, many thanks to Rigo Ketelings for creating this + ebuild. diff --git a/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild b/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild new file mode 100644 index 000000000000..77b4be370d4c --- /dev/null +++ b/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/SphinxTrain/SphinxTrain-0.9.1-r1.ebuild,v 1.15 2009/11/01 18:38:04 eva Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="Speech Recognition (Training Module)" +HOMEPAGE="http://cmusphinx.sourceforge.net/html/cmusphinx.php" +SRC_URI="http://www.speech.cs.cmu.edu/${PN}/${P}-beta.tar.gz" + +LICENSE="BSD as-is" +SLOT="0" +KEYWORDS="x86 ppc" +IUSE="" + +DEPEND="app-accessibility/sphinx2 + app-accessibility/festival" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch "${FILESDIR}"/gcc.patch + epatch "${FILESDIR}"/gcc34.patch +} + +src_install() { + # dobin bin.*/* fails ... see bug #73586 + find bin.* -mindepth 1 -maxdepth 1 -type f -exec dobin '{}' \; || die + + dodoc README etc/*cfg + dohtml doc/*[txt html sgml] +} + +pkg_postinst() { + elog "Detailed usage and training instructions can be found at" + elog "http://www.speech.cs.cmu.edu/SphinxTrain/" +} diff --git a/app-accessibility/SphinxTrain/files/gcc.patch b/app-accessibility/SphinxTrain/files/gcc.patch new file mode 100644 index 000000000000..e3c51275f910 --- /dev/null +++ b/app-accessibility/SphinxTrain/files/gcc.patch @@ -0,0 +1,34 @@ +--- src/programs/count_3phone/wrec.h.orig 2003-09-28 18:51:49.000000000 +0900 ++++ src/programs/count_3phone/wrec.h 2003-09-28 18:52:23.000000000 +0900 +@@ -44,7 +44,7 @@ + #define WREC_H + + #include "phrec.h" +-#include <varargs.h> ++#include <stdarg.h> + + int quit (int status, char *fmt, ...); + +--- src/programs/count_3phone/quit.c.orig 2003-09-28 19:12:56.000000000 +0900 ++++ src/programs/count_3phone/quit.c 2003-09-28 19:13:12.000000000 +0900 +@@ -74,17 +74,14 @@ + + #include <stdio.h> + #include <stdlib.h> +-#include <varargs.h> ++#include <stdarg.h> + +-int quit (status,fmt,va_alist) +- int status; +- char *fmt; +- va_dcl ++int quit (int status,char *fmt,...) + { + va_list args; + + fflush(stdout); +- va_start(args); ++ va_start(args, fmt); + (void) vfprintf(stderr, fmt, args); + va_end(args); + exit(status); diff --git a/app-accessibility/SphinxTrain/files/gcc34.patch b/app-accessibility/SphinxTrain/files/gcc34.patch new file mode 100644 index 000000000000..124aa993edc9 --- /dev/null +++ b/app-accessibility/SphinxTrain/files/gcc34.patch @@ -0,0 +1,11 @@ +--- SphinxTrain/src/programs/count_3phone/phone_word_io.c~ 2001-04-05 16:00:33.000000000 -0400 ++++ SphinxTrain/src/programs/count_3phone/phone_word_io.c 2005-05-01 12:48:42.000000000 -0400 +@@ -71,7 +71,7 @@ + #ifdef __alpha + void *malloc(); + #else +-char *malloc(); ++//char *malloc(); + #endif + + extern int Num_Phones, Num_Words; diff --git a/app-accessibility/SphinxTrain/metadata.xml b/app-accessibility/SphinxTrain/metadata.xml new file mode 100644 index 000000000000..18c05c3db3c1 --- /dev/null +++ b/app-accessibility/SphinxTrain/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>accessibility</herd> +<herd>sound</herd> +<longdescription lang="en"> + SphinxTrain is CMU Sphinx's training package. +</longdescription> +<longdescription lang="ja"> + SphinxTrainはCMU Sphinxの調教パッケージです。 +</longdescription> +</pkgmetadata> |