diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-08-01 03:11:10 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-08-01 03:11:10 +0000 |
commit | f568c257d13b5c2a843d67274c3e59ec3cfc0ea4 (patch) | |
tree | 4b1337d9b7408033d6a4c02a5eb3a9f30a51f071 /app-accessibility/speechd | |
parent | Properly create the /usr/lib/festival symlink. (diff) | |
download | gentoo-2-f568c257d13b5c2a843d67274c3e59ec3cfc0ea4.tar.gz gentoo-2-f568c257d13b5c2a843d67274c3e59ec3cfc0ea4.tar.bz2 gentoo-2-f568c257d13b5c2a843d67274c3e59ec3cfc0ea4.zip |
Make catspeech honor EOF like its man page says it should.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-accessibility/speechd')
-rw-r--r-- | app-accessibility/speechd/ChangeLog | 8 | ||||
-rw-r--r-- | app-accessibility/speechd/Manifest | 3 | ||||
-rw-r--r-- | app-accessibility/speechd/files/digest-speechd-0.56-r2 | 1 | ||||
-rw-r--r-- | app-accessibility/speechd/files/speechd-0.56-catspeech-eof.patch | 18 | ||||
-rw-r--r-- | app-accessibility/speechd/speechd-0.56-r2.ebuild | 42 |
5 files changed, 71 insertions, 1 deletions
diff --git a/app-accessibility/speechd/ChangeLog b/app-accessibility/speechd/ChangeLog index 7d239da523d3..a58709346b33 100644 --- a/app-accessibility/speechd/ChangeLog +++ b/app-accessibility/speechd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-accessibility/speechd # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/ChangeLog,v 1.14 2005/01/01 10:51:50 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/ChangeLog,v 1.15 2005/08/01 03:11:10 eradicator Exp $ + +*speechd-0.56-r2 (01 Aug 2005) + + 01 Aug 2005; Jeremy Huddleston <eradicator@gentoo.org> + +files/speechd-0.56-catspeech-eof.patch, +speechd-0.56-r2.ebuild: + Make catspeech honor EOF like its man page says it should. 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> speechd-0.56-r1.ebuild: diff --git a/app-accessibility/speechd/Manifest b/app-accessibility/speechd/Manifest index d9312bac21d7..89e7d361ca17 100644 --- a/app-accessibility/speechd/Manifest +++ b/app-accessibility/speechd/Manifest @@ -1,5 +1,8 @@ MD5 e51ec285849a7b5a3b4db086aa22562e ChangeLog 2238 MD5 4f5d797c455932135181f0c31b5e71b2 metadata.xml 185 MD5 40012b5c02e2f375cbcffe72bea7ed09 speechd-0.56-r1.ebuild 1190 +MD5 283f4bb097d4f86a74f50ace88d9c6f5 speechd-0.56-r2.ebuild 1055 MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r1 63 MD5 946d2d86e6a6b6640fcdd745d47a04d7 files/speechd.rc 500 +MD5 5ced99d95d106de24cd3e8e5e5851d86 files/speechd-0.56-catspeech-eof.patch 411 +MD5 bc0a2d35e9d4d817f657a8aad30d3a14 files/digest-speechd-0.56-r2 63 diff --git a/app-accessibility/speechd/files/digest-speechd-0.56-r2 b/app-accessibility/speechd/files/digest-speechd-0.56-r2 new file mode 100644 index 000000000000..e56f75958e9f --- /dev/null +++ b/app-accessibility/speechd/files/digest-speechd-0.56-r2 @@ -0,0 +1 @@ +MD5 e74f55f84427c56c9e04961535798b4b speechd-0.56.tar.gz 23815 diff --git a/app-accessibility/speechd/files/speechd-0.56-catspeech-eof.patch b/app-accessibility/speechd/files/speechd-0.56-catspeech-eof.patch new file mode 100644 index 000000000000..e12be072ed92 --- /dev/null +++ b/app-accessibility/speechd/files/speechd-0.56-catspeech-eof.patch @@ -0,0 +1,18 @@ +--- catspeech.orig 2005-07-31 20:04:41.000000000 -0700 ++++ catspeech 2005-07-31 20:05:17.000000000 -0700 +@@ -24,12 +24,9 @@ $fifo = '/dev/speech'; + + open FIFO, ">>$fifo" or die "Error opening $fifo for appending ($!)\n"; + +-while (1) +-{ +- while($line = <STDIN> ) { +- print FIFO $line, "\n"; +- autoflush FIFO 1; +- } ++while($line = <STDIN> ) { ++ print FIFO $line, "\n"; ++ autoflush FIFO 1; + } + + close FIFO; diff --git a/app-accessibility/speechd/speechd-0.56-r2.ebuild b/app-accessibility/speechd/speechd-0.56-r2.ebuild new file mode 100644 index 000000000000..f1eb36294e27 --- /dev/null +++ b/app-accessibility/speechd/speechd-0.56-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd/speechd-0.56-r2.ebuild,v 1.1 2005/08/01 03:11:10 eradicator Exp $ + +inherit eutils + +DESCRIPTION="Implements /dev/speech (any text written to /dev/speech will be spoken aloud)" +HOMEPAGE="http://www.speechio.org/" +SRC_URI="http://www.speechio.org/dl/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="esd" + +DEPEND="dev-lang/perl" +RDEPEND="${DEPEND} + esd? ( media-sound/esound ) + >=app-accessibility/festival-1.4.3-r1" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-catspeech-eof.patch +} + +src_install() { + dobin ${S}/bin/speechd ${S}/bin/catspeech + use esd && dosed 's,#\($use_esd\),\1,g' /usr/bin/speechd + insinto /etc + doins speechd.sub speechdrc + exeinto /etc/init.d + newexe ${FILESDIR}/speechd.rc speechd + doman ${S}/man/man1/*.1 + dodoc README AUTHORS CHANGELOG TODO speechio.faq +} + +pkg_postinst() { + enewgroup speech +} |