Date: Fri, 11 Sep 2009 14:20:03 GMT From: Tilman Linneweh <arved@freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/138602: audio/sphinxbase port update Message-ID: <200909111420.n8BEK3iV070440@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/138602; 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/138602: audio/sphinxbase port update Date: Fri, 11 Sep 2009 16:10:21 +0200 --Boundary-00=_NplqKuA5kPSTu3g 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=_NplqKuA5kPSTu3g Content-Type: text/x-diff; charset="iso 8859-15"; name="sphinxbase.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="sphinxbase.patch" ? .Makefile.swp ? .pkg-plist.swp ? 138602 ? pr-patch ? sphinxbase.diff ? sphinxbase.patch ? work Index: Makefile =================================================================== RCS file: /home/pcvs/ports/audio/sphinxbase/Makefile,v retrieving revision 1.4 diff -u -r1.4 Makefile --- Makefile 22 Aug 2009 00:13:21 -0000 1.4 +++ Makefile 11 Sep 2009 14:09:12 -0000 @@ -2,28 +2,32 @@ # Date created: 8 Jan 2008 # Whom: r.neese # -# $FreeBSD: ports/audio/sphinxbase/Makefile,v 1.4 2009/08/22 00:13:21 amdmi3 Exp $ +# $FreeBSD: ports/audio/sphinxbase/Makefile,v 1.2 2008/07/25 09:08:40 pav Exp $ # PORTNAME= sphinxbase -PORTVERSION= 0.3 -PORTREVISION= 1 +PORTVERSION= 0.4.1 CATEGORIES= audio accessibility -MASTER_SITES= SF/cmusphinx/${PORTNAME}/${PORTVERSION} +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= cmusphinx/sphinxbase/${PORTVERSION}/ MAINTAINER= r.neese@gmail.com COMMENT= CMU SPhinx Speech recognition system base USE_LDCONFIG= yes PKGMESSAGE= ${WRKDIR}/pkg-message +GNU_CONFIGURE= yes USE_GMAKE= yes -USE_GNOME= gnomehack -USE_AUTOTOOLS= libtool:22 - +USE_AUTOTOOLS= libtool:22 automake:110 +USE_PYTHON= yes +PLIST_SUB= PYVER=${PYTHON_VERSION:S/python//} \ + PORTVERSION=${PORTVERSION} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" - MAKE_ENV= MKDIR="${MKDIR}" \ OSVERSION=${OSVERSION} +post-patch: + @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' ${WRKSRC}/Makefile.am + .include <bsd.port.mk> Index: distinfo =================================================================== RCS file: /home/pcvs/ports/audio/sphinxbase/distinfo,v retrieving revision 1.1 diff -u -r1.1 distinfo --- distinfo 22 Mar 2008 20:36:38 -0000 1.1 +++ distinfo 11 Sep 2009 14:09:12 -0000 @@ -1,3 +1,3 @@ -MD5 (sphinxbase-0.3.tar.gz) = 4a00720a5fa42947e1f477e8a7325454 -SHA256 (sphinxbase-0.3.tar.gz) = 0497a39d926fb0faa5fab28391821743225cd332e7b582419c60b0db7e6fbaa2 -SIZE (sphinxbase-0.3.tar.gz) = 1841919 +MD5 (sphinxbase-0.4.1.tar.gz) = b3b34a4de1040e0c54c2698c8ed4aa44 +SHA256 (sphinxbase-0.4.1.tar.gz) = 366805a9134298687af65eee503dddf85c8b5fe83ef38d23ec052e0ea598cb91 +SIZE (sphinxbase-0.4.1.tar.gz) = 2126416 Index: pkg-plist =================================================================== RCS file: /home/pcvs/ports/audio/sphinxbase/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 22 Mar 2008 20:36:38 -0000 1.1 +++ pkg-plist 11 Sep 2009 14:09:12 -0000 @@ -1,5 +1,11 @@ bin/sphinx_cepview +bin/sphinx_cont_adseg +bin/sphinx_cont_fileseg bin/sphinx_fe +bin/sphinx_jsgf2fsg +bin/sphinx_lm_eval +bin/sphinx_lm_sort +bin/sphinx_pitch include/sphinxbase/ad.h include/sphinxbase/agc.h include/sphinxbase/bio.h @@ -17,38 +23,39 @@ include/sphinxbase/feat.h include/sphinxbase/filename.h include/sphinxbase/fixpoint.h +include/sphinxbase/fsg_model.h include/sphinxbase/genrand.h include/sphinxbase/glist.h include/sphinxbase/hash_table.h include/sphinxbase/heap.h include/sphinxbase/info.h +include/sphinxbase/jsgf.h include/sphinxbase/libutil.h -include/sphinxbase/linklist.h +include/sphinxbase/listelem_alloc.h +include/sphinxbase/logmath.h include/sphinxbase/matrix.h +include/sphinxbase/mmio.h include/sphinxbase/mulaw.h +include/sphinxbase/ngram_model.h include/sphinxbase/pio.h include/sphinxbase/prim_type.h include/sphinxbase/profile.h -include/sphinxbase/s3_arraylist.h +include/sphinxbase/sbthread.h include/sphinxbase/sphinx_config.h -include/sphinxbase/sphinx_types.h +include/sphinxbase/sphinxbase.pxd +include/sphinxbase/sphinxbase_export.h include/sphinxbase/strfuncs.h include/sphinxbase/unlimit.h +include/sphinxbase/yin.h lib/libsphinxad.a lib/libsphinxad.la lib/libsphinxad.so lib/libsphinxad.so.0 -lib/libsphinxfe.a -lib/libsphinxfe.la -lib/libsphinxfe.so -lib/libsphinxfe.so.0 -lib/libsphinxfeat.a -lib/libsphinxfeat.la -lib/libsphinxfeat.so -lib/libsphinxfeat.so.0 -lib/libsphinxutil.a -lib/libsphinxutil.la -lib/libsphinxutil.so -lib/libsphinxutil.so.0 +lib/libsphinxbase.a +lib/libsphinxbase.la +lib/libsphinxbase.so +lib/libsphinxbase.so.1 +%%PYTHON_SITELIBDIR%%/SphinxBase-%%PORTVERSION%%-py%%PYVER%%.egg-info +%%PYTHON_SITELIBDIR%%/sphinxbase.so libdata/pkgconfig/sphinxbase.pc @dirrm include/sphinxbase Index: files/patch-configure =================================================================== RCS file: files/patch-configure diff -N files/patch-configure --- files/patch-configure 2 Aug 2009 19:32:26 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,30 +0,0 @@ ---- configure.orig 2009-07-13 10:53:01.000000000 -0500 -+++ configure 2009-07-13 10:54:06.000000000 -0500 -@@ -7166,7 +7166,8 @@ - - if test "x$ad_files" = "x"; then - case $host in -- *-*-linux*|*-*-uclinux*) -+ *-*-linux*|*-*-uclinux*| \ -+ *-*-freebsd*|*-*-netbsd*|*-*-openbsd*) - ad_files="ad_oss.lo" - ad_backend="AD_BACKEND_OSS" - -@@ -7175,17 +7176,6 @@ - _ACEOF - - ;; -- # FIXME: isn't this the same OSS as on Linux? -- *-*-freebsd*|*-*-netbsd*|*-*-openbsd*) -- ad_files="ad_oss_bsd.lo mulaw_base.lo" -- ad_libs="-lossaudio" -- ad_backend="AD_BACKEND_OSS_BSD" -- --cat >>confdefs.h <<\_ACEOF --#define AD_BACKEND_OSS_BSD --_ACEOF -- -- ;; - *-*-osf*) - ad_files="ad_osf.lo mulaw_base.lo" - ad_backend="AD_BACKEND_OSF" Index: files/patch-src-libsphinxad_ad_oss_bsd.c =================================================================== RCS file: files/patch-src-libsphinxad_ad_oss_bsd.c diff -N files/patch-src-libsphinxad_ad_oss_bsd.c --- files/patch-src-libsphinxad_ad_oss_bsd.c 22 Mar 2008 20:36:38 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,14 +0,0 @@ ---- src/libsphinxad/ad_oss_bsd.c (revision 7548) -+++ src/libsphinxad/ad_oss_bsd.c (working copy) -@@ -65,11 +65,7 @@ - #include <stdlib.h> - #include <string.h> - #include <sys/ioctl.h> --#if defined(SYS_SOUNDCARD_H) - #include <sys/soundcard.h> --#else --#include <soundcard.h> --#endif - #include <errno.h> - #include <config.h> - Index: files/patch-test-unit-test_case_ucase3.test =================================================================== RCS file: files/patch-test-unit-test_case_ucase3.test diff -N files/patch-test-unit-test_case_ucase3.test --- files/patch-test-unit-test_case_ucase3.test 22 Mar 2008 20:36:38 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,9 +0,0 @@ ---- test/unit/test_case/_ucase3.test (revision 7548) -+++ test/unit/test_case/_ucase3.test (working copy) -@@ -1,2 +1,2 @@ --#!/bin/bash --./chgCase ucase -\ No newline at end of file -+#!/bin/sh -+./chgCase ucase - --Boundary-00=_NplqKuA5kPSTu3g--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200909111420.n8BEK3iV070440>