Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2015 20:09:49 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402619 - in head/audio/festival: . files
Message-ID:  <201511292009.tATK9nO0012949@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Nov 29 20:09:49 2015
New Revision: 402619
URL: https://svnweb.freebsd.org/changeset/ports/402619

Log:
  audio/festival: 2.1 -> 2.4
  
  - Updated HTS and CG engines
  - Support for newer compilers
  - Bug fixes galore.
  
  PR:		204754
  Submitted by:	Michael Danilov <mike.d.ft402@gmail.com>
  Approved by:	mi (maintainer)

Added:
  head/audio/festival/files/patch-festival_src_modules_hts_engine_HTS_misc.c   (contents, props changed)
Deleted:
  head/audio/festival/files/patch-debian-bug-667377
Modified:
  head/audio/festival/Makefile
  head/audio/festival/distinfo
  head/audio/festival/files/patch-voxware
  head/audio/festival/pkg-plist

Modified: head/audio/festival/Makefile
==============================================================================
--- head/audio/festival/Makefile	Sun Nov 29 20:06:29 2015	(r402618)
+++ head/audio/festival/Makefile	Sun Nov 29 20:09:49 2015	(r402619)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	festival
-PORTVERSION=	2.1
-PORTREVISION=	1
+PORTVERSION=	2.4
 CATEGORIES=	audio accessibility
 MASTER_SITES=	FESTIVAL
 DISTFILES=	${DISTNAME}-release.tar.gz 	\
@@ -41,19 +40,8 @@ MAKE_ARGS+=	CC="${CC}" GCC="${CC}" \
 		EST_HOME=${SPEECHTOOLS}
 WRKSRC=		${WRKDIR}
 
-SPT_PATCHES=	base__class_EST__TVector.cc	\
-		base__class_inst__tmpl_vector__dmatrix__t.cc	\
-		base__class_inst__tmpl_vector__dvector__t.cc	\
-		base__class_inst__tmpl_vector__fmatrix__t.cc	\
-		config_compilers_gcc__defaults.mak	\
-		include_EST__Ngrammar.h	\
-		include_EST__SCFG.h	\
-		include_EST__String.h	\
-		include_EST__error.h	\
-		include_ling__class_EST__FeatureFunctionPackage.h	\
-		include_unix_EST__socket__unix.h	\
-		stats_dynamic__program.cc	\
-		utils_EST__ServiceTable.cc
+SPT_PATCHES=	include_ling__class_EST__FeatureFunctionPackage.h	\
+		include_unix_EST__socket__unix.h
 
 do-build:
 .for d in speech_tools festival

Modified: head/audio/festival/distinfo
==============================================================================
--- head/audio/festival/distinfo	Sun Nov 29 20:06:29 2015	(r402618)
+++ head/audio/festival/distinfo	Sun Nov 29 20:09:49 2015	(r402619)
@@ -1,7 +1,7 @@
-SHA256 (festival/festival-2.1-release.tar.gz) = 06f3dcbad9d26e27443fc66947a0faf0c6679482220df4b5f42a261adf758080
-SIZE (festival/festival-2.1-release.tar.gz) = 787313
-SHA256 (festival/speech_tools-2.1-release.tar.gz) = ff6167cd929a88e2f91b47191c6c4dae87c9c06ba39fccc4465af9d79e9b2be9
-SIZE (festival/speech_tools-2.1-release.tar.gz) = 1681999
+SHA256 (festival/festival-2.4-release.tar.gz) = 1e47f293e0857ffde2bccead97947c040ea0b35ea12dd5796edb51583e5e5d84
+SIZE (festival/festival-2.4-release.tar.gz) = 788656
+SHA256 (festival/speech_tools-2.4-release.tar.gz) = fbc2482c443919aa79d2e599d6a5faee4e793df55a79ef377f1dc7e8ba237010
+SIZE (festival/speech_tools-2.4-release.tar.gz) = 1329613
 SHA256 (festival/src_modules_diphone_diphone.h.diff?id=b58a836) = 148ecd31aef84d5823470d339b3104b73af099404ab957fcee838520f8808104
 SIZE (festival/src_modules_diphone_diphone.h.diff?id=b58a836) = 870
 SHA256 (festival/src_modules_diphone_di_io.cc.diff?id=b58a836) = 0dfbe69e30ce8fbe695d30fed42a10c79bc6525dd4e971432a669c88bec4e048
