debian/0000755000000000000000000000000012301045115007156 5ustar debian/rules0000775000000000000000000000123212301040747010244 0ustar #!/usr/bin/make -f DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ --with autoreconf,python3 override_dh_auto_configure: dh_auto_configure -- --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --with-module-bindir=\$${prefix}/lib/speech-dispatcher-modules \ pidpath=/var/run/speech-dispatcher/ override_dh_strip: dh_strip --dbg-package=speech-dispatcher-dbg override_dh_installinit: dh_installinit -a --error-handler=true override_dh_fixperms: dh_fixperms chmod 700 $(CURDIR)/debian/speech-dispatcher/var/log/speech-dispatcher override_dh_makeshlibs: dh_makeshlibs -plibspeechd2 debian/cl-speech-dispatcher.install0000644000000000000000000000015212240067043014541 0ustar src/api/cl/ssip.asd usr/share/common-lisp/source/ssip src/api/cl/*.lisp usr/share/common-lisp/source/ssip debian/speech-dispatcher.dirs0000644000000000000000000000003212240067043013435 0ustar var/log/speech-dispatcher debian/cl-speech-dispatcher.links0000644000000000000000000000012212240067043014210 0ustar usr/share/common-lisp/source/ssip/ssip.asd usr/share/common-lisp/systems/ssip.asd debian/changelog0000664000000000000000000021346012301044777011055 0ustar speech-dispatcher (0.8-5ubuntu1) trusty; urgency=low * Merge with debian unstable. Remaining changes: - Moved the flite output module to a separate package, and added it to suggests, we don't want flite on the Ubuntu CD image - Don't build depend on libaudio-dev or libao-dev, Ubuntu CD size is an issue, every little bit helps - debian/gbp.conf: Adjust for the Ubuntu git branch -- Luke Yelavich Wed, 19 Feb 2014 17:06:41 +1100 speech-dispatcher (0.8-5) unstable; urgency=low * Upload to unstable * Work around dotconf 1.3 requirement as it takes too long now -- Paul Gevers Sat, 15 Feb 2014 21:23:37 +0100 speech-dispatcher (0.8-4) experimental; urgency=low * Fix maintainer address again (Closes: #736469) * Update d/copyright and convert to machine readable format (Closes: #734302) * Add upstream commit link to spelling error patch -- Paul Gevers Tue, 11 Feb 2014 21:57:06 +0100 speech-dispatcher (0.8-3) experimental; urgency=low * Add symlinks from old /usr/include/* to /usr/include/speech-dispatcher/* to ease the transition of the new location (works for all current Debian reverse dependencies) * Fix links to user config/cache directories in the documentation -- Paul Gevers Sun, 19 Jan 2014 16:17:29 +0100 speech-dispatcher (0.8-2) experimental; urgency=low * Update init script to use log_action_msg i.s.o. echo (Closes: #679162) * Add Replaces/Breaks to python3-speechd and speech-dispatcher-festival (Closes: #734778, #734899) * Minor tweaks: - wrap-and-sort on d/control - Add patch descriptions to the ones missing them - Update link in copyright to versioned LGPL file - Remove override_dh_auto_install target as it only changed *.la files that aren't installed - Update speech-dispatcher.post* scripts to "set -e" (thanks Lintian) - Remove pycompat and XB-Python-Version (obsolete) * Fixed the wrong maintainer address * Add python3-xdg to python3-speechd dependencies * Update *README.Debian with updated configuration location and mention the default is to not run as server * Fix several spelling errors (thanks Lintian) -- Paul Gevers Fri, 17 Jan 2014 21:07:49 +0100 speech-dispatcher (0.8-1) experimental; urgency=low [ Samuel Thibault ] * debian/control: Set libspeechd2 multi-arch: same. * debian/rules: Set multiarch libdir. * debian/libspeechd-dev.install,libspeechd2.install, speech-dispatcher.install: Use multiarch libdir. * Do not depend on dpkg | install-info, now that we use the install-info trigger. * Bump Standards-Version to 3.9.5. * Bump dotconf dependency to >= 1.3. * debian/control: Move VCS to tts team. [ Luke Yelavich ] * New upstream release * debian/patches/infinite-loop.patch: Refreshed * Dropped patches: - debian/patches/build-doc.patch - debian/patches/procname.patch - debian/patches/paths+files.patch - debian/patches/pthread.patch * Add libltdl-dev and intltool to build-depends * Update packaging for speech-dispatcher python 3 bindings. * Move speech-dispatcher modules to an architecture independent dir, since modules can be written in any language, and i386 only modules can be used on amd64 systems * Create separate audio plugins package * Convert to debhelper 7+ packaging. * Use dh-autoreconf to handle autotools file rebuilds. * Update standards version to 3.9.3. * Add X-Python-Version related fields to debian/control. * Patch in the speech-dispatcher-cs.texi file since it was forgotten in the 0.8 tarball * Add translations to speech-dispatcher [ Jason White ] * Raise level of subsection in fdl.texi to correct document structure. [ David Henningsson ] * debian/patches/pulse-default-latency.patch: Default to 20 ms latency instead of 1 ms latency (LP: #1208826) [ Luke Yelavich ] * spd_audio: Expose dlopened library's symbols to libs it loads. Thanks to Christopher Brannon for the patch, taken from the speech-dispatcher mailing list. [ Paul Gevers ] * New maintainer (Closes: #730983) * Acknowledge NMU's * libsdaudio.* is not build and installed anymore - Drop break/replace in libspeechd-dev - Closes: #715119 * Add source lintian overrides for gfdl/gpl documentation * Change speech-dispatcher-festival to Arch: any now it contains a binary * Strip all binaries into -dbg package * Add d/watch file (Thanks Bart Martens) * Raise compat level to 9 to get auto-hardening (was a Wheezy release goal) -- Paul Gevers Thu, 02 Jan 2014 20:31:48 +0100 speech-dispatcher (0.7.1-6.3) unstable; urgency=low * Non-maintainer upload. * Fix texinfo error (Closes: #713310) -- Hilko Bengen Sat, 23 Nov 2013 19:26:30 +0100 speech-dispatcher (0.7.1-6.2) unstable; urgency=low * Non-maintainer upload. * control: Add break/replace for move of libsdaudio.{a,so} from speech-dispatcher to libspeechd-dev, thanks Andreas Beckmann for the report & patch; closes: #694295. * patches/espeak-mbrola-generic.conf.patch: Add patch from Mau to fix mbrola generic output; closes: #665382. -- Samuel Thibault Fri, 07 Dec 2012 01:28:18 +0100 speech-dispatcher (0.7.1-6.1ubuntu2) quantal; urgency=low * debian/speech-dispatcher.install: Don't install all modules wholesale, the flite module is in another package, and would cause file conflict errors if it was installed. (LP: #1039264) -- Luke Yelavich Tue, 21 Aug 2012 13:04:09 +1000 speech-dispatcher (0.7.1-6.1ubuntu1) quantal-proposed; urgency=low * Merge from debian unstable. Remaining changes: - Moved the flite output module to a separate package, and added it to suggests, we don't want flite on the Ubuntu CD image - Don't build depend on libaudio-dev or libao-dev, Ubuntu CD size is an issue, every little bit helps - debian/gbp.conf: Adjust for the Ubuntu git branch * Backport a patch from upstream to use python3 bindings, and adjust the python bindings package accordingly. * Bumped debhelper version to fix lintian warning. * Python3-speechd needs to conflict against python-speechd -- Luke Yelavich Wed, 27 Jun 2012 15:55:10 +1000 speech-dispatcher (0.7.1-6.1) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS due to locally changed files without patch", inspirations taken from Ubuntu / Luke Yelavich: - don't run ./configure in the clean target - drop automatically generated patch debian-changes-0.7.1-6 - use dh-autoreconf for handling autotools files (Closes: #646388) -- gregor herrmann Fri, 17 Feb 2012 16:16:34 +0100 speech-dispatcher (0.7.1-6ubuntu3) precise; urgency=low * debian/speech-dispatcher.postinst: Make sure speech-dispatcher is not enabled as a system service for users upgrading from lucid. The code in question has been dropped, and should have been done so a long time ago, at least for Ubuntu. (LP: #914575) * Tweak gbp.conf for precise * debian/rules: Do not re-run the configure script as a dependency of the clean target. It is not needed, and makes dealing with packaging in git a pain. * Do not copy fresh copies of config.{sub,guess}, we run autoreconf. -- Luke Yelavich Mon, 06 Feb 2012 13:48:00 +1100 speech-dispatcher (0.7.1-6ubuntu2) precise; urgency=low * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. -- Adam Conrad Fri, 02 Dec 2011 19:01:31 -0700 speech-dispatcher (0.7.1-6ubuntu1) oneiric; urgency=low * Merge from debian unstable. Remaining changes: - Moved the flite output module to a separate package, and added it to suggests, we don't want flite on the Ubuntu CD image - Dont build depend on libaudio-dev or libao-dev, Ubuntu CD size is an issue, every little bit helps [ Boris DuÅ¡ek ] * debian/gbp.conf: Adjust for the Ubuntu git branch [ Luke Yelavich ] * Use dh_autoreconf rather than running build.sh * Add symbols file for libspeechd2 * Need to run dh_makeshlibs for speech-dispatcher so that speech-dispatcher-flite can find the audio output library -- Luke Yelavich Mon, 06 Jun 2011 12:08:39 +1000 speech-dispatcher (0.7.1-6) unstable; urgency=low [ Boris DuÅ¡ek ] * Fix description of libspeechd-dev package. * Add manpages for spd-conf, spd-say and speech-dispatcher; closes: #598569. * Correctly use execlp to specify module image name; closes: #579283. [ Samuel Thibault ] * Bump Standards-Version to 3.9.2 (no change needed) [ Boris DuÅ¡ek ] * Use debhelper files as much as possible. This should make merges between Debian and Ubuntu packages easier. * Do not ship documentation changelog as the main changelog. * Move libsdaudio.{a,so} files to the development package. * Add support for pico using generic module; closes: #601395. * Add Vcs-* information to debian/control. * Update upstream homepage. * Transition to dh_python2; closes: #617070. * Remove explicit libspeechd2 maintainer scripts; dh_makeshlibs generates them -- Boris DuÅ¡ek Mon, 25 Apr 2011 19:20:55 +0200 speech-dispatcher (0.7.1-5) unstable; urgency=low * Add speech-dispatcher-dbg package with debugging symbols. -- Boris DuÅ¡ek Fri, 04 Mar 2011 11:30:12 +0100 speech-dispatcher (0.7.1-4) unstable; urgency=low * New maintainer. * Fix logrotate script breaking logrotate configuration of other packages. -- Boris DuÅ¡ek Tue, 01 Mar 2011 23:31:59 +0100 speech-dispatcher (0.7.1-3) experimental; urgency=low * debian/rules: Run make in src/python/; closes: #604542. * Upload to experimental because squeeze is in freeze. -- Milan Zamazal Mon, 22 Nov 2010 19:55:19 +0100 speech-dispatcher (0.7.1-2) experimental; urgency=low * Squeeze NMU by Samuel Thibault incorporated. * libao-dev added to build dependencies; closes: #597964. * Patch by Samuel Thibault to prevent infinite loop on some backend failures. * Upload to experimental because squeeze is in freeze. -- Milan Zamazal Fri, 01 Oct 2010 16:29:38 +0200 speech-dispatcher (0.7.1-1) experimental; urgency=low * New upstream version. * *.la file removed from libspeechd-dev. * Standards 3.9.1. * Upload to experimental because squeeze is in freeze. -- Milan Zamazal Mon, 13 Sep 2010 16:48:58 +0200 speech-dispatcher (0.7.1-0ubuntu3) natty; urgency=low * Rebuild for python2.7, don't hard-code 2.6 in the install files. -- Matthias Klose Tue, 11 Jan 2011 16:43:18 +0100 speech-dispatcher (0.7.1-0ubuntu2) natty; urgency=low * debian/rules: Set the start/stop runlevels to be the same as in the init script LSB header, thanks to kvdveer for the patch (LP: #671541) -- Luke Yelavich Fri, 05 Nov 2010 15:10:37 -0400 speech-dispatcher (0.7.1-0ubuntu1) natty; urgency=low [ Luke Yelavich ] * Merge from debian unstable. Remaining changes: - Python-speechd should depend on speech-dispatcher - Moved the flite output module to a separate package, and added it to suggests - Use cdbs for package build, cleaner to maintain * Set-PulseAudio-media-role-to-a11y.patch: Drop, not accepted upstream [ Boris Dusek ] * New upstream release * debian/patches/fix-mbrola-voice-path.patch: Fix path to mbrola voices in configuration file template to match that in Ubuntu * debian/patches/paths+files.patch: rebased on upstream (partially fixed) * debian/patches/python-makefile.patch: drop, obsolete * debian/patches/pulse-only.patch: drop, fixed * debian/patches/flite-1.4-fix.patch: drop, fixed * debian/patches/extlink.patch: drop, fixed * debian/patches/python-makefile.patch: rebased on upstream * quieten-logfiles.patch: drop, LogLevel 3 was revised upstream to include less information * disable-modules.patch: drop, unnecessary: declaring a non-existing synthesizer when a previously declared one works does nothing * pulse-endianness.patch: drop, fixed -- Luke Yelavich Mon, 18 Oct 2010 11:00:42 +1100 speech-dispatcher (0.7-5.1) unstable; urgency=low * Non-maintainer upload. * debian/patches/debian-changes-0.7-5: Leave -lpthread in the libspeech-dispatcher link line, drop it from tests; closes: #597947. * debian/control: Make speech-dispatcher recommend pulseaudio as this is now the default configuration; closes: #593968. * debian/README.Debian: Mention that the SPEECHD_SOCKET variable also needs to be set to revert to system-wide behavior. -- Samuel Thibault Sun, 26 Sep 2010 16:17:19 +0200 speech-dispatcher (0.7-5ubuntu3) maverick; urgency=low * debian/patches/Set-PulseAudio-media-role-to-a11y.patch: Patch to set Speech Dispatcher's media role, sent up stream. -- Luke Yelavich Thu, 12 Aug 2010 15:45:46 +1000 speech-dispatcher (0.7-5ubuntu2) maverick; urgency=low * debian/patches/fix-broken-spdconf.patch: Replace with correct fix from git. Thanks to Boris Dusek for the patch * debian/patches/spd-conf-test-path-fix.patch: Drop, fixed in a better way already -- Luke Yelavich Mon, 19 Jul 2010 16:13:21 +0200 speech-dispatcher (0.7-5ubuntu1) maverick; urgency=low * Merge from debian unstable. Remaining changes: - Python-speechd should depend on speech-dispatcher - Moved the flite output module to a separate package, and added it to suggests - Use cdbs for package build, cleaner to maintain - Quieten logfiles by default - Only enable espeak output module - Fix pulse driver endainness - Fix broken spd-conf * debian/speech-dispatcher.init: Don't assume that the user was previously running speech-dispatcher system-wide, at least in Ubuntu * Remove references to speechd-server-spawn and speechd-user-port.sh, since speech-dispatcher now has a different way of spawning, and uses sockets (LP: #601114) * Flite patch from Debian fixes FTBFs (LP: #601005) * debian/patches/spd-conf-test-path-fix.patch: Fix path to test.wav file which gets played by spd-conf (LP: #314185) -- Luke Yelavich Thu, 15 Jul 2010 14:30:18 +1000 speech-dispatcher (0.7-5) unstable; urgency=low * Move Python build dependencies from Build-Depends-Indep to Build-Depends; closes: #588107. * Standards 3.9.0 (no real change). -- Milan Zamazal Wed, 07 Jul 2010 13:12:13 +0200 speech-dispatcher (0.7-4) unstable; urgency=low * Default AudioOutputMethod changed to "pulse" to prevent blocking audio output; information to README.Debian added. -- Milan Zamazal Fri, 02 Jul 2010 18:55:49 +0200 speech-dispatcher (0.7-3) unstable; urgency=low * Paths in python-speechd adjusted to match Debian installation. * Package priorities set to match override entries. -- Milan Zamazal Tue, 22 Jun 2010 14:01:03 +0200 speech-dispatcher (0.7-2) unstable; urgency=low * Link speech-dispatcher log location to /var/log/speech-dispatcher/, if it doesn't exist yet. * Permit access to speech-dispatcher socket to `audio' group. -- Milan Zamazal Tue, 22 Jun 2010 12:11:16 +0200 speech-dispatcher (0.7-1) unstable; urgency=low * New upstream version. * Switch to dpkg-source 3.0 (quilt) format. * Versioned build dependency on flite-dev. * Don't start Speech Dispatcher by default; closes: #577217. * Standards 3.8.4 (no real change). -- Milan Zamazal Sat, 19 Jun 2010 09:08:43 +0200 speech-dispatcher (0.6.8~unofficial~rc2-0ubuntu3) lucid; urgency=low * debian/patches/07_fix_broken_spdconf.dpatch: Fix broken spd-conf code, which caused spd-conf to be run whenever anyone tried to search for help about a python module. (LP: #534190) -- Luke Yelavich Thu, 15 Apr 2010 10:39:49 +1000 speech-dispatcher (0.6.8~unofficial~rc2-0ubuntu2) lucid; urgency=low * debian/patches/06_pulse_endianness.dpatch: Set the correct endianness of the audio sample to be played. -- Luke Yelavich Wed, 14 Apr 2010 15:57:51 +1000 speech-dispatcher (0.6.8~unofficial~rc2-0ubuntu1) lucid; urgency=low * New unofficial upstream snapshot -- Luke Yelavich Wed, 17 Feb 2010 09:48:08 +1100 speech-dispatcher (0.6.8~unofficial~rc1-0ubuntu1) lucid; urgency=low * New unofficial upstream snapshot * debian/patches/02_python_makefile.dpatch: Refreshed -- Luke Yelavich Fri, 29 Jan 2010 16:01:48 +1100 speech-dispatcher (0.6.7+git20090914~unofficial-0ubuntu4) karmic; urgency=low * debian/patches/04_quieten_logfiles.dpatch: Quieten all log files, except for errors that are important enough to read. * debian/patches/05_disable_modules.dpatch: Only enable the espeak module by default, as that is the only module available on the CD. -- Luke Yelavich Tue, 13 Oct 2009 16:15:56 +1100 speech-dispatcher (0.6.7+git20090914~unofficial-0ubuntu3) karmic; urgency=low * debian/speech-dispatcher.init: fix typo of log_warning_msg (LP: #440846) -- Tormod Volden Tue, 06 Oct 2009 20:40:56 +0200 speech-dispatcher (0.6.7+git20090914~unofficial-0ubuntu2) karmic; urgency=low * debian/speech-dispatcher.init: Change the message given for speech-dispatcher not loading at system start. Since speech-dispatcher is set up to work in a user's session now, those who want to use speech-dispatcher in system mode know what to do to change things. (LP: #440846) -- Luke Yelavich Tue, 06 Oct 2009 13:23:56 +1100 speech-dispatcher (0.6.7+git20090914~unofficial-0ubuntu1) karmic; urgency=low * Snapshot of unofficial upstream repository, dropping the vast majority of patches, since they have been merged into the git repo used for this snapshot. This does not introduce any new features, and has only been done to improve package management. * debian/speech-dispatcher.install: Refer to speechd-server-spawn manpage that is now part of the speech-dispatcher package. * debian/rules: - Remove all references to speechd-server-spawn. - Add --with-system-speechd-start-cmd to configure args, to use the system init script for system level speech-dispatcher server spawning. * debian/speech-dispatcher.init: Allow spawn to be passed as a second argument to the script, to allow speech-dispathcher to be started by the autospawn script. -- Luke Yelavich Tue, 15 Sep 2009 09:07:42 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu14) karmic; urgency=low * debian/patches/20_pulse_output_connect_to_server.dpatch: - Only log an error message if connection to the pulse server was not possible. - Add much needed braces around if blocks. - Nullify freed variables. Thanks to Eitan Isaacson for most of the work. -- Luke Yelavich Fri, 11 Sep 2009 11:30:54 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu13) karmic; urgency=low * debian/speech-dispatcher.install: Add /etc/profile.d to the speech-dispatcher package, so that user sessions work properly. * debian/patches/22_remove_quotes.dpatch: Remove unneeded quotes for paths in speechd.conf, patch thanks to Eitan Isaacson . -- Luke Yelavich Wed, 09 Sep 2009 09:36:25 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu12) karmic; urgency=low * debian/speechd-server-spawn: Remove unneeded debugging code. -- Luke Yelavich Mon, 07 Sep 2009 13:13:39 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu11) karmic; urgency=low * debian/patches/20_pulse_output_connect_to_server.dpatch: When attempting to determine whether pulseaudio is a viable audio output, attempt to connect to the server, and return the appropriate result. Patch sent upstream. * debian/patches/11_config_Set_the_audio_output_to_be_pulse_alsa_by_defa.dpatch: re-enable. * 21_fix_audio_fallback_logic.dpatch: Once an audio output options has been found to be available, break out of the loop and run with the choice made. Patch sent upstream. -- Luke Yelavich Tue, 01 Sep 2009 11:22:37 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu10) karmic; urgency=low * debian/rules: Add DEB_UPDATE_RCD_PARAMS variable to set dh_installinit parameters, dropped during the move to cdbs. * debian/patches/20_fix_homedir_bug.dpatch: Dropped, not really the best approach. * debian/patches/11_config_Set_the_audio_output_to_be_pulse_alsa_by_defa.dpatch: Temporarily drop until the pulse output code is fixed to actually connect to the pulseaudio server when pulse_open is called. The current situation sees pulseaudi as a successful choice for audio, even though no connectino attempt to the server has yet been made. -- Luke Yelavich Mon, 31 Aug 2009 16:07:16 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu9) karmic; urgency=low * Actually add debian/patches/19_enable_autospawn_config.dpatch to the 00list file. * debian/patches/20_fix_homedir_bug.dpatch: Only check and use contents in $HOME/.speech-dispatcher if the home dir of the current user starts with /home. Patch pushed upstream. (LP: #351421) * debian/rules: Re-add the PIDPATH variable passed to the configure script, accidentally dropped with the move to cdbs. -- Luke Yelavich Fri, 28 Aug 2009 17:24:33 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu8) karmic; urgency=low * debian/control: Drop build depend on libaudio-dev, so we don't pull NAS packages onto the CDs. -- Luke Yelavich Fri, 28 Aug 2009 10:20:25 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu7) karmic; urgency=low * debian/rules, debian/speech-dispatcher.init: Only stop on init level 1, and not levels 0 or 6. debian/speech-dispatcher.postrm: Do not remove system user on package removal. -- Luke Yelavich Thu, 27 Aug 2009 08:51:25 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu6) karmic; urgency=low * Remove autoconf/automake files from .diff.gz that managed to creep in due to different versions of autotools on my system. -- Luke Yelavich Wed, 26 Aug 2009 12:19:38 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu5) karmic; urgency=low * debian/speechd-server-spawn: Only spawn the server if autospawning is enabled. * debian/patches/19_enable_autospawn_config.dpatch: Enable auto-spawning by default in speechd.conf. * debian/python-speechd.install: Dropp speech-dispatcher desktop file As it will not be needed, and its in the wrong package anyway. -- Luke Yelavich Wed, 26 Aug 2009 10:43:08 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu4) karmic; urgency=low * debian/control: Fix some lintian warnings. * Added manpages for spd-conf and speechd-server-spawn. * debian/patches/18_cleanup_c_api.dpatch: Fix typos in the API header file, patch sent upstream. -- Luke Yelavich Tue, 25 Aug 2009 15:30:52 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu3) karmic; urgency=low * Massive cleanup of packaging, moved from part debhelper and part copying files to cdbs, allowing for much cleaner and easier maintenance of the package in the future. * Bumped compat to 7, and standards to 3.8.3, no changes needed. * Removed some packages from build-depends that are not needed for the package to be built. -- Luke Yelavich Mon, 24 Aug 2009 15:00:54 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu2) karmic; urgency=low * debian/rules: /usr/share/speech-dispatcher/conf/desktop/speechd.desktop should only be in the python-speechd package. -- Luke Yelavich Thu, 20 Aug 2009 11:32:58 +1000 speech-dispatcher (0.6.7+git20090514-0ubuntu1) karmic; urgency=low * New upstream git snapshot * Refresh all patches that have been written and sent upstream, but are not yet applied. * debian/patches/17_autospawn.dpatch: Add support for auto-spawning the speech-dispatcher server when a client attempts to connect to the server either with python bindings, or via the C aPI. Needs clenaing up before sending upstream. * debian/rules: Install speechd-server-spawn into the speech-dispatcher package used for auto spawning. -- Luke Yelavich Mon, 17 Aug 2009 14:04:16 +1000 speech-dispatcher (0.6.7-9) unstable; urgency=low * Fix init.d dependencies, thanks to Petter Reinholdtsen ; closes: #582167. * Fix FTBFS on flite.c, thanks to Andres Mejia ; closes: #577896. -- Milan Zamazal Sun, 30 May 2010 19:33:21 +0200 speech-dispatcher (0.6.7-8) unstable; urgency=low * Link spd-say to libpthread; closes: #556369. -- Milan Zamazal Mon, 23 Nov 2009 13:33:58 +0100 speech-dispatcher (0.6.7-7) unstable; urgency=low * Move cl-speech-dispatcher to section lisp. -- Milan Zamazal Mon, 09 Nov 2009 10:50:24 +0100 speech-dispatcher (0.6.7-6) unstable; urgency=low * Change priority back to optional as optional mumble package depends on libspeechd2. * postinst: Don't call adduser with --no-create-home; closes: #554851. * postrm: Force removal of /var/run/speech-dispatcher. -- Milan Zamazal Mon, 09 Nov 2009 09:56:39 +0100 speech-dispatcher (0.6.7-5) unstable; urgency=low * Apply getline conflict patch from Luke Yelavich's unofficial repository; closes: #552889. * init script: Create /var/run/speech-dispatcher/ directory if it doesn't exist. * init script: Call `start-stop-daemon --start' with --oknodo. * postinst: Don't create speech-dispatcher home directory. * README.source added. * debian/rules: Actually pass MAKEFLAGS and other variables to make invocations. * debian/rules: Don't override prefix on install, use DESTDIR instead. * Standards 3.8.3. * Updated to debhelper 7. * debian/control: Add ${misc:Depends}. * Don't use full paths in the maintainer scripts. * Move the memory leak fix patch to dpatch. -- Milan Zamazal Mon, 02 Nov 2009 14:12:08 +0100 speech-dispatcher (0.6.7-4ubuntu6) UNRELEASED; urgency=low * debian/patches/18_python_bindings_autospawn.dpatch: Add support for spawning the speech-dispatcher server if it is not running. As the patch file name indicates, this is for the python bindings. The code to spawn the server from the C API will be added at a later date. * debian/speechd-server-spawn: Add a shell script to wrap around the server. The script will return the pid of the running speechd-server, whether the script started it or not. The script will also run speech-dispatcher in system mode if the script is run as root. -- Luke Yelavich Fri, 07 Aug 2009 16:13:57 +0100 speech-dispatcher (0.6.7-4ubuntu5) karmic; urgency=low * 15_user_session_integration.dpatch: More tightly integrate speech-dispatcher into the user session, setting a unique port to be used by each user instance of speech-dispatcher Patch sent upstream. * 16_no_hard_code_speechd_clients.dpatch: Adjust the config file so that client config file inclusion does not need to be hard coded. Patch sent upstream. * 17_respect_destdir.dpatch: Respect DESTDIR everywhere, taken from upstream git master. * debian/rules: - Enable session integration, as per the above patch. - Use Call make install with the DESTDIR variable set. -- Luke Yelavich Thu, 30 Jul 2009 15:58:07 +1000 speech-dispatcher (0.6.7-4ubuntu4) karmic; urgency=low * 14_set_default_audio_output.dpatch: Remove oss from the audio output list, as for some reason, no audio output device gets open when oss is present. Needs further investigation. -- Luke Yelavich Wed, 08 Jul 2009 11:43:44 +1000 speech-dispatcher (0.6.7-4ubuntu3) karmic; urgency=low * 08_server-Send-log-level-configuration-setting-to_modules.dpatch: Send the loglevel setting to the speech modules, to ensure a consistant log level in all logfiles. Patch sent upstream. * 09_modules-Receive-and-set-log-level-from-speechd-server.dpatch: Receive the log level from the speech server, ans set it globally. Patch sent upstream. * 10_audio-alsa-audio-oss-Take-the-log-level-into-account.dpatch: Take the log level into account when logging audio activity. Patch sent upstream. * 11_audio-alsa-audio-oss-Assign-all-log-messages-a-log-level.dpatch: Assign all log messages a log level in the audio output code. Patch sent upstream. * 12_audio-modules-Set-libspdaudio-s-internal-log_level-variable.dpatch: Set the log level for use in the audio output library code. Patch sent upstrea. * 13_audio_fallback.dpatch: Enable graceful audio fallback for audio output. When attempting to set up audio output, a module will itterate through a comma separated list of audio output methods until it can either successfully set up audio output, or all specified audio outputs fail to be set up. Patch sent upstream. -- Luke Yelavich Wed, 08 Jul 2009 11:01:22 +1000 speech-dispatcher (0.6.7-4ubuntu2) karmic; urgency=low * debian/patches/07_pulse_adjustments.dpatch: Adjust some pulseaudio functionality for lower latency. -- Luke Yelavich Fri, 15 May 2009 12:57:55 +1000 speech-dispatcher (0.6.7-4ubuntu1) karmic; urgency=low * Merge from debian unstable, remaining changes: - Add lpia to the list of architectures for libasound2-dev - Python-speechd should depend on speech-dispatcher - Moved the flite output module to a separate package, and added it to suggests - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present - Speech-dispatcher is not started on system boot by default - Use alsa as default audio output * debian/patches/06_fix_libspeechd_memleak.dpatch: Move the memory leak fix to a patch file, rather than it be applied directly in the .diff.gz -- Luke Yelavich Wed, 06 May 2009 08:50:54 +1000 speech-dispatcher (0.6.7-4) unstable; urgency=low * Upload to unstable. -- Milan Zamazal Sat, 07 Mar 2009 14:25:29 +0100 speech-dispatcher (0.6.7-3) experimental; urgency=low * Fix memory leak on connection error in libspeechd. Thanks to Mario Lang . Closes: #509533. -- Milan Zamazal Tue, 23 Dec 2008 10:21:16 +0100 speech-dispatcher (0.6.7-2) experimental; urgency=low * Main log file name changed back to `speech-dispatcher.log' everywhere. * Upload to experimental because lenny is frozen. -- Milan Zamazal Fri, 24 Oct 2008 20:38:30 +0200 speech-dispatcher (0.6.7-1) experimental; urgency=low * New upstream version. * Upload to experimental because lenny is frozen. -- Milan Zamazal Mon, 04 Aug 2008 21:27:14 +0200 speech-dispatcher (0.6.7-0ubuntu4) jaunty; urgency=low * debian/control: Move python-all-dev build dependency so its pulled in for all arches (Fix FTBF) -- Luke Yelavich Mon, 02 Mar 2009 15:39:08 +1100 speech-dispatcher (0.6.7-0ubuntu3) jaunty; urgency=low * rebuild for python 2.6 -- Luke Yelavich Mon, 02 Mar 2009 14:57:49 +1100 speech-dispatcher (0.6.7-0ubuntu2) intrepid; urgency=low * debian/patches/04_from_cvs_fix_hash_expansion.dpatch: Prevent bash expansion of $DATA variables. * debian/patches/05_from_cvs_threading_fixes.dpatch: Fix some mutex issues relating to alsa audio output and the espeak module. -- Luke Yelavich Fri, 17 Oct 2008 10:47:20 +1100 speech-dispatcher (0.6.7-0ubuntu1) intrepid; urgency=low * New upstream release. * Merge from debian unstable, remaining changes: - Add lpia to the list of architectures for libasound2-dev. - Python-speechd should depend on speech-dispatcher. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. - Set maintainer to Ubuntu Accessibility Developers. - Speech-dispatcher is not started on system boot by default. * Use alsa as default audio output. -- Luke Yelavich Sat, 16 Aug 2008 21:29:26 +1000 speech-dispatcher (0.6.7~rc1-1) unstable; urgency=low * New upstream version (pre-release). * DEB_BUILD_OPTIONS setup updated as described in the current policy. * `Homepage' control field added. * Standards 3.8.0. -- Milan Zamazal Sun, 13 Jul 2008 16:58:37 +0200 speech-dispatcher (0.6.6+cvs20080515-0ubuntu1) intrepid; urgency=low * New upstream CVS snapshot. * Merge from debian unstable, remaining changes: - Add lpia to the list of architectures for libasound2-dev. - Python-speechd should depend on speech-dispatcher. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. - Set maintainer to Ubuntu Accessibility Developers. - Speech-dispatcher is not started on system boot by default. - Use pulseaudio output by default for all modules that support it. -- Luke Yelavich Fri, 06 Jun 2008 12:55:04 +1000 speech-dispatcher (0.6.6-2) unstable; urgency=low * Don't rmdir python-speechd/usr/lib, build depend on python-central >= 0.6 instead; closes: #472029. * config.{guess,sub} updated. -- Milan Zamazal Fri, 21 Mar 2008 21:39:17 +0100 speech-dispatcher (0.6.6-1) unstable; urgency=low * New upstream version. * Standards 3.7.3 (no real change). * Remove trailing stars in debian/patches/00list. * Don't create /usr/lib/speech-dispatcher in libspeechd2. * Don't create /usr/share/festival in speech-dispatcher. * speech-dispatcher.7 man page formal fixes. * Descriptions added to Debian patches. * config.* files synced with current autotools-dev. -- Milan Zamazal Wed, 13 Feb 2008 22:59:11 +0100 speech-dispatcher (0.6.6-0ubuntu8) hardy; urgency=low * Disable speech-dispatcher from starting at system boot. This ensures that users using another speech system such as gnome-speech, or users using pulseaudio, will still be able to use speech/pulseaudio after a system restart. (LP: #213755) * Use PulseAudio output by default for all modules that support it. -- Luke Yelavich Thu, 17 Apr 2008 20:27:02 +1000 speech-dispatcher (0.6.6-0ubuntu7) hardy; urgency=low * debian/patches/07_libspeechd-h.dpatch: Fix from CVS: Ensure libspeechd.h is not included more than once. -- Luke Yelavich Wed, 09 Apr 2008 22:52:02 +1000 speech-dispatcher (0.6.6-0ubuntu6) hardy; urgency=low * debian/patches/05_mutex-fix.dpatch taken from CVS: - src/c/api/libspeechd.c (spd_send_data): Insure that function does not hold a mutex when it returns. -- Luke Yelavich Wed, 02 Apr 2008 15:20:08 +1100 speech-dispatcher (0.6.6-0ubuntu5) hardy; urgency=low * debian/patches/05_honour-environment.dpatch: Drop for now, proper integration work will be done in Intrepid. * debian/speech-dispatcher.profile.d: Drop, same as above. * Run as system service by default, this will change for intrepid. * debian/rules: Adjust for recent pycentral updates. -- Luke Yelavich Wed, 05 Mar 2008 13:48:11 +1100 speech-dispatcher (0.6.6-0ubuntu4) hardy; urgency=low * Only set the SPEECHD_PORT environment variable if speech-dispatcher is not already running system wide. -- Luke Yelavich Tue, 26 Feb 2008 08:50:39 +1100 speech-dispatcher (0.6.6-0ubuntu3) hardy; urgency=low * debian/patches/05_honour-environment.dpatch: Honour the SPEECHD_PORT environment variable. * debian/patches/06_flite-improvements.dpatch: Flite updates from CVS as below: - src/modules/flite.c (_flite_speak): Call flite_strip_silence to get rid of leading and trailing silence in utterance (Idea and algorithm copied from eflite). - (flite_set_rate): Increase maximum speech rate. -- Luke Yelavich Mon, 25 Feb 2008 14:17:44 +1100 speech-dispatcher (0.6.6-0ubuntu2) hardy; urgency=low * debian/patches/04_doc-updates.dpatch: Documentation updates from CVS. * debian/init: Quote recently added strings appropriately. * Add shell script to /etc/profile.d to set the SPEECHD_PORT environment variable to a unique port number for users to run speech-dispatcher sessions. -- Luke Yelavich Wed, 20 Feb 2008 15:32:53 +1100 speech-dispatcher (0.6.6-0ubuntu1) hardy; urgency=low * New upstream release, -- Luke Yelavich Wed, 13 Feb 2008 23:27:48 +1100 speech-dispatcher (0.6.5+cvs20080211-0ubuntu1) hardy; urgency=low * New upstream snapshot. 0.6.6 is likely to land soon, but not soon enough for Ubuntu. * Fix up multiple /etc/default/speech-dispatcher files. -- Luke Yelavich Wed, 13 Feb 2008 20:03:40 +1100 speech-dispatcher (0.6.5+cvs20080204-0ubuntu3) hardy; urgency=low * debian/control: Fix typo causing python-speech to fail installation. -- Luke Yelavich Sat, 09 Feb 2008 18:56:00 +1100 speech-dispatcher (0.6.5+cvs20080204-0ubuntu2) hardy; urgency=low * Move all indep dependencies into Build-Depends. This will fix FTBFS on all arches other than i386 for good. * Only use python 2.5 for python-speechd. -- Luke Yelavich Fri, 08 Feb 2008 09:14:48 +1100 speech-dispatcher (0.6.5+cvs20080204-0ubuntu1) hardy; urgency=low * New upstream snapshot, encorporating some rather important stability fixes, both in the core, and the audio subsystem * debian/patches/02_python-makefile.dpatch: Reworked * debian/patches/04_libs-cleanup.dpatch: Dropped, applied upstream * debian/patches/05_pulseaudio-fixes.dpatch: Dropped, applied upstream * Removed python-all-dev from Build-Depends. * speech-dispatcher is started by default, but can easily be disabled if a user so wishes. -- Luke Yelavich Thu, 07 Feb 2008 16:40:28 +1100 speech-dispatcher (0.6.5-1ubuntu3) hardy; urgency=low * debian/patches/05_pulseaudio-fixes.dpatch: - Fixes taken from CVS: + pulse_play now returns once the given track has been drained. + automatically close the PulseAudio connection after a moment of inactivity (currently set to 100ms in PULSE_TIMEOUT_IN_USEC). -- Luke Yelavich Fri, 21 Dec 2007 21:53:01 +1100 speech-dispatcher (0.6.5-1ubuntu2) hardy; urgency=low * debian/patches/04_libs-cleanup.dpatch: - Remove libraries that were being linked against, but had no symbols being used. - Link libsdaudio.so.2.00.2 against libpthread. * debian/rules: Run dh_makeshlibs for the speech-dispatcher package as well. Needed to ensure speech-dispatcher-flite can get the correct shlib dependencies. -- Luke Yelavich Fri, 14 Dec 2007 13:58:57 +1100 speech-dispatcher (0.6.5-1ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Add python-all-dev to build-depends. (Fix FTBFS) - Add lpia to the list of architectures for libasound2-dev. - Python-speechd should depend on speech-dispatcher. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. - Set myself as maintainer. * Ubuntu changes dropped: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. Applied upstream. - Endian fixes to speech drivers, and the audio output library. Applied upstream. - Changed default speech synthesizer to the new espeak driver. Applied upstream. -- Luke Yelavich Sat, 01 Dec 2007 22:34:55 +1100 speech-dispatcher (0.6.5-1) unstable; urgency=low * New upstream version. * Use dpatch for upstream patches. -- Milan Zamazal Fri, 30 Nov 2007 19:18:46 +0100 speech-dispatcher (0.6.4-2ubuntu2) hardy; urgency=low * Add python-all-dev to build-depends. (Fix FTBFS) * Add lpia to the list of architectures for libasound2-dev. -- Luke Yelavich Tue, 27 Nov 2007 17:47:57 +1100 speech-dispatcher (0.6.4-2ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. - Python-speechd should depend on speech-dispatcher. - Endian fixes to speech drivers, and the audio output library. - Changed default speech synthesizer to the new espeak driver. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Luke Yelavich Tue, 27 Nov 2007 08:07:51 +1100 speech-dispatcher (0.6.4-2) unstable; urgency=low * Build-depend on libespeak-dev. -- Milan Zamazal Fri, 31 Aug 2007 09:30:15 +0200 speech-dispatcher (0.6.4-1) unstable; urgency=low * New upstream version. * debian/rules: Don't `make distclean' result. * debian/control: Use ${*:Version} instead of ${Source-Version}. -- Milan Zamazal Wed, 29 Aug 2007 14:38:54 +0200 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu5) gutsy; urgency=low * debian/patches/02_size_t_fix.dpatch: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. Thanks to Mike Gorse -- Luke Yelavich Mon, 24 Sep 2007 10:54:28 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu4) gutsy; urgency=low * S in source should be lower case. Go me! -- Luke Yelavich Fri, 14 Sep 2007 15:20:07 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu3) gutsy; urgency=low * Python-speechd should depend on speech-dispatcher. * Fix lintian warnings. -- Luke Yelavich Fri, 14 Sep 2007 14:59:37 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu2) gutsy; urgency=low * debian/control: Add dpatch to build-depends. * debian/patches/01_audio_endian_fix.dpatch: - Endian fixes to speech drivers, and the audio output library. -- Luke Yelavich Wed, 12 Sep 2007 14:34:07 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu1) gutsy; urgency=low * New upstream CVS snapshot. * Added libsndfile1-dev, pkg-config, and libespeak-dev as dependencies. * Changed default speech synthesizer to the new espeak driver. -- Luke Yelavich Thu, 16 Aug 2007 14:14:26 +1000 speech-dispatcher (0.6.2-3ubuntu1) gutsy; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: - Change default speech-dispatcher configuration to use espeak. - Set Luke Yelavich as Ubuntu package maintainer. - debian/control: Add python-dev as a dependency. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Luke Yelavich Fri, 04 May 2007 17:14:18 +1000 speech-dispatcher (0.6.2-3) unstable; urgency=low * Add missing upstream cleanup actions. -- Milan Zamazal Tue, 1 May 2007 10:37:42 +0200 speech-dispatcher (0.6.2-2) experimental; urgency=low * debian/rules: Don't fail when building arch-dep target without Python; closes: #412995. * Upload to experimental because etch is in freeze. -- Milan Zamazal Thu, 1 Mar 2007 18:38:08 +0100 speech-dispatcher (0.6.2-1) experimental; urgency=low * New upstream version. * Upload to experimental because etch is in freeze. * LSB section added to the init script, use LSB functions for printing messages. * Don't call dh_python in rules. -- Milan Zamazal Wed, 28 Feb 2007 12:27:31 +0100 speech-dispatcher (0.6.1-3) unstable; urgency=low * debian/rules: Actually use the CFLAGS variable. -- Milan Zamazal Mon, 6 Nov 2006 09:58:02 +0100 speech-dispatcher (0.6.2-0ubuntu1) gutsy; urgency=low * New upstream release * Ensure espeak is set as default in config/speechd.conf.in. -- Luke Yelavich Mon, 30 Apr 2007 10:42:36 +1000 speech-dispatcher (0.6.1-2ubuntu3) feisty; urgency=low * Change default speech-dispatcher configuration to use espeak. * Move espeak from recommends to depends for the speech-dispatcher package. * Set myself as Ubuntu package maintainer. -- Luke Yelavich Sat, 24 Mar 2007 10:58:54 +1100 speech-dispatcher (0.6.1-2ubuntu2) feisty; urgency=low * debian/control: - Add python-dev as a dependency. -- Luke Yelavich Fri, 2 Feb 2007 23:05:59 +1100 speech-dispatcher (0.6.1-2ubuntu1) edgy; urgency=low * Merge from debian unstable. * Moved the flite output module to a separate package, and added it to suggests. * Configure speech-dispatcher to use festival by default. * Removed the speech-dispatcher-festival metapackage, and added festival-freebsoft-utils to the depends field of speech-dispatcher. * Add espeak to suggests. -- Luke Yelavich Thu, 3 Aug 2006 13:06:55 +1000 speech-dispatcher (0.6.1-2) unstable; urgency=low * python-speechd updated to the new Python policy; closes: #380959. -- Milan Zamazal Tue, 1 Aug 2006 13:03:45 +0200 speech-dispatcher (0.6.1-1) unstable; urgency=low * New upstream version. * New binary package python-speechd. -- Milan Zamazal Tue, 25 Jul 2006 17:42:29 +0200 speech-dispatcher (0.6-6) unstable; urgency=low * Build-depend on libasound2-dev only on Linux architectures; closes: #377889. -- Milan Zamazal Wed, 12 Jul 2006 09:14:06 +0200 speech-dispatcher (0.6-5) unstable; urgency=low * Don't fail in postinst when speech-dispatcher doesn't start. * Standards 3.7.2 (no real change). -- Milan Zamazal Mon, 10 Jul 2006 14:39:31 +0200 speech-dispatcher (0.6-4ubuntu1) edgy; urgency=low * Merge newer debian version: + debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. + debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Stefan Potyra Fri, 7 Jul 2006 15:36:04 +0200 speech-dispatcher (0.6-4) unstable; urgency=low * Libraries required for NAS support added to build dependencies. -- Milan Zamazal Mon, 27 Mar 2006 13:04:13 +0200 speech-dispatcher (0.6-3) unstable; urgency=low * libasound2-dev added to build-dependencies. -- Milan Zamazal Sun, 26 Mar 2006 22:38:42 +0200 speech-dispatcher (0.6-2) unstable; urgency=low * Added missing declaration in the upstream sources to make the package compile on 64-bit architectures, thanks to Samuel Thibault ; closes: #356134. * Standards 3.6.2 (no real change). -- Milan Zamazal Fri, 10 Mar 2006 12:14:17 +0100 speech-dispatcher (0.6-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Fri, 17 Feb 2006 10:40:25 +0100 speech-dispatcher (0.5-4) unstable; urgency=low * Typo in Festival use instructions fixed; closes: #326992. * Remove speech-dispatcher user on `remove' instead of `purge'. Remove its home directory with `rm -r' instead of `deluser --remove-home'. Change owner of the home directory in postinst. Change owner of the log directory recursively. Closes: #348241. -- Milan Zamazal Mon, 16 Jan 2006 12:07:23 +0100 speech-dispatcher (0.5-3) unstable; urgency=low * Patch by Andreas Jochens to compile on amd64 applied; closes: #298420. -- Milan Zamazal Mon, 7 Mar 2005 15:28:31 +0100 speech-dispatcher (0.5-2) unstable; urgency=low * speech-dispatcher: Conflict with older libspeechd1. -- Milan Zamazal Tue, 9 Nov 2004 08:38:55 +0100 speech-dispatcher (0.5-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Tue, 19 Oct 2004 18:58:53 +0200 speech-dispatcher (0.4.1-3) unstable; urgency=low * speech-dispatcher: Depend on adduser; closes: #272215. -- Milan Zamazal Sat, 18 Sep 2004 20:29:46 +0200 speech-dispatcher (0.4.1-2) unstable; urgency=low * libsdaudio.so moved to speech-dispatcher. * Don't build-depend on automake1.7. -- Milan Zamazal Wed, 30 Jun 2004 10:56:29 +0200 speech-dispatcher (0.4.1-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Sun, 30 May 2004 12:55:54 +0200 speech-dispatcher (0.4-1) unstable; urgency=low * New upstream version. * Standards 3.6.1 (no change). -- Milan Zamazal Fri, 28 May 2004 16:07:05 +0200 speech-dispatcher (0.3-6) unstable; urgency=low * Upstream ltmain.sh removed and all auto* files rebuilt; closes: #248536. -- Milan Zamazal Sun, 23 May 2004 13:54:32 +0200 speech-dispatcher (0.3-5) unstable; urgency=low * Default module log file directory changed to /var/log/speech-dispatcher/. * `texinfo' added to build dependencies; closes: #247788. -- Milan Zamazal Fri, 7 May 2004 07:26:35 +0200 speech-dispatcher (0.3-4) unstable; urgency=low * speech-dispatcher-festival: This is an architecture independent package. * debian/rules: Don't build binary-indep packages in binary-dep; closes: #244389. * debian/rules: Install the libraries correctly even with the newer libtool versions that generate library files without the .so extension (for some mysterious unexplained reason); closes: #244386. * speech-dispatcher: The lintian override file updated. -- Milan Zamazal Sun, 18 Apr 2004 17:39:53 +0200 speech-dispatcher (0.3-3) unstable; urgency=low * libspeechd1: Conflict with libspeechd0 (>= 0.3). * Use --oknodo in start-stop-daemon on reloading; closes: #242362. * cl-speech-dispatcher: Depend on cl-regex; closes: #243368. -- Milan Zamazal Tue, 13 Apr 2004 09:35:59 +0200 speech-dispatcher (0.3-2) unstable; urgency=low * libspeechd0 renamed to libspeechd1. -- Milan Zamazal Mon, 5 Apr 2004 12:12:42 +0200 speech-dispatcher (0.3-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Mon, 5 Apr 2004 08:58:05 +0200 speech-dispatcher (0.2-8) unstable; urgency=low * Priority changed back to extra. * Don't install upstream changelog to all binary packages. -- Milan Zamazal Thu, 19 Feb 2004 10:16:18 +0100 speech-dispatcher (0.2-7) unstable; urgency=low * Typo in speech-dispatcher dependencies fixed; closes: #233639. * New package speech-dispatcher-festival. * Package priority changed to optional. * Require at least current libspeechd0 version in shlibs. -- Milan Zamazal Thu, 19 Feb 2004 09:57:57 +0100 speech-dispatcher (0.2-6) unstable; urgency=low * Don't install festival-interface. * Suggest festival-freebsoft-utils. -- Milan Zamazal Mon, 2 Feb 2004 16:04:20 +0100 speech-dispatcher (0.2-5) unstable; urgency=low * Some upstream fixes incorporated. * Typo in `Recommends' field name fixed. -- Milan Zamazal Tue, 27 Jan 2004 12:03:57 +0100 speech-dispatcher (0.2-4) unstable; urgency=low * Common Lisp support added from the CVS version. * New binary package cl-speech-dispatcher. * Use debian/compat and Debhelper 4. -- Milan Zamazal Tue, 20 Jan 2004 19:31:06 +0100 speech-dispatcher (0.2-3) unstable; urgency=low * Commented out log file locations in config files moved to /var/log/speech-dispatcher/ and logrotate entries added for them. -- Milan Zamazal Tue, 6 Jan 2004 18:10:58 +0100 speech-dispatcher (0.2-2) unstable; urgency=low * AUTHORS file added. * Info entry for ssip.info added. -- Milan Zamazal Tue, 30 Dec 2003 09:46:09 +0100 speech-dispatcher (0.2-1) unstable; urgency=low * New upstream release. * debian/rules: Call `make distclean' instead of `make maintainer-clean'. * debian/rules: Update config.{sub,guess}. * Build-depend on autotools-dev; don't build-depend on librecode-dev. -- Milan Zamazal Mon, 29 Dec 2003 14:33:16 +0100 speech-dispatcher (0.1-3) unstable; urgency=low * Don't recommend `flite'; closes: #221889. * Suggest `festival', don't recommend it. * Package sections changed to be in correspondence with the override file. * Information about server_access_list added to README.Debian. -- Milan Zamazal Wed, 26 Nov 2003 12:42:11 +0100 speech-dispatcher (0.1-2) unstable; urgency=low * Recommend `flite | festival'. * Recommend `sound-icons'. * Don't run automake etc. explicitly. * Build-depend on libtool; closes: #221006. * Log file permissions explained in README.Debian; closes: #221102. -- Milan Zamazal Tue, 18 Nov 2003 14:54:40 +0100 speech-dispatcher (0.1-1) unstable; urgency=low * Initial packaging. -- Milan Zamazal Fri, 7 Nov 2003 10:28:54 +0100 speech-dispatcher (0.6.5-1ubuntu2) hardy; urgency=low * debian/patches/04_libs-cleanup.dpatch: - Remove libraries that were being linked against, but had no symbols being used. - Link libsdaudio.so.2.00.2 against libpthread. * debian/rules: Run dh_makeshlibs for the speech-dispatcher package as well. -- Luke Yelavich Fri, 14 Dec 2007 10:35:42 +1100 speech-dispatcher (0.6.5-1ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Add python-all-dev to build-depends. (Fix FTBFS) - Add lpia to the list of architectures for libasound2-dev. - Python-speechd should depend on speech-dispatcher. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. - Set myself as maintainer. * Ubuntu changes dropped: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. Applied upstream. - Endian fixes to speech drivers, and the audio output library. Applied upstream. - Changed default speech synthesizer to the new espeak driver. Applied upstream. -- Luke Yelavich Sat, 01 Dec 2007 22:34:55 +1100 speech-dispatcher (0.6.5-1) unstable; urgency=low * New upstream version. * Use dpatch for upstream patches. -- Milan Zamazal Fri, 30 Nov 2007 19:18:46 +0100 speech-dispatcher (0.6.4-2ubuntu2) hardy; urgency=low * Add python-all-dev to build-depends. (Fix FTBFS) * Add lpia to the list of architectures for libasound2-dev. -- Luke Yelavich Tue, 27 Nov 2007 17:47:57 +1100 speech-dispatcher (0.6.4-2ubuntu1) hardy; urgency=low * Merge from debian unstable, remaining changes: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. - Python-speechd should depend on speech-dispatcher. - Endian fixes to speech drivers, and the audio output library. - Changed default speech synthesizer to the new espeak driver. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Luke Yelavich Tue, 27 Nov 2007 08:07:51 +1100 speech-dispatcher (0.6.4-2) unstable; urgency=low * Build-depend on libespeak-dev. -- Milan Zamazal Fri, 31 Aug 2007 09:30:15 +0200 speech-dispatcher (0.6.4-1) unstable; urgency=low * New upstream version. * debian/rules: Don't `make distclean' result. * debian/control: Use ${*:Version} instead of ${Source-Version}. -- Milan Zamazal Wed, 29 Aug 2007 14:38:54 +0200 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu5) gutsy; urgency=low * debian/patches/02_size_t_fix.dpatch: - Fix some variable data size inconsistancies, causing crashes on 64-bit systems. Thanks to Mike Gorse -- Luke Yelavich Mon, 24 Sep 2007 10:54:28 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu4) gutsy; urgency=low * S in source should be lower case. Go me! -- Luke Yelavich Fri, 14 Sep 2007 15:20:07 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu3) gutsy; urgency=low * Python-speechd should depend on speech-dispatcher. * Fix lintian warnings. -- Luke Yelavich Fri, 14 Sep 2007 14:59:37 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu2) gutsy; urgency=low * debian/control: Add dpatch to build-depends. * debian/patches/01_audio_endian_fix.dpatch: - Endian fixes to speech drivers, and the audio output library. -- Luke Yelavich Wed, 12 Sep 2007 14:34:07 +1000 speech-dispatcher (0.6.4~beta1+cvs20070807-0ubuntu1) gutsy; urgency=low * New upstream CVS snapshot. * Added libsndfile1-dev, pkg-config, and libespeak-dev as dependencies. * Changed default speech synthesizer to the new espeak driver. -- Luke Yelavich Thu, 16 Aug 2007 14:14:26 +1000 speech-dispatcher (0.6.2-3ubuntu1) gutsy; urgency=low * Merge from Debian unstable. Remaining Ubuntu changes: - Change default speech-dispatcher configuration to use espeak. - Set Luke Yelavich as Ubuntu package maintainer. - debian/control: Add python-dev as a dependency. - Moved the flite output module to a separate package, and added it to suggests. - debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. - debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Luke Yelavich Fri, 04 May 2007 17:14:18 +1000 speech-dispatcher (0.6.2-3) unstable; urgency=low * Add missing upstream cleanup actions. -- Milan Zamazal Tue, 1 May 2007 10:37:42 +0200 speech-dispatcher (0.6.2-2) experimental; urgency=low * debian/rules: Don't fail when building arch-dep target without Python; closes: #412995. * Upload to experimental because etch is in freeze. -- Milan Zamazal Thu, 1 Mar 2007 18:38:08 +0100 speech-dispatcher (0.6.2-1) experimental; urgency=low * New upstream version. * Upload to experimental because etch is in freeze. * LSB section added to the init script, use LSB functions for printing messages. * Don't call dh_python in rules. -- Milan Zamazal Wed, 28 Feb 2007 12:27:31 +0100 speech-dispatcher (0.6.1-3) unstable; urgency=low * debian/rules: Actually use the CFLAGS variable. -- Milan Zamazal Mon, 6 Nov 2006 09:58:02 +0100 speech-dispatcher (0.6.2-0ubuntu1) gutsy; urgency=low * New upstream release * Ensure espeak is set as default in config/speechd.conf.in. -- Luke Yelavich Mon, 30 Apr 2007 10:42:36 +1000 speech-dispatcher (0.6.1-2ubuntu3) feisty; urgency=low * Change default speech-dispatcher configuration to use espeak. * Move espeak from recommends to depends for the speech-dispatcher package. * Set myself as Ubuntu package maintainer. -- Luke Yelavich Sat, 24 Mar 2007 10:58:54 +1100 speech-dispatcher (0.6.1-2ubuntu2) feisty; urgency=low * debian/control: - Add python-dev as a dependency. -- Luke Yelavich Fri, 2 Feb 2007 23:05:59 +1100 speech-dispatcher (0.6.1-2ubuntu1) edgy; urgency=low * Merge from debian unstable. * Moved the flite output module to a separate package, and added it to suggests. * Configure speech-dispatcher to use festival by default. * Removed the speech-dispatcher-festival metapackage, and added festival-freebsoft-utils to the depends field of speech-dispatcher. * Add espeak to suggests. -- Luke Yelavich Thu, 3 Aug 2006 13:06:55 +1000 speech-dispatcher (0.6.1-2) unstable; urgency=low * python-speechd updated to the new Python policy; closes: #380959. -- Milan Zamazal Tue, 1 Aug 2006 13:03:45 +0200 speech-dispatcher (0.6.1-1) unstable; urgency=low * New upstream version. * New binary package python-speechd. -- Milan Zamazal Tue, 25 Jul 2006 17:42:29 +0200 speech-dispatcher (0.6-6) unstable; urgency=low * Build-depend on libasound2-dev only on Linux architectures; closes: #377889. -- Milan Zamazal Wed, 12 Jul 2006 09:14:06 +0200 speech-dispatcher (0.6-5) unstable; urgency=low * Don't fail in postinst when speech-dispatcher doesn't start. * Standards 3.7.2 (no real change). -- Milan Zamazal Mon, 10 Jul 2006 14:39:31 +0200 speech-dispatcher (0.6-4ubuntu1) edgy; urgency=low * Merge newer debian version: + debian/init.d: Added work-around to ensure /var/run/speech-dispatcher is created at boot due to /var/run being mounted tmpfs. + debian/speech-dispatcher.postrm: Add check for /var/run/speech-dispatcher and do not try to remove if not present. -- Stefan Potyra Fri, 7 Jul 2006 15:36:04 +0200 speech-dispatcher (0.6-4) unstable; urgency=low * Libraries required for NAS support added to build dependencies. -- Milan Zamazal Mon, 27 Mar 2006 13:04:13 +0200 speech-dispatcher (0.6-3) unstable; urgency=low * libasound2-dev added to build-dependencies. -- Milan Zamazal Sun, 26 Mar 2006 22:38:42 +0200 speech-dispatcher (0.6-2) unstable; urgency=low * Added missing declaration in the upstream sources to make the package compile on 64-bit architectures, thanks to Samuel Thibault ; closes: #356134. * Standards 3.6.2 (no real change). -- Milan Zamazal Fri, 10 Mar 2006 12:14:17 +0100 speech-dispatcher (0.6-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Fri, 17 Feb 2006 10:40:25 +0100 speech-dispatcher (0.5-4) unstable; urgency=low * Typo in Festival use instructions fixed; closes: #326992. * Remove speech-dispatcher user on `remove' instead of `purge'. Remove its home directory with `rm -r' instead of `deluser --remove-home'. Change owner of the home directory in postinst. Change owner of the log directory recursively. Closes: #348241. -- Milan Zamazal Mon, 16 Jan 2006 12:07:23 +0100 speech-dispatcher (0.5-3) unstable; urgency=low * Patch by Andreas Jochens to compile on amd64 applied; closes: #298420. -- Milan Zamazal Mon, 7 Mar 2005 15:28:31 +0100 speech-dispatcher (0.5-2) unstable; urgency=low * speech-dispatcher: Conflict with older libspeechd1. -- Milan Zamazal Tue, 9 Nov 2004 08:38:55 +0100 speech-dispatcher (0.5-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Tue, 19 Oct 2004 18:58:53 +0200 speech-dispatcher (0.4.1-3) unstable; urgency=low * speech-dispatcher: Depend on adduser; closes: #272215. -- Milan Zamazal Sat, 18 Sep 2004 20:29:46 +0200 speech-dispatcher (0.4.1-2) unstable; urgency=low * libsdaudio.so moved to speech-dispatcher. * Don't build-depend on automake1.7. -- Milan Zamazal Wed, 30 Jun 2004 10:56:29 +0200 speech-dispatcher (0.4.1-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Sun, 30 May 2004 12:55:54 +0200 speech-dispatcher (0.4-1) unstable; urgency=low * New upstream version. * Standards 3.6.1 (no change). -- Milan Zamazal Fri, 28 May 2004 16:07:05 +0200 speech-dispatcher (0.3-6) unstable; urgency=low * Upstream ltmain.sh removed and all auto* files rebuilt; closes: #248536. -- Milan Zamazal Sun, 23 May 2004 13:54:32 +0200 speech-dispatcher (0.3-5) unstable; urgency=low * Default module log file directory changed to /var/log/speech-dispatcher/. * `texinfo' added to build dependencies; closes: #247788. -- Milan Zamazal Fri, 7 May 2004 07:26:35 +0200 speech-dispatcher (0.3-4) unstable; urgency=low * speech-dispatcher-festival: This is an architecture independent package. * debian/rules: Don't build binary-indep packages in binary-dep; closes: #244389. * debian/rules: Install the libraries correctly even with the newer libtool versions that generate library files without the .so extension (for some mysterious unexplained reason); closes: #244386. * speech-dispatcher: The lintian override file updated. -- Milan Zamazal Sun, 18 Apr 2004 17:39:53 +0200 speech-dispatcher (0.3-3) unstable; urgency=low * libspeechd1: Conflict with libspeechd0 (>= 0.3). * Use --oknodo in start-stop-daemon on reloading; closes: #242362. * cl-speech-dispatcher: Depend on cl-regex; closes: #243368. -- Milan Zamazal Tue, 13 Apr 2004 09:35:59 +0200 speech-dispatcher (0.3-2) unstable; urgency=low * libspeechd0 renamed to libspeechd1. -- Milan Zamazal Mon, 5 Apr 2004 12:12:42 +0200 speech-dispatcher (0.3-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Mon, 5 Apr 2004 08:58:05 +0200 speech-dispatcher (0.2-8) unstable; urgency=low * Priority changed back to extra. * Don't install upstream changelog to all binary packages. -- Milan Zamazal Thu, 19 Feb 2004 10:16:18 +0100 speech-dispatcher (0.2-7) unstable; urgency=low * Typo in speech-dispatcher dependencies fixed; closes: #233639. * New package speech-dispatcher-festival. * Package priority changed to optional. * Require at least current libspeechd0 version in shlibs. -- Milan Zamazal Thu, 19 Feb 2004 09:57:57 +0100 speech-dispatcher (0.2-6) unstable; urgency=low * Don't install festival-interface. * Suggest festival-freebsoft-utils. -- Milan Zamazal Mon, 2 Feb 2004 16:04:20 +0100 speech-dispatcher (0.2-5) unstable; urgency=low * Some upstream fixes incorporated. * Typo in `Recommends' field name fixed. -- Milan Zamazal Tue, 27 Jan 2004 12:03:57 +0100 speech-dispatcher (0.2-4) unstable; urgency=low * Common Lisp support added from the CVS version. * New binary package cl-speech-dispatcher. * Use debian/compat and Debhelper 4. -- Milan Zamazal Tue, 20 Jan 2004 19:31:06 +0100 speech-dispatcher (0.2-3) unstable; urgency=low * Commented out log file locations in config files moved to /var/log/speech-dispatcher/ and logrotate entries added for them. -- Milan Zamazal Tue, 6 Jan 2004 18:10:58 +0100 speech-dispatcher (0.2-2) unstable; urgency=low * AUTHORS file added. * Info entry for ssip.info added. -- Milan Zamazal Tue, 30 Dec 2003 09:46:09 +0100 speech-dispatcher (0.2-1) unstable; urgency=low * New upstream release. * debian/rules: Call `make distclean' instead of `make maintainer-clean'. * debian/rules: Update config.{sub,guess}. * Build-depend on autotools-dev; don't build-depend on librecode-dev. -- Milan Zamazal Mon, 29 Dec 2003 14:33:16 +0100 speech-dispatcher (0.1-3) unstable; urgency=low * Don't recommend `flite'; closes: #221889. * Suggest `festival', don't recommend it. * Package sections changed to be in correspondence with the override file. * Information about server_access_list added to README.Debian. -- Milan Zamazal Wed, 26 Nov 2003 12:42:11 +0100 speech-dispatcher (0.1-2) unstable; urgency=low * Recommend `flite | festival'. * Recommend `sound-icons'. * Don't run automake etc. explicitly. * Build-depend on libtool; closes: #221006. * Log file permissions explained in README.Debian; closes: #221102. -- Milan Zamazal Tue, 18 Nov 2003 14:54:40 +0100 speech-dispatcher (0.1-1) unstable; urgency=low * Initial packaging. -- Milan Zamazal Fri, 7 Nov 2003 10:28:54 +0100 debian/speech-dispatcher.10000644000000000000000000000567712240067043012660 0ustar .\" Copyright (C) 2011 Brailcom, o.p.s. .\" .\" This is free software; you can redistribute it and/or modify it under .\" the terms of the GNU General Public License as published by the Free .\" Software Foundation; either version 2, or (at your option) any later .\" version. .\" .\" This is distributed in the hope that it will be useful, but WITHOUT .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License .\" for more details. .\" .\" You should have received a copy of the GNU General Public License with .\" your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with .\" the dpkg source package as the file COPYING. If not, write to the Free .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. .TH SPEECH-DISPATCHER "1" "March 2011" "speech-dispatcher 0.7.1" "User Commands" .SH NAME speech-dispatcher \- server process managing speech requests in Speech Dispatcher .SH SYNOPSIS .B speech-dispatcher [\fI-{d|s}\fR] [\fI-l {1|2|3|4|5}\fR] [\fI-c com_method\fR] [\fI-S socket_path\fR] [\fI-p port\fR] \fI| \fR[\fI-v\fR] \fI| \fR[\fI-h\fR] .SH DESCRIPTION .B speech-dispatcher is a server process that is responsible for transforming requests for text-to-speech output into actual speech hearable in the speakers. It arbitrates concurrent speech requests based on message priorities, and abstracts different speech synthesizers. Client programs, like screen readers or navigation software, send speech requests to .B speech-dispatcher using TCP protocol (with the help of client libraries). .B speech-dispatcher is usually started automatically by client libraries (i.e. autospawn), so you only need to run it manually if testing/debugging, or when in other explicit need for a special setup. .SH OPTIONS .TP .B \-d, \-\-run\-daemon Run as a daemon .TP .B \-s, \-\-run\-single Run as single application .TP .B \-a, \-\-spawn Start only if autospawn is not disabled .TP .B \-l, \-\-log\-level Set log level (1..5) .TP .B \-c, \-\-communication\-method Communication method to use (unix_socket or inet_socket) \-S, \-\-socket\-path Socket path to use for 'unix_socket' method (filesystem path or 'default') .TP .B -p, \-\-port Specify a port number for 'inet_socket' method .TP .B \-P, \-\-pid\-file Set path to pid file .TP .B -C, \-\-config\-dir Set path to configuration .TP .B \-v, \-\-version Report version of this program .TP .B \-D, \-\-debug Output debugging information into /tmp/.speech\-dispatcher .TP .B \-h, \-\-help Print this info .SH BUGS Please report bugs to .PP .SH "SEE ALSO" .BR spd\-say(1) The full documentation for .B speech-dispatcher is maintained as a Texinfo manual. If the .B info and .B speech-dispatcher programs are properly installed at your site, the command .IP .B info speech-dispatcher .PP should give you access to the complete manual. debian/source.lintian-overrides0000664000000000000000000000064312301037772014055 0ustar # The license of these files is dual licensed with GPL-2+ and furthermore # have the no invariant remark speech-dispatcher source: license-problem-gfdl-invariants doc/speech-dispatcher.info speech-dispatcher source: license-problem-gfdl-invariants doc/speech-dispatcher.texi speech-dispatcher source: license-problem-gfdl-invariants doc/ssip.info speech-dispatcher source: license-problem-gfdl-invariants doc/ssip.texi debian/speech-dispatcher-flite.install0000664000000000000000000000005312301042330015236 0ustar usr/lib/speech-dispatcher-modules/sd_flite debian/speech-dispatcher-festival.README.Debian0000664000000000000000000000210512301037772016436 0ustar In order to use Speech Dispatcher with Festival (which is recommended), you must have installed this package (or the packages it depends on) and have the Festival server started. To achieve the latter, you must start the server by hand such as running festival --server on a command line or in some script. If you want to run festival system wide, please read its README.Debian which contains important (security) information. If Speech Dispatcher is running as a system service (which is not recommended anymore) and started before the Festival server is started, you must run invoke-rc.d speech-dispatcher reload to allow Speech Dispatcher to figure out that the previously unavailable Festival server is now running. And finally, you must tell Speech Dispatcher to use Festival for its output. Change the following configuration options in ~/.config/speech-dispatcher/speechd.conf: DefaultModule festival LanguageDefaultModule "en" "festival" -- Milan Zamazal , Wed Nov 26 12:41:31 2003 -- Paul Gevers , Tue, 14 Jan 2014 21:46:02 +0100 debian/copyright0000664000000000000000000001436712301037772011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: speechd Source: http://www.freebsoft.org/pub/projects/speechd/ Files: * Copyright: 2001-2012 Brailcom, o.p.s. 2008, Bohdan R. Rau 1995-2012, Free Software Foundation, Inc. License: GPL-2+ Files: doc/* Copyright: 2001-2008 Brailcom, o.p.s. License: GFDL-NIV-1.2+ or GPL-2+ Files: doc/spd-say.texi Copyright: 2001-2008 Brailcom, o.p.s. License: GFDL-NIV-1.2+ Files: doc/texinfo.tex Copyright: 1985-2011, Free Software Foundation, Inc License: GPL-3+ with tex exception Files: include/spd_audio_plugin.h src/audio/* src/modules/ibmtts.c src/modules/module_main.c src/modules/module_utils.c src/modules/module_utils.h src/modules/module_utils_addvoice.c src/modules/pico.c src/modules/spd_audio.c src/modules/spd_audio.h Copyright: 2001-2010, Brailcom, o.p.s. 2009, Marco Skambraks 2009, Rui Batista Luke Yelavich License: LGPL-2.1+ Files: src/modules/festival_client.* Copyright: 1999, Centre for Speech Technology Research, University of Edinburgh, UK License: other Files: src/clients/spdsend/spdsend.h src/tests/spd_cancel_long_message.c: src/tests/spd_set_notifications_all.c src/api/guile/gssip.h Copyright: 2004-2010, Brailcom, o.p.s. License: GPL-2 Files: debian/* Copyright: Milan Zamazal 2014, Paul Gevers License: GPL-2+ and public domain The Debian management files in the debian/ subdirectory written by Milan Zamazal are put in public domain. . All other contributions are made under the same license as the package. License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, you can find the GNU General Public License version 2 in the file /usr/share/common-licenses/GPL-2. License: LGPL-2.1+ This is free software; you can redistribute it and/or modify it under the terms of the GNU Leser General Public License as published by the Free Software Foundation; either version 2.1, or (at your option) any later version. . This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, you can find the GNU Lesser General Public License version 2.1 in the file /usr/share/common-licenses/LGPL-2.1. License: other Permission is hereby granted, free of charge, to use and distribute this software and its documentation without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this work, and to permit persons to whom this work is furnished to do so, subject to the following conditions: 1. The code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Any modifications must be clearly marked as such. 3. Original authors' names are not deleted. 4. The authors' names are not used to endorse or promote products derived from this software without specific prior written permission. . THE UNIVERSITY OF EDINBURGH AND THE CONTRIBUTORS TO THIS WORK DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE UNIVERSITY OF EDINBURGH NOR THE CONTRIBUTORS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. License: GFDL-NIV-1.2+ Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled ``GNU Free Documentation License.'' . On Debian systems, you can find the GNU Free Documentation License version 1.2 in the file /usr/share/common-licenses/GFDL-1.2. License: GPL-2 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . On Debian systems, you can find the GNU General Public License version 2 in the file /usr/share/common-licenses/GPL-2. License: GPL-3+ with tex exception This texinfo.tex file is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. . This texinfo.tex file is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . . As a special exception, when this file is read by TeX when processing a Texinfo source document, you may use the result without restriction. (This has been our intent since Texinfo was invented.) . On Debian systems, you can find the GNU General Public License version 3 in the file /usr/share/common-licenses/GPL-3. debian/speech-dispatcher-doc-cs.info0000644000000000000000000000003712240067043014602 0ustar doc/speech-dispatcher-cs.info* debian/README.Debian0000664000000000000000000000542612301037772011242 0ustar speech-dispatcher (0.8-2) experimental; urgency=low * Since speech-dispatcher 0.8 the user configuration is not searched and stored in ~/.speech-dispatcher/ but in ~/.config/speech-dispatcher. Unfortunately, upstream speech-dispatcher did not implement backward compatibility, and due to the complexity of doing that, neither did we. If you already have a working user configuration, we suggest to manually fix this by either moving the configuration files, making appropriate symlinks or running spd-conf to generate a fresh configuration. * During installation, you probably have speech-dispatcher already running. As I am unsure if it is wise to kill all running speech-dispatcher instancance during installation, I leave that up to the user for now. So you should restart your speech-dispatcher instance to make sure it uses the latest installed version. E.g. by running: $ killall speech-dispatcher and letting it automatically be restarted if you have the default of autospawning on. I can come up with scenarios where reverse dependencies of speech-dispatcher might not work until you do. -- Paul Gevers , Fri, 17 Jan 2014 08:40:28 +0100 * Using Speech Dispatcher with Festival It is recommended to run Speech Dispatcher with Festival, since Festival is the speech synthesizer providing most functionality together with Speech Dispatcher. If you want to use Speech Dispatcher with Festival, please install the speech-dispatcher-festival package and read its README.Debian. * Using Speech Dispatcher with ALSA or OSS When Speech Dispatcher is used with direct sound output to ALSA or OSS (on the contrary to using a sound server, e.g. PulseAudio) and your audio device is not set up to allow concurrent access, Speech Dispatcher may block all your audio output. For this reason the default Speech Dispatcher configuration comes with PulseAudio as the only audio output. If you don't want to use PulseAudio for Speech Dispatcher audio output, change AudioOutputMethod option in your Speech Dispatcher configuration (either /etc/speech-dispatcher/speechd.conf or ~/.config/speech-dispatcher/speechd.conf) accordingly and restart your Speech Dispatcher processes. * System wide startup (not recommended anymore) If you want to run Speech Dispatcher as a system wide process, set RUN option in /etc/default/speech-dispatcher to `yes', and set the SPEECHD_SOCKET environment variable to /var/run/speech-dispatcher/speechd.sock before starting clients. * Log file permissions Please note all Speech Dispatcher log files can reveal your user interactions and texts you read through Speech Dispatcher, among others. For this reason, the /var/log/speech-dispatcher/ directory is world-unreadable by default. -- Milan Zamazal , Fri, 02 Jul 2010 debian/libspeechd-dev.install0000644000000000000000000000011712240067043013431 0ustar usr/lib/*/libspeechd.so usr/lib/*/libspeechd.a usr/lib/*/pkgconfig usr/include debian/python3-speechd.install0000644000000000000000000000011612240067043013567 0ustar usr/bin/spd-conf usr/lib/python3* usr/share/sounds/speech-dispatcher/test.wav debian/speech-dispatcher.manpages0000644000000000000000000000005412240067043014273 0ustar debian/speech-dispatcher.1 debian/spd-say.1 debian/speech-dispatcher-audio-plugins.install0000644000000000000000000000004112240067043016720 0ustar usr/lib/*/speech-dispatcher/*.so debian/speech-dispatcher.postinst0000664000000000000000000000100612301037772014367 0ustar #!/bin/sh set -e USER_NAME=speech-dispatcher HOME_DIR=/var/run/speech-dispatcher if ! id -u $USER_NAME >/dev/null 2>&1; then adduser --quiet --system --ingroup audio \ --home $HOME_DIR \ --shell /bin/sh --disabled-login \ --gecos 'Speech Dispatcher' $USER_NAME chown -R $USER_NAME $HOME_DIR elif ! test -d $HOME_DIR; then if test -d /var/run/speechd; then mv /var/run/speechd $HOME_DIR else mkdir $HOME_DIR fi fi chown -R $USER_NAME /var/log/speech-dispatcher #DEBHELPER# debian/compat0000664000000000000000000000000212301037772010370 0ustar 9 debian/libspeechd2.install0000644000000000000000000000003212240067043012733 0ustar usr/lib/*/libspeechd.so.* debian/speech-dispatcher.install0000664000000000000000000000052212301042330014136 0ustar usr/bin/speech-dispatcher usr/bin/spd-say usr/lib/speech-dispatcher-modules/sd_dummy usr/lib/speech-dispatcher-modules/sd_cicero usr/lib/speech-dispatcher-modules/sd_generic usr/lib/speech-dispatcher-modules/sd_espeak usr/share/sounds/speech-dispatcher/dummy-message.wav usr/share/locale usr/share/speech-dispatcher etc/speech-dispatcher debian/watch0000664000000000000000000000027612301037772010230 0ustar version=3 opts=uversionmangle=s/-(beta)/~$1/ \ http://devel.freebsoft.org/pub/projects/speechd/ \ (?:|.*/)speech-dispatcher(?:[_\-]v?|)(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) debian/gbp.conf0000664000000000000000000000012512301042330010571 0ustar [DEFAULT] debian-branch = ubuntu debian-tag = ubuntu/%(version)s pristine-tar = True debian/python3-speechd.manpages0000644000000000000000000000002212240067043013710 0ustar debian/spd-conf.1 debian/source/0000755000000000000000000000000012240067043010464 5ustar debian/source/format0000644000000000000000000000001412240067043011672 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012301037772010617 5ustar debian/patches/spd_audio-Expose-dlopened-library-s-symbols-to-libs-.patch0000644000000000000000000000327112240067043023653 0ustar From d80e8a705b301350ac5939a856a365ae924b7a09 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Wed, 14 Aug 2013 19:26:30 -0700 Subject: [PATCH] spd_audio: Expose dlopened library's symbols to libs it loads. This fixes the following issue. * Libao is loaded as an audio plugin. * Libao loads its own plugins, using dlopen. * Those plugins try to call functions defined in libao itself, but fail because the symbols aren't globally available. --- src/modules/spd_audio.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/modules/spd_audio.c b/src/modules/spd_audio.c index 95b01f2..3b65bf7 100644 --- a/src/modules/spd_audio.c +++ b/src/modules/spd_audio.c @@ -53,6 +53,27 @@ static int spd_audio_log_level; static lt_dlhandle lt_h; +/* Dynamically load a library with RTLD_GLOBAL set. + + This is needed when a dynamically-loaded library has its own plugins + that call into the parent library. + Most of the credit for this function goes to Gary Vaughan. +*/ +static lt_dlhandle my_dlopenextglobal(const char *filename) +{ + lt_dlhandle handle = NULL; + lt_dladvise advise; + + if (lt_dladvise_init(&advise)) + return handle; + + if (!lt_dladvise_ext(&advise) && !lt_dladvise_global(&advise)) + handle = lt_dlopenadvise(filename, advise); + + lt_dladvise_destroy(&advise); + return handle; +} + /* Open the audio device. Arguments: @@ -91,7 +112,7 @@ AudioID *spd_audio_open(char *name, void **pars, char **error) } libname = g_strdup_printf(SPD_AUDIO_LIB_PREFIX "%s", name); - lt_h = lt_dlopenext(libname); + lt_h = my_dlopenextglobal(libname); g_free(libname); if (NULL == lt_h) { *error = -- 1.8.3.2 debian/patches/cs-docs.patch0000664000000000000000000010703512301037772013203 0ustar Description: upstream forgot to include Czech documentation in the release Forwarded: not-needed Source: http://git.freebsoft.org/?p=speechd.git;f=doc/speech-dispatcher-cs.texi;h=2d8264 Index: speech-dispatcher/doc/Makefile.am =================================================================== --- speech-dispatcher.orig/doc/Makefile.am 2013-03-26 21:27:32.786099155 +1100 +++ speech-dispatcher/doc/Makefile.am 2013-05-01 19:46:48.984867302 +1000 @@ -1,7 +1,7 @@ -info_TEXINFOS = ssip.texi speech-dispatcher.texi spd-say.texi +info_TEXINFOS = ssip.texi speech-dispatcher.texi spd-say.texi speech-dispatcher-cs.texi EXTRA_DIST = figures -speech_dispatcher_TEXINFOS = gpl.texi fdl.texi -speech_dispatcher_cs_TEXINFOS = gpl.texi fdl.texi +speech_dispatcher_TEXINFOS = gpl.texi fdl.texi speech-dispatcher.texi +speech_dispatcher_cs_TEXINFOS = gpl.texi fdl.texi speech-dispatcher-cs.texi ssip_TEXINFOS = gpl.texi fdl.texi Index: speech-dispatcher/doc/speech-dispatcher-cs.texi =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ speech-dispatcher/doc/speech-dispatcher-cs.texi 2013-05-01 19:39:03.384883744 +1000 @@ -0,0 +1,889 @@ +\input texinfo @c -*-texinfo-*- +@c %**start of header +@documentencoding ISO-8859-2 +@documentlanguage cs +@setfilename speech-dispatcher-cs.info +@settitle Speech Dispatcher +@finalout +@c @setchapternewpage odd +@c %**end of header + +@syncodeindex pg cp +@syncodeindex fn cp +@syncodeindex vr cp + +@include version-2.texi + +@dircategory Sound +@dircategory Development + +@direntry +* Speech Dispatcher cs: (speechd-cs). Speech Dispatcher (in Czech). +@end direntry + +@titlepage +@title Speech Dispatcher +@subtitle Zvládnutí Babylonu TTS' +@subtitle pro Speech Dispatcher @value{VERSION} +@author Tom@'a@v{s} Cerha <@email{cerha@@brailcom.org}> +@author Hynek Hanke <@email{hanke@@volny.cz}> +@author Milan Zamazal <@email{pdm@@brailcom.org}> + +@page +@vskip 0pt plus 1filll + +Tento manuál se vzathuje ke Speech Dispatcher, verze @value{VERSION}. Jedná se +v¹ak pouze o u¾ivatelskou èást dokumentace a upozoròujeme, ¾e tento pøeklad ji¾ +není aktuální! Poskytujeme jej s tím, ¾e mo¾ná bude u¾iteèný a to zejména v +sekcích, které popisují obecné koncepty a my¹lenky projektu, a to tìm, kteøí si +nemohou pøeèíst anglickou dokumentaci. Nikdo by nicménì nemìl spoléhat na +technické detaily zde uvedené, proto¾e mnoho vìcí je ji¾ dnes jinak. + +Copyright @copyright{} 2001, 2002, 2003, 2006 Brailcom, o.p.s. + +@quotation +Dáváme povolení kopírovat, distribuovat a/nebo modifikovate tento dokument pod +podmínkami GNU Free Documentation License, Verze 1.2 nebo jakékoliv novìj¹í +verze vydané Free Software Foundation, bez jakýchkoliv Invariant Sections +(nemìnných sekcí), bez Front-Cover Texts (texty na pøední stranì obálky) a bez +Back-Cover Texts (texty na zadní stranì obálky). Kopie této licence je +pøilo¾ena v sekci nazvané ,,GNU Free Documentation License''. +@end quotation + +@end titlepage + +@ifnottex +@node Top, Úvod, (dir), (dir) + +Tento manuál se vzathuje ke Speech Dispatcher, verze @value{VERSION}. Jedná se +v¹ak pouze o u¾ivatelskou èást dokumentace a upozoròujeme, ¾e tento pøeklad ji¾ +není aktuální! Poskytujeme jej s tím, ¾e mo¾ná bude u¾iteèný a to zejména v +sekcích, které popisují obecné koncepty a my¹lenky projektu, a to tìm, kteøí si +nemohou pøeèíst anglickou dokumentaci. Nikdo by nicménì nemìl spoléhat na +technické detaily zde uvedené, proto¾e mnoho vìcí je ji¾ dnes jinak. + +Copyright @copyright{} 2001, 2002, 2003 Brailcom, o.p.s. + +@quotation +Dáváme povolení kopírovat, distribuovat a/nebo modifikovate tento dokument pod +podmínkami GNU Free Documentation License, Verze 1.2 nebo jakékoliv novìj¹í +verze vydané Free Software Foundation; bez jakýchkoliv Invariant Sections +(nemìnných sekcí), bez Front-Cover Texts (texty na pøední stranì obálky) a bez +Back-Cover Texts (texty na zadní stranì obálky). Kopie této licence je +pøilo¾ena v sekci nazvané ,,GNU Free Documentation License''. +@end quotation +@end ifnottex + +@ifhtml +@heading Menu +@end ifhtml + +@menu +* Úvod:: Co to je Speech Dispatcher +* U¾ivatelská dokumentace:: Pou¾ívání, konfigurace + +* GNU General Public License:: Podmínky kopírování Speech Dispatcher +* GNU Free Documentation License:: Podmínky kopírování tohoto manuálu + +* Index of Concepts:: +@end menu + +@node Úvod, U¾ivatelská dokumentace, Top, Top +@chapter Úvod + +@menu +* Motivace:: Proè Speech Dispatcher? +* Základní design:: Jak to pracuje? +* Pøehled základních rysù:: Co v¹echno umí? +* Souèasný stav:: Jaký je souèasný stav? +@end menu + +@node Motivace, Základní design, Úvod, Úvod +@section Motivace +@cindex Hlavní my¹lenky, Motivace +@cindex Filosofie + +Projekt Speech Dispatcher se sna¾í poskytnout na zaøízení nezávislou vrstvu pro +øeèovou syntézu. Mìl by poskytovat jednoduché rozhraní pro klientské aplikace +(aplikace, které chtìjí mluvit), stejnì jako pro ovladaèe konkrétních zaøízení +(rùzné øeèové syntetizéry). + +Vysoce kvalitní øeèová syntéza je tu ji¾ dlouho a nyní je pou¾itelná i pro +bì¾né u¾ivatele na jejich domácích poèítaèích. Obèas to pøichází jako nutnost, +obèas je to jen dobrá vlastnost, aby nìkteré programy poskytovaly øeèový +výstup. Pro syntézu hlasu je tu ¹iroké pole vyu¾ití od výukového software a¾ +po specializované systémy, jako jsou napøíklad nemocnice èi laboratoøe. Pro +zrakovì posti¾ené u¾ivatele je to jedna ze dvou základních cest, jak získat +výstup z poèítaèe (tou druhou je Braillský øádek). + +Existují rùzné øeèové syntetizéry s rùznými schopnostmi. Nìkteré z nich jsou +hardwarové, nìkteré softwarové. Nìkteré jsou svobodným software a jsou volnì +dostupné na internetu. Programátoøi to mají opravdu tì¾ké, kdy¾ chtìjí své +programy rozmluvit, proto¾e potøebují nejprve najít nìjaký vhodný syntetizér +(dlouhé hodiny experimentování a tak dále) a potom jej potøebují nìjak +zprovoznit s jejich programem. Èasto musí psát pro tyto programy èi hardwarová +zaøízení vlastní ovladaèe a dìlají to znovu a znovu. Snadno si lze pøedstavit, +¾e se to celé zhroutí kdy¾ nevinný u¾ivatel spustí dva programy najednou. Kdyby +pøesto nastartovaly oba, budou køièet jeden pøes druhého. + +Tím je pro programátory velmi obtí¾né implementovat do svých programù podporu +øeèové syntézy (pro nevidomé u¾ivatele, nebo prostì pro lep¹í u¾ivatelské +rozhraní) a je to jeden z dùvodù, proè poøád je¹tì plnì nevyu¾íváme toho, co +øeèová syntéza nabízí. + +V ideálním svìtì by programátoøi mohli pro øeèovou syntézu pou¾ívat podobné +pøíkazy, jako to dìlají pro textový výstup na obrazovku (printf, puts, ...). V +ideálním svìtì by existovalo nìjaké speech_printf(), které by se staralo o to, +aby byla zpráva pøemluvena ve správný èas bez pøeru¹ování ostatních. +Programátor by se tak nemusel starat o to, jak je pøesnì komunikace s øeèovým +syntetizérem implementována. V ideálním svìtì by byl v ka¾dé GNU/Linuxové +distribuci nìjaký øeèový syntetizér a nìjaké rozhraní starající se o aplikace, +které chtìjí mluvit, dovolující u¾ivatelùm nastavit si parametry øeèi a +poskytující nìjaké jednoduché rozhraní (jako speech_printf()) pomocí nìjaké +sdílené knihovny pro programátory. Bude to jì¹tì dlouhá cesta ne¾ se nám +podaøí dosáhnout tohoto stavu vìcí, ale se Speech Dispatcherem dìláme první +krùèky... + +@node Základní design, Pøehled základních rysù, Motivace, Úvod +@section Základní design +@cindex Design + +V komunikaci mezi v¹emi rùznými aplikacemi a syntetizéry je obrovský nepoøádek. +Proto jsme chtìli, aby byl Speech Dispatcher vrstva oddìlující aplikace a +syntetizéry tak, aby se aplikace nemusely starat o syntetizéry a syntetizéry se +nemusely starat o interakci s aplikacemi. + +Rozhodli jsme se implementovat Speech Dispatcher jako server, který pøijímá od +aplikací pøíkazy pøes protokol nazvaný @code{SSIP}, zpracovává je a, pokud je +to nutné, zavolá pøíslu¹nou funkci daného výstupního modulu, který pak +komunikuje s nìkterým z rùzných syntetizátorù. + +Ka¾dý klient (aplikace, která chce mluvit) otevøe socketové spojení na Speech +Dispatcher a volá funkce jako say(), stop(), pause() poskytované knihovnou +implementující tento protokol. Tato sdílená knihovna je stále na stranì +klienta a posílá Speech Dispatcheru SSIP pøíkazy pøes otevøený socket. Kdy¾ +pøíkazy dorazí do Dispatchera, ten je zpracuje, pøeète text, který by mìl být +pøeøíkán a vlo¾í jej do fronty podle jeho priority. Potom se rozhodne kdy, s +jakými parametry (nastavovanými klientským programem i u¾ivatelem) a na jakém +syntetizéru zprávu nechá pøemluvit. Tyto po¾adavky na mluvení jsou pak +zpracovávány výstupními moduly (pluginy) pro rùzné hardwarové a softwarové +syntetizéry a pøeøíkány nahlas. + +@image{figures/architecture,155mm,,Architektura Speech Dispatchera} + +Detailní popis programování klientù i serveru je k dispozici v anglickém +manuálu. + +@node Pøehled základních rysù, Souèasný stav, Základní design, Úvod +@section Pøehled základních rysù + +Speech Dispatcher z pohledu u¾ivatele: + +@itemize @bullet +@item snadná konfigurace rùzných mluvících aplikací, centrální správa +@item mo¾nost volnì rozhodovat, jaká aplikace bude mluvit s jakým syntetizérem +@item ménì èasu vìnovaného konfiguraci a ladìní rùzných aplikací vyu¾ívajících syntézu +@item historie zpráv pro zrakovì posti¾ené u¾ivatele +@end itemize + +Speech Dispatcher z pohledu programátora aplikace: + +@itemize @bullet +@item snadná cesta, jak aplikaci rozmluvit +@item jednotné rozhraní k rùzným syntetizérùm +@item synchronizace zpráv na vy¹¹í úrovni (kategorizace pomocí priorit) +@item mo¾nost nemuset se starat o konfiguraci parametrù hlasu +@end itemize + +@node Souèasný stav, , Pøehled základních rysù, Úvod +@section Souèasný stav +@cindex Syntetizéry +@cindex Ostatní programy + +TODO: + +@node U¾ivatelská dokumentace, GNU General Public License, Úvod, Top +@chapter U¾ivatelská dokumentace + +@menu +* Základní funkce:: Detailnìj¹í popis v¹ech základních funkcí +* Spou¹tìní:: Volby pøíkazové øádky +* Konfigurace:: Jak zkonfigurovat Speech Dispatcher +@end menu + +@node Základní funkce, Spou¹tìní, U¾ivatelská dokumentace, U¾ivatelská dokumentace +@section Základní funkce + +V této sekci je detailnìj¹í popis základních funkcí Speech Dispatcheru. + +@menu +* Model priorit zpráv:: Zpracování souèasnì pøíchozích zpráv +* Historie zpráv:: Ukládání zpráv pro pozdìj¹í nahlédnutí +* Více výstupních modulù:: Interakce s rùznými syntetizéry +* Autentifikace u¾ivatelù:: Autentifikace pro pøístup k historii +@end menu + +@node Model priorit zpráv, Historie zpráv, Základní funkce, Základní funkce +@subsection Model priorit zpráv +@cindex priority + +Speech Dispatcher nemù¾e syntetizovat v¹echny zprávy, které do nìj pøichází z +prostého dùvodu, ¾e zprávy pøicházejí obyèejnì rychleji, ne¾ je syntetický hlas +doká¾e èíst. Na obrazovce monitoru je v porovnání s jednokanálovým øeèovým +výstupem relativnì hodnì místa. Z toho dùvodu pou¾íváme systém nìkolika +priorit zamìøených na rùzné typy zpráv. + +My¹lenka je taková, ¾e úlohou programátora klientské aplikace bude pouze urèit +pro ka¾dou zprávu urèitou prioritu odpovídající typu dané zprávy. Ve¹kerá +synchronizace a pøepínání mezi tìmito zprávami (které mohou pocházet od rùzných +klientù) potom bude zaji¹tìno aplikováním urèitých pravidel ve Speech +Dispatcheru. + +@menu +* Typy priorit:: +* Diagram priorit:: +* Pøíklady vyu¾ití priorit:: +@end menu + +@node Typy priorit, Diagram priorit, Model priorit zpráv, Model priorit zpráv +@subsubsection Priority Categories + +Speech Dispatcher poskytuje systém pìti priorit. Ka¾dá zpráva obsahuje buï +explicitní informaci o prioritì, nebo jí je pøiøazena výchozí priorita. + +Prosím podívejte se také na pøilo¾ený diagram (dole). + +@subsubheading Priorita @code{important} +@cindex Priorita important + +Tato zpráva bude pøeøíkána okam¾itì, jak dorazí do serveru. Není nikdy +pøeru¹ena. Kdy¾ server obdr¾í souèasnì nìkolik rùzných zpráv této priority, ty +jsou ulo¾eny a pøeøíkány v poøadí, ve kterém pøi¹ly. + +Kdy¾ pøijde nová zpráva priority @code{important} a zrovna se øíká nìjaká jiná +zpráva, tato jiná zpráva je zahozena. Dal¹í zprávy ni¾¹ích priorit jsou buï +pozdr¾eny (priorita @code{message} a @code{text}) ne¾ ji¾ neèekají na pøeøíkání +¾ádné zprávy priority @code{important}, nebo jsou zahozeny (priority +@code{notification} a @code{progress}). + +Tyto zprávy by mìly být tak krátké, jak je to jen mo¾né, a mìly by být +pou¾ívány pouze zøídka, proto¾e blokují výstup v¹ech ostatních zpráv. + +@subsubheading Priorita @code{message} +@cindex Priorita message + +Tato zpráva bude pøeøíkána, pokud ji¾ ve frontì neèeká ¾ádná jiná zpráva +priority @code{important} nebo @code{message}. V opaèném pøípadì je tato +zpráva pozdr¾ena dokud nebudou v¹echny pøeøíkány. To znamená, ¾e priorita +@code{message} nezastavuje sama sebe. Kdy¾ ve frontì èekají zprávy priorit +@code{notification} nebo @code{progress} nebo @code{text} kdy¾ pøijde zpráva +priority @code{message}, jsou zahozeny. + +@subsubheading Priorita @code{text} +@cindex Priorita text + +Tato zpráva bude pøeøíkána, kdy¾ ve frontì neèeká ¾ádná zpráva priority +@code{important} nebo @code{message}. Pokud èeká, tato nová zpráva je +pozdr¾ena dokud nebudou pøedchozí zprávy pøeøíkány. + +Priorita text pøerqu¹uje sama sebe. To znamená, ¾e kdy¾ pøijde nìkolik zpráv +priority text, ty nejsou pøeøíkány v poøadí, ve kterém pøi¹ly, ale bude vyøèena +pouze poslední z nich a ostatní jsou pøeru¹eny a zahozeny. + +Pokud jsou ve frontì zprávy priorit @code{notification} nebo @code{progress} +nebo se právì pøeøíkávají, jsou zahozeny. + +@subsubheading Priorita @code{notification} +@cindex Priorita notification + +Toto je zpráva nízké priority. Pokud ve frontì èekají zprávy priorit +@code{important}, @code{messages}, @code{text} nebo @code{progress} nebo jsou +právì pøeøíkávány, tato nová zpráva priority @code{notification} je zru¹ena. + +Tato priorita pøeru¹uje sama sebe, tak¾e kdy¾ pøijde najednou více zpráv s +prioritou @code{notification}, pøeøíká se pouze poslední z nich. + +@subsubheading Priority @code{progress} + +Toto je speciální priorita pro zprávy, které pøicházejí krátce po sobì a nesou +informaci o nìjaké probíhající èinnosti (napø.@ @code{Dokonèeno 45%}). + +Kdyby nové zprávy pøeru¹ovaly ostatní (viz. priorita Notification), u¾ivatel by +nemusel sly¹et ani jednu zprávu do konce. + +Tato priorita se chová stejnì jako @code{notification} s výjimkou dvou vìcí. + +@itemize +@item +Zprávy této priority nepøeru¹ují jedna druhou. Místo toho, pokud je zrovna +pøeøíkávána jiná zpráva této priority, novì pøíchozí zpráva je zahozena. +@item +Speech Dispatcher se sna¾í detekovat poslední zprávu v sérii pøíchozích zpráv a +zaruèit její pøeøíkání (pro u¾ivatele je dùle¾ité sly¹et zprávu @code{Completed +100%}, aby vìdìl, ¾e proces ji¾ skonèil). V¾dy, kdy¾ ve frontì ji¾ neèeká +¾ádná nová zpráva této priority a poslední pøíchozí zpráva je¹tì nebyla +pøeøíkána, je její pøeøíkání vynuceno s prioritou @code{message}. +@end itemize + +@node Diagram priorit, Pøíklady vyu¾ití priorit, Typy priorit, Model priorit zpráv +@subsubsection Diagram priorit + +@image{figures/priorities,,,Speech Dispatcher architecture} +@c TODO: Generate a pdf version. (Why? -- Hynek Hanke) + +@node Pøíklady vyu¾ití priorit, , Diagram priorit, Model priorit zpráv +@subsubsection Pøíklady vyu¾ití priorit + +Pøíklady pou¾ití priority @code{important} jsou: + +@itemize +@item chybové hlá¹ky +@item velmi dùle¾ité zprávy +@item ... +@end itemize + +Pøíklady pou¾ití priority @code{message} jsou: + +@itemize +@item bì¾né zprávy programu +@item varování +@item ... +@end itemize + +Pøíklady pou¾ití priority @code{text} jsou: + +@itemize +@item text, na kterém u¾ivatel pracuje +@item pøedèítaný text +@item polo¾ky menu +@item ... +@end itemize + +Pøíklady pou¾ití priority @code{notification} jsou: + +@itemize +@item ménì dùle¾ité informace +@item písmenka pøi vkládání +@item run-time nápovìda +@item ... +@end itemize + +Pøíklady pou¾ití priority @code{progress} jsou: + +@itemize +@item ``dokonèeno 15%'', ``dokonèeno 16%'', ``dokonèeno 17%'' +@item ``Naèítám zvuky'', ``Naèítám grafiku'', ``Naèítám ai'', ... +@end itemize + +@node Historie zpráv, Více výstupních modulù, Model priorit zpráv, Základní funkce +@subsection Historie zpráv +@cindex history + +Pro nevidomé a zrakovì posti¾ené je dobrou vlastností, pokud mají mo¾nost +nìjakým jednoduchým klientem procházet historii vyslovených zpráv. + +Nìkteré ménì dùle¾ité zprávy jsou pøijmuty Speech Dispatcherem bez toho, aby +byly pøeøíkány, proto¾e jsou potlaèeny dùle¾itìj¹ími informacemi. To je +nedìlitelná vlastnost ka¾dého øeèového rozhraní, proto¾e není mo¾né podat v +øeèovém výstupu tolik informací, kolik se jich vejde na obrazovku. To je jeden +z hlavních dùvodù, proè je výhodné udr¾ovat historii pøijatých zpráv, aby se +mohl u¾ivatel podívat, zda mu neu¹lo nìco dùle¾itého. + +@menu +* Pøístupová práva:: Pøístupová práva k historii zpráv +@end menu + +@node Pøístupová práva, , Historie zpráv, Historie zpráv +@subsubsection Access Rights +@cindex access rights + +Aby bylo ochránìno soukromí u¾ivatelù, Speech Dispatcher omezuje pøístup k +historii na urèitou podmno¾inu pøijatých zpráv. Platí následující pravidla: + +@itemize @bullet +@item +V¹echny zprávy pøijaté od urèitého klientského spojení jsou tomuto spojení +pøístupny i v historii. + +@item +V¹echny zprávy odeslané urèitým u¾ivatelem jsou tomuto u¾ivateli pøístupny i v +historii. + +@item +@cindex @code{speechd} u¾ivatel +@cindex @code{speechd} skupina +V¹echny zprávy zaslané u¾ivatelem @code{speechd} jsou pøístupny v¹em u¾ivatelùm +na daném systému, pod kterým bì¾í Speech Dispatcher ve skupinì @code{speechd}. + +@item +®ádné dal¹í zprávy nejsou pøístupné. +@end itemize + +Dvì zprávy jsou pova¾ovány za identické jestli¾e jejich spojení pocházejí z +toho samého poèítaèe, u¾ivatelská jména jsou stejná a jejich identita mù¾e být +ovìøena, jak je popsáno v @ref{Autentifikace u¾ivatelù}. Pokud nemù¾e být +u¾ivatelova identita ovìøena, tento u¾ivatel je pova¾ován za jiného ne¾ v¹ichni +pøipojení nebo døíve pøipojení u¾ivatelé. + +@node Více výstupních modulù, Autentifikace u¾ivatelù, Historie zpráv, Základní funkce +@subsection Více výstupních modulù +@cindex výstupní modul +@cindex syntetizátory + +Speech Dispatcher podporuje soubì¾né pou¾ívání více výstupních modulù. Pokud +tyto moduly poskytují dobrou synchronizaci, lze je pøi ètení zpráv kombinovat. +Pokud napø. modul1 mluví anglicky a èesky, zatímco modul2 mluví pouze nìmecky, +tak pokud pøijde nìjaká zpráva v nìmèinì, pou¾ije se modul2, zatímco pro +ostatní jazyky se pou¾ije modul1. Na druhé stranì jazyk není jediným kritériem +pro takové rozhodnutí. Pøesná pravidla pro výbìr výstupího modulu mohou být +ovlivnìna v konfiguraèním souboru @file{speechd.conf}. + +@node Autentifikace u¾ivatelù, , Více výstupních modulù, Základní funkce +@subsection Autentifikace u¾ivatelù +@cindex Identification Protocol +@cindex identd +@cindex RFC 1413 + +NOTE: Na implementaci této vlastnosti se pracuje, ale souèasná verze ji +nepodporuje. + +Speech Dispatcher neposkytuje ¾ádný explicitní autentifikaèní mechanismus. K +ovìøení identity u¾ivatlù pou¾íváme Identification Protocol definovaný v RFC +1413. + +@cindex mapování u¾ivatlù +V konfiguraci je mo¾né specifikovat mapování u¾ivatelù. To umo¾òuje jednat s +urèitými u¾ivateli jako s jedním a pøidìlit jim stejná práva (napø. procházet +jejich @ref{Historie zpráv}). + +@node Spou¹tìní, Konfigurace, Základní funkce, U¾ivatelská dokumentace +@section Invoking + +@subsection Potøebná privilegia + +Speech Dispatcher mù¾e být obecnì spou¹tìn pod obyèejným u¾ivatelem. Sna¾ili +jsme se jej zabezpeèit, jak jen to bylo mo¾né, ale nejsme odborníky na +poèítaèovou bezpeènost a kód mù¾e obsahovat nebezpeèné chyby. Nedoporuèujeme +jej spou¹tìt jako root nebo pod jiným vysoce privilegovaným u¾ivatelem. + +Jediná omezení jsou tyto: + +@itemize +@item +Speech Dispatcher vytváøí PID file standardnì ve +@file{/var/run/speech-dispatcher.pid}, tak¾e @file{/var/run/} musí být danému +u¾ivateli pøístupné k zápisu. To mù¾e být zmìnìno nastavením volby +@code{pidpath} pøi volání skriptu @code{./configure} pøi kompilaci. +@item +Kdy¾ je zapnuto logování, výchozí cesta, kam Speech Dispatcher zapisuje svùj +log, je @file{/var/log/speech-dispatcher.log}. To ale mù¾e být kdykoliv +pøenastaveno v hlavním konfiguraèním souboru. +@end itemize + +@subsection Volby pøíkazové øádky + +Speech Dispatcher mù¾e být spu¹tìn s tìmito volbami: + +@code{speech-dispatcher [-@{d|s@}] [-l @{1|2|3|4|5@}] [-p=port] | [-v] | [-h]} + +@table @code +@item -d or --run-daemon +Spustí program jako démona (bì¾í v pozadí, odpojí se od terminálu, atd.) Toto +je výchozí chování. + +@item -s or --run-single +Spustí program jako bì¾nou aplikaci bì¾ící na popøedí. + +@item -l level or --log-level=level +Vybere po¾adovaný logovací úroveò. Logovací úroveò je èíslo mezi 0 a 5 (0 +znamená neloguj nic, 5 znamená zapisuj témìø v¹e vèetnì zpracovávaného textu.) +Standardní je 3. @xref{Úrovnì logování}. + +Logovací úroveò 5 by nemìla být pou¾ívána k jiným úèelùm, ne¾ pro hledání chyb +a to pouze krátkodobì. Logy, které produkuje mohou narùst do obrovské +velikosti a obsahují text ètený u¾ivateli nezávisle na rùzných pøístupových +právech, jak platí pro historii. Spou¹tìt server s touto úrovní logování tedy +mù¾e snadno vést k naru¹ení soukromí. + +@item -p or --port +Zadá port, na kterém by mìl server èekat na klienty. Výchozí je 6560. + +@item -v or --version +Vypí¹e informace o verzi Speech Dispatchera. Také oznámí základní informace o +copyrightu. + +@item -h or --help +Vypí¹e nápovìdu o volbách pøíkazové øádky, upozornìní o copyrightu +a emailovou adresu pro zasílání oznámení o chybách. +@end table + + +@node Konfigurace, , Spou¹tìní, U¾ivatelská dokumentace +@section konfigurace +@cindex konfigurace + +Speech Dispatcher mù¾e být konfigurován na nìkolika rùzných úrovních. Jedna z +nich je nastavování globálních parametrù pøes serverový konfiguraèní soubor. +Je zde i podpora pro konfiguraci specifickou pro urèité klienty. + +Nìkteré aplikace mají vlastní mechanismus nastavování voleb souvisejících s +øeèovou syntézou. Pro detaily o tìchto nastaveních se prosím podívejte do +dokumentace daného programu. + +Následující kapitoly se zabývají pouze konfigurací na stranì serveru pøes +konfiguraèní soubor. + +@menu +* Syntaxe konfiguraèního souboru:: +* Volby v konfiguraci:: +* Nastavení výstupních modulù:: +* Úrovnì logování:: +@end menu + +@node Syntaxe konfiguraèního souboru, Volby v konfiguraci, Konfigurace, Konfigurace +@subsection Syntaxe konfiguraèního souboru + +Pro naèítání configurace zalo¾ené na textových souborech pou¾íváme knihovnu +DotConf, tak¾e bude syntaxe nejspí¹ mnoha u¾ivatelùm povìdomá. + +Ka¾dá z øetìzcových konstant, pokud není uvedeno jinak, by mìla být zakódována +v UTF-8. Jména voleb nepou¾ívají jiné znaky ne¾ standardní ASCII sadu omezenou +na znaky (@code{a}, @code{b}, ...), pomlèky (@code{-}) a podtr¾ítka @code{_}. + +Komentáøe a doèasnì neaktivní volby zaèínají znakem @code{#}. Pokud chcete +takovu volbu zapnout, staèí smazat znak komentáøe a nastavit volbu na +po¾adovanou hodnotu. +@example +# toto je komentar +# InactiveOption "tato volba je zatim vypla komentarem" +@end example + +Øetìzce jsou uzavøeny v uvozovkách. +@example +LogFile "/var/log/speech-dispatcher.log" +@end example + +Èísla jsou zapsána bez uvozovek. +@example +Port 6560 +@end example + +Pøepínaèe pou¾ívají On (zapnuto) a Off (vypnuto). +@example +Debug Off +@end example + +@node Volby v konfiguraci, Nastavení výstupních modulù, Syntaxe konfiguraèního souboru, Konfigurace +@subsection Configuration options + +V¹echny dostupné volby jsou zdokumentovány pøímo v konfiguraèním souboru a jsou +k nim uvedeny i pøíklady. Vìt¹ina voleb je nastavena na výchozí hodnotu a +zakomentována. Pokud je chcete zmìnit, postaèí modifikovat jejich hodnotu a +smazat symbol komentáøe @code{#}. + +@node Nastavení výstupních modulù, Úrovnì logování, Volby v konfiguraci, Konfigurace +@subsection Output Modules Configuration + +Ka¾dý u¾ivatel by si mìl zapnout ve své konfiguraci alespoò jeden výstupní +modul, pokud chce, aby Speech Dispatcher produkoval nìjaký zvukový výstup. +Kdy¾ není naèten ¾ádný výstupní modul, Speech Dispatcher sice nastartuje, bude +komunikovat s klienty a logovat zprávy do historie, ale nebude produkovat ¾ádný +zvuk. + +Ka¾dý výstupní modul je tøeba do Speech Dispatchera natáhnout jednou øádkou +``AddModule'' v @file{etc/speechd.conf}. Navíc, ka¾dý výstupní modul má +pøiøazen vlastní konfiguraèní soubor. + +@menu +* Natahování modulù ve speechd.conf:: +* Konfiguraèní soubory výstupních modulù:: +* Konfigurace generického výstupního modulu:: +@end menu + +@node Natahování modulù ve speechd.conf, Konfiguraèní soubory výstupních modulù, Nastavení výstupních modulù, Nastavení výstupních modulù +@subsubsection Natahování modulù ve speechd.conf + +@anchor{AddModule} Ka¾dý modul, který by se mìl spustit pøi startu Speech +Dispatchera, musí být nata¾en pøíkazem @code{AddModule} v konfiguraci. +V¹imnìte si, ¾e lze natáhnout jeden binární modul vícekrát s rùznými +konfiguraèními soubory a pod jinými jmény. To je u¾iteèné hlavnì pro +natahování generických výstupních modulù. @xref{Konfigurace generického +výstupního modulu}. + +@example +AddModule "@var{module_name}" "@var{module_binary}" "@var{module_config}" +@end example + +@var{module_name} je jméno daného výstupního modulu. + +@var{module_binary} je jméno binárního spustitelného souboru tohoto výstupního +modulu. To mù¾e být buï cesta absolutní nebo relativní k +@file{bin/speechd-modules/}. + +@var{module_config} je soubor s konfigurací pro tento konkrétní výstupní modul. +Cesta mù¾e být absolutní i relativní k @file{etc/speech-dispatcher/modules/}. +Tento parametr je volitelný (není tøeba jej uvádìt). + +@node Konfiguraèní soubory výstupních modulù, Konfigurace generického výstupního modulu, Natahování modulù ve speechd.conf, Nastavení výstupních modulù +@subsubsection Konfiguraèní soubory výstupních modulù + +Ka¾dý výstupní modul je odli¹ný a proto má odli¹né volby v konfiguraci. Prosím +prostudujte si komentáøe v daném konfiguraèním souboru. Zde je popsáno pouze +nìkolik voleb, které jsou pro nìkteré výstupní moduly spoleèné. + +@table @code +@item AddVoice "@var{language}" "@var{symbolicname}" "@var{name}" +@anchor{AddVoice} + +Ka¾dý výstupní modul poskytuje nìjaké hlasy a nìkdy dokonce podporuje rùzné +jazyky. Z toho dùvodu byl zaveden spoleèný mechanismus, kterým mù¾ou být tyto +hlasy definovány v konfiguraci. ®ádný modul ov¹em není povinen tuto volbu +pou¾ívat. Nìkteré syntetizátory, napø. Festival, podporují symbolická jména +SSIP pøímo, tak¾e konfigurace konkrétních hlasù se provádí v syntetizátoru +samotném. + +Ka¾dému definovanému hlasu odpovídá pøesnì jedna øádka @code{AddVoice}. + +@var{language} je ISO kód jazyka tohoto hlasu (en, cs, de, ...) + +@var{symbolicname} je symbolické jméno, pod kterým chcete, aby byl tento hlas +dostupný. @xref{Standardní hlasy}, pro seznam symbolických jmen, která mù¾ete +pou¾ít. + +@var{name} je jméno specifické pro daný výstupní modul. Prosím podívejte se na +komentáøe v pøíslu¹ném konfiguraèním souboru v sekci AddModule pro detailnìj¹í +informace. + +Napø. definice, kterou v souèastnosti pou¾íváme pro Epos (generic) vypadá +takto: + +@example + AddVoice "cs" "male1" "kadlec" + AddVoice "sk" "male1" "bob" +@end example + +@item ModuleDelimiters "@var{delimiters}", ModuleMaxChunkLength @var{length} + +Èasto se výstupní modul nesna¾í vysyntetizovat celý pøíchozí text najednou, ale +místo toho jej nejprve rozøe¾e na men¹í kousky (vìty, èásti vìt) a ty potom +postupnì odesílá na syntézu. Tento pøístup, vyu¾ívaný nìkterými výstupními +moduly, je mnohem rychlej¹í, ale na druhé stranì zase limituje schopnost +syntetizéru poskytnout dobrou intonaci. + +Z toho dùvodu máte obyèejnì mo¾nost zkonfigurovat si na jakých znacích +(@var{delimiters}) by se mìl text rozdìlit na men¹í èásti (pokud jsou +následovány nìjakým whitespace znakem). Druhá volba (@var{length}) udává, po +kolika znacích by se mìl text násilnì rozdìlit, pokud nebyl nalezen ¾ádný +delimiter. + +Pokud tato dvì pravidla zpøísníte, dostanete lep¹í rychlost, ale vzdáte se +urèité èásti kvality intonace. Tak¾e napøíklad pro pomalej¹í poèítaèe +doporuèujeme do @var{delimiters} vlo¾it i èárku (,), aby byl text rozdìlen i na +èástech vìty, zatímco na rychlej¹ích poèítaèích je lep¹í tam èárku nedávat, +tak¾e do syntetizéru v¾dy dorazí celá souvìtí. + +To samé platí o @code{MaxChunkLength}. Pro rychlej¹í poèítaèe +je lep¹í nastavit vìt¹í hodnotu. + +Napøíklad výchozí hodnoty ve výstupním modulu pro Festival jsou: + +@example + FestivalMaxChunkLength 300 + FestivalDelimiters ".?!;,:" +@end example + +Výstupní modul se mù¾e také rozhodnout dìlit vìty na delimiters pouze pokud ty +jsou následovány mezerou. Tak¾e napøíklad ``file123.tmp'' by rozdìleno nebylo, +ale vìta ``The horse raced around the fence, that was lately painted green, +fell.'' by rozdìlena byla (to je mimochodem velmi zajímavá vìta). +@end table + +@node Konfigurace generického výstupního modulu, , Konfiguraèní soubory výstupních modulù, Nastavení výstupních modulù +@subsubsection Konfigurace generického výstupního modulu + +Generický výstupní modul u¾ivatelùm dovoluje jednodu¹e si napsat vlastní +jednoduchý výstupní modul pro syntetizéry, které mají rozhraní ve formì +jednoduchého øádkového klienta, pouze modifikací konfiguraèního souboru. Tímto +zpùsobem nemusí psát ¾ádný specifický kód v C a u¾ivatelé si mohou pøidávat +podporu pro výstupní zaøízení i kdy¾ neumí programovat. @xref{AddModule}. + +Klíèová èást ka¾dého generického výstupního modulu je definice øetìzce, který +se má spou¹tìt. + +@defvr {Konfigurace generického modulu} GenericExecuteSynth "@var{execution_string}" + +@code{execution_string} je pøíkaz, který by mìl být zavolán v shellu, kdy¾ je +potøeba nìco øíct. Ve skuteènosti to mù¾e být více jak jeden pøíkaz, dohromady +zøetìzené operátorem @code{&&}. Kdy¾ bude výstupní modul chtít pøeøíkávání +zprávy zastavit, za¹le tìmto procesùm signál KILL, tak¾e je dùle¾ité, aby +pou¾ité pøíkazy po obdr¾ení KILL okam¾itì pøestaly mluvit. (Na vìt¹inì +GNU/Linuxových systémù má tuto vlastnost utilita @code{play}) + +V @code{execution_string} mù¾ete vyu¾ít tìchto promìnných, které budou +nahrazeny poøadovanými hodnotami, ne¾ bude pøíkaz vykonán. + +@itemize +@item @code{$DATA} +Text, který by mìl být pøeøíkán. Znaky øetìzce, které by nìjak interferovali +se zpracováním v bashi budou automaticky nahrazeny odpovídajícími escape +sekvencemi. Asi bude ale nutné uvést kolem této promìnné uvozovky +(napø. takto: @code{\"$DATA\"}). +@item @code{$LANG} +Identifikaèní øetìzec jazyka (ten je definován pomocí GenericLanguage). +@item @code{$VOICE} +Identifikaèní øetìzec hlasu (ten je definován pomocí AddVoice). +@item @code{$PITCH} +Po¾adovaná vý¹ka hlasu (desetinné èíslo definované v GenericPitchAdd a v +GenericPitchMultiply) +@item @code{$RATE} +Po¾adovaná rychlost hlasu (desetinné èíslo definované v GenericRateAdd a v +GenericRateMultiply) +@end itemize + +Tady je pøíklad z @file{etc/speech-dispatcher/modules/epos-generic.conf} +@example +GenericExecuteSynth \ +"epos-say -o --language $LANG --voice $VOICE --init_f $PITCH --init_t $RATE \ +\"$DATA\" | sed -e s+unknown.*$++ >/tmp/epos-said.wav && play /tmp/epos-said.wav >/dev/null" +@end example +@end defvr + +@defvr {Konfigurace generického modulu} AddVoice "@var{language}" "@var{symbolicname}" "@var{name}" +@xref{AddVoice}. +@end defvr + +@defvr {Konfigurace generického modulu} GenericLanguage "iso-code" "string-subst" + +Definuje, jaký øetìzec @code{string-subst} by mìl být nahrazen za @code{$LANG} +pro daný @code{iso-code} ISO kód jazyka. + +Opìt pøíklad z Epos generic: +@example +GenericLanguage "en" "english" +GenericLanguage "cs" "czech" +GenericLanguage "sk" "slovak" +@end example +@end defvr + +@defvr {Konfigurace generického modulu} GenericRateAdd @var{num} +@end defvr +@defvr {Konfigurace generického modulu} GenericRateMultiply @var{num} +@end defvr +@defvr {Konfigurace generického modulu} GenericPitchAdd @var{num} +@end defvr +@defvr {Konfigurace generického modulu} GenericPitchMultiply @var{num} +Tyto parametry nastavují konverzi pro výpoèet rychlosti a vý¹ky. +(@code{$RATE} a @code{$PITCH}). + +Výsledná rychlost (nebo vý¹ka) je dána následujícím vzorcem: +@example + (speechd_rate * GenericRateMultiply) + GenericRateAdd +@end example +kde speechd_rate je hodnota mezi -100 (nejni¾¹í) a +100 (nejvy¹¹í). Je tøeba +definovat nìjakou rozumnou konverzi pro daný syntetizér. + +(Hodnoty v GenericNìcoMultiply jsou vynásobeny stem, proto¾e stávající verze +DotConfu nepodporuje desetinná èísla. Mù¾ete tedy psát 0.85 jako 85 atd.) +@end defvr + +@node Úrovnì logování, , Nastavení výstupních modulù, Konfigurace +@subsection Úrovnì logování + +Ve Speech Dispatcheru je 6 rùzných úrovní logování. 0 znamená ¾ádné logování, +zatímco 5 znamená vypisovat témìø v¹echny dostupné informace. + +@itemize @bullet + +@item Úroveò 0 +@itemize @bullet +@item ®ádné informace +@end itemize + +@item Úroveò 1 +@itemize @bullet +@item Informace o startu a vypínání. +@end itemize + +@item Úroveò 2 +@itemize @bullet +@item Informace o chybách, které nastaly. +@item Alokace a uvolòování zdrojù pøi startu a pøi exitu. +@end itemize + +@item Úroveò 3 +@itemize @bullet +@item Informace o pøijímání/odepírání/zavírání klientských spojení. +@item Informace o neplatných SSIP pøíkazech od klientù. +@end itemize + +@item Úroveò 4 +@itemize @bullet +@item Je vypisován ka¾dý pøijatý pøíkaz +@item Informace o zpracovávání vstupu +@item Informace o ukládání zpráv do front +@item Informace o fungování historie, zvukových ikon, atd. +facilities. +@item Informace o práci vlákna speak() +@end itemize + +@item Úroveò 5 +(Ta slou¾í pouze pro ladící úèely a mù¾e vypisovat opravdu *mnoho* +dat. Pou¾ívejte opatrnì.) +@itemize @bullet +@item V¹echna obdr¾ená data jsou vypisována (zprávy od klientù) +@item Ladící informace. +@end itemize +@end itemize + +@appendix Standardní hlasy +@anchor{Standardní hlasy} + +@table @code +@item MALE1 +@item MALE2 +@item MALE3 +@item FEMALE1 +@item FEMALE2 +@item FEMALE3 +@item CHILD_MALE +@item CHILD_FEMALE +@end table + +Skuteèná dostupnost tìchto hlasù není zaruèena, ale pøíkaz @code{SET SELF +VOICE} musí akceptovat jakýkoliv z nich. Pokud není daný hlas dostupný, je +mapován na jiný hlas výstupním modulem. + +@node GNU General Public License, GNU Free Documentation License, U¾ivatelská dokumentace, Top +@appendix GNU General Public License +@center Version 2, June 1991 +@cindex GPL, GNU General Public License + +@include gpl.texi + + +@node GNU Free Documentation License, Index of Concepts, GNU General Public License, Top +@appendix GNU Free Documentation License +@center Version 1.2, November 2002 +@cindex FDL, GNU Free Documentation License + +@include fdl.texi + +@node Index of Concepts, , GNU Free Documentation License, Top +@unnumbered Index of Concepts + +@cindex tail recursion +@printindex cp + +@bye + +@c LocalWords: texinfo setfilename speechd settitle finalout syncodeindex pg +@c LocalWords: setchapternewpage cp fn vr texi dircategory direntry titlepage +@c LocalWords: Cerha Hynek Hanke vskip pt filll insertcopying ifnottex dir fd +@c LocalWords: API SSIP cindex printf ISA pindex Flite Odmluva FreeTTS TTS CR +@c LocalWords: src struct gchar gint const OutputModule intl FDSetElement len +@c LocalWords: fdset init flite deffn TFDSetElement var int enum EVoiceType +@c LocalWords: sayf ifinfo verbatiminclude ref UTF ccc ddd pxref LF cs conf +@c LocalWords: su AddModule DefaultModule xref identd printindex Dectalk GTK + +@c speechd.texi ends here +@c LocalWords: emph soundcard precission archieved succes debian/patches/espeak-mbrola-generic.conf.patch0000664000000000000000000000346212301037772016727 0ustar Description: After enabling the corresponding line in speechd.conf, the espeak-mbrola-generic module produces no sound at all. . The GenericExecuteSynth command in espeak-mbrola-generic.conf seems wrong because: . - the data espeak outputs without the --pho option is not a valid input for mbrola; . - the $VOLUME variable contains a float value suitable for mbrola, while espeak -a parameter expects an integer; moreover, the -a parameter has no effect at all when espeak produces phoneme data, and can be dropped at all since the volume will be determined by mbrola's -v parameter; . - without the --stdin parameter, espeak will take the text from stdin, but will treat each line as a separate sentence; . - without the -q parameter espeak will try to access audio devices and produce audio output by itself; . - the espeak -p parameter can alter the sound output produced by mbrola and can be set to the value contained in the $PITCH env variable. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665382 --- a/config/modules/espeak-mbrola-generic.conf.orig 2011-04-27 12:01:16.000000000 +0200 +++ b/config/modules/espeak-mbrola-generic.conf 2012-03-21 17:25:44.066763025 +0100 @@ -18,7 +18,7 @@ # can modify this value, see other parameters). # The command can be split into more lines, if necessary, using '\'. GenericExecuteSynth \ -"echo \'$DATA\' | espeak -v mb-$VOICE $PUNCT -s $RATE -a $VOLUME | mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE/$VOICE - -.au | $PLAY_COMMAND +"echo \'$DATA\' | espeak -v mb-$VOICE -s $RATE -p $PITCH $PUNCT -q --stdin --pho | mbrola -v $VOLUME -e /usr/share/mbrola/$VOICE/$VOICE - -.au | $PLAY_COMMAND # The following three items control punctuation levels None, Some, and All. # Each of these values will be substituted into the $PUNCT variable depending debian/patches/pulse-default-latency.patch0000664000000000000000000000276112301037772016057 0ustar Description: speech-dispatcher defaults to extreme low latency speech-dispatcher requests a total latency of 1 ms, which in turn gives sub-ms latency inside the PulseAudio engine. This causes unnecessary CPU consumption, or underruns. I understand that you would want immediate feedback, but 20 ms seems more reasonable. Author: David Henningsson Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+bug/1208826 Index: speech-dispatcher/src/audio/pulse.c =================================================================== --- speech-dispatcher.orig/src/audio/pulse.c 2013-08-07 09:53:52.198165780 +1000 +++ speech-dispatcher/src/audio/pulse.c 2013-08-07 09:53:52.194165780 +1000 @@ -64,7 +64,8 @@ /* This is the smallest audio sound we are expected to play immediately without buffering. */ /* Changed to define on config file. Default is the same. */ -#define DEFAULT_PA_MIN_AUDIO_LENgTH 100 +/* Default to 20 ms of latency (1764 = 44100 * 0.020 * 2) */ +#define DEFAULT_PA_MIN_AUDIO_LENgTH 1764 static int pulse_log_level; static char const *pulse_play_cmd = "paplay"; Index: speech-dispatcher/config/speechd.conf =================================================================== --- speech-dispatcher.orig/config/speechd.conf 2013-08-07 09:53:52.198165780 +1000 +++ speech-dispatcher/config/speechd.conf 2013-08-07 09:53:52.194165780 +1000 @@ -171,7 +171,7 @@ #AudioPulseServer "default" -#AudioPulseMinLength 100 +#AudioPulseMinLength 1764 # -- ALSA parameters -- debian/patches/pico-generic.patch0000664000000000000000000001272112301037772014211 0ustar Description: Add support for pico using generic module Author: Samuel Thibault Bug-Debian: http://bugs.debian.org/601395 Forwarded: speechd@lists.freebsoft.org Index: speech-dispatcher/config/modules/Makefile.am =================================================================== --- speech-dispatcher.orig/config/modules/Makefile.am 2013-03-26 21:27:32.000000000 +1100 +++ speech-dispatcher/config/modules/Makefile.am 2013-03-27 21:45:44.448371497 +1100 @@ -4,13 +4,13 @@ ibmtts.conf ivona.conf dtk-generic.conf \ epos-generic.conf espeak-generic.conf \ espeak-mbrola-generic.conf llia_phon-generic.conf \ - swift-generic.conf + swift-generic.conf pico-generic.conf dist_moduleconforig_DATA = cicero.conf espeak.conf festival.conf flite.conf \ ibmtts.conf ivona.conf dtk-generic.conf \ epos-generic.conf espeak-generic.conf \ espeak-mbrola-generic.conf llia_phon-generic.conf \ - swift-generic.conf + swift-generic.conf pico-generic.conf if pico_support dist_moduleconf_DATA += pico.conf Index: speech-dispatcher/config/speechd.conf =================================================================== --- speech-dispatcher.orig/config/speechd.conf 2013-03-26 21:27:32.000000000 +1100 +++ speech-dispatcher/config/speechd.conf 2013-03-27 21:45:09.948372716 +1100 @@ -219,6 +219,7 @@ #AddModule "dtk-generic" "sd_generic" "dtk-generic.conf" #AddModule "ibmtts" "sd_ibmtts" "ibmtts.conf" #AddModule "cicero" "sd_cicero" "cicero.conf" +#AddModule "pico-generic" "sd_generic" "pico-generic.conf" # DO NOT REMOVE the following line unless you have # a specific reason -- this is the fallback output module Index: speech-dispatcher/config/modules/pico-generic.conf =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ speech-dispatcher/config/modules/pico-generic.conf 2013-03-27 21:45:09.948372716 +1100 @@ -0,0 +1,77 @@ +# pico output module is based on the generic plugin for Speech +# Dispatcher. It means there is no code written explicitly for +# this plugin, all the specifics are handled in this configuration +# and we call a simple command line client to perform the actual +# synthesis. Use this config file with the sd_generic output module. +# +# IMPORTANT: The audio output method relies on an audio playback +# utility (play, aplay, paplay for OSS, ALSA or Pulse) +# being installed. If this is not the case, consider installing it +# or replace the $PLAY_COMMAND string in the GenericExecuteString below +# with play, paplay or similar. +# +# GenericExecuteSynth is the shell command that should be +# executed in order to say some message. This command must +# stop saying the message on SIGKILL, otherwise it's useless. +# You can use the variables $LANGUAGE, $VOICE, $PITCH and $RATE +# which will be substituted for the appropriate value (you +# can modify this value, see other parameters). +# The command can be split into more lines, if necessary, using '\'. +GenericExecuteSynth \ +"pico2wave -w $TMPDIR/pico.wav -l $VOICE \'$DATA\' && $PLAY_COMMAND $TMPDIR/pico.wav + +# The following three items control punctuation levels None, Some, and All. +# Each of these values will be substituted into the $PUNCT variable depending +# on the value passed to speech dispatcher from applications. +# Note that if an empty string is specified, then $PUNCT will be blank +# which is a default situation for espeak. + +GenericPunctNone " " +GenericPunctSome "--punct=\"()[]{};:\"" +GenericPunctAll "--punct" + +# GenericStripPunctChars is a list (enclosed in doublequotes) of +# all the characters that should be replaced by whitespaces in +# order not to be badly handled by the output module or misinterpreted +# by shell. +# GenericStripPunctChars "" + +# If the language you need to pass in $LANG is different +# from the standard ISO language code, you can specify +# which string to use instead. If you wish to use +# other than ISO charset for the specified language, +# you can add it's name (as accepted by iconv) as a +# third parameter in doublequotes. + + +GenericLanguage "en" "en" "utf-8" +GenericLanguage "de" "de" "utf-8" +GenericLanguage "es" "es" "utf-8" +GenericLanguage "fr" "fr" "utf-8" +GenericLanguage "it" "it" "utf-8" + +# AddVoice specifies which $VOICE string should be assigned to +# each language and symbolic voice name. All the voices you want +# to use must be specified here. This list will likely not be +# up-to-date, please check pico documentation and add the voices +# you want to use. + +AddVoice "en" "FEMALE1" "en-US" +AddVoice "en" "FEMALE2" "en-GB" +AddVoice "de" "FEMALE1" "de-DE" +AddVoice "es" "FEMALE1" "es-ES" +AddVoice "fr" "FEMALE1" "fr-FR" +AddVoice "it" "FEMALE1" "it-IT" + +# Yes, it's wrong, but this way you at least get something even when configured +# (by default) to use a male voice +AddVoice "en" "MALE1" "en-US" +AddVoice "en" "MALE2" "en-GB" +AddVoice "de" "MALE1" "de-DE" +AddVoice "es" "MALE1" "es-ES" +AddVoice "fr" "MALE1" "fr-FR" +AddVoice "it" "MALE1" "it-IT" + +# Debug turns debugging on or off +# See speechd.conf for information where debugging information is stored +Debug 0 debian/patches/dont_check_dotconf_version.patch0000664000000000000000000000116212301037772017224 0ustar Description: don't wait any longer on the dotconf transition The dotconf transition in Debian is already waiting for two months now and the speech-dispatcher update even nearly a year. Just go ahead and ignore the dotconf version. . This patch should be removed again when dotconf 1.3 enters unstable Author: Paul Gevers Forwarded: not-needed --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,7 @@ AC_SUBST([GMODULE_CFLAGS]) AC_SUBST([GMODULE_LIBS]) -PKG_CHECK_MODULES([DOTCONF], [dotconf >= 1.3]) +PKG_CHECK_MODULES([DOTCONF], [dotconf]) AC_SUBST([DOTCONF_CFLAGS]) AC_SUBST([DOTCONF_LIBS]) debian/patches/update_documentation_with_xdg_path.patch0000664000000000000000000000624712301037772020777 0ustar Description: in 0.8 the location of the user config/log directory changed but the documentation was not updated everywhere. Author: Paul Gevers Forwarded: speechd-bugs@lists.freebsoft.org --- a/doc/speech-dispatcher.texi +++ b/doc/speech-dispatcher.texi @@ -454,11 +454,11 @@ No special provisions need to be done to run Speech Dispatcher under the current user. The Speech Dispatcher process will use (or create) a -@file{~/.speech-dispatcher/} directory for its purposes (logging, +@file{~/.cache/speech-dispatcher/} directory for its purposes (logging, pidfile). Optionally, a user can place his own configuration file in -@file{.speech-dispatcher/conf/speechd.conf} and it will be +@file{~/.config/speech-dispatcher/speechd.conf} and it will be automatically loaded by Speech Dispatcher. The preferred way to do so is via the @code{spd-conf} configuration command. If this user configuration file is not found, Speech Dispatcher will simply use the @@ -540,7 +540,7 @@ @item Check the appropriate logfile in -@file{~/.speech-dispatcher/logs/speech-dispatcher.log} for user Speech +@file{~/.cache/speech-dispatcher/log/speech-dispatcher.log} for user Speech Dispatcher or in @file{/var/log/speech-dispatcher/speech-dispatcher.log}. Look for lines containing the string 'ERROR' and their surrounding contents. If you hear no speech, restart Speech Dispatcher and look @@ -595,7 +595,7 @@ can configure the global settings through the server configuration file, which can be placed either in the Speech Dispatcher default configuration system path like /etc/speech-dispatcher/ or in your home -directory in ~/.speech-dispatcher/conf/ . There is also support for +directory in @file{~/.config/speech-dispatcher/}. There is also support for per-client configuration, this is, specifying different default values for different client applications. @@ -1267,15 +1267,17 @@ Read preferred communication method, destinations for logfile and pidfile -@item Establish the ~/.speech-dispatcher/ directory +@item Establish the @file{~/.config/speech-dispatcher/} and +@file{~/.cache/speech-dispatcher/} directories If pid and conf paths were not given as command line options, the -server will place them in ~/.speech-dispatcher/ by default. If they +server will place them in @file{~/.config/speech-dispatcher/} and +@file{~/.cache/speech-dispatcher/} by default. If they are not specified AND the current user doesn't have a system home directory, the server will fail startup. -The configuration file is pointed to ~/.speech-dispatcher/conf/speechd.conf -if it exists, otherwise to /etc/speech-dispatcher/speechd.conf or a similar +The configuration file is pointed to @file{~/.config/speech-dispatcher/speechd.conf} +if it exists, otherwise to @file{/etc/speech-dispatcher/speechd.conf} or a similar system location according to compile options. One of these files must exists, otherwise Speech Dispatcher will not know where to find its output modules. --- a/doc/ssip.texi +++ b/doc/ssip.texi @@ -883,7 +883,7 @@ @example SET all DEBUG ON -262-/home/hanke/.speech-dispatcher/log/debug +262-/home/hanke/.cache/speech-dispatcher/log/debug 262 OK DEBUGGING SET @end example debian/patches/infinite-loop.patch0000644000000000000000000000142512240067043014412 0ustar ## Patch by Samuel Thibault : ## I have been seeing speech-dispatcher eat 100% CPU and become unusable ## when selecting a backend which happens to fail. This is due to the loop ## in speak(). [...] The attached patch is a crude fix for this but ## works fine enough for applying to the Debian package I guess. Index: speech-dispatcher/src/server/speaking.c =================================================================== --- speech-dispatcher.orig/src/server/speaking.c 2012-09-08 00:49:05.000000000 +1000 +++ speech-dispatcher/src/server/speaking.c 2012-09-08 00:49:38.629090247 +1000 @@ -105,6 +105,8 @@ * If some synthesizer is speaking, we must wait. */ is_sb_speaking(); } + if (revents & POLLHUP) + poll_count = 1; } } debian/patches/series0000664000000000000000000000051512301037772012037 0ustar infinite-loop.patch pico-generic.patch configurable-module-dir.patch cs-docs.patch fdl.patch pulse-default-latency.patch spd_audio-Expose-dlopened-library-s-symbols-to-libs-.patch espeak-mbrola-generic.conf.patch fix_spelling_errors_reported_by_lintian.patch update_documentation_with_xdg_path.patch dont_check_dotconf_version.patch debian/patches/fdl.patch0000664000000000000000000000126612301037772012414 0ustar Description: Raise level of subsection in fdl.texi to correct document structure. Author: Jason White Index: speech-dispatcher/doc/fdl.texi =================================================================== --- speech-dispatcher.orig/doc/fdl.texi 2013-08-02 10:23:36.508131588 +1000 +++ speech-dispatcher/doc/fdl.texi 2013-08-02 10:24:25.843392327 +1000 @@ -401,7 +401,7 @@ @end enumerate @page -@appendixsubsec ADDENDUM: How to use this License for your documents +@appendixsec ADDENDUM: How to use this License for your documents To use this License in a document you have written, include a copy of the License in the document and put the following copyright and debian/patches/configurable-module-dir.patch0000644000000000000000000000312112240067043016330 0ustar From f93981653a01a6bf347aac2e2dd1faf6b6805401 Mon Sep 17 00:00:00 2001 From: Luke Yelavich Date: Thu, 27 Sep 2012 11:19:40 +1000 Subject: [PATCH] Allow the speech-dispatcher module bin dir to be configurable The speech-dispatcher synthesizer module model is such that any executable binary or script can perform speech synthesis duties for speech-dispatcher, as long as it can communicate via the appropriate protocol and file descriptors. This also extends to using i386 binaries on an amd64 system. Many distributions now have a model in place that allows the easy use of i386 binaries on an amd64 install. By default, the speech-dispatcher module directory is placed in ${libdir}, which defaults to a 32-bit or 64-bit library directory on some distros. Given the above, it should be possible to provide an architecture independant location for modules to be installed to, and used. --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 711c639..c073a15 100644 --- a/configure.ac +++ b/configure.ac @@ -343,7 +343,10 @@ snddatadir='${datadir}/sounds/speech-dispatcher' AC_SUBST([snddatadir]) # Path for module binaries: -modulebindir='${libdir}/speech-dispatcher-modules' +AC_ARG_WITH([module-bindir], + AS_HELP_STRING([--with-module-bindir],[Directory where to install speech-dispatcher modules (defaults to ${libdir}/speech-dispatcher-modules)]), + [modulebindir=$withval], [modulebindir='${libdir}/speech-dispatcher-modules']) + AC_SUBST([modulebindir]) # Path for speech-dispatcher libraries: -- 1.7.9.5 debian/patches/fix_spelling_errors_reported_by_lintian.patch0000664000000000000000000001614012301037772022037 0ustar Description: Lintian reports several spelling errors. This patch fixes those that turn up in the binaries. Author: Paul Gevers Forwarded: speechd-bugs@lists.freebsoft.org Source: http://git.freebsoft.org/?p=speechd.git;a=commit;h=0ca48a087ec1e507a2bd1084054c6b2a86129553 --- a/doc/spd-say.texi +++ b/doc/spd-say.texi @@ -83,7 +83,7 @@ Set the language. The parameter is an iso language code, like @code{en} or @code{cs}. Default see below. @item -t or --voice-type -Set the prefered voice type (male1, male2, male3, female1, female2, +Set the preferred voice type (male1, male2, male3, female1, female2, female3, child_male, child_female). @item -L or --list-synthesis-voices List the ''synthesis voices'' supported by an output module. --- a/doc/speech-dispatcher.texi +++ b/doc/speech-dispatcher.texi @@ -459,7 +459,7 @@ Optionally, a user can place his own configuration file in @file{.speech-dispatcher/conf/speechd.conf} and it will be -automatically loaded by Speech Dispatcher. The prefered way to do so +automatically loaded by Speech Dispatcher. The preferred way to do so is via the @code{spd-conf} configuration command. If this user configuration file is not found, Speech Dispatcher will simply use the system wide configuration file (e.g. in @@ -488,7 +488,7 @@ Currently, two different methods are supported for communication between the server and its clients. -For local communication, it's prefered to use @emph{Unix sockets}, +For local communication, it's preferred to use @emph{Unix sockets}, where the communication takes place over a Unix socket with its driving file located by default in the user's runtime directory as @code{XDG_RUNTIME_DIR/speech-dispatcher/speechd.sock}. In this way, there can be no @@ -663,7 +663,7 @@ options labeled as @code{AudioALSA...} or @code{AudioPulse...} provide a more detailed configuration of the given audio output method. -It is possible to use a list of prefered audio output methods, +It is possible to use a list of preferred audio output methods, in which case each output module attempts to use the first availble in the given order. @@ -1010,7 +1010,7 @@ The available command options are self-documented through @code{spd-say -h}. In any working mode, the tool asks the user about -future actions and prefered configuration of the basic options. +future actions and preferred configuration of the basic options. Most useful ways of execution are: @itemize @bullet @@ -1158,7 +1158,7 @@ and Inet sockets, which are refered as 'unix-socket' and 'inet-socket' respectively. The communication mechanism is decided on startup and cannot be changed at runtime. Unix sockets are now the default and -prefered variant for local communication, Inet sockets are necessary +preferred variant for local communication, Inet sockets are necessary for communication over network. The mechanism for the decision of which method to use is as follows in @@ -1265,7 +1265,7 @@ @item Parse command line options -Read prefered communication method, destinations for logfile and pidfile +Read preferred communication method, destinations for logfile and pidfile @item Establish the ~/.speech-dispatcher/ directory @@ -1459,7 +1459,7 @@ functionality as described below. @code{method} is either @code{SPD_METHOD_UNIX_SOCKET} or @code{SPD_METHOD_INET_SOCKET}. By default, -unix socket communication should be prefered, but inet sockets are necessary for cross-network +unix socket communication should be preferred, but inet sockets are necessary for cross-network communication. @code{autospawn} is a boolean flag specifying whether the function --- a/po/cs.po +++ b/po/cs.po @@ -195,7 +195,7 @@ #: ../src/clients/say/options.c:75 #, c-format -msgid "Set the prefered voice type\n" +msgid "Set the preferred voice type\n" msgstr "Nastavit preferovaný typ hlasu\n" #: ../src/clients/say/options.c:80 --- a/po/hu.po +++ b/po/hu.po @@ -198,7 +198,7 @@ #: ../src/clients/say/options.c:75 #, c-format -msgid "Set the prefered voice type\n" +msgid "Set the preferred voice type\n" msgstr "a preferált hangkarakter-típus beállítása\n" #: ../src/clients/say/options.c:80 --- a/src/clients/say/options.c +++ b/src/clients/say/options.c @@ -72,7 +72,7 @@ printf(_("Set the language (ISO code)\n")); printf("-t, --voice-type\t\t"); - printf(_("Set the prefered voice type\n")); + printf(_("Set the preferred voice type\n")); printf("\t\t\t\t(male1, male2, male3, female1, female2\n" "\t\t\t\tfemale3, child_male, child_female)\n"); --- a/src/server/output.c +++ b/src/server/output.c @@ -123,7 +123,7 @@ if((output != NULL) && output->working) return output; } - MSG(3,"Warning: Didn't find prefered output module, using default"); + MSG(3,"Warning: Didn't find preferred output module, using default"); // If the requested module was not found or is not working, // first try to use the default output module if (GlobalFDSet.output_module != NULL) @@ -753,10 +753,10 @@ MSG(4, "Waiting for module pid %d", module->pid); ret = waitpid_with_timeout(module->pid, NULL, 0, 1000); if (ret > 0){ - MSG(4, "Ok, module closed succesfully."); + MSG(4, "Ok, module closed successfully."); }else if (ret == 0){ int ret2; - MSG(1, "ERROR: Timed out when waiting for child cancelation"); + MSG(1, "ERROR: Timed out when waiting for child cancellation"); MSG(3, "Killing the module"); kill(module->pid, SIGKILL); MSG(4, "Waiting until the child terminates."); @@ -829,7 +829,7 @@ if (otext == NULL) return NULL; - MSG2(5, "escaping", "Incomming text: |%s|", otext); + MSG2(5, "escaping", "Incoming text: |%s|", otext); ootext = otext; --- a/src/audio/alsa.c +++ b/src/audio/alsa.c @@ -275,7 +275,7 @@ return NULL; } - MSG(1, "Device '%s' initialized succesfully.", + MSG(1, "Device '%s' initialized successfully.", alsa_id->alsa_device_name); return (AudioID *) alsa_id; --- a/src/modules/cicero.c +++ b/src/modules/cicero.c @@ -222,7 +222,7 @@ return -1; } - *status_info = g_strdup("Cicero initialized succesfully."); + *status_info = g_strdup("Cicero initialized successfully."); return 0; } --- a/src/modules/module_utils.c +++ b/src/modules/module_utils.c @@ -825,7 +825,7 @@ ret = pthread_cancel(thread); if (ret != 0){ - DBG("Cancelation of speak thread failed"); + DBG("Cancellation of speak thread failed"); return 1; } ret = pthread_join(thread, NULL); --- a/src/modules/generic.c +++ b/src/modules/generic.c @@ -204,7 +204,7 @@ GenericRecodeFallback, NULL, NULL, NULL); } else { - DBG("Warning: Prefered charset not specified, recoding to iso-8859-1"); + DBG("Warning: Preferred charset not specified, recoding to iso-8859-1"); tmp = (char *)g_convert_with_fallback(data, bytes, "iso-8859-2", "UTF-8", --- a/src/server/module.c +++ b/src/server/module.c @@ -301,7 +301,7 @@ } if (s == '2') - MSG(2, "Module %s started sucessfully with message: %s", + MSG(2, "Module %s started successfully with message: %s", module->name, reply->str); g_string_free(reply, 1); debian/cl-speech-dispatcher.prerm0000644000000000000000000000173612240067043014231 0ustar #! /bin/sh # prerm script for cl-speech-dispatcher # # see: dh_installdeb(1) set -e # package name according to lisp LISP_PKG=ssip # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove|upgrade|deconfigure) unregister-common-lisp-source ${LISP_PKG} ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/libspeechd2.symbols0000644000000000000000000000463212240067043012767 0ustar libspeechd.so.2 libspeechd2 #MINVER# spd_cancel@Base 0.7.1 spd_cancel_all@Base 0.7.1 spd_cancel_uid@Base 0.7.1 spd_char@Base 0.7.1 spd_close@Base 0.7.1 spd_execute_command@Base 0.7.1 spd_execute_command_with_list_reply@Base 0.7.1 spd_execute_command_with_reply@Base 0.7.1 spd_execute_command_wo_mutex@Base 0.7.1 spd_get_default_address@Base 0.7.1 spd_get_message_list_fd@Base 0.7.1 spd_key@Base 0.7.1 spd_list_modules@Base 0.7.1 spd_list_synthesis_voices@Base 0.7.1 spd_list_voices@Base 0.7.1 spd_logging_mutex@Base 0.7.1 spd_open2@Base 0.7.1 spd_open@Base 0.7.1 spd_pause@Base 0.7.1 spd_pause_all@Base 0.7.1 spd_pause_uid@Base 0.7.1 spd_resume@Base 0.7.1 spd_resume_all@Base 0.7.1 spd_resume_uid@Base 0.7.1 spd_say@Base 0.7.1 spd_sayf@Base 0.7.1 spd_send_data@Base 0.7.1 spd_send_data_wo_mutex@Base 0.7.1 spd_set_capital_letters@Base 0.7.1 spd_set_capital_letters_all@Base 0.7.1 spd_set_capital_letters_uid@Base 0.7.1 spd_set_data_mode@Base 0.7.1 spd_set_language@Base 0.7.1 spd_set_language_all@Base 0.7.1 spd_set_language_uid@Base 0.7.1 spd_set_notification@Base 0.7.1 spd_set_notification_off@Base 0.7.1 spd_set_notification_on@Base 0.7.1 spd_set_output_module@Base 0.7.1 spd_set_output_module_all@Base 0.7.1 spd_set_output_module_uid@Base 0.7.1 spd_set_punctuation@Base 0.7.1 spd_set_punctuation_all@Base 0.7.1 spd_set_punctuation_uid@Base 0.7.1 spd_set_spelling@Base 0.7.1 spd_set_spelling_all@Base 0.7.1 spd_set_spelling_uid@Base 0.7.1 spd_set_synthesis_voice@Base 0.7.1 spd_set_synthesis_voice_all@Base 0.7.1 spd_set_synthesis_voice_uid@Base 0.7.1 spd_set_voice_pitch@Base 0.7.1 spd_set_voice_pitch_all@Base 0.7.1 spd_set_voice_pitch_uid@Base 0.7.1 spd_set_voice_rate@Base 0.7.1 spd_set_voice_rate_all@Base 0.7.1 spd_set_voice_rate_uid@Base 0.7.1 spd_set_voice_type@Base 0.7.1 spd_set_voice_type_all@Base 0.7.1 spd_set_voice_type_uid@Base 0.7.1 spd_set_volume@Base 0.7.1 spd_set_volume_all@Base 0.7.1 spd_set_volume_uid@Base 0.7.1 spd_sound_icon@Base 0.7.1 spd_stop@Base 0.7.1 spd_stop_all@Base 0.7.1 spd_stop_uid@Base 0.7.1 spd_w_set_capital_letters@Base 0.7.1 spd_w_set_language@Base 0.7.1 spd_w_set_output_module@Base 0.7.1 spd_w_set_punctuation@Base 0.7.1 spd_w_set_spelling@Base 0.7.1 spd_w_set_synthesis_voice@Base 0.7.1 spd_w_set_voice_pitch@Base 0.7.1 spd_w_set_voice_rate@Base 0.7.1 spd_w_set_voice_type@Base 0.7.1 spd_w_set_volume@Base 0.7.1 spd_wchar@Base 0.7.1 debian/spd-say.10000644000000000000000000000666512240067043010643 0ustar .\" Copyright (C) 2011 Brailcom, o.p.s. .\" .\" This is free software; you can redistribute it and/or modify it under .\" the terms of the GNU General Public License as published by the Free .\" Software Foundation; either version 2, or (at your option) any later .\" version. .\" .\" This is distributed in the hope that it will be useful, but WITHOUT .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License .\" for more details. .\" .\" You should have received a copy of the GNU General Public License with .\" your Debian GNU/Linux system, in /usr/share/common-licenses/GPL, or with .\" the dpkg source package as the file COPYING. If not, write to the Free .\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. .\" .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2. .TH SPD-SAY "1" "March 2011" "spd-say 0.7.1" "User Commands" .SH NAME spd-say \- send text-to-speech output request to speech-dispatcher .SH SYNOPSIS .B spd-say [\fIoptions\fR] \fI"some text"\fR .SH DESCRIPTION .B spd-say sends text-to-speech output request to .B speech-dispatcher process which handles it and ideally outputs the result to the audio system. .SH OPTIONS .TP \fB\-r\fR, \fB\-\-rate\fR Set the rate of the speech (between \-100 and +100, default: 0) .TP \fB\-p\fR, \fB\-\-pitch\fR Set the pitch of the speech (between \-100 and +100, default: 0) .TP \fB\-i\fR, \fB\-\-volume\fR Set the volume (intensity) of the speech (between \-100 and +100, default: 0) .TP \fB\-o\fR, \fB\-\-output\-module\fR Set the output module .TP \fB\-l\fR, \fB\-\-language\fR Set the language (iso code) .TP \fB\-t\fR, \fB\-\-voice\-type\fR Set the preferred voice type (male1, male2, male3, female1, female2, female3, child_male, child_female) .TP \fB\-m\fR, \fB\-\-punctuation\-mode\fR Set the punctuation mode (none, some, all) .TP \fB\-s\fR, \fB\-\-spelling\fR Spell the message .TP \fB\-x\fR, \fB\-\-ssml\fR Set SSML mode on (default: off) .TP \fB\-e\fR, \fB\-\-pipe\-mode\fR Pipe from stdin to stdout plus Speech Dispatcher .TP \fB\-P\fR, \fB\-\-priority\fR Set priority of the message (important, message, text, notification, progress; default: text) .TP \fB\-N\fR, \fB\-\-application\-name\fR Set the application name used to establish the connection to specified string value (default: spd\-say) .TP \fB\-n\fR, \fB\-\-connection\-name\fR Set the connection name used to establish the connection to specified string value (default: main) .TP \fB\-w\fR, \fB\-\-wait\fR Wait till the message is spoken or discarded .TP \fB\-S\fR, \fB\-\-stop\fR Stop speaking the message being spoken in Speech Dispatcher .TP \fB\-C\fR, \fB\-\-cancel\fR Cancel all messages in Speech Dispatcher .TP \fB\-v\fR, \fB\-\-version\fR Print version and copyright info .TP \fB\-h\fR, \fB\-\-help\fR Print this info .SH ENVIRONMENT .TP .B SPEECHD_ADDRESS specifies TCP endpoint where .B speech-dispatcher is listening and to which spd-say should connect. Has form of :
, where is one of .B unix_socket and .B inet_socket. The
is either path to Unix domain socket if method is unix_socket, of IP address if method is inet_socket. .SH "SEE ALSO" .BR speech\-dispatcher(1) The full documentation for .B spd-say is maintained as a Texinfo manual. If the .B info and .B spd-say programs are properly installed at your site, the command .IP .B info spd-say .PP should give you access to the complete manual. debian/speech-dispatcher.postrm0000664000000000000000000000043012301037772014030 0ustar #!/bin/sh set -e #DEBHELPER# USER_NAME=speech-dispatcher if test "$1" = "remove"; then if id -u $USER_NAME >/dev/null 2>&1; then deluser --quiet $USER_NAME fi rm -rf /var/run/speech-dispatcher fi if test "$1" = "purge"; then rm -rf /var/log/speech-dispatcher fi debian/speech-dispatcher.logrotate0000644000000000000000000000100112240067043014471 0ustar /var/log/speech-dispatcher/speech-dispatcher.log /var/log/speech-dispatcher/speech-dispatcher-protocol.log { daily compress missingok sharedscripts rotate 7 postrotate /etc/init.d/speech-dispatcher reload >/dev/null endscript } /var/log/speech-dispatcher/debug-epos-generic /var/log/speech-dispatcher/debug-festival /var/log/speech-dispatcher/debug-flite { daily compress missingok sharedscripts rotate 2 postrotate /etc/init.d/speech-dispatcher reload >/dev/null endscript } debian/libspeechd-dev.links0000664000000000000000000000106512301037772013114 0ustar # Until all reverse dependencies have migrated to 0.8, we ship these symlinks as a work # around. IIUC the API is not 100% the same, but the difference is not used by # the reverse dependencies: brltty, chromium-browser, jovie, kaccessible, mumble # navit, and speechd-up # # Paul Gevers , Sun, 19 Jan 2014 10:36:42 +0100 usr/include/speech-dispatcher/libspeechd.h usr/include/libspeechd.h usr/include/speech-dispatcher/spd_audio_plugin.h usr/include/spd_audio_plugin.h usr/include/speech-dispatcher/speechd_types.h usr/include/speechd_types.h debian/speech-dispatcher.default0000644000000000000000000000020412240067043014121 0ustar # Defaults for the speech-dispatcher initscript, from speech-dispatcher # Set to yes to start system wide Speech Dispatcher RUN=no debian/speech-dispatcher-festival.install0000644000000000000000000000005612240067043015763 0ustar usr/lib/speech-dispatcher-modules/sd_festival debian/speech-dispatcher.docs0000644000000000000000000000003112240067043013423 0ustar AUTHORS NEWS README TODO debian/speech-dispatcher.lintian-overrides0000644000000000000000000000032412240067043016136 0ustar # The log files may contain private information, so they shouldn't be readable # by default; this is the safest way to achieve it. speech-dispatcher: non-standard-dir-perm var/log/speech-dispatcher/ 0700 != 0755 debian/cl-speech-dispatcher.postinst0000644000000000000000000000253412240067043014764 0ustar #! /bin/sh # postinst script for cl-speech-dispatcher # # see: dh_installdeb(1) set -e # package name according to lisp LISP_PKG=ssip # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # # quoting from the policy: # Any necessary prompting should almost always be confined to the # post-installation script, and should be protected with a conditional # so that unnecessary prompting doesn't happen if a package's # installation fails and the `postinst' is called with `abort-upgrade', # `abort-remove' or `abort-deconfigure'. case "$1" in configure) register-common-lisp-source ${LISP_PKG} ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000664000000000000000000002231712301042351010567 0ustar Source: speech-dispatcher Section: sound Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian TTS Team Uploaders: Paul Gevers Build-Depends: automake, autotools-dev, debhelper (>= 9), dh-autoreconf, flite1-dev (>= 1.4), intltool, libasound2-dev [linux-any], libdotconf-dev, libespeak-dev, libglib2.0-dev, libltdl-dev, libpulse-dev, libtool, libxau-dev, python3, texinfo Vcs-Browser: http://anonscm.debian.org/gitweb/?p=tts/speech-dispatcher.git;a=summary Vcs-Git: git://anonscm.debian.org/tts/speech-dispatcher.git Homepage: http://devel.freebsoft.org/speechd X-Python-Version: >= 3.0 Standards-Version: 3.9.5 Package: speech-dispatcher Architecture: any Depends: adduser, lsb-base (>= 3.0-10), speech-dispatcher-audio-plugins (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Recommends: pulseaudio Suggests: libttspico-utils, speech-dispatcher-doc-cs, speech-dispatcher-festival, speech-dispatcher-flite Description: Common interface to speech synthesizers Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains Speech Dispatcher itself. Package: libspeechd2 Architecture: any Multi-arch: same Section: libs Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: multiarch-support, ${misc:Pre-Depends} Description: Speech Dispatcher: Shared libraries Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains a shared library needed for C programs linked with it. Package: libspeechd-dev Architecture: any Section: libdevel Priority: extra Depends: libspeechd2 (= ${binary:Version}), ${misc:Depends} Suggests: speech-dispatcher Description: Speech Dispatcher: Development libraries and header files Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains static library, and C headers needed for programs linked with the shared or static library. Package: cl-speech-dispatcher Architecture: all Section: lisp Priority: extra Depends: cl-regex, common-lisp-controller, ${misc:Depends} Description: Common Lisp interface to Speech Dispatcher Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains a Common Lisp library for communication with Speech Dispatcher. Package: python3-speechd Architecture: all Section: python Priority: extra Breaks: python-speechd Replaces: python-speechd Depends: python3-xdg, ${misc:Depends}, ${python3:Depends} Description: Python interface to Speech Dispatcher Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains a Python library for communication with Speech Dispatcher. Package: speech-dispatcher-festival Architecture: any Depends: festival, festival-freebsoft-utils (>= 0.6), speech-dispatcher (>= 0.6), ${misc:Depends}, ${shlibs:Depends} Breaks: speech-dispatcher (<< 0.8) Replaces: speech-dispatcher (<< 0.8) Recommends: sound-icons Description: Festival support for Speech Dispatcher Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains dependencies on packages necessary for running Speech Dispatcher with Festival. Package: speech-dispatcher-doc-cs Architecture: all Section: doc Priority: extra Depends: ${misc:Depends} Suggests: speech-dispatcher Description: Speech Dispatcher documentation in Czech Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains Czech documentation of Speech Dispatcher. Package: speech-dispatcher-flite Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Speech Dispatcher: Flite output module Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains the output module for the flite speech synthesizer. Package: speech-dispatcher-dbg Architecture: any Section: debug Priority: extra Depends: libspeechd2 (= ${binary:Version}), speech-dispatcher (= ${binary:Version}), speech-dispatcher-festival (= ${binary:Version}), ${misc:Depends} Description: Speech Dispatcher debugging symbols Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains the debugging symbols for Speech Dispatcher. Package: speech-dispatcher-audio-plugins Architecture: any Multi-arch: same Depends: ${misc:Depends}, ${shlibs:Depends} Pre-Depends: multiarch-support Breaks: speech-dispatcher (<< 0.8-1) Replaces: speech-dispatcher (<< 0.8-1) Description: Speech Dispatcher: Audio output plugins Speech Dispatcher provides a device independent layer for speech synthesis. It supports various software and hardware speech synthesizers as backends and provides a generic layer for synthesizing speech and playing back PCM data via those different backends to applications. . Various high level concepts like enqueueing vs. interrupting speech and application specific user configurations are implemented in a device independent way, therefore freeing the application programmer from having to yet again reinvent the wheel. . This package contains all the speech-dispatcher audio output plugins. debian/speech-dispatcher.init0000664000000000000000000000410512301037772013452 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: speech-dispatcher # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Should-Start: festival # Should-Stop: festival # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Speech Dispatcher # Description: Common interface to speech synthesizers ### END INIT INFO PATH=/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/speech-dispatcher PIDFILE=/var/run/speech-dispatcher/speech-dispatcher.pid NAME=speech-dispatcher DESC='Speech Dispatcher' USER=speech-dispatcher test -f $DAEMON || exit 0 . /lib/lsb/init-functions RUN=no # Include speech-dispatcher defaults if available if [ -f /etc/default/speech-dispatcher ] ; then . /etc/default/speech-dispatcher fi if [ "x$RUN" != "xyes" ] ; then log_action_msg "$NAME disabled; edit /etc/default/speech-dispatcher" exit 0 fi set -e do_start () { PIDDIR=`dirname $PIDFILE` [ -e $PIDDIR ] || install -d -ospeech-dispatcher -gaudio -m750 $PIDDIR SDDIR=$PIDDIR/.speech-dispatcher [ -e $SDDIR ] || ln -s $PIDDIR $SDDIR LOGDIR=$SDDIR/log [ -e $LOGDIR ] || ln -s /var/log/speech-dispatcher $LOGDIR start-stop-daemon --oknodo --start --quiet --chuid $USER --pidfile $PIDFILE \ --exec $DAEMON -- --pid-file $PIDFILE } do_stop () { start-stop-daemon --oknodo --stop --quiet --user $USER \ --pidfile $PIDFILE --exec $DAEMON } case "$1" in start) log_daemon_msg "Starting $DESC" "speech-dispatcher" do_start log_end_msg $? ;; stop) log_daemon_msg "Stopping $DESC" "speech-dispatcher" do_stop log_end_msg $? ;; reload|force-reload) log_daemon_msg "Reloading $DESC configuration files" "speech-dispatcher" start-stop-daemon --oknodo --stop --signal 1 --quiet --user $USER \ --pidfile $PIDFILE --exec $DAEMON log_end_msg $? ;; restart) log_daemon_msg "Restarting $DESC" "speech-dispatcher" do_stop sleep 3 do_start log_end_msg $? ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2 exit 1 ;; esac exit 0 debian/spd-conf.10000644000000000000000000000413312240067043010760 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH SPD-CONF 1 "August 24, 2009" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME spd-conf \- A simple tool for basic configuration of Speech Dispatcher and problem diagnostics .SH SYNOPSIS .B spd-conf .RI [ options ] .SH DESCRIPTION .B spd-conf is a simple tool for basic configuration of Speech Dispatcher and problem diagnostics .SH OPTIONS .TP .B \-h, \-\-help show this help message and exit .TP .B \-e, \-\-espeak Use espeak to synthesize messages .TP .B \-\-test\-festival Test whether Festival works as a server .TP .B \-s, \-\-test\-spd\-say Test connection to Speech Dispatcher using spd-say .TP .B \-\-test\-pulse Test Pulse Audio .TP .B \-c, \-\-config\-basic\-settings\-user Configure basic settings in user configuration .TP .B \-u, \-\-create\-user\-conf Create Speech Dispatcher configuration for the given user .TP .B \-C, \-\-config\-basic\-settings\-system Configure basic settings in system-wide configuration .TP .B \-n, \-\-dont\-ask Do not ask any questions, always use default values .TP .B \-\-test\-alsa Test ALSA audio .TP .B \-\-test\-espeak Test whether Espeak works as a standalone binary .TP .B \-d, \-\-diagnostics Diagnose problems with the current setup .TP .B \-D, \-\-debug Debug a problem and generate a report .SH AUTHOR spd-conf was written by Hynek Hanke . The webpage for this package can be found at http://www.freebsoft.org/speechd. .PP This manual page was written by Luke Yelavich , for the Ubuntu project (but may be used by others). debian/speech-dispatcher.info0000644000000000000000000000007512240067043013436 0ustar doc/speech-dispatcher.info* doc/ssip.info* doc/spd-say.info*