Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2016 15:31:28 +0000 (UTC)
From:      Alberto Villa <avilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429164 - in head/accessibility: py3-speech-dispatcher speech-dispatcher
Message-ID:  <201612221531.uBMFVSDi005769@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avilla
Date: Thu Dec 22 15:31:28 2016
New Revision: 429164
URL: https://svnweb.freebsd.org/changeset/ports/429164

Log:
  accessibility/speech-dispatcher: update to 0.8.6
  - Fix paths in modules configuration
  - Improve Python slave port
  
  Updates since 0.8.3:
  * Implement a shutdown timer in the server, which activates after 5
    seconds with no clients connected
  * Add support for espeak-ng (no FreeBSD port available)
  * Add command-line argument to allow for custom modules location

Modified:
  head/accessibility/py3-speech-dispatcher/Makefile
  head/accessibility/speech-dispatcher/Makefile
  head/accessibility/speech-dispatcher/distinfo
  head/accessibility/speech-dispatcher/pkg-plist

Modified: head/accessibility/py3-speech-dispatcher/Makefile
==============================================================================
--- head/accessibility/py3-speech-dispatcher/Makefile	Thu Dec 22 15:30:16 2016	(r429163)
+++ head/accessibility/py3-speech-dispatcher/Makefile	Thu Dec 22 15:31:28 2016	(r429164)
@@ -1,15 +1,17 @@
 # $FreeBSD$
 
+PORTREVISION=	0
+CATEGORIES=	accessibility audio python
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
-COMMENT=	Common interface to speech synthesis python bindings
+COMMENT=	Python bindings for Speech Dispatcher
 
 SPEECH_SLAVE=	yes
 
-MASTERDIR=	${.CURDIR}/../speech-dispatcher
+MASTERDIR=	${.CURDIR:H}/speech-dispatcher
 
 BUILD_WRKSRC=	${WRKSRC}/src/api/python
-INSTALL_WRKSRC=	${WRKSRC}/src/api/python
+INSTALL_WRKSRC=	${BUILD_WRKSRC}
 
 PLIST=		${.CURDIR}/pkg-plist
 

Modified: head/accessibility/speech-dispatcher/Makefile
==============================================================================
--- head/accessibility/speech-dispatcher/Makefile	Thu Dec 22 15:30:16 2016	(r429163)
+++ head/accessibility/speech-dispatcher/Makefile	Thu Dec 22 15:31:28 2016	(r429164)
@@ -1,13 +1,13 @@
 # $FreeBSD$
 
 PORTNAME=	speech-dispatcher
-PORTVERSION=	0.8.3
-PORTREVISION=	1
-CATEGORIES=	accessibility audio
+PORTVERSION=	0.8.6
+PORTREVISION?=	0
+CATEGORIES?=	accessibility audio
 MASTER_SITES=	http://devel.freebsoft.org/pub/projects/speechd/
 
 MAINTAINER=	avilla@FreeBSD.org
-COMMENT=	Common interface to speech synthesis
+COMMENT?=	Common interface to speech synthesis
 
 LICENSE=	GPLv2 LGPL21
 LICENSE_COMB=	multi
@@ -19,6 +19,7 @@ LIB_DEPENDS=	libdotconf.so:devel/dotconf
 USE_GNOME=	glib20 intltool
 USES=		alias gettext gmake pathfix pkgconfig libtool
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--without-espeak-ng
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
@@ -34,9 +35,10 @@ ETCFILES=	clients/emacs.conf modules/pic
 		modules/espeak-mbrola-generic.conf modules/espeak.conf \
 		modules/festival.conf modules/flite.conf modules/ibmtts.conf \
 		modules/ivona.conf modules/llia_phon-generic.conf \
-		modules/swift-generic.conf speechd.conf
+		modules/swift-generic.conf speechd.conf \
+		modules/espeak-ng.conf
 
-PORTDOCS=	ANNOUNCE AUTHORS ChangeLog FAQ NEWS README TODO
+PORTDOCS=	ANNOUNCE AUTHORS FAQ NEWS README TODO
 
 INFO=		spd-say speech-dispatcher speech-dispatcher-cs ssip
 
@@ -72,6 +74,9 @@ PULSEAUDIO_CONFIGURE_WITH=pulse
 post-patch:
 	@${REINPLACE_CMD} -e '/SUBDIRS/ s/tests//' \
 		${WRKSRC}/src/Makefile.in
+	${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,g' \
+		${WRKSRC}/src/modules/*.c \
+		${WRKSRC}/config/modules/*.conf
 
 post-install:
 .for f in ${ETCFILES}

Modified: head/accessibility/speech-dispatcher/distinfo
==============================================================================
--- head/accessibility/speech-dispatcher/distinfo	Thu Dec 22 15:30:16 2016	(r429163)
+++ head/accessibility/speech-dispatcher/distinfo	Thu Dec 22 15:31:28 2016	(r429164)
@@ -1,2 +1,3 @@
-SHA256 (speech-dispatcher-0.8.3.tar.gz) = 96a293b2ba1e2498f1280c75a9607891a9990947a8d87e9855c2a642c93f1e4f
-SIZE (speech-dispatcher-0.8.3.tar.gz) = 1292321
+TIMESTAMP = 1482416560
+SHA256 (speech-dispatcher-0.8.6.tar.gz) = c233dc3757c1f0d3676480d1052d42d88d18d29ab0cb0c8b5ce8edc3e7386ff8
+SIZE (speech-dispatcher-0.8.6.tar.gz) = 1327500

Modified: head/accessibility/speech-dispatcher/pkg-plist
==============================================================================
--- head/accessibility/speech-dispatcher/pkg-plist	Thu Dec 22 15:30:16 2016	(r429163)
+++ head/accessibility/speech-dispatcher/pkg-plist	Thu Dec 22 15:31:28 2016	(r429164)
@@ -7,6 +7,7 @@ bin/speech-dispatcher
 @sample %%ETCDIR%%/modules/epos-generic.conf.sample
 @sample %%ETCDIR%%/modules/espeak-generic.conf.sample
 @sample %%ETCDIR%%/modules/espeak-mbrola-generic.conf.sample
+@sample %%ETCDIR%%/modules/espeak-ng.conf.sample
 @sample %%ETCDIR%%/modules/espeak.conf.sample
 @sample %%ETCDIR%%/modules/festival.conf.sample
 @sample %%ETCDIR%%/modules/flite.conf.sample



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