ports/150438: Update audio/flite to 1.4.

Koop Mast kwm at FreeBSD.org
Thu Sep 9 14:10:01 UTC 2010


>Number:         150438
>Category:       ports
>Synopsis:       Update audio/flite to 1.4.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 09 14:10:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 8.1-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD hermes.rainbow-runner.nl 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r210193: Sat Jul 17 18:42:05 CEST 2010 root at hermes.rainbow-runner.nl:/var/obj/usr/src/sys/Hermes amd64


	
Update flite to 1.4.
This also enables shared libraries again.
	<how to correct or work around the problem, if known (multiple lines)>

--- flite-1.4.diff begins here ---
Index: audio/flite/Makefile
===================================================================
RCS file: /home/pcvs/ports/audio/flite/Makefile,v
retrieving revision 1.6
diff -a -u -r1.6 Makefile
--- audio/flite/Makefile	6 Apr 2009 18:42:11 -0000	1.6
+++ audio/flite/Makefile	9 Sep 2010 13:45:11 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	flite
-PORTVERSION=	1.3
+PORTVERSION=	1.4
 CATEGORIES=	audio
 MASTER_SITES=	http://www.speech.cs.cmu.edu/flite/packed/${PORTNAME}-${PORTVERSION}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-release
@@ -15,6 +15,7 @@
 COMMENT=	A small run-time speech synthesis engine
 
 USE_GMAKE=	yes
+USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shared=yes
 USE_LDCONFIG=	yes
@@ -23,6 +24,9 @@
 
 CFLAGS:=	${CFLAGS:N-O:N-O[0123456789]} -O0
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|-pd|-p|g' ${WRKSRC}/main/Makefile
+
 .ifndef NOPORTDOCS
 post-install:
 	@${MKDIR} ${DOCSDIR}
Index: audio/flite/distinfo
===================================================================
RCS file: /home/pcvs/ports/audio/flite/distinfo,v
retrieving revision 1.3
diff -a -u -r1.3 distinfo
--- audio/flite/distinfo	31 Mar 2008 13:23:56 -0000	1.3
+++ audio/flite/distinfo	9 Sep 2010 13:45:11 -0000
@@ -1,3 +1,3 @@
-MD5 (flite-1.3-release.tar.gz) = ae0aca1cb7b4801f4372f3a75a9e52b5
-SHA256 (flite-1.3-release.tar.gz) = 922225f7001e57a0fbace8833b0a48790a68f6c7b491f2d47c78ad537ab78a8b
-SIZE (flite-1.3-release.tar.gz) = 10663835
+MD5 (flite-1.4-release.tar.bz2) = b7c3523b3bbc6f29ce61e6650cd9a428
+SHA256 (flite-1.4-release.tar.bz2) = 45c662160aeca6560589f78daf42ab62c6111dd4d244afc28118c4e6f553cd0c
+SIZE (flite-1.4-release.tar.bz2) = 15163897
Index: audio/flite/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/audio/flite/pkg-plist,v
retrieving revision 1.3
diff -a -u -r1.3 pkg-plist
--- audio/flite/pkg-plist	31 Mar 2008 13:23:56 -0000	1.3
+++ audio/flite/pkg-plist	9 Sep 2010 13:45:11 -0000
@@ -1,14 +1,22 @@
 bin/flite
+bin/flite_cmu_time_awb
+bin/flite_cmu_us_awb
+bin/flite_cmu_us_kal
+bin/flite_cmu_us_kal16
+bin/flite_cmu_us_rms
+bin/flite_cmu_us_slt
 bin/flite_time
 include/flite/cst_alloc.h
 include/flite/cst_args.h
 include/flite/cst_audio.h
 include/flite/cst_cart.h
+include/flite/cst_cg.h
 include/flite/cst_clunits.h
 include/flite/cst_diphone.h
 include/flite/cst_endian.h
 include/flite/cst_error.h
 include/flite/cst_features.h
+include/flite/cst_ffeatures.h
 include/flite/cst_file.h
 include/flite/cst_hrg.h
 include/flite/cst_item.h
@@ -36,20 +44,45 @@
 include/flite/cst_viterbi.h
 include/flite/cst_voice.h
 include/flite/cst_wave.h
