Bug 169426 - update of audio/sphinxbase
Summary: update of audio/sphinxbase
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jase Thew
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-25 20:00 UTC by RIchard Neese
Modified: 2012-08-28 12:20 UTC (History)
0 users

See Also:


Attachments
sphinxbase.diff (2.97 KB, patch)
2012-06-25 20:34 UTC, RIchard Neese
no flags Details | Diff
sphinxbase.diff (3.15 KB, patch)
2012-07-03 18:16 UTC, RIchard Neese
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description RIchard Neese 2012-06-25 20:00:15 UTC
update the sphinxbase to 0.7
Comment 1 RIchard Neese 2012-06-25 20:34:36 UTC
On 6/25/2012 3:00 PM, FreeBSD-gnats-submit@FreeBSD.org wrote:
> Thank you very much for your problem report.
> It has the internal identification `ports/169426'.
> The individual assigned to look at your
> report is: freebsd-ports-bugs. 
>
> You can access the state of your problem report at any time
> via this link:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=169426
>
>> Category:       ports
>> Responsible:    freebsd-ports-bugs
>> Synopsis:       update of audio/sphinxbase
>> Arrival-Date:   Mon Jun 25 19:00:15 UTC 2012

Comment 2 R.Mahmatkhanov 2012-06-26 20:26:46 UTC
Hi Richard,

Richard Neese wrote on 25.06.2012 22:50:
> update the sphinxbase to 0.7

Why don't you just attach the patches when creating pr's (I note that 
you always send an empty pr, and then send patch as follow-up)?. Isn't 
upload form working for you?

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.
Comment 3 Jase Thew freebsd_committer freebsd_triage 2012-06-27 10:48:07 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jase

I'll take it.
Comment 4 Jase Thew freebsd_committer freebsd_triage 2012-06-27 21:52:37 UTC
Hi r.neese,

Your patch doesn't appear to update files/patch-configure, so the port
is failing to patch correctly with your update.

====================<phase 3: make patch>====================
add_pkg
===>  Patching for sphinxbase-0.7_1
===>  Applying FreeBSD patches for sphinxbase-0.7_1
2 out of 2 hunks failed--saving rejects to configure.rej
=> Patch patch-configure failed to apply cleanly.
*** Error code 1

Stop in /a/ports/audio/sphinxbase.
================================================================
build of /usr/ports/audio/sphinxbase ended at Wed Jun 27 20:30:58 UTC 2012

Could you please re-submit the patch with this corrected?

Thanks.
Comment 5 RIchard Neese 2012-07-03 18:16:51 UTC
On 6/27/2012 4:52 PM, Jase Thew wrote:
> Hi r.neese,
>
> Your patch doesn't appear to update files/patch-configure, so the port
> is failing to patch correctly with your update.
>
> ====================<phase 3: make patch>====================
> add_pkg
> ===>  Patching for sphinxbase-0.7_1
> ===>  Applying FreeBSD patches for sphinxbase-0.7_1
> 2 out of 2 hunks failed--saving rejects to configure.rej
> => Patch patch-configure failed to apply cleanly.
> *** Error code 1
>
> Stop in /a/ports/audio/sphinxbase.
> ================================================================
> build of /usr/ports/audio/sphinxbase ended at Wed Jun 27 20:30:58 UTC 2012
>
> Could you please re-submit the patch with this corrected?
>
> Thanks.
>

Comment 6 dfilter service freebsd_committer freebsd_triage 2012-08-28 12:14:31 UTC
Author: jase
Date: Tue Aug 28 11:14:20 2012
New Revision: 303272
URL: http://svn.freebsd.org/changeset/ports/303272

Log:
  - Update to 0.7 [1]
  - Remove unnecessary PORTREVISION
  - Fix typo in COMMENT
  - Add missing build dependency on devel/bison
  - Add options for libsndfile support and thread safety
  - Disable building of python module
  - Disable building of doxygen docs
  - Replace use of gnomehack with specific REINPLACE for pkgconfig
  
  PR:		ports/169426 [1]
  Submitted by:	Richard Neese <r.neese@gmail.com> (maintainer)
  Approved by:	flo (mentor)

Deleted:
  head/audio/sphinxbase/files/
Modified:
  head/audio/sphinxbase/Makefile   (contents, props changed)
  head/audio/sphinxbase/distinfo   (contents, props changed)
  head/audio/sphinxbase/pkg-plist   (contents, props changed)

Modified: head/audio/sphinxbase/Makefile
==============================================================================
--- head/audio/sphinxbase/Makefile	Tue Aug 28 10:09:38 2012	(r303271)
+++ head/audio/sphinxbase/Makefile	Tue Aug 28 11:14:20 2012	(r303272)
@@ -6,24 +6,52 @@
 #
 
 PORTNAME=	sphinxbase
-PORTVERSION=	0.3
-PORTREVISION=	1
+PORTVERSION=	0.7
 CATEGORIES=	audio accessibility
 MASTER_SITES=	SF/cmusphinx/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	r.neese@gmail.com
-COMMENT=	CMU SPhinx Speech recognition system base
+COMMENT=	CMU Sphinx Speech recognition system base
+
+BUILD_DEPENDS=	bison:${PORTSDIR}/devel/bison 
 
 USE_LDCONFIG=	yes
-PKGMESSAGE=	${WRKDIR}/pkg-message
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack
 USE_AUTOTOOLS=	libtool
 
+CONFIGURE_ARGS+=	--without-python --without-lapack
+CONFIGURE_ENV+=	HAVE_DOXYGEN=no
+
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 MAKE_ENV=	MKDIR="${MKDIR}" \
 		OSVERSION=${OSVERSION}
 
+OPTIONS_DEFINE=	SNDFILE THREADS
+OPTIONS_DEFAULT=	THREADS
+
+SNDFILE_DESC=	libsndfile support
+THREADS_DESC=	Build with thread safety support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MSNDFILE}
+USE_PKGCONFIG=	build
+LIB_DEPENDS+=	sndfile:${PORTSDIR}/audio/libsndfile
+.else
+CONFIGURE_ENV+=	HAVE_PKGCONFIG=no
+.endif
+
+.if ${PORT_OPTIONS:MTHREADS}
+CPPFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
+CONFIGURE_ARGS+=	--enable-threads
+.else
+CONFIGURE_ARGS+=	--disable-threads
+.endif
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|$$(prefix)/libdata/pkgconfig|g' ${WRKSRC}/Makefile.in
+
 .include <bsd.port.mk>

Modified: head/audio/sphinxbase/distinfo
==============================================================================
--- head/audio/sphinxbase/distinfo	Tue Aug 28 10:09:38 2012	(r303271)
+++ head/audio/sphinxbase/distinfo	Tue Aug 28 11:14:20 2012	(r303272)
@@ -1,2 +1,2 @@
-SHA256 (sphinxbase-0.3.tar.gz) = 0497a39d926fb0faa5fab28391821743225cd332e7b582419c60b0db7e6fbaa2
-SIZE (sphinxbase-0.3.tar.gz) = 1841919
+SHA256 (sphinxbase-0.7.tar.gz) = 389cb99a545f7d615a2b3bc3f7362a490ca45fc4dc440140ae1d2a41f87773ec
+SIZE (sphinxbase-0.7.tar.gz) = 3291922

Modified: head/audio/sphinxbase/pkg-plist
==============================================================================
--- head/audio/sphinxbase/pkg-plist	Tue Aug 28 10:09:38 2012	(r303271)
+++ head/audio/sphinxbase/pkg-plist	Tue Aug 28 11:14:20 2012	(r303272)
@@ -1,5 +1,12 @@
 bin/sphinx_cepview
+bin/sphinx_cont_adseg
+bin/sphinx_cont_fileseg
 bin/sphinx_fe
+bin/sphinx_jsgf2fsg
+bin/sphinx_lm_convert
+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 +24,38 @@ include/sphinxbase/fe.h
 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/huff_code.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.2
 libdata/pkgconfig/sphinxbase.pc
 @dirrm include/sphinxbase
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Jase Thew freebsd_committer freebsd_triage 2012-08-28 12:19:33 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!