@@ -36,10 +36,6 @@ SHA256 (festival/patch-speech__tools_inc
 SIZE (festival/patch-speech__tools_include_EST__SCFG.h) = 519
 SHA256 (festival/patch-speech__tools_include_EST__String.h) = ce8b3513bf218fd369716101fb0b3defc8ddb4d8a57e28df2c0e80f95fe52e74
 SIZE (festival/patch-speech__tools_include_EST__String.h) = 1068
-SHA256 (festival/patch-speech__tools_include_EST__TIterator.h) = c44d8125a04447a63e8458cee910cd7fe4aa84d31d4c06139b76ae168c66bcf7
-SIZE (festival/patch-speech__tools_include_EST__TIterator.h) = 730
-SHA256 (festival/patch-speech__tools_include_EST__TNamedEnum.h) = c825a92c81ecdda555963319c400a026aa797c694897e2a6a232ea94660d6557
-SIZE (festival/patch-speech__tools_include_EST__TNamedEnum.h) = 608
 SHA256 (festival/patch-speech__tools_include_EST__error.h) = ad43dcfa0fb0222d3cfc86cc2a316badbe1f2e27b663a91139ee3ccc3fd325e5
 SIZE (festival/patch-speech__tools_include_EST__error.h) = 1210
 SHA256 (festival/patch-speech__tools_include_ling__class_EST__FeatureFunctionPackage.h) = 2249d192d1c16697e0971263a1c1c1d8dbfecfe080c077abe49765e703775157

Added: head/audio/festival/files/patch-festival_src_modules_hts_engine_HTS_misc.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/festival/files/patch-festival_src_modules_hts_engine_HTS_misc.c	Sun Nov 29 20:09:49 2015	(r402619)
@@ -0,0 +1,14 @@
+--- festival/src/modules/hts_engine/HTS_misc.c.orig	2013-07-03 19:43:35.000000000 +0600
++++ festival/src/modules/hts_engine/HTS_misc.c	2015-11-22 20:43:30.055818000 +0500
+@@ -245,11 +245,7 @@
+    } else if (fp->type == HTS_FILE) {
+       fpos_t pos;
+       fgetpos((FILE *) fp->pointer, &pos);
+-#if defined(_WIN32) || defined(__CYGWIN__) || defined(__APPLE__)
+       return (size_t) pos;
+-#else
+-      return (size_t) pos.__pos;
+-#endif                          /* _WIN32 || __APPLE__ */
+    }
+    HTS_error(0, "HTS_ftell: Unknown file type.\n");
+    return 0;

Modified: head/audio/festival/files/patch-voxware
==============================================================================
--- head/audio/festival/files/patch-voxware	Sun Nov 29 20:06:29 2015	(r402618)
+++ head/audio/festival/files/patch-voxware	Sun Nov 29 20:09:49 2015	(r402619)
@@ -29,18 +29,11 @@
  #include <fcntl.h>
 -int linux16_supported = TRUE;
 -int freebsd16_supported = FALSE;
--static char *aud_sys_name = "Linux";
+-static const char *aud_sys_name = "Linux";
 +
  static int stereo_only = 0;
  
-@@ -152,5 +156,5 @@
-     int audio,actual_fmt;
-     int i,r,n;
--    char *audiodevice;
-+    const char *audiodevice;
- 
-     if (al.present("-audiodevice"))
-@@ -279,5 +283,5 @@
+@@ -764,5 +768,5 @@
      int audio=-1,actual_fmt;
      int i,r,n;
 -    char *audiodevice;

Modified: head/audio/festival/pkg-plist
==============================================================================
--- head/audio/festival/pkg-plist	Sun Nov 29 20:06:29 2015	(r402618)
+++ head/audio/festival/pkg-plist	Sun Nov 29 20:09:49 2015	(r402619)
@@ -26,12 +26,12 @@ man/man1/festival_client.1.gz
 %%DATADIR%%/examples/intro.text
 %%DATADIR%%/examples/latest
 %%DATADIR%%/examples/latest.sh
-%%DATADIR%%/examples/run-festival-script
-%%DATADIR%%/examples/run-festival-script.sh
 %%DATADIR%%/examples/make_utts
 %%DATADIR%%/examples/make_utts.sh
 %%DATADIR%%/examples/powmeanstd
 %%DATADIR%%/examples/powmeanstd.sh
+%%DATADIR%%/examples/run-festival-script
+%%DATADIR%%/examples/run-festival-script.sh
 %%DATADIR%%/examples/saytime
 %%DATADIR%%/examples/saytime.sh
 %%DATADIR%%/examples/scfg_parse_text
@@ -52,6 +52,8 @@ man/man1/festival_client.1.gz
 %%DATADIR%%/examples/spintro.text
 %%DATADIR%%/examples/text2pos
 %%DATADIR%%/examples/text2pos.sh
+%%DATADIR%%/examples/text2utt
+%%DATADIR%%/examples/text2utt.sh
 %%DATADIR%%/examples/text2wave
 %%DATADIR%%/examples/text2wave.sh
 %%DATADIR%%/examples/th-mode.scm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511292009.tATK9nO0012949>