summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2007-05-30 04:05:27 +0000
committerWilliam Hubbs <williamh@gentoo.org>2007-05-30 04:05:27 +0000
commit8a86f863fc390ce718d790cf764441d1a72117f1 (patch)
tree0b825331a511beddd9c7aef7d3f85a7b446a2200 /app-accessibility
parentstable on x86 wrt bug #168789 (diff)
downloadgentoo-2-8a86f863fc390ce718d790cf764441d1a72117f1.tar.gz
gentoo-2-8a86f863fc390ce718d790cf764441d1a72117f1.tar.bz2
gentoo-2-8a86f863fc390ce718d790cf764441d1a72117f1.zip
Rev bump for #179290.
(Portage version: 2.1.2.7)
Diffstat (limited to 'app-accessibility')
-rw-r--r--app-accessibility/speechd-up/ChangeLog8
-rw-r--r--app-accessibility/speechd-up/files/digest-speechd-up-0.4-r23
-rw-r--r--app-accessibility/speechd-up/files/speechd-up.rc23
-rw-r--r--app-accessibility/speechd-up/speechd-up-0.4-r2.ebuild30
4 files changed, 61 insertions, 3 deletions
diff --git a/app-accessibility/speechd-up/ChangeLog b/app-accessibility/speechd-up/ChangeLog
index ff646ec175dd..f6226ab1446a 100644
--- a/app-accessibility/speechd-up/ChangeLog
+++ b/app-accessibility/speechd-up/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-accessibility/speechd-up
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/ChangeLog,v 1.15 2007/04/28 16:22:37 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/ChangeLog,v 1.16 2007/05/30 04:05:27 williamh Exp $
+
+*speechd-up-0.4-r2 (30 May 2007)
+
+ 30 May 2007; William Hubbs <williamh@gentoo.org> files/speechd-up.rc,
+ +speechd-up-0.4-r2.ebuild:
+ Fixed the startup script -- this closes #179290.
28 Apr 2007; Sven Wegener <swegener@gentoo.org> speechd-up-0.3.ebuild:
Fix *initd and *envd calls, bug #173884.
diff --git a/app-accessibility/speechd-up/files/digest-speechd-up-0.4-r2 b/app-accessibility/speechd-up/files/digest-speechd-up-0.4-r2
new file mode 100644
index 000000000000..c507d7a259ec
--- /dev/null
+++ b/app-accessibility/speechd-up/files/digest-speechd-up-0.4-r2
@@ -0,0 +1,3 @@
+MD5 06d0f1014d776df524b03af640ce1144 speechd-up-0.4.tar.gz 395659
+RMD160 be0961be037db72aaa67078a35933a35cd7bff96 speechd-up-0.4.tar.gz 395659
+SHA256 03ebc5c05eedebbeb86c561a4708b90deecacfeb7aecd4a8b93ea3b3419d202a speechd-up-0.4.tar.gz 395659
diff --git a/app-accessibility/speechd-up/files/speechd-up.rc b/app-accessibility/speechd-up/files/speechd-up.rc
index 784704c4be95..6e2fa1c6acf6 100644
--- a/app-accessibility/speechd-up/files/speechd-up.rc
+++ b/app-accessibility/speechd-up/files/speechd-up.rc
@@ -1,16 +1,35 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/files/speechd-up.rc,v 1.5 2006/11/19 19:01:54 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/files/speechd-up.rc,v 1.6 2007/05/30 04:05:27 williamh Exp $
depend() {
use eflite festival
need speech-dispatcher
}
+SPEAKUPDIR=/proc/speakup
+SPEAKUPDEV=/dev/softsynth
+
+load_speakup() {
+ if [ ! -d ${SPEAKUPDIR} ]; then
+ eerror "Speakup is either not part of the kernel or the main"
+ eerror "part of it is built as a module."
+ eerror "Please correct this before using speechd-up."
+ return 1
+ fi
+
+ if [ ! -c ${SPEAKUPDEV} ]; then
+ mknod ${SPEAKUPDEV} c 10 26
+ fi
+ echo sftsyn > ${SPEAKUPDIR}/synth_name
+ sleep 1
+}
+
start() {
+ load_speakup || return 1
ebegin "Starting speechd-up"
- start-stop-daemon --start --quiet --nicelevel ${NICELEVEL} --exec /usr/bin/speechd-up -- -d
+ start-stop-daemon --start --quiet --nicelevel ${NICELEVEL} --exec /usr/bin/speechd-up -- -d -t
eend $?
}
diff --git a/app-accessibility/speechd-up/speechd-up-0.4-r2.ebuild b/app-accessibility/speechd-up/speechd-up-0.4-r2.ebuild
new file mode 100644
index 000000000000..d283978c3dce
--- /dev/null
+++ b/app-accessibility/speechd-up/speechd-up-0.4-r2.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/speechd-up-0.4-r2.ebuild,v 1.1 2007/05/30 04:05:27 williamh Exp $
+
+IUSE=""
+
+inherit eutils
+
+DESCRIPTION="Interface between speakup and speech-dispatcher"
+HOMEPAGE="http://www.freebsoft.org/speechd-up"
+SRC_URI="http://www.freebsoft.org/pub/projects/speechd-up/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=">=app-accessibility/speech-dispatcher-0.6"
+
+src_compile() {
+ econf || die
+ emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" || die
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ newinitd ${FILESDIR}/speechd-up.rc speechd-up
+ newconfd ${FILESDIR}/speechd-up.confd speechd-up
+ dodoc AUTHORS ChangeLog NEWS README TODO
+ doinfo speechd-up.info
+}