diff options
Diffstat (limited to 'app-accessibility/epos')
-rw-r--r-- | app-accessibility/epos/Manifest | 11 | ||||
-rw-r--r-- | app-accessibility/epos/epos-2.5.37-r2.ebuild | 44 | ||||
-rw-r--r-- | app-accessibility/epos/files/README.gentoo | 2 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.37-disable-tests.patch | 16 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.37-gcc43.patch | 23 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.37-gcc45.patch | 15 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.37-gcc47.patch | 16 | ||||
-rw-r--r-- | app-accessibility/epos/files/eposd | 20 | ||||
-rw-r--r-- | app-accessibility/epos/metadata.xml | 11 |
9 files changed, 158 insertions, 0 deletions
diff --git a/app-accessibility/epos/Manifest b/app-accessibility/epos/Manifest new file mode 100644 index 000000000000..3e82c7b957b1 --- /dev/null +++ b/app-accessibility/epos/Manifest @@ -0,0 +1,11 @@ +AUX README.gentoo 108 SHA256 7b3b19b2112b35f160af2a10de2fb9875419195946d174b22f980e975b03cefc SHA512 84afee5caf9c1703f10846e77c1bdc9e298a1d560ffe34b0d8f3b570001f45ca059b86860f62ebdf84ee811aaee7f2d2753db069bb7cb977abfb7ac2b3009829 WHIRLPOOL b513794b29fb076ef84aefdfd1210bac195eae8f3c7026bc4c441f0954c64ab50e45f9abfc2fa421d9ef55001b5fc20903f94dd418d57e8cb9f1c8a3bbb0a8ce +AUX epos-2.5.37-disable-tests.patch 579 SHA256 77d42d7f6a93cf358d6c39fb912657fe48e5d03d551ef02adf3729f30269c50e SHA512 67ad549aa4de7f26a6cbd352d2229176b90cd9a7b4b5e2dbfc04fccba6769149355593b11d1921219a44c1fa9b5ce266ab3dca0a674cd7a8f7e2a849ceb2ca95 WHIRLPOOL 82407062fc707bce0b395172f9a0948c3e3a24d75f68ffea5d1555092f3c82f49626c45af41cb272f749a844460e30abcbdda425667f634d5342267acef8cc1f +AUX epos-2.5.37-gcc43.patch 504 SHA256 92968fe28cff365e0ef25608b0f90dbb1139dec141fae4f720771abab6b36bc5 SHA512 ea70a8e8240d57a3efbe8441200ca0318fec11c021b1c241ca96f5679488ad82b4efde8b88ae3d4bdfea564d14192137083cd1084f04ce45a7f49d499f9fe6d2 WHIRLPOOL f02c8d4be4ce43ed108f016d72d9f5b8a195577c1261109477822f2d99796dcec3a69e690ad21804b64bf1547b8cdea161fe8f886e43de2f979ce416bd708d71 +AUX epos-2.5.37-gcc45.patch 503 SHA256 55924fc73ed5e95a3839d753c467093494ecff4e81a3062fb99425fedd9ea877 SHA512 318752841db38d35ea13e9a053e85251e9c777d6e6a1812c27ccc2310ee6d258b238d1f2915f34da1c84eac5cf6b4eee85d0d67b4dad7c83862ed9f291819d72 WHIRLPOOL 3a9f9bff9e6beb76d54a7dc85fedd5d3471e220d9ea563e07ab8818ffb6a1492a09773db4f738c715feb2f6a1ee70c3649af797987b3f9f1dd729e21dbd25534 +AUX epos-2.5.37-gcc47.patch 333 SHA256 e3cf777c70f6ad733e26d7ac93a59c8d86c5552fa97a64d43e8978cebebf5d3b SHA512 84a5d979fa59eaeef6f560494d67918580eb4574dada052cbf926440a0a960027c50b36284e0870f746b2a5f13f909946661174ce8d6f155d1ea0f6d202c334f WHIRLPOOL 58d6b655d71c5627aa7f02ca105107dec79a00380e98c94c225374bca6d63ca3f9d4dad3ac8c8250706fd6021a0dc9a00a7ff330c33e25b694fee6a313e4a94e +AUX eposd 442 SHA256 3e2b147b37dc05c226dd02af1be0ffcc39f7a261f58d95661ebb4af07c10db20 SHA512 3a60ab455b7c00ece42a759fb98bc3e9948134839f709ed16123e39a323f24fa166907f981f65510d83f2fcc52697a2535cfafb4e7ccbb0f3d8c116123f662ed WHIRLPOOL 5735787ae77961de8174c5063716cdb0befb8d22eb98205a3eac2eb80613a426d138160df7345320cd436d7c53f030f18b9bf8c137e0645560aba8dfc464e6fa +DIST epos-2.5.37.tar.gz 976240 SHA256 7b6e835d4db4f64cfdcf3359d84b6b0ed02e8fb89851aed7615768f7d07c8607 SHA512 870718a5e7b5048eafd62c478963de92fe8a90b3e755f79ea665dc33ad762c0ec4ebaf7c99d5f2be8983a0deacba284ae07b24d9a31bdd1a1eff5924327255ef WHIRLPOOL 874657f4f9435d6fed821747229758e2f064ed467dae418a085c5d2268aa2ac1b22ba55bbd393ecd7a08d4332d1ee742e2b032abfa99b2ff1c9d06cc26b851c1 +EBUILD epos-2.5.37-r2.ebuild 872 SHA256 5b613cc76cc5c6e446cc7adc2ba37e27f344919519c74115e358648219e6c035 SHA512 edfd2cd42d240df8b0cc5c46db4ad09f753b78a3ea9edfc38f390a152759b14ac992776ae9a8c8ecd42ed4026ce697e2e201a7a0d8fac9d6d385addc88f97574 WHIRLPOOL 2bd114576a85b5aae1626cd69bc04ec38af9088a504ed855bd096b2fc9a283e9ddff4bbe88d5af73389aac04add9788bc20e76feb63378c2947a26a223b0c195 +MISC ChangeLog 2974 SHA256 33721879490481d309fa50b40f0883206dcd99dbce10c5fbf0e2f25b5715615a SHA512 04c2ae7de8820e18bb7c02db27b1563ced50d86cb24cef534f9a4ab85d3bf319a429174a875ae45f9db2c14a07b3f5047f548f681be537f4a3be129ff859443e WHIRLPOOL 09ce3504e44f5efc5abf7319856d1f49c43fada6d774f3160d124f2ad0c30dff24b69200e94ab6dc3d4e9df3ba188091a03b769e208384e696f5b229ef5a5811 +MISC ChangeLog-2015 5752 SHA256 7ba16c89c3766e31933788b3f5258f6514a236d1fff15f7774b2f945c9724838 SHA512 1641da55a62e1335602a9008e0bfdc4b21f998970086acb01d1f3f75262c90de7b488e2218bd4b09c7ce92a0a83dd28f040c6dadd1649313a9dcb8c65443cfc0 WHIRLPOOL d65aac0be9dbad13ff2c699da1972ccf16abacc93449d43d5af7181215fd945be4034ee66b3ed7063642f11b3d01af531e28be754e086e2395849cfa03ce9f93 +MISC metadata.xml 343 SHA256 4851e8a45b6951cfbf6db7d1a723bf2d6431c90d25649712f16bcc29197b2650 SHA512 0a3cbb37dfe8c2627ad7082f9f910c949d9f2477068ad7c68bb17658f0331bc7c736e84c452afa2204eb7fbd01c2edd68583800fcaec6962e456743999b0457d WHIRLPOOL 56a726b47b5a62ab4c9e081787cb95e92e94893d54929237c4f63ce13006ca364398e96062ecbd0fc5643c488a95ec4c4ecd1355b1f2058d6b5e4062704ef4c5 diff --git a/app-accessibility/epos/epos-2.5.37-r2.ebuild b/app-accessibility/epos/epos-2.5.37-r2.ebuild new file mode 100644 index 000000000000..6f6c90eff6be --- /dev/null +++ b/app-accessibility/epos/epos-2.5.37-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils autotools + +DESCRIPTION="language independent text-to-speech system" +HOMEPAGE="http://epos.ure.cas.cz/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 x86" +IUSE="" + +DEPEND=">=app-text/sgmltools-lite-3.0.3-r9 + dev-util/byacc" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc43.patch \ + "${FILESDIR}"/${P}-gcc45.patch \ + "${FILESDIR}"/${P}-gcc47.patch \ + "${FILESDIR}"/${P}-disable-tests.patch + + sed -i -e "s/CCC/#CCC/" configure.ac || die + + eautoreconf +} + +src_configure() { + econf \ + --enable-charsets \ + --disable-portaudio \ + YACC=byacc +} + +src_install() { + default + + doinitd "${FILESDIR}/eposd" + dodoc WELCOME THANKS Changes "${FILESDIR}/README.gentoo" +} diff --git a/app-accessibility/epos/files/README.gentoo b/app-accessibility/epos/files/README.gentoo new file mode 100644 index 000000000000..a058564ea278 --- /dev/null +++ b/app-accessibility/epos/files/README.gentoo @@ -0,0 +1,2 @@ +Due to /usr/bin/say conflicting with the speech-dispatcher ebuild, it has +beenn moved to /usr/bin/epos_say. diff --git a/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch b/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch new file mode 100644 index 000000000000..a877ca68486b --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch @@ -0,0 +1,16 @@ +diff -uNr epos-2.5.37.org/src/tests/Makefile.am epos-2.5.37/src/tests/Makefile.am +--- epos-2.5.37.org/src/tests/Makefile.am 2012-04-14 00:38:56.000000000 -0400 ++++ epos-2.5.37/src/tests/Makefile.am 2012-04-14 00:39:10.000000000 -0400 +@@ -1,11 +1,9 @@ + ## Process this file with automake run in the top directory to yield Makefile.in + + TESTS=hard_zero_data_test \ +- intr_test \ +- legal_data_test long_data_test long_strm_test \ ++ legal_data_test long_data_test \ + random_data_test \ + soft_zero_data_test \ +- syn2_test \ + vogon_test \ + shutdown_test + diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc43.patch b/app-accessibility/epos/files/epos-2.5.37-gcc43.patch new file mode 100644 index 000000000000..4a61b5ffd04b --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-gcc43.patch @@ -0,0 +1,23 @@ +--- epos-2.5.37.orig/src/nnet/neural.cc ++++ epos-2.5.37/src/nnet/neural.cc +@@ -38,7 +38,7 @@ + #include <string.h> + #include <ctype.h> + #include <stdlib.h> +-#include <iostream.h> ++#include <iostream> + #include <time.h> + + /* +--- epos-2.5.37.orig/arch/win/service/install.cpp ++++ epos-2.5.37/arch/win/service/install.cpp +@@ -23,7 +23,7 @@ + #include <winsvc.h> + #include "service.h" + #include <stdio.h> //sprintf & fopen +-#include <iostream.h> ++#include <iostream> + #include "Shlwapi.h" + + SC_HANDLE scm; + diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc45.patch b/app-accessibility/epos/files/epos-2.5.37-gcc45.patch new file mode 100644 index 000000000000..70af1db94407 --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-gcc45.patch @@ -0,0 +1,15 @@ +Fixing build with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=318585 + +--- src/nnet/neural_parse.yy ++++ src/nnet/neural_parse.yy +@@ -255,7 +255,7 @@ + + int yyerror (char *s) + { +- shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf, s)); ++ shriek (812, fmt ("BISON:yyerror:bison_nnet parser: bison_row %i (not counting empty rows) '%s' is erroneous. %s\n", row_num, bison_row_buf.c_str(), s)); + return -1; + } + diff --git a/app-accessibility/epos/files/epos-2.5.37-gcc47.patch b/app-accessibility/epos/files/epos-2.5.37-gcc47.patch new file mode 100644 index 000000000000..6e795e3548a9 --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-gcc47.patch @@ -0,0 +1,16 @@ + https://bugs.gentoo.org/440354 + + src/nnet/map.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/nnet/map.h ++++ b/src/nnet/map.h +@@ -25,7 +25,7 @@ T2 & TMap<T1,T2>::operator [] (const T1 &key) { + else { + TData x; + x.first() = key; +- return insert (x)->second(); ++ return this->insert (x)->second(); + } + } + diff --git a/app-accessibility/epos/files/eposd b/app-accessibility/epos/files/eposd new file mode 100644 index 000000000000..75aca32ca8ba --- /dev/null +++ b/app-accessibility/epos/files/eposd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + use alsasound esound +} + +start() { + ebegin "Starting eposd" + start-stop-daemon --start --quiet --background --make-pidfile --pidfile /var/run/eposd.pid \ + --exec /usr/bin/eposd -- -f + eend $? +} + +stop() { + ebegin "Stopping eposd" + start-stop-daemon --stop --quiet --pidfile /var/run/eposd.pid + eend $? +} diff --git a/app-accessibility/epos/metadata.xml b/app-accessibility/epos/metadata.xml new file mode 100644 index 000000000000..ff924802b4d4 --- /dev/null +++ b/app-accessibility/epos/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>accessibility@gentoo.org</email> + <name>Gentoo Accessibility Project</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">epos</remote-id> + </upstream> +</pkgmetadata> |