summaryrefslogtreecommitdiff
path: root/audio/speech-dispatcher
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2016-07-20 11:51:58 +0000
committerryoon <ryoon@pkgsrc.org>2016-07-20 11:51:58 +0000
commit188283b1b99aa0f8c6fad946c44d45605e83b722 (patch)
tree9e1d0484310aaf750f6b2d2701f9e43880d32ee8 /audio/speech-dispatcher
parent16a9cd04665284582377c84896a25fc2d8b9f128 (diff)
downloadpkgsrc-188283b1b99aa0f8c6fad946c44d45605e83b722.tar.gz
Import speech-dispatcher-0.8.4 as audio/speech-dispatcher.
Speech Dispatcher: Key features: * Common interface to different TTS engines * Handling concurrent synthesis requests -- requests may come assynchronously from multiple sources within an application and/or from different applications * Subsequent serialization, resolution of conflicts and priorities of incomming requests * Context switching -- state is maintained for each client connection independently, event for connections from within one application * High-level client interfaces for popular programming languages * Common sound output handling -- audio playback is handled by Speech Dispatcher rather than the TTS engine, since most engines have limited sound output capabilities What is a very high level GUI library to graphics, Speech Dispatcher is to speech synthesis. The application neither needs to talk to the devices directly nor to handle concurrent access, sound output and other tricky aspects of the speech subsystem.
Diffstat (limited to 'audio/speech-dispatcher')
-rw-r--r--audio/speech-dispatcher/DESCR69
-rw-r--r--audio/speech-dispatcher/Makefile55
-rw-r--r--audio/speech-dispatcher/PLIST53
-rw-r--r--audio/speech-dispatcher/buildlink3.mk14
-rw-r--r--audio/speech-dispatcher/distinfo9
-rw-r--r--audio/speech-dispatcher/patches/patch-config_Makefile.in15
-rw-r--r--audio/speech-dispatcher/patches/patch-config_clients_Makefile.in15
-rw-r--r--audio/speech-dispatcher/patches/patch-config_modules_Makefile.in15
8 files changed, 245 insertions, 0 deletions
diff --git a/audio/speech-dispatcher/DESCR b/audio/speech-dispatcher/DESCR
new file mode 100644
index 00000000000..25729917905
--- /dev/null
+++ b/audio/speech-dispatcher/DESCR
@@ -0,0 +1,69 @@
+Speech Dispatcher:
+
+Key features:
+
+ * Common interface to different TTS engines
+ * Handling concurrent synthesis requests -- requests may come
+ assynchronously from multiple sources within an application and/or
+ from different applications
+ * Subsequent serialization, resolution of conflicts and priorities of
+ incomming requests
+ * Context switching -- state is maintained for each client connection
+ independently, event for connections from within one application
+ * High-level client interfaces for popular programming languages
+ * Common sound output handling -- audio playback is handled by Speech
+ Dispatcher rather than the TTS engine, since most engines have limited
+ sound output capabilities
+
+What is a very high level GUI library to graphics, Speech Dispatcher is
+to speech synthesis. The application neither needs to talk to the devices
+directly nor to handle concurrent access, sound output and other tricky
+aspects of the speech subsystem.
+
+Supported TTS engines:
+
+ * Festival
+ * Flite
+ * Espeak
+ * Cicero
+ * IBM TTS
+ * Espeak+MBROLA (through a generic driver)
+ * Epos (through a generic driver)
+ * DecTalk software (through a generic driver)
+ * Cepstral Swift (through a generic driver)
+ * Ivona
+ * Pico
+
+Supported sound output subsystems:
+
+ * OSS
+ * ALSA
+ * PulseAudio
+ * NAS
+
+The architecture is based on a client/server model. The clients are all
+the applications in the system that want to produce speech (typically
+assistive technologies). The basic means of client communication with
+Speech Dispatcher is through a Unix socket or Inet TCP connection using
+the Speech Synthesis Interface Protocol (See the SSIP documentation for
+more information). High-level client libraries for many popular
+programming languages implement this protocol to make its usage as
+simple as possible.
+
+Supported client interfaces:
+
+ * C/C++ API
+ * Python 3 API
+ * Java API
+ * Emacs Lisp API
+ * Common Lisp API
+ * Guile API
+ * Simple command line client
+
+Existing assistive technologies known to work with Speech Dispatcher:
+
+ * speechd-el
+ * Orca (see http://live.gnome.org/Orca/SpeechDispatcher)
+ * Yasr
+ * LSR
+ * BrlTTY
diff --git a/audio/speech-dispatcher/Makefile b/audio/speech-dispatcher/Makefile
new file mode 100644
index 00000000000..dbae959ac0c
--- /dev/null
+++ b/audio/speech-dispatcher/Makefile
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+DISTNAME= speech-dispatcher-0.8.4
+CATEGORIES= audio
+MASTER_SITES= http://devel.freebsoft.org/pub/projects/speechd/
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://devel.freebsoft.org/speechd
+COMMENT= Common interface to speech synthesis library
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= intltool pkg-config
+
+PKGCONFIG_OVERRIDE+= speech-dispatcher.pc.in
+
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/clients/emacs.conf \
+ ${PKG_SYSCONFDIR}/clients/emacs.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/cicero.conf \
+ ${PKG_SYSCONFDIR}/modules/cicero.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/dtk-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/dtk-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/epos-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/epos-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/espeak-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/espeak-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/espeak-mbrola-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/espeak-mbrola-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/espeak.conf \
+ ${PKG_SYSCONFDIR}/modules/espeak.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/festival.conf \
+ ${PKG_SYSCONFDIR}/modules/festival.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/flite.conf \
+ ${PKG_SYSCONFDIR}/modules/flite.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/ibmtts.conf \
+ ${PKG_SYSCONFDIR}/modules/ibmtts.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/ivona.conf \
+ ${PKG_SYSCONFDIR}/modules/ivona.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/llia_phon-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/llia_phon-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/pico-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/pico-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/modules/swift-generic.conf \
+ ${PKG_SYSCONFDIR}/modules/swift-generic.conf
+CONF_FILES+= ${PREFIX}/share/examples/speech-dispatcher/speechd.conf \
+ ${PKG_SYSCONFDIR}/speechd.conf
+
+.include "../../audio/libsndfile/buildlink3.mk"
+.include "../../audio/pulseaudio/buildlink3.mk"
+.include "../../devel/dotconf/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/libltdl/buildlink3.mk"
+.include "../../mk/oss.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/audio/speech-dispatcher/PLIST b/audio/speech-dispatcher/PLIST
new file mode 100644
index 00000000000..815b1f0d1ed
--- /dev/null
+++ b/audio/speech-dispatcher/PLIST
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+bin/spd-say
+bin/spdsend
+bin/speech-dispatcher
+include/speech-dispatcher/libspeechd.h
+include/speech-dispatcher/libspeechd_version.h
+include/speech-dispatcher/spd_audio_plugin.h
+include/speech-dispatcher/speechd_defines.h
+include/speech-dispatcher/speechd_types.h
+lib/libspeechd.la
+lib/pkgconfig/speech-dispatcher.pc
+lib/speech-dispatcher-modules/sd_cicero
+lib/speech-dispatcher-modules/sd_dummy
+lib/speech-dispatcher-modules/sd_festival
+lib/speech-dispatcher-modules/sd_generic
+lib/speech-dispatcher/spd_oss.la
+lib/speech-dispatcher/spd_pulse.la
+share/examples/speech-dispatcher/clients/emacs.conf
+share/examples/speech-dispatcher/modules/cicero.conf
+share/examples/speech-dispatcher/modules/dtk-generic.conf
+share/examples/speech-dispatcher/modules/epos-generic.conf
+share/examples/speech-dispatcher/modules/espeak-generic.conf
+share/examples/speech-dispatcher/modules/espeak-mbrola-generic.conf
+share/examples/speech-dispatcher/modules/espeak.conf
+share/examples/speech-dispatcher/modules/festival.conf
+share/examples/speech-dispatcher/modules/flite.conf
+share/examples/speech-dispatcher/modules/ibmtts.conf
+share/examples/speech-dispatcher/modules/ivona.conf
+share/examples/speech-dispatcher/modules/llia_phon-generic.conf
+share/examples/speech-dispatcher/modules/pico-generic.conf
+share/examples/speech-dispatcher/modules/swift-generic.conf
+share/examples/speech-dispatcher/speechd.conf
+share/info/dir
+share/info/spd-say.info
+share/info/speech-dispatcher-cs.info
+share/info/speech-dispatcher.info
+share/info/ssip.info
+share/sounds/speech-dispatcher/dummy-message.wav
+share/speech-dispatcher/conf/clients/emacs.conf
+share/speech-dispatcher/conf/modules/cicero.conf
+share/speech-dispatcher/conf/modules/dtk-generic.conf
+share/speech-dispatcher/conf/modules/epos-generic.conf
+share/speech-dispatcher/conf/modules/espeak-generic.conf
+share/speech-dispatcher/conf/modules/espeak-mbrola-generic.conf
+share/speech-dispatcher/conf/modules/espeak.conf
+share/speech-dispatcher/conf/modules/festival.conf
+share/speech-dispatcher/conf/modules/flite.conf
+share/speech-dispatcher/conf/modules/ibmtts.conf
+share/speech-dispatcher/conf/modules/ivona.conf
+share/speech-dispatcher/conf/modules/llia_phon-generic.conf
+share/speech-dispatcher/conf/modules/pico-generic.conf
+share/speech-dispatcher/conf/modules/swift-generic.conf
+share/speech-dispatcher/conf/speechd.conf
diff --git a/audio/speech-dispatcher/buildlink3.mk b/audio/speech-dispatcher/buildlink3.mk
new file mode 100644
index 00000000000..b59dfb5b6a6
--- /dev/null
+++ b/audio/speech-dispatcher/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+BUILDLINK_TREE+= speech-dispatcher
+
+.if !defined(SPEECH_DISPATCHER_BUILDLINK3_MK)
+SPEECH_DISPATCHER_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.speech-dispatcher+= speech-dispatcher>=0.8.4
+BUILDLINK_PKGSRCDIR.speech-dispatcher?= ../../audio/speech-dispatcher
+
+.include "../../devel/glib2/buildlink3.mk"
+.endif # SPEECH_DISPATCHER_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -speech-dispatcher
diff --git a/audio/speech-dispatcher/distinfo b/audio/speech-dispatcher/distinfo
new file mode 100644
index 00000000000..ca894d60e2a
--- /dev/null
+++ b/audio/speech-dispatcher/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+SHA1 (speech-dispatcher-0.8.4.tar.gz) = 0acef5da6a128f329d0edaaf5cec64e408e534f1
+RMD160 (speech-dispatcher-0.8.4.tar.gz) = e2dbbc41169087a5f0ec15dc4bb5f429aa209d1c
+SHA512 (speech-dispatcher-0.8.4.tar.gz) = 94a764a04385aca74bc36816575dc688b376ae9f0e2865a990ffc0b9e6d558a268edec39039e67bd84064bb8430a0ca0e84ab77e865dcf449e40867809fbacf3
+Size (speech-dispatcher-0.8.4.tar.gz) = 1341968 bytes
+SHA1 (patch-config_Makefile.in) = dd58a389bc9820d85e4fe912faff7e2cf969fa8e
+SHA1 (patch-config_clients_Makefile.in) = 4c172a7c33336343b88707ae17702c80c97c28f5
+SHA1 (patch-config_modules_Makefile.in) = 566c25934686d56c8e9a54cf520d121c9458bfae
diff --git a/audio/speech-dispatcher/patches/patch-config_Makefile.in b/audio/speech-dispatcher/patches/patch-config_Makefile.in
new file mode 100644
index 00000000000..bf1acb6a234
--- /dev/null
+++ b/audio/speech-dispatcher/patches/patch-config_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_Makefile.in,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+* Install config files under examples directory. pkgsrc specific.
+
+--- config/Makefile.in.orig 2016-04-17 22:05:55.000000000 +0000
++++ config/Makefile.in
+@@ -401,7 +401,7 @@ runstatedir = @runstatedir@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ snddatadir = @snddatadir@
+-spdconfdir = @spdconfdir@
++spdconfdir = @prefix@/share/examples/speech-dispatcher
+ spdconforigdir = @spdconforigdir@
+ spddesktopconforigdir = @spddesktopconforigdir@
+ spdincludedir = @spdincludedir@
diff --git a/audio/speech-dispatcher/patches/patch-config_clients_Makefile.in b/audio/speech-dispatcher/patches/patch-config_clients_Makefile.in
new file mode 100644
index 00000000000..10743b6073b
--- /dev/null
+++ b/audio/speech-dispatcher/patches/patch-config_clients_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_clients_Makefile.in,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+* Install config files under examples directory. pkgsrc specific.
+
+--- config/clients/Makefile.in.orig 2016-04-17 22:05:55.000000000 +0000
++++ config/clients/Makefile.in
+@@ -341,7 +341,7 @@ runstatedir = @runstatedir@
+ sbindir = @sbindir@
+ sharedstatedir = @sharedstatedir@
+ snddatadir = @snddatadir@
+-spdconfdir = @spdconfdir@
++spdconfdir = @prefix@/share/examples/speech-dispatcher
+ spdconforigdir = @spdconforigdir@
+ spddesktopconforigdir = @spddesktopconforigdir@
+ spdincludedir = @spdincludedir@
diff --git a/audio/speech-dispatcher/patches/patch-config_modules_Makefile.in b/audio/speech-dispatcher/patches/patch-config_modules_Makefile.in
new file mode 100644
index 00000000000..9c95b45eaa4
--- /dev/null
+++ b/audio/speech-dispatcher/patches/patch-config_modules_Makefile.in
@@ -0,0 +1,15 @@
+$NetBSD: patch-config_modules_Makefile.in,v 1.1 2016/07/20 11:51:58 ryoon Exp $
+
+* Install config files under examples directory. pkgsrc specific.
+
+--- config/modules/Makefile.in.orig 2016-04-17 22:05:55.000000000 +0000
++++ config/modules/Makefile.in
+@@ -338,7 +338,7 @@ localstatedir = @localstatedir@
+ mandir = @mandir@
+ mkdir_p = @mkdir_p@
+ modulebindir = @modulebindir@
+-moduleconfdir = @moduleconfdir@
++moduleconfdir = @prefix@/share/examples/speech-dispatcher/modules
+ moduleconforigdir = @moduleconforigdir@
+ oldincludedir = @oldincludedir@
+ pdfdir = @pdfdir@