From owner-svn-ports-head@freebsd.org Tue Jan 26 17:57:03 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 385C9A6E9FD; Tue, 26 Jan 2016 17:57:03 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0AD4AA4A; Tue, 26 Jan 2016 17:57:02 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0QHv1Tr006759; Tue, 26 Jan 2016 17:57:01 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0QHv1Vl006756; Tue, 26 Jan 2016 17:57:01 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201601261757.u0QHv1Vl006756@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 26 Jan 2016 17:57:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407279 - in head/audio/epos-devel: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jan 2016 17:57:03 -0000 Author: danfe Date: Tue Jan 26 17:57:01 2016 New Revision: 407279 URL: https://svnweb.freebsd.org/changeset/ports/407279 Log: Unbreak the build on 9.X (against old yacc(1) which apparently does not support %token_table declaration). Originally the port was relying on bison(1) instead (via USES=bison) in yacc-compat mode, but was switched to yacc(1) in r389653 because it failed to build against `devel/bison' version update to 3.0.4 as part of an exp-run (see PR). It turns out that actually generated code does not suffer from removing %token_table: the only difference in generated `neural_parse.cc' is that yyname[] table is not guarded by `#if YYDEBUG' and it #define's yytname as yyname, but the code that references yytname in `neural_parse.cc' is #if'ed 0 and YYDEBUG is defined to 1 earlier. That said, simply comment out %token_table line which allows the build to proceed (ir)regardless of the yacc(1) version, on all FreeBSD releases (including 8.X). While here, remove `ac_cv_lib_stdcpp_main=no' in CONFIGURE_ENV that was supposed to fix the build against Clang added in r323095 as it seems no longer required, augment COMMENT and port description, and fix WWW line to point to working website, killing trailing whitespace along the way. PR: 200833 Modified: head/audio/epos-devel/Makefile head/audio/epos-devel/files/patch-src__nnet__neural_parse.yy head/audio/epos-devel/pkg-descr Modified: head/audio/epos-devel/Makefile ============================================================================== --- head/audio/epos-devel/Makefile Tue Jan 26 15:54:36 2016 (r407278) +++ head/audio/epos-devel/Makefile Tue Jan 26 17:57:01 2016 (r407279) @@ -8,16 +8,14 @@ CATEGORIES= audio MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-dev/${PORTVERSION} MAINTAINER= ports@FreeBSD.org -COMMENT= Text-to-Speech system +COMMENT= Language independent Text-to-Speech (TTS) system LICENSE= GPLv2 LGPL20 LICENSE_COMB= multi -BROKEN_FreeBSD_9= does not build on FreeBSD < 10.x - USES= gmake GNU_CONFIGURE= yes -CONFIGURE_ENV= ac_cv_lib_stdcpp_main=no YACC=${YACC} +CONFIGURE_ENV= YACC="${YACC}" post-patch: @${REINPLACE_CMD} -e 's/^\(SUBDIRS =.*\)doc/\1/' ${WRKSRC}/Makefile.in Modified: head/audio/epos-devel/files/patch-src__nnet__neural_parse.yy ============================================================================== --- head/audio/epos-devel/files/patch-src__nnet__neural_parse.yy Tue Jan 26 15:54:36 2016 (r407278) +++ head/audio/epos-devel/files/patch-src__nnet__neural_parse.yy Tue Jan 26 17:57:01 2016 (r407279) @@ -1,6 +1,15 @@ --- src/nnet/neural_parse.yy.orig +++ src/nnet/neural_parse.yy -@@ -255,7 +255,7 @@ +@@ -104,7 +104,7 @@ make_tree (TTypedValue val = TTypedValue + /* SYMBOLS */ + /* * * * * * * * * * * * * * * * * * * * * * * * * * */ + +-%token_table ++//%token_table -- unsupported by the base yacc(1) on some FreeBSD versions + //%raw bison nefunguje s raw! (aspon yylex ne) + + %union { +@@ -255,7 +255,7 @@ unit_level: string_exp int yyerror (char *s) { Modified: head/audio/epos-devel/pkg-descr ============================================================================== --- head/audio/epos-devel/pkg-descr Tue Jan 26 15:54:36 2016 (r407278) +++ head/audio/epos-devel/pkg-descr Tue Jan 26 17:57:01 2016 (r407279) @@ -1,8 +1,16 @@ -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. +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. It has the following features: -This port is built from the development branch of Epos. + - Czech and Slovak text to speech synthesis configuration + - LPC and time domain speech synthesizers + - Prosody modelling driven by rules, prosody models, and artificial + neural networks + - All language dependencies are defined in the configuration files, + as opposed to the source code + - Documentation in English included in the distribution -WWW: http://epos.ure.cas.cz/ +This is a port for the development version of Epos. + +WWW: http://epos.ufe.cz/