summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-accessibility/speechd-up/ChangeLog9
-rw-r--r--app-accessibility/speechd-up/files/digest-speechd-up-0.3-r13
-rw-r--r--app-accessibility/speechd-up/files/speechd-up.confd6
-rw-r--r--app-accessibility/speechd-up/files/speechd-up.rc4
-rw-r--r--app-accessibility/speechd-up/speechd-up-0.3-r1.ebuild31
5 files changed, 50 insertions, 3 deletions
diff --git a/app-accessibility/speechd-up/ChangeLog b/app-accessibility/speechd-up/ChangeLog
index e8392b00e2b9..4304c6885429 100644
--- a/app-accessibility/speechd-up/ChangeLog
+++ b/app-accessibility/speechd-up/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-accessibility/speechd-up
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/ChangeLog,v 1.10 2006/01/29 23:52:35 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/ChangeLog,v 1.11 2006/08/28 03:30:49 williamh Exp $
+
+*speechd-up-0.3-r1 (28 Aug 2006)
+
+ 28 Aug 2006; William Hubbs <williamh@gentoo.org> +files/speechd-up.confd,
+ files/speechd-up.rc, +speechd-up-0.3-r1.ebuild:
+ Made the nice level at which speechd-up is run configurable.
+ This fixes bug #81930.
*speechd-up-0.3 (29 Jan 2006)
diff --git a/app-accessibility/speechd-up/files/digest-speechd-up-0.3-r1 b/app-accessibility/speechd-up/files/digest-speechd-up-0.3-r1
new file mode 100644
index 000000000000..9b3af96650b4
--- /dev/null
+++ b/app-accessibility/speechd-up/files/digest-speechd-up-0.3-r1
@@ -0,0 +1,3 @@
+MD5 7507e856c8f51ae80368a99f4fed3ceb speechd-up-0.3.tar.gz 388949
+RMD160 e87c3e127b40aa1eafad92066892f7836584538a speechd-up-0.3.tar.gz 388949
+SHA256 ca5a0b1afefc8509f419404bc2a4108df982ea564aa42af420e29c4694d8549e speechd-up-0.3.tar.gz 388949
diff --git a/app-accessibility/speechd-up/files/speechd-up.confd b/app-accessibility/speechd-up/files/speechd-up.confd
new file mode 100644
index 000000000000..2808a6c1b80a
--- /dev/null
+++ b/app-accessibility/speechd-up/files/speechd-up.confd
@@ -0,0 +1,6 @@
+# /etc/conf.d/speechd-up: config file for /etc/init.d/speechd-up
+
+# Niceness level at which to run speechd-up
+
+NICELEVEL=-5
+
diff --git a/app-accessibility/speechd-up/files/speechd-up.rc b/app-accessibility/speechd-up/files/speechd-up.rc
index bc9c2c84aca3..33a4c5544ce9 100644
--- a/app-accessibility/speechd-up/files/speechd-up.rc
+++ b/app-accessibility/speechd-up/files/speechd-up.rc
@@ -1,7 +1,7 @@
#!/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.3 2004/10/30 00:37:21 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speechd-up/files/speechd-up.rc,v 1.4 2006/08/28 03:30:50 williamh Exp $
depend() {
use eflite festival
@@ -10,7 +10,7 @@ depend() {
start() {
ebegin "Starting speechd-up"
- start-stop-daemon --start --quiet --background --exec /usr/bin/speechd_up -- -d
+ start-stop-daemon --start --quiet --nicelevel ${NICE_LEVEL} --exec /usr/bin/speechd-up -- -d
eend $?
}
diff --git a/app-accessibility/speechd-up/speechd-up-0.3-r1.ebuild b/app-accessibility/speechd-up/speechd-up-0.3-r1.ebuild
new file mode 100644
index 000000000000..47d5da2cd543
--- /dev/null
+++ b/app-accessibility/speechd-up/speechd-up-0.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2006 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.3-r1.ebuild,v 1.1 2006/08/28 03:30:49 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="virtual/libc"
+RDEPEND=" app-accessibility/speech-dispatcher"
+
+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
+}