+include/flite/cst_wchar.h
 include/flite/flite.h
 include/flite/flite_version.h
 lib/libflite.a
-lib/libflite.shared.a
+lib/libflite.so
+lib/libflite.so.1
+lib/libflite.so.1.4
 lib/libflite_cmu_time_awb.a
-lib/libflite_cmu_time_awb.shared.a
+lib/libflite_cmu_time_awb.so
+lib/libflite_cmu_time_awb.so.1
+lib/libflite_cmu_time_awb.so.1.4
+lib/libflite_cmu_us_awb.a
+lib/libflite_cmu_us_awb.so
+lib/libflite_cmu_us_awb.so.1
+lib/libflite_cmu_us_awb.so.1.4
 lib/libflite_cmu_us_kal.a
-lib/libflite_cmu_us_kal.shared.a
+lib/libflite_cmu_us_kal.so
+lib/libflite_cmu_us_kal.so.1
+lib/libflite_cmu_us_kal.so.1.4
 lib/libflite_cmu_us_kal16.a
-lib/libflite_cmu_us_kal16.shared.a
+lib/libflite_cmu_us_kal16.so
+lib/libflite_cmu_us_kal16.so.1
+lib/libflite_cmu_us_kal16.so.1.4
+lib/libflite_cmu_us_rms.a
+lib/libflite_cmu_us_rms.so
+lib/libflite_cmu_us_rms.so.1
+lib/libflite_cmu_us_rms.so.1.4
+lib/libflite_cmu_us_slt.a
+lib/libflite_cmu_us_slt.so
+lib/libflite_cmu_us_slt.so.1
+lib/libflite_cmu_us_slt.so.1.4
 lib/libflite_cmulex.a
-lib/libflite_cmulex.shared.a
+lib/libflite_cmulex.so
+lib/libflite_cmulex.so.1
+lib/libflite_cmulex.so.1.4
 lib/libflite_usenglish.a
