diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:52:39 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-11-01 18:52:39 +0000 |
commit | 96d24bce89d1530ea2a4f3d3baa930c14091e5fc (patch) | |
tree | e4521b8ccd510772043e77a84dbccbeb3d6c395b /app-accessibility/eflite | |
parent | Automated update of use.local.desc (diff) | |
download | historical-96d24bce89d1530ea2a4f3d3baa930c14091e5fc.tar.gz historical-96d24bce89d1530ea2a4f3d3baa930c14091e5fc.tar.bz2 historical-96d24bce89d1530ea2a4f3d3baa930c14091e5fc.zip |
revert unintended removal.
Diffstat (limited to 'app-accessibility/eflite')
-rw-r--r-- | app-accessibility/eflite/ChangeLog | 114 | ||||
-rw-r--r-- | app-accessibility/eflite/Manifest | 11 | ||||
-rw-r--r-- | app-accessibility/eflite/eflite-0.3.8-r2.ebuild | 44 | ||||
-rw-r--r-- | app-accessibility/eflite/eflite-0.4.1.ebuild | 45 | ||||
-rw-r--r-- | app-accessibility/eflite/files/eflite-0.3.8-daemon.patch | 59 | ||||
-rw-r--r-- | app-accessibility/eflite/files/eflite-0.3.8-read_pipe.patch | 17 | ||||
-rw-r--r-- | app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch | 41 | ||||
-rw-r--r-- | app-accessibility/eflite/files/eflite.rc | 29 | ||||
-rw-r--r-- | app-accessibility/eflite/files/es.conf | 11 | ||||
-rw-r--r-- | app-accessibility/eflite/metadata.xml | 24 |
10 files changed, 395 insertions, 0 deletions
diff --git a/app-accessibility/eflite/ChangeLog b/app-accessibility/eflite/ChangeLog new file mode 100644 index 000000000000..cd95d542f979 --- /dev/null +++ b/app-accessibility/eflite/ChangeLog @@ -0,0 +1,114 @@ +# ChangeLog for app-accessibility/eflite +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/ChangeLog,v 1.29 2009/11/01 18:43:27 eva Exp $ + + 02 Oct 2009; William Hubbs <williamh@gentoo.org> eflite-0.4.1.ebuild, + metadata.xml: + Added the 16k_voice use flag for bug #286769. + Thanks to Chris Brannon for the patch. + + 01 Oct 2009; Steve Dibb <beandog@gentoo.org> eflite-0.4.1.ebuild: + amd64 stable, bug 281478 + + 14 Aug 2009; William Hubbs <williamh@gentoo.org> eflite-0.4.1.ebuild: + stable on x86 + +*eflite-0.4.1 (21 Jun 2009) + + 21 Jun 2009; William Hubbs <williamh@gentoo.org> eflite-0.3.8-r2.ebuild, + -eflite-0.3.9.ebuild, +eflite-0.4.1.ebuild: + version bump for bug #274247. + Also removed an old version and fixed repoman errors. + + 06 Jun 2009; Samuli Suominen <ssuominen@gentoo.org> + eflite-0.3.8-r2.ebuild, eflite-0.3.9.ebuild: + Don't hardcode ecompress --suffix in postinst msg wrt #272889, thanks to + Victor Ostorga. + + 09 Mar 2009; Diego E. Pettenò <flameeyes@gentoo.org> eflite-0.3.9.ebuild: + Remove econf call from src_unpack, remove src_compile since then it + becomes the standard one. + + 26 Dec 2007; Christian Heim <phreak@gentoo.org> eflite-0.3.8-r2.ebuild, + eflite-0.3.9.ebuild: + Fix the quotation. + + 28 Apr 2007; Sven Wegener <swegener@gentoo.org> eflite-0.3.8-r2.ebuild, + eflite-0.3.9.ebuild: + Fix *initd, *confd and *envd calls (#173884, #174266) + + 23 Jan 2007; Marius Mauch <genone@gentoo.org> eflite-0.3.8-r2.ebuild, + eflite-0.3.9.ebuild: + Replacing einfo with elog + + 10 Oct 2005; Chris White <chriswhite@gentoo.org> metadata.xml: + Initial longdescription in english and japanese. + +*eflite-0.3.9 (07 Sep 2005) + + 07 Sep 2005; William Hubbs <williamh@gentoo.org> files/es.conf, metadata.xml, + +eflite-0.3.9.ebuild: + version bump + + 05 Oct 2004; Pieter Van den Abeele <pvdabeel@gentoo.org> + eflite-0.3.8-r2.ebuild: + Masked eflite-0.3.8-r2.ebuild stable for ppc + + 15 Sep 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r2.ebuild: + Stable sparc. + + 22 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> files/eflite.rc: + Changed 'need alsasound' to 'use alsasound'. Added modules and hotplug to use + to make sure we have sound drivers loaded. Added to ~sparc + + 28 Jun 2004; Aron Griffis <agriffis@gentoo.org> eflite-0.3.8-r2.ebuild: + add sed-4 dep + + 14 Jun 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r2.ebuild: + Stable amd64. + + 23 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r2.ebuild: + Added IUSE. + + 22 Apr 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r2.ebuild: + Stable x86. + +*eflite-0.3.8-r2 (23 Mar 2004) + + 23 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r1.ebuild, eflite-0.3.8-r2.ebuild, + files/eflite-0.3.8-read_pipe.patch: + Added patch to not give an error message when read()ing from a pipe. + +*eflite-0.3.8-r1 (23 Mar 2004) + + 23 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> + eflite-0.3.8-r1.ebuild, eflite-0.3.8.ebuild: + Fixed install location of init script. + + 22 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> eflite-0.3.8.ebuild: + Added ~amd64 to keywords. + + 22 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> eflite-0.3.8.ebuild: + Conf file is now in /etc/eflite/ instead of /etc. No revbump done because it + worked before, but in the future, it should be at the new location... I doubt + many people have triend the package yet, though... + + 21 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> eflite-0.3.8.ebuild, + files/eflite-0.3.8-daemon.patch, files/eflite.rc, files/es.conf: + Added init script and default conf. Created patch to enable daemon-only + command line arg. + + 21 Mar 2004; David Holm <dholm@gentoo.org> eflite-0.3.8.ebuild: + Added to ~ppc. + +*eflite-0.3.8 (21 Mar 2004) + + 21 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org> eflite-0.3.8.ebuild, + metadata.xml, files/eflite-0.3.8-shared_flite.patch: + Initial import. Ebuild by dmwaters and me. Closes bug #45178. + diff --git a/app-accessibility/eflite/Manifest b/app-accessibility/eflite/Manifest new file mode 100644 index 000000000000..f2e3c6f90511 --- /dev/null +++ b/app-accessibility/eflite/Manifest @@ -0,0 +1,11 @@ +AUX eflite-0.3.8-daemon.patch 1728 RMD160 bd0b7985f8fe129e837c04781168df35dd0ffcd2 SHA1 ba424a15d0ef672b3db55b01546c540b5c7e50a1 SHA256 e71f0902e5892b2a4804ea57e5c9a0e774c96421ad0fb5c5461091574a44329c +AUX eflite-0.3.8-read_pipe.patch 380 RMD160 0c69ef7b060dd34931298a1d1946df14d84cce96 SHA1 6f7d138d6228dc8e4438786aab12c2eee745b821 SHA256 8a96b1cb5658f08f1cbd456079477a9aa5e795c3ad86ab11443e74f067e3f571 +AUX eflite-0.3.8-shared_flite.patch 2116 RMD160 24532a47312ed0665330515975f69a0a612215f4 SHA1 d0b2703c53e241c0af2ddc4337538673d56f0fb7 SHA256 5150c495b0d981e28504599ed20d8700cbadac531682d528f86669941ecbcd28 +AUX eflite.rc 763 RMD160 f1e45b68f3687c354f554320c4bad45d2e436ede SHA1 a64e8c2809bc4dbc39f3d673662d001d1297cacf SHA256 17e3186141628cc8ea4775f045e930601b0435ce89d3e483f8ce9787af2b45f0 +AUX es.conf 213 RMD160 3f096e0b12bc0bf4f4534a486246fce420b71a3a SHA1 530a6f5f0bf5f63b8c55603af64cc4561ca05363 SHA256 20de1fd6979f3a4254fb5e7cac4f135647c8abce030ceef88648b6db0c745d27 +DIST eflite-0.3.8.tar.gz 50667 RMD160 9fcd91cbec9c9792322762eaf3327436b7db9837 SHA1 88c63d158d97480982124157b2ba7e7263d165dd SHA256 6b919920e9fe2b4bf25afd7b05b77fd78d2231059c0dfe2760d10f82fd2c0e11 +DIST eflite-0.4.1.tar.gz 63192 RMD160 18125ad8fab4dafcac8fb3ccdd489e5a58d31808 SHA1 c56a52b7b49879f2d37ce84e049e984be14de4df SHA256 91ad85855e55a3fc3b97a1a525db5fd1d211d54342bbfc88d1026813104f1721 +EBUILD eflite-0.3.8-r2.ebuild 1070 RMD160 024c5ffcbc554c4453466255ae44de9d00760af1 SHA1 f1240f5b78098d70d8144e3017933512fa451a2d SHA256 91f67abb7774563245550992b62f20183876c65e3776622c9c081a539e7bbff5 +EBUILD eflite-0.4.1.ebuild 1012 RMD160 cb215e913ccce65e93b51734ba233d7a4ff3ee54 SHA1 5445bff14599e219dda5ba1b0b7e35e482fa61e1 SHA256 ef60b711b132bfbc8576fe6ea24b688044770649414497036d0eb22aff459dbb +MISC ChangeLog 4074 RMD160 ba3aab1c9141451c00ce5545e03a4ce1dd14ac2c SHA1 016f81d2862ee9a103bf6c0c9edb38783e81da6d SHA256 a37949678fe755da9de564463bb04252287ac35e0f787c8da3adc59f2111b762 +MISC metadata.xml 1176 RMD160 d4b2ff3cb34339a8d75835ef87eac85c8cc8a739 SHA1 52f902a0dcbeaac84d223a19cd5a91874b2fefce SHA256 151b6e4d6ec44a3c9626e48d0076aaad98ad1509d8ee87c35290ac6b49a0bc5c diff --git a/app-accessibility/eflite/eflite-0.3.8-r2.ebuild b/app-accessibility/eflite/eflite-0.3.8-r2.ebuild new file mode 100644 index 000000000000..52f93377156a --- /dev/null +++ b/app-accessibility/eflite/eflite-0.3.8-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.3.8-r2.ebuild,v 1.18 2009/11/01 18:43:27 eva Exp $ + +inherit eutils + +DESCRIPTION="A speech server that allows emacspeak and other screen readers to interact with festival lite." +HOMEPAGE="http://eflite.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc amd64 sparc" +IUSE="" + +RDEPEND=">=app-accessibility/flite-1.2" +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.58" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-shared_flite.patch + epatch "${FILESDIR}"/${P}-daemon.patch + epatch "${FILESDIR}"/${P}-read_pipe.patch + + sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' * + + WANT_AUTOCONF=2.5 autoconf +} + +src_install() { + dobin eflite || die + dodoc ChangeLog README INSTALL eflite_test.txt + + insinto /etc/eflite + doins "${FILESDIR}"/es.conf + + newinitd "${FILESDIR}"/eflite.rc eflite +} + +pkg_postinst() { + enewgroup speech +} diff --git a/app-accessibility/eflite/eflite-0.4.1.ebuild b/app-accessibility/eflite/eflite-0.4.1.ebuild new file mode 100644 index 000000000000..7ea186c34d6b --- /dev/null +++ b/app-accessibility/eflite/eflite-0.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/eflite/eflite-0.4.1.ebuild,v 1.6 2009/11/01 18:43:27 eva Exp $ + +EAPI="2" + +inherit eutils + +DESCRIPTION="A speech server that allows emacspeak and other screen readers to interact with festival lite." +HOMEPAGE="http://eflite.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~ppc ~sparc x86" +IUSE="+16k_voice" + +DEPEND=">=app-accessibility/flite-1.2" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i 's:/etc/es.conf:/etc/eflite/es.conf:g' * +} + +src_configure() { + local myconf + if use 16k_voice; then + myconf='--with-vox=cmu_us_kal16' + fi + econf ${myconf} || die "econf failed." +} + +src_install() { + einstall || die + dodoc ChangeLog README INSTALL eflite_test.txt + + insinto /etc/eflite + doins "${FILESDIR}"/es.conf + + newinitd "${FILESDIR}"/eflite.rc eflite +} + +pkg_postinst() { + enewgroup speech +} diff --git a/app-accessibility/eflite/files/eflite-0.3.8-daemon.patch b/app-accessibility/eflite/files/eflite-0.3.8-daemon.patch new file mode 100644 index 000000000000..ceb9dbf8565b --- /dev/null +++ b/app-accessibility/eflite/files/eflite-0.3.8-daemon.patch @@ -0,0 +1,59 @@ +diff -Naur eflite-0.3.8.orig/es.c eflite-0.3.8/es.c +--- eflite-0.3.8.orig/es.c 2004-02-20 15:58:35.000000000 -0800 ++++ eflite-0.3.8/es.c 2004-03-21 23:32:25.000000000 -0800 +@@ -760,9 +760,13 @@ + char *input = NULL; + int more_opts = 1; + int debug = 0; ++ int daemon_only = 0; + +- while (more_opts) switch(getopt_long(argc, argv, "df:v", (struct option *)&longopts, NULL)) ++ while (more_opts) switch(getopt_long(argc, argv, "Ddf:v", (struct option *)&longopts, NULL)) + { ++ case 'D': ++ daemon_only = 1; ++ break; + case 'd': + debug = 1; + break; +@@ -783,19 +787,32 @@ + sockname = lookup_string(NULL, "socketfile"); + if (!sockname) sockname = "/tmp/es.socket"; + local_fd = sockconnect(sockname); +- if (local_fd != -1) passthrough(infile, local_fd); +- if (!debug && (child = fork())) ++ ++ if(daemon_only) + { +- usleep(200000); +- local_fd = sockconnect(sockname); +- if (local_fd == -1) ++ if(local_fd != -1) + { +- es_log(1 | LOG_STDERR, "Daemon not accepting connections -- exiting\n"); ++ es_log(1 | LOG_STDERR, "Socket already exists. Exiting.\n"); + exit(1); + } +- passthrough(infile, local_fd); +- exit(0); + } ++ else ++ { ++ if (local_fd != -1) passthrough(infile, local_fd); ++ if (!debug && (child = fork())) ++ { ++ usleep(200000); ++ local_fd = sockconnect(sockname); ++ if (local_fd == -1) ++ { ++ es_log(1 | LOG_STDERR, "Daemon not accepting connections -- exiting\n"); ++ exit(1); ++ } ++ passthrough(infile, local_fd); ++ exit(0); ++ } ++ } ++ + punct_some = lookup_string(NULL, "punct_some"); + if (punct_some == NULL) punct_some = "@#$%^&_[]{}\\|"; + punct_all = lookup_string(NULL, "punct_all"); diff --git a/app-accessibility/eflite/files/eflite-0.3.8-read_pipe.patch b/app-accessibility/eflite/files/eflite-0.3.8-read_pipe.patch new file mode 100644 index 000000000000..e5fd895bfbd3 --- /dev/null +++ b/app-accessibility/eflite/files/eflite-0.3.8-read_pipe.patch @@ -0,0 +1,17 @@ +Index: es.c +=================================================================== +RCS file: /cvsroot/eflite/eflite/es.c,v +retrieving revision 1.20 +diff -r1.20 es.c +714c714,722 +< if (size == -1) terror("read"); +--- +> if (size == -1) +> { +> if (errno == EBADF) +> { +> /* this might really be an eof */ +> exit(0); +> } +> else terror("read"); +> } diff --git a/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch b/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch new file mode 100644 index 000000000000..a68f5757f62e --- /dev/null +++ b/app-accessibility/eflite/files/eflite-0.3.8-shared_flite.patch @@ -0,0 +1,41 @@ +diff -Naur eflite-0.3.8.orig/Makefile.in eflite-0.3.8/Makefile.in +--- eflite-0.3.8.orig/Makefile.in 2004-02-20 15:58:35.000000000 -0800 ++++ eflite-0.3.8/Makefile.in 2004-03-21 00:39:47.000000000 -0800 +@@ -27,10 +27,10 @@ + #CFLAGS+= -DDEBUG=2 + + # For making releases +-FLITE_LIBS:=$(flite_dir)/lib/libflite_$(FL_VOX).a $(flite_dir)/lib/libflite_$(FL_LEX).a $(flite_dir)/lib/libflite_$(FL_LANG).a $(flite_dir)/lib/libflite.a ++FLITE_LIBS:=-L$(flite_dir)/lib -lflite_$(FL_VOX) -lflite_$(FL_LEX) -lflite_$(FL_LANG) -lflite + +-eflite: fs.o es.o soccon.o sockopen.o tone.o $(FLITE_LIBS) +- $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) ++eflite: fs.o es.o soccon.o sockopen.o tone.o ++ $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS) + + fs.o: fs.c + $(CC) $(CFLAGS) -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $< +diff -Naur eflite-0.3.8.orig/configure.in eflite-0.3.8/configure.in +--- eflite-0.3.8.orig/configure.in 2004-02-20 15:58:35.000000000 -0800 ++++ eflite-0.3.8/configure.in 2004-03-21 00:37:08.000000000 -0800 +@@ -29,6 +29,20 @@ + flite_dir=/usr/src/flite-1.1-release; + elif test -f /usr/local/src/flite-1.1-release/lib/libflite.a; then + flite_dir=/usr/local/src/flite-1.1-release; ++ elif test -f /usr/local/lib/libflite.so; then ++ flite_dir=/usr/local ++ elif test -f /usr/lib/libflite.so; then ++ flite_dir=/usr ++ elif test -f /opt/flite/lib/libflite.so; then ++ flite_dir=/opt ++ elif test -f $HOME/flite-1.2-release/lib/libflite.so; then ++ flite_dir=$HOME/flite-1.2-release ++ elif test -f $HOME/flite-1.1-release/lib/libflite.so; then ++ flite_dir=$HOME/flite-1.1-release ++ elif test -f /usr/src/flite-1.1-release/lib/libflite.so; then ++ flite_dir=/usr/src/flite-1.1-release; ++ elif test -f /usr/local/src/flite-1.1-release/lib/libflite.so; then ++ flite_dir=/usr/local/src/flite-1.1-release; + else + AC_MSG_ERROR(Cannot locate libflite.a. Please specify flite_dir explicitly (see INSTALL). If you do not have FLite headers and libraries available, then compile FLite and re-run configure.) + fi diff --git a/app-accessibility/eflite/files/eflite.rc b/app-accessibility/eflite/files/eflite.rc new file mode 100644 index 000000000000..f7775f18d489 --- /dev/null +++ b/app-accessibility/eflite/files/eflite.rc @@ -0,0 +1,29 @@ +#!/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/eflite/files/eflite.rc,v 1.7 2009/11/01 18:45:20 eva Exp $ + +depend() { + use alsasound + use modules + use hotplug +} + +start() { + ebegin "Starting eflite" + start-stop-daemon --start --exec /usr/bin/eflite --background \ + --quiet --pidfile /var/run/eflite.pid --make-pidfile -- -D || eend 1 + + SOCKET=`egrep '^sockname=' /etc/eflite/es.conf | sed 's/^sockname=//'` + [ ! -S ${SOCKET} ] && SOCKET=/tmp/es.socket + + chown root:speech ${SOCKET} + chmod 660 ${SOCKET} + eend $? +} + +stop() { + ebegin "Stopping eflite" + start-stop-daemon --stop --quiet --pidfile /var/run/eflite.pid + eend $? +} diff --git a/app-accessibility/eflite/files/es.conf b/app-accessibility/eflite/files/es.conf new file mode 100644 index 000000000000..17443d3e42ba --- /dev/null +++ b/app-accessibility/eflite/files/es.conf @@ -0,0 +1,11 @@ +# What socket do we listen on +sockname=/tmp/es.socket + +# What volume do we set? +tone_volume=8192 + +# Do we use the PC Speaker? (0/1) +speaker_tones=0 + +# Do we use the sound card (via flite)? (0/1) +soundcard_tones=1 diff --git a/app-accessibility/eflite/metadata.xml b/app-accessibility/eflite/metadata.xml new file mode 100644 index 000000000000..d24f65ecb21b --- /dev/null +++ b/app-accessibility/eflite/metadata.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>accessibility</herd> +<herd>sound</herd> +<maintainer> +<email>williamh@gentoo.org</email> +</maintainer> +<use> + <flag name='16k_voice'>Use a higher-quality voice.</flag> +</use> +<longdescription lang="en"> + EFlite is a speech server for Emacspeak and other screen readers + that allows them to interface with Festival Lite, a free + text-to-speech engine developed at the CMU Speech Center as an + off-shoot of Festival. +</longdescription> +<longdescription lang="ja"> + EFliteã¯Emacspeakã¨ä»ã®ã¹ã¯ãªã¼ã³èªåãè£
ç½®ã®ã¹ãã¼ããµã¼ãããã® + ãµã¼ãã¼ã§åã®ããã°ã©ã ã¯Festival Lite(CMU Speech Centerã§éçºãã + Festivalã®ããã«ã¹ãã¼ãã«ããã¹ããå¤ããã¨ã³ã¸ã³ã)㨠+ ã¤ã³ã¿ãã§ã¹ãããã¨ãåºæ¥ãã +</longdescription> +</pkgmetadata> |