Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2012 17:09:22 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308911 - in head/audio: sphinx3 sphinx3/files sphinxbase
Message-ID:  <201212141709.qBEH9M0L004861@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Fri Dec 14 17:09:21 2012
New Revision: 308911
URL: http://svnweb.freebsd.org/changeset/ports/308911

Log:
  - Update sphinx3 and sphinxbase to 0.8.
  - Add a patch to make sphinx3 compile.  I can not figure out what compiler they used when releasing this.
    Upstream will be contacted.
  - Pet portlint

Added:
  head/audio/sphinx3/files/
  head/audio/sphinx3/files/patch-src_libs3decoder_libsearch_vithist.c   (contents, props changed)
Modified:
  head/audio/sphinx3/Makefile
  head/audio/sphinx3/distinfo
  head/audio/sphinxbase/Makefile
  head/audio/sphinxbase/distinfo
  head/audio/sphinxbase/pkg-plist

Modified: head/audio/sphinx3/Makefile
==============================================================================
--- head/audio/sphinx3/Makefile	Fri Dec 14 15:47:00 2012	(r308910)
+++ head/audio/sphinx3/Makefile	Fri Dec 14 17:09:21 2012	(r308911)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	sphinx3
-PORTVERSION=	0.7
+PORTVERSION=	0.8
 CATEGORIES=	audio accessibility
 MASTER_SITES=	SF/cmusphinx/${PORTNAME}/${PORTVERSION}
 
@@ -11,13 +11,14 @@ COMMENT=	Speech recognition system
 
 LIB_DEPENDS=	sphinxbase:${PORTSDIR}/audio/sphinxbase
 
-BROKEN=		does not compile
-
 USE_LDCONFIG=	yes
 USE_GMAKE=	yes
 USE_AUTOTOOLS=libtool
+USE_CSTD=	gnu99
+MAKE_JOBS_UNSAFE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/sphinxbase
+CFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
+CXXFLAGS+=	-I${LOCALBASE}/include #-I${LOCALBASE}/include/sphinxbase
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAKE_ENV=	MKDIR="${MKDIR}" \

Modified: head/audio/sphinx3/distinfo
==============================================================================
--- head/audio/sphinx3/distinfo	Fri Dec 14 15:47:00 2012	(r308910)
+++ head/audio/sphinx3/distinfo	Fri Dec 14 17:09:21 2012	(r308911)
@@ -1,2 +1,2 @@
-SHA256 (sphinx3-0.7.tar.gz) = 5f2cf463e7aa4b4991492b707b3b82c15cc7bf0698530bdbbfbb8e2daebaf69a
-SIZE (sphinx3-0.7.tar.gz) = 25219945
+SHA256 (sphinx3-0.8.tar.gz) = 1cf76a086f9b509e35f7226df2e61b0a0bf8b0858b9676e5b18cfc47b2ea2741
+SIZE (sphinx3-0.8.tar.gz) = 25226326

Added: head/audio/sphinx3/files/patch-src_libs3decoder_libsearch_vithist.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/sphinx3/files/patch-src_libs3decoder_libsearch_vithist.c	Fri Dec 14 17:09:21 2012	(r308911)
@@ -0,0 +1,11 @@
+--- src/libs3decoder/libsearch/vithist.c.orig	2012-12-14 12:01:13.000000000 -0500
++++ src/libs3decoder/libsearch/vithist.c	2012-12-14 12:00:44.000000000 -0500
+@@ -647,7 +647,7 @@ vithist_prune(vithist_t * vh, dict_t * d
+ {
+     int32 se, fe, filler_done, th;
+     vithist_entry_t *ve;
+-    heap_t h;
++    heap_t* h;
+     s3wid_t *wid;
+     int32 i;
+ 

Modified: head/audio/sphinxbase/Makefile
==============================================================================
--- head/audio/sphinxbase/Makefile	Fri Dec 14 15:47:00 2012	(r308910)
+++ head/audio/sphinxbase/Makefile	Fri Dec 14 17:09:21 2012	(r308911)
@@ -2,14 +2,14 @@
 # $FreeBSD$
 
 PORTNAME=	sphinxbase
-PORTVERSION=	0.7
+PORTVERSION=	0.8
 CATEGORIES=	audio accessibility
 MASTER_SITES=	SF/cmusphinx/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	CMU Sphinx Speech recognition system base
 
-BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison 
+BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison
 
 USE_LDCONFIG=	yes
 USE_GMAKE=	yes

Modified: head/audio/sphinxbase/distinfo
==============================================================================
--- head/audio/sphinxbase/distinfo	Fri Dec 14 15:47:00 2012	(r308910)
+++ head/audio/sphinxbase/distinfo	Fri Dec 14 17:09:21 2012	(r308911)
@@ -1,2 +1,2 @@
-SHA256 (sphinxbase-0.7.tar.gz) = 389cb99a545f7d615a2b3bc3f7362a490ca45fc4dc440140ae1d2a41f87773ec
-SIZE (sphinxbase-0.7.tar.gz) = 3291922
+SHA256 (sphinxbase-0.8.tar.gz) = 55708944872bab1015b8ae07b379bf463764f469163a8fd114cbb16c5e486ca8
+SIZE (sphinxbase-0.8.tar.gz) = 3313197

Modified: head/audio/sphinxbase/pkg-plist
==============================================================================
--- head/audio/sphinxbase/pkg-plist	Fri Dec 14 15:47:00 2012	(r308910)
+++ head/audio/sphinxbase/pkg-plist	Fri Dec 14 17:09:21 2012	(r308911)
@@ -32,7 +32,6 @@ include/sphinxbase/heap.h
 include/sphinxbase/huff_code.h
 include/sphinxbase/info.h
 include/sphinxbase/jsgf.h
-include/sphinxbase/libutil.h
 include/sphinxbase/listelem_alloc.h
 include/sphinxbase/logmath.h
 include/sphinxbase/matrix.h



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