-lib/libflite_usenglish.shared.a
+lib/libflite_usenglish.so
+lib/libflite_usenglish.so.1
+lib/libflite_usenglish.so.1.4
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm include/flite
Index: audio/flite/files/patch-Makefile
===================================================================
RCS file: audio/flite/files/patch-Makefile
diff -N audio/flite/files/patch-Makefile
--- audio/flite/files/patch-Makefile	6 Apr 2009 18:42:11 -0000	1.2
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- Makefile.orig	2009-04-06 21:13:03.211475165 +0300
-+++ Makefile	2009-04-06 21:15:03.930974602 +0300
-@@ -109,7 +109,7 @@
- 	mkdir -p $(INSTALLLIBDIR)
- 	mkdir -p $(INSTALLINCDIR)
- 	$(INSTALL) -m 644 include/*.h $(INSTALLINCDIR)
--	@ $(MAKE) -C lib --no-print-directory install
-+	$(INSTALL) -m 644 $(LIBDIR)/libflite* $(INSTALLLIBDIR)
- 	$(INSTALL) -m 755 bin/flite $(INSTALLBINDIR)
- 	$(INSTALL) -m 755 bin/flite_time $(INSTALLBINDIR)
- 
Index: audio/flite/files/patch-config::common_make_rules
===================================================================
RCS file: audio/flite/files/patch-config::common_make_rules
diff -N audio/flite/files/patch-config::common_make_rules
--- audio/flite/files/patch-config::common_make_rules	18 Dec 2004 18:43:12 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,15 +0,0 @@
-
-$FreeBSD: ports/audio/flite/files/patch-config::common_make_rules,v 1.1 2004/12/18 18:43:12 sobomax Exp $
-
---- config/common_make_rules
-+++ config/common_make_rules
-@@ -88,8 +88,7 @@
- 	@ rm -rf shared_os && mkdir shared_os
- 	@ rm -f $@ $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} 
- 	@ (cd shared_os && ar x ../$<)
--	@ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_VERSION} *.os)
--	@ ln -s $(LIBDIR)/$@.${PROJECT_VERSION} $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION}
-+	@ (cd shared_os && $(CC) -shared -Wl,-soname,$@.${PROJECT_SHLIB_VERSION} -o ../$@.${PROJECT_SHLIB_VERSION} *.os)
- 	@ ln -s $(LIBDIR)/$@.${PROJECT_SHLIB_VERSION} $(LIBDIR)/$@
- 	@ rm -rf shared_os
- 
Index: audio/flite/files/patch-configure
===================================================================
RCS file: /home/pcvs/ports/audio/flite/files/patch-configure,v
retrieving revision 1.2
diff -a -u -r1.2 patch-configure
--- audio/flite/files/patch-configure	31 Mar 2008 13:23:57 -0000	1.2
+++ audio/flite/files/patch-configure	9 Sep 2010 13:45:11 -0000
@@ -1,18 +1,18 @@
 
 $FreeBSD: ports/audio/flite/files/patch-configure,v 1.2 2008/03/31 13:23:57 pav Exp $
 
---- configure.orig
-+++ configure
-@@ -2772,7 +2772,7 @@
+--- configure.orig	2009-08-14 22:50:59.000000000 +0200
++++ configure	2010-09-09 15:07:27.000000000 +0200
+@@ -4079,7 +4079,7 @@
  OTHERLIBS=
  if test "$shared" = true; then
     case "$target_os" in
--	linux*)
-+	linux*|*bsd*)
+-	linux*|k*bsd*-gnu|gnu*)
++	linux*|k*bsd*-gnu|gnu*|*bsd*)
  		SHFLAGS="-fPIC"
          ;;
  	solaris*)
-@@ -3989,7 +3989,7 @@
+@@ -4893,7 +4893,7 @@
  	    AUDIODEFS=-DCST_AUDIO_ALSA
              AUDIOLIBS=-lasound
  	    ;;
@@ -21,5 +21,3 @@
  	    AUDIODRIVER=oss
  	    AUDIODEFS=-DCST_AUDIO_FREEBSD
  	    ;;
-
-
Index: audio/flite/files/patch-tools-huff_table
===================================================================
RCS file: audio/flite/files/patch-tools-huff_table
diff -N audio/flite/files/patch-tools-huff_table
--- audio/flite/files/patch-tools-huff_table	31 Mar 2008 13:23:57 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,59 +0,0 @@
-
-$FreeBSD: ports/audio/flite/files/patch-tools-huff_table,v 1.1 2008/03/31 13:23:57 pav Exp $
-
---- tools/huff_table.orig
-+++ tools/huff_table
-@@ -62,7 +62,7 @@ export LANG
- ## 0 is reserved, 1 is reserved too
- ALPHABET_SIZE=254
- 
--if [ $1 == "entries" ]
-+if [ $1 = "entries" ]
- then 
-    infile=$2
-    outfile=$3
-@@ -74,7 +74,7 @@ then 
-          printf("\n");}' >huff.tmp.corpus
- fi
- 
--if [ $1 == "phones" ]
-+if [ $1 = "phones" ]
- then 
-    infile=$2
-    outfile=$3
-@@ -83,7 +83,7 @@ then 
-    sed 's/\\/ /g' >huff.tmp.corpus
- fi
- 
--if [ $1 == "residual" ]
-+if [ $1 = "residual" ]
- then 
-    # This really doesn't work: just some tests to see what's worthwhile
-    infile=$2
-@@ -110,7 +110,7 @@ then 
-    sed 's/,//g;s/};//' >huff.tmp.corpus
- fi
- 
--if [ $1 == "other" ]
-+if [ $1 = "other" ]
- then
-    infile=$2
-    outfile=$3
-@@ -242,7 +242,7 @@ awk 'BEGIN {'"$maptable"'}
-         printf("\n");
-      }' > huff.tmp.corpus.uncompressed
- 
--if [ $1 == "phones" ]
-+if [ $1 = "phones" ]
- then
-    cat huff.tmp.corpus.best |
-    sed 's/+/\\/g' |
-@@ -259,7 +259,7 @@ then
-    mv huff.tmp.corpus.compressed huff.phones.compressed
- fi
- 
--if [ $1 == "entries" ]
-+if [ $1 = "entries" ]
- then
-    cat huff.tmp.corpus.best |
-    sed 's/+//g' |
--- flite-1.4.diff ends here ---


>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list