Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2009 14:10:05 GMT
From:      Tilman Linneweh <arved@freebsd.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/138601: audio/pocketsphinx port upgrade patch
Message-ID:  <200909111410.n8BEA5f5059792@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/138601; it has been noted by GNATS.

From: Tilman Linneweh <arved@freebsd.org>
To: bug-followup@freebsd.org, r.neese@gmail.com, arved@freebsd.org
Cc:  
Subject: Re: ports/138601: audio/pocketsphinx port upgrade patch
Date: Fri, 11 Sep 2009 16:08:19 +0200

 --Boundary-00=_UnlqKbDYJ22ZuLY
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 As discussed on IRC, here is what i fixed so far, regarding the python 
 dependency
 
 --Boundary-00=_UnlqKbDYJ22ZuLY
 Content-Type: text/x-diff;
   charset="iso 8859-15";
   name="pocketsphinx.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="pocketsphinx.patch"
 
 ? .Makefile.swp
 ? 138601
 ? man-plist
 ? pocketsphinx.patch
 ? pr-patch
 ? work
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/audio/pocketsphinx/Makefile,v
 retrieving revision 1.4
 diff -u -r1.4 Makefile
 --- Makefile	22 Aug 2009 00:13:17 -0000	1.4
 +++ Makefile	11 Sep 2009 14:06:57 -0000
 @@ -2,23 +2,26 @@
  # Date created:				3 Jan 2008
  # Whom:					Richard Neese
  #
 -# $FreeBSD: ports/audio/pocketsphinx/Makefile,v 1.4 2009/08/22 00:13:17 amdmi3 Exp $
 +# $FreeBSD: ports/audio/pocketsphinx/Makefile,v 1.2 2008/07/25 09:08:39 pav Exp $
  #
  
  PORTNAME=	pocketsphinx
 -PORTVERSION=	0.4.1
 +PORTVERSION=	0.5.1
  CATEGORIES=	audio accessibility
 -MASTER_SITES=	SF/cmusphinx/${PORTNAME}/${PORTVERSION}
 +MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 +MASTER_SITE_SUBDIR=	cmusphinx/pocketsphinx/0.5.1/
  
  MAINTAINER=	r.neese@gmail.com
  COMMENT=	Speech recognition system
  
 -LIB_DEPENDS=	sphinxfe.0:${PORTSDIR}/audio/sphinxbase
 +LIB_DEPENDS=	sphinxbase.1:${PORTSDIR}/audio/sphinxbase
  
  USE_LDCONFIG=	yes
  USE_GMAKE=	yes
  USE_AUTOTOOLS=	libtool:22
 -
 +USE_PYTHON=	yes
 +PLIST_SUB=	PYVER=${PYTHON_VERSION:S/python//} \
 +		PORTVERSION=${PORTVERSION}
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/sphinxbase" \
  		LDFLAGS="-L${LOCALBASE}/lib"
  
 Index: distinfo
 ===================================================================
 RCS file: /home/pcvs/ports/audio/pocketsphinx/distinfo,v
 retrieving revision 1.1
 diff -u -r1.1 distinfo
 --- distinfo	22 Mar 2008 20:37:29 -0000	1.1
 +++ distinfo	11 Sep 2009 14:06:57 -0000
 @@ -1,3 +1,3 @@
 -MD5 (pocketsphinx-0.4.1.tar.gz) = 1ac25a77c82c4b33cad3ca698357ad43
 -SHA256 (pocketsphinx-0.4.1.tar.gz) = 4906abc5f1eaadb036d43de692d495387791fee72b63276f0bbca02d7ef1d0cb
 -SIZE (pocketsphinx-0.4.1.tar.gz) = 8931969
 +MD5 (pocketsphinx-0.5.1.tar.gz) = 9016b6b601e4491cfcdf29dad91dc499
 +SHA256 (pocketsphinx-0.5.1.tar.gz) = 8b67b64e1f3356e3ed4006e5a8d512b9aa5c7b6fa7feac6755c156769fea1a75
 +SIZE (pocketsphinx-0.5.1.tar.gz) = 11470603
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/audio/pocketsphinx/pkg-plist,v
 retrieving revision 1.1
 diff -u -r1.1 pkg-plist
 --- pkg-plist	22 Mar 2008 20:37:29 -0000	1.1
 +++ pkg-plist	11 Sep 2009 14:06:57 -0000
 @@ -1,52 +1,22 @@
  bin/pocketsphinx_batch
  bin/pocketsphinx_continuous
  bin/pocketsphinx_mdef_convert
 -bin/pocketsphinx_ptt
 -bin/pocketsphinx_swb
  bin/pocketsphinx_test
  bin/pocketsphinx_tidigits
 -include/pocketsphinx/basic_types.h
 -include/pocketsphinx/bin_mdef.h
 -include/pocketsphinx/blkarray_list.h
 -include/pocketsphinx/cache_lm.h
 +bin/pocketsphinx_wsj
  include/pocketsphinx/cmdln_macro.h
 -include/pocketsphinx/dict.h
 -include/pocketsphinx/fbs.h
 -include/pocketsphinx/fsg_history.h
 -include/pocketsphinx/fsg_lextree.h
 -include/pocketsphinx/fsg_psubtree.h
 -include/pocketsphinx/fsg_search.h
 -include/pocketsphinx/hmm.h
 -include/pocketsphinx/kb.h
 -include/pocketsphinx/kdtree.h
 -include/pocketsphinx/lm.h
 -include/pocketsphinx/lm_3g.h
 -include/pocketsphinx/lmclass.h
 -include/pocketsphinx/log.h
 -include/pocketsphinx/magic.h
 -include/pocketsphinx/mdef.h
 -include/pocketsphinx/phone.h
 -include/pocketsphinx/posixwin32.h
 -include/pocketsphinx/s2_semi_mgau.h
 -include/pocketsphinx/s2io.h
 -include/pocketsphinx/s2params.h
 -include/pocketsphinx/s2types.h
 -include/pocketsphinx/search.h
 -include/pocketsphinx/search_const.h
 -include/pocketsphinx/senscr.h
 -include/pocketsphinx/subvq_mgau.h
 -include/pocketsphinx/tmat.h
 -include/pocketsphinx/vector.h
 -include/pocketsphinx/word_fsg.h
 +include/pocketsphinx/fsg_set.h
 +include/pocketsphinx/pocketsphinx.h
 +include/pocketsphinx/pocketsphinx.pxd
 +include/pocketsphinx/pocketsphinx_export.h
 +include/pocketsphinx/ps_lattice.h
  lib/libpocketsphinx.a
  lib/libpocketsphinx.la
  lib/libpocketsphinx.so
 -lib/libpocketsphinx.so.0
 +lib/libpocketsphinx.so.1
 +%%PYTHON_SITELIBDIR%%/PocketSphinx-%%PORTVERSION%%-py%%PYVER%%.egg-info
 +%%PYTHON_SITELIBDIR%%/pocketsphinx.so
  libdata/pkgconfig/pocketsphinx.pc
 -%%DATADIR%%/model/hmm/an4/mdef
 -%%DATADIR%%/model/hmm/an4/mixture_weights
 -%%DATADIR%%/model/hmm/an4/subvq
 -%%DATADIR%%/model/hmm/an4/transition_matrices
  %%DATADIR%%/model/hmm/tidigits/feat.params
  %%DATADIR%%/model/hmm/tidigits/mdef
  %%DATADIR%%/model/hmm/tidigits/means
 @@ -61,11 +31,7 @@
  %%DATADIR%%/model/hmm/wsj1/sendump
  %%DATADIR%%/model/hmm/wsj1/transition_matrices
  %%DATADIR%%/model/hmm/wsj1/variances
 -%%DATADIR%%/model/lm/swb/swb.dic
 -%%DATADIR%%/model/lm/swb/swb.lm.DMP
 -%%DATADIR%%/model/lm/tidigits/an4.dic
 -%%DATADIR%%/model/lm/tidigits/an4.ug.lm
 -%%DATADIR%%/model/lm/tidigits/an4.ug.lm.DMP
 +%%DATADIR%%/model/lm/cmudict.0.6d
  %%DATADIR%%/model/lm/tidigits/test.digits.fsg
  %%DATADIR%%/model/lm/tidigits/tidigits.dic
  %%DATADIR%%/model/lm/tidigits/tidigits.lm
 @@ -82,13 +48,14 @@
  %%DATADIR%%/model/lm/turtle/turtle.sent
  %%DATADIR%%/model/lm/turtle/turtle.token
  %%DATADIR%%/model/lm/turtle/turtle.vocab
 +%%DATADIR%%/model/lm/wsj/wlist5o.3e-7.vp.tg.lm.DMP
 +%%DATADIR%%/model/lm/wsj/wlist5o.dic
 +@dirrm %%DATADIR%%/model/lm/wsj
  @dirrm %%DATADIR%%/model/lm/turtle
  @dirrm %%DATADIR%%/model/lm/tidigits
 -@dirrm %%DATADIR%%/model/lm/swb
  @dirrm %%DATADIR%%/model/lm
  @dirrm %%DATADIR%%/model/hmm/wsj1
  @dirrm %%DATADIR%%/model/hmm/tidigits
 -@dirrm %%DATADIR%%/model/hmm/an4
  @dirrm %%DATADIR%%/model/hmm
  @dirrm %%DATADIR%%/model
  @dirrm %%DATADIR%%
 
 --Boundary-00=_UnlqKbDYJ22ZuLY--



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