================================ epos:source=2.5.37-1 cvc rdiff epos -1 /weasel.rpath.org@wgl:3-devel/2.5.37-1 ================================ 2.5.37-1 Filip Brcic (brcha@xxxxxxxxxxxx) Sat Jun 26 10:01:47 2010 epos 2.5.37 epos.recipe: new --- /dev/null +++ epos.recipe @@ -0,0 +49 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +class Epos(AutoPackageRecipe): + name = 'epos' + version = '2.5.37' + + buildRequires = [ + 'libstdc++:devel', 'gcc-c++:runtime', + 'autoconf-wrapper:runtime', 'autoconf25:runtime', + 'automake-wrapper:runtime', 'automake17:runtime', + 'flex:runtime', 'libtool:runtime', 'libtool:devel', + 'gettext:runtime', 'intltool:runtime', 'perl-XML-Parser:perl', + 'bison:runtime', 'm4:runtime', + ] + + shortDesc = 'Language independent text-to-speech system' + longDesc = """ +Epos is a language independent rule-driven Text-to-Speech (TTS) system +primarily designed to serve as a research tool. Epos is (or tries to +be) independent of the language processed, linguistic description +method, and computing environment. +""" + url = 'http://epos.ure.cas.cz/' + licenses = [ 'GPL-2' ] + categories = [ 'Applications/Accessibility' ] + + def unpack(r): + r.addArchive('mirror://sourceforge/%(name)s/') + + r.addPatch('epos-2.5.37-gcc43.patch') + + r.Replace('CCC', '#CCC', + 'configure.ac') + + r.Autoreconf() + + r.addSource('eposd', + dest='%(initdir)s/', + mode=0755) + r.TagSpec('initscript', '%(initdir)s/') + + def configure(r): + r.Configure( + ' --enable-charsets' + ' --disable-portaudio' + ) epos-2.5.37-gcc43.patch: new --- /dev/null +++ epos-2.5.37-gcc43.patch @@ -0,0 +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; + epos-2.5.37.tar.gz: new eposd: new --- /dev/null +++ eposd @@ -0,0 +21 @@ +#!/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/epos/files/eposd,v 1.3 2009/11/01 18:48:32 eva Exp $ + +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 $? +} Committed by: brcha