diff options
Diffstat (limited to 'app-accessibility/epos')
-rw-r--r-- | app-accessibility/epos/Manifest | 10 | ||||
-rw-r--r-- | app-accessibility/epos/epos-2.5.37-r2.ebuild | 48 | ||||
-rw-r--r-- | app-accessibility/epos/files/README.gentoo | 2 | ||||
-rw-r--r-- | app-accessibility/epos/files/epos-2.5.37-disable-tests.patch | 15 | ||||
-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/epos-2.5.37-gcc7.patch | 22 | ||||
-rw-r--r-- | app-accessibility/epos/files/eposd | 20 | ||||
-rw-r--r-- | app-accessibility/epos/metadata.xml | 11 |
10 files changed, 182 insertions, 0 deletions
diff --git a/app-accessibility/epos/Manifest b/app-accessibility/epos/Manifest new file mode 100644 index 000000000000..a26d2c0ff60f --- /dev/null +++ b/app-accessibility/epos/Manifest @@ -0,0 +1,10 @@ +AUX README.gentoo 108 BLAKE2B 1cd107977e2ed79c26266edf888bb1e33945ac17170f8c7487dd9f2997c0cdbdcaba71f72b250b822aba5f5e152b5728570354be238cc5c68e82c33d38e56a23 SHA512 84afee5caf9c1703f10846e77c1bdc9e298a1d560ffe34b0d8f3b570001f45ca059b86860f62ebdf84ee811aaee7f2d2753db069bb7cb977abfb7ac2b3009829 +AUX epos-2.5.37-disable-tests.patch 401 BLAKE2B 1b5d6de2a7ac1f27910e58e311c550ea4101b4ac1e3756ce4950c66b07ee216a3e76afad903ea580b5bcdbebb2b2ee8a10214a22edf01eab5c51efff0144a7e9 SHA512 63e5026789e35b2dbf00479539ca2b7fd0567a9ff018337d14334f54f4840c0aa723e7fe44c29a6fa3709ba4130750da8fb886c65513d4d71cbf0bd026681e2e +AUX epos-2.5.37-gcc43.patch 454 BLAKE2B 6a3db8a49d3368c50bc78b2f3eadd83e46e3408b84b5a2784849f72d073db59b322356e39962fed9c822b8c3baf62f958e0943cd58dbb77b50316467f6b05794 SHA512 34c0b51a722c75e088315202c62dbf42086bd4fa4da19b1c788c759f4c21fee26a6d7c1a414af34c4ec10d30ac8bf7ea7b65c9f3b96779dce5b40201e3611e4d +AUX epos-2.5.37-gcc45.patch 507 BLAKE2B 03760db124cfc94c69512f710b3e84704c2bf910e54b632a4cc5a3c563fa15fbd2fcb244cdd770b34873ec7d42bf77ac3784f22a561250926aa85da98aa4636c SHA512 7dfd25ebab3bbe2cd91ccb61945d444215b7ae0f087637d47b5ce422a9b8ab6bf392a614983a49037ac937fdfcb0e6c3091fa39e443e6084348baa0c4f1fb360 +AUX epos-2.5.37-gcc47.patch 333 BLAKE2B 0ad7975a408e97aab6761b362063b61b2d914e071b3ce9d2b188c05dda89845f07d545f4b22fab9c74900ccb1c79310bc34dbf6363f6654bf1e184cb786571c4 SHA512 84a5d979fa59eaeef6f560494d67918580eb4574dada052cbf926440a0a960027c50b36284e0870f746b2a5f13f909946661174ce8d6f155d1ea0f6d202c334f +AUX epos-2.5.37-gcc7.patch 593 BLAKE2B 10d992f2f886318904dbbaab4707f453ee846e469415b9467ff0e05d586466b5bc176f41b5805f744dc7873fd7223372a59909fedc946cd9d950efd7b4bc7c8d SHA512 b19d218dc3387efb2e9ea8d444692821c53a9cc77ab8541ad7b95a280478983fd8644fbe8dca305539c487c06c60a2b67dae09bd1e3776e3f2a07cb26631b46c +AUX eposd 442 BLAKE2B ac420143183e28654de3289fe0d27c9582a2b53024048c7beb4fce4287d38ef0f585cd9a449f92d999bfcf4c382ea8f86d25750655d222e87e2f28416fad076d SHA512 3a60ab455b7c00ece42a759fb98bc3e9948134839f709ed16123e39a323f24fa166907f981f65510d83f2fcc52697a2535cfafb4e7ccbb0f3d8c116123f662ed +DIST epos-2.5.37.tar.gz 976240 BLAKE2B 9304ea32f9506f130d13f5c1d14ad2dcc448cf978d0f7cd26f6bc97397f4590bd5456c9a529dbb941eb53f19cd64b849a1cbf5aee402a8eb171dbacfc85ada03 SHA512 870718a5e7b5048eafd62c478963de92fe8a90b3e755f79ea665dc33ad762c0ec4ebaf7c99d5f2be8983a0deacba284ae07b24d9a31bdd1a1eff5924327255ef +EBUILD epos-2.5.37-r2.ebuild 937 BLAKE2B 38e6e60a5b6e25e8259aee75a531de07be3a72864d84eabf8a30050f1386f12330d3aebf63c1b1c41e2f13495db7d94f11dc7f19e7befd981e13969c07d5cfbe SHA512 363f4fde319b70dbf4d2bddf64c0556b1db225ca5b5dc171600a0c46f219ab1c50a255ef56e6ff3bdffa2dd5f16ca14867c348d58fe9316f61f546fb73b4080c +MISC metadata.xml 343 BLAKE2B 77d619d13082c8c8248f671c4e29031867028a05373e9ae48950a1d88540f3b1e5529739ef6e1a1479e04e3e6abd4556d1fd8cf39e5f10481d97110ecb0373d6 SHA512 0a3cbb37dfe8c2627ad7082f9f910c949d9f2477068ad7c68bb17658f0331bc7c736e84c452afa2204eb7fbd01c2edd68583800fcaec6962e456743999b0457d 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..216717c781b9 --- /dev/null +++ b/app-accessibility/epos/epos-2.5.37-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +DESCRIPTION="language independent text-to-speech system" +HOMEPAGE="http://epos.ufe.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="" + +PATCHES=( + "${FILESDIR}"/${PN}-2.5.37-gcc43.patch + "${FILESDIR}"/${PN}-2.5.37-gcc45.patch + "${FILESDIR}"/${PN}-2.5.37-gcc47.patch + "${FILESDIR}"/${PN}-2.5.37-disable-tests.patch + "${FILESDIR}"/${PN}-2.5.37-gcc7.patch +) + +src_prepare() { + default + 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..7556e7995a15 --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-disable-tests.patch @@ -0,0 +1,15 @@ +--- a/src/tests/Makefile.am ++++ b/src/tests/Makefile.am +@@ -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..c8b1dee857ad --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-gcc43.patch @@ -0,0 +1,23 @@ +--- a/src/nnet/neural.cc ++++ b/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> + + /* +--- a/arch/win/service/install.cpp ++++ b/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..cbc056dded9f --- /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 + +--- a/src/nnet/neural_parse.yy ++++ b/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/epos-2.5.37-gcc7.patch b/app-accessibility/epos/files/epos-2.5.37-gcc7.patch new file mode 100644 index 000000000000..6c889a662c2a --- /dev/null +++ b/app-accessibility/epos/files/epos-2.5.37-gcc7.patch @@ -0,0 +1,22 @@ +Bug: https://bugs.gentoo.org/638596 + +--- a/src/nnet/matrix.cc ++++ b/src/nnet/matrix.cc +@@ -63,7 +63,7 @@ + template<class T> void CMatrix<T>::multiplyByTransponed (const CMatrix &y, CMatrix &retval) + { + int i,j,k; +- assert (cols == y.cols); ++ this->assert (cols == y.cols); + if (cols != y.cols) { retval.Realloc (0,0); return; } + + T sum; +@@ -80,7 +80,7 @@ + template<class T> void CMatrix<T>::transponedMultiply (const CMatrix &y, CMatrix &retval) + { + int i,j,k; +- assert (rows == y.rows); ++ this->assert (rows == y.rows); + if (rows != y.rows) { retval.Realloc (0,0); return; } + + T sum; 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> |