debian/0000755000000000000000000000000012206217340007163 5ustar debian/source/0000755000000000000000000000000012206217340010463 5ustar debian/source/format0000644000000000000000000000001412206217340011671 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000237412206217340010251 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 package=speechd-el .NOTPARALLEL: build: build-arch build-indep build-arch: build-stamp build-indep: build-stamp build-stamp: dh_testdir $(MAKE) info info-cs touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp $(MAKE) distclean rm -f speechd-el.cs.info* dh_clean install: build dh_testdir dh_testroot dh_prep dh_installdirs dh_install Makefile *.el usr/share/emacs/site-lisp/speechd-el/ install speechd-log-extractor \ debian/$(package)/usr/share/emacs/site-lisp/speechd-el/ # Build architecture-independent files here. binary-indep: build install dh_testdir dh_testroot dh_installchangelogs -A dh_installdocs ANNOUNCE NEWS README speechd-speak.pdf dh_installdocs -p $(package)-doc-cs dh_installexamples dh_install -A dh_installemacsen dh_installinfo speechd-el.info* dh_installinfo -p $(package)-doc-cs speechd-el.cs.info* dh_link dh_compress -A dh_fixperms -A dh_installdeb -A dh_shlibdeps dh_gencontrol -A dh_md5sums -A dh_builddeb -A # Build architecture-dependent files here. binary-arch: build install # We have nothing to do by default. binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install debian/compat0000644000000000000000000000000112206217340010360 0ustar 7debian/speechd-el.emacsen-startup0000644000000000000000000000755512206217340014245 0ustar ;; ;; speechd-el setup ;; (debian-pkg-add-load-path-item (concat "/usr/share/" (symbol-name debian-emacs-flavor) "/site-lisp/speechd-el")) (autoload (quote speechd-open) "speechd" "\ Open connection to Speech Dispatcher running on the given host and port. If the connection corresponding to the current `speechd-client-name' value already exists, close it and reopen again, with the same connection parameters. The optional arguments HOST and PORT identify the speechd server location differing from the values of `speechd-host' and `speechd-port', see `open-network-stream' for closer description of those arguments. If the key argument QUIET is non-nil, don't report failures and quit silently. If the key argument FORCE-REOPEN is non-nil, try to reopen an existent connection even if it previously failed. Return the opened connection on success, nil otherwise." t nil) (autoload (quote speechd-say-text) "speechd" "\ Speak the given TEXT, represented by a string. The key argument `priority' defines the priority of the message and must be one of the symbols `important', `message', `text', `notification' or `progress'. If the key argument `finish' is t, TEXT completes the message -- the next invocation of this function will start a new text message to speechd. Otherwise the message leaves open and the next invocation this function will append the next text to it. Regardless of the FINISH value, the function initiates sending text data to speechd immediately." t nil) (autoload (quote speechd-cancel) "speechd" "\ Stop speaking all the messages sent through the current client so far. If the optional argument ALL is non-nil, stop speaking messages of all clients." t nil) (autoload (quote speechd-stop) "speechd" "\ Stop speaking the currently spoken message (if any) of this client. If the optional argument ALL is non-nil, stop speaking the currently spoken messages of all clients." t nil) (autoload (quote speechd-pause) "speechd" "\ Pause speaking in the current client. If the optional argument ALL is non-nil, pause speaking in all clients." t nil) (autoload (quote speechd-resume) "speechd" "\ Resume previously stopped speaking in the current client. If the optional argument ALL is non-nil, resume speaking messages of all clients." t nil) (autoload (quote speechd-repeat) "speechd" "\ Repeat the last message sent to speechd." t nil) (autoload (quote speechd-speak-mode) "speechd-speak" "\ Toggle speaking, the speechd-speak mode. With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Null prefix argument turns off the mode. When speechd-speak mode is enabled, speech output is provided to Speech Dispatcher on many actions. The following key bindings are offered by speechd-speak mode, prefixed with the value of the `speechd-speak-prefix' variable: \\{speechd-speak-mode-map} " t nil) (defvar global-speechd-speak-mode nil "\ Non-nil if Global-Speechd-Speak mode is enabled. See the command `global-speechd-speak-mode' for a description of this minor-mode. Setting this variable directly does not take effect; use either \\[customize] or the function `global-speechd-speak-mode'.") (custom-add-to-group (quote speechd-speak) (quote global-speechd-speak-mode) (quote custom-variable)) (custom-add-load (quote global-speechd-speak-mode) (quote speechd-speak)) (autoload (quote global-speechd-speak-mode) "speechd-speak" "\ Toggle Speechd-Speak mode in every buffer. With prefix ARG, turn Global-Speechd-Speak mode on if and only if ARG is positive. Speechd-Speak mode is actually not turned on in every buffer but only in those in which `(lambda nil (speechd-speak-mode 1))' turns it on." t nil) (autoload (quote speechd-speak) "speechd-speak" "\ Start or restart speaking. With a prefix argument, close all open connections first." t nil) (autoload (quote speechd-bug) "speechd-bug" "\ Send a bug report on speechd-el or Speech Dispatcher." t nil) debian/speechd-el.dirs0000644000000000000000000000014412206217340012056 0ustar etc/emacs/site-start.d usr/share/doc/speechd-el usr/share/emacs/site-lisp/speechd-el usr/share/info debian/patches/0000755000000000000000000000000012206217340010612 5ustar debian/patches/series0000644000000000000000000000011612206217340012025 0ustar initform.patch logextractor-path.patch accept-process-output.patch csdoc.texi debian/patches/initform.patch0000644000000000000000000000315012206217340013461 0ustar From 683900a9023eda97d532d7ad4997ff7dec48d24b Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Mon, 25 Apr 2011 14:41:04 +0000 Subject: [PATCH] Fixes for emacs 23.3. The behavior of eieio's :initform has changed. We can't use (lambda) as the :initform anymore, and we can't call (error) to signal an error when the argument is not given. Instead, overriding initialize-instance would seem to be the correct solution for classes which need special behavior at instantiation-time. This patch removes problematic :initforms and overrides initialize-instance where necessary. --- speechd-braille.el | 8 ++++++++ speechd-brltty.el | 7 ++++++- speechd-out.el | 7 ++++++- 3 files changed, 20 insertions(+), 2 deletions(-) Index: speechd-el/speechd-braille.el =================================================================== --- speechd-el.orig/speechd-braille.el 2012-06-06 22:06:15.000000001 +0200 +++ speechd-el/speechd-braille.el 2012-06-06 22:13:48.000000001 +0200 @@ -126,6 +126,14 @@ (oset this priority speechd-default-text-priority) (oset this manager (speechd-braille--create-manager #'speechd-braille--display)))) +(defmethod initialize-instance :after + ((this speechd-braille-emu-driver) slots) + (progn + (if (not (slot-boundp this 'priority)) + (oset this priority speechd-default-text-priority)) + (if (not (slot-boundp this 'manager)) + (oset this manager (speechd-braille--create-manager #'speechd-braille--display))))) + (defmethod speechd-braille--make-message ((driver speechd-braille-emu-driver) text cursor) (list text cursor)) debian/patches/logextractor-path.patch0000644000000000000000000000076312206217340015310 0ustar Index: speechd-el/speechd-bug.el =================================================================== --- speechd-el.orig/speechd-bug.el 2012-06-06 22:06:15.000000001 +0200 +++ speechd-el/speechd-bug.el 2012-06-06 22:16:14.000000001 +0200 @@ -27,7 +27,7 @@ (require 'speechd-speak) -(defvar speechd-bug--log-extractor "speechd-log-extractor") +(defvar speechd-bug--log-extractor "/usr/share/emacs/site-lisp/speechd-el/speechd-log-extractor") (defvar speechd-bug--finish-repro-key "\C-f") debian/patches/accept-process-output.patch0000644000000000000000000000230712206217340016106 0ustar This is necessary to prevent compilation freeze with piuparts. Index: speechd-el/brltty.el =================================================================== --- speechd-el.orig/brltty.el 2012-06-06 22:06:15.000000001 +0200 +++ speechd-el/brltty.el 2012-06-06 22:16:21.000000001 +0200 @@ -82,8 +82,7 @@ ;;; Internal functions and data -(defconst brltty--emacs-accept-ok - (condition-case _ (progn (accept-process-output nil 0 0 1) t) (error))) +(defconst brltty--emacs-accept-ok t) (defconst brltty--emacs-process-ok (fboundp 'process-put)) Index: speechd-el/speechd.el =================================================================== --- speechd-el.orig/speechd.el 2012-06-06 22:06:15.000000001 +0200 +++ speechd-el/speechd.el 2012-06-06 22:16:21.000000001 +0200 @@ -450,11 +450,7 @@ (let ((speechd-client-name name)) (speechd-open))))) -(defvar speechd--advanced-apo (condition-case _ - (progn - (accept-process-output nil 0 0 1) - t) - (error))) +(defvar speechd--advanced-apo t) (defun speechd--call-spdsend (args &optional input) (with-temp-buffer debian/patches/csdoc.texi0000644000000000000000000000327312206217340012605 0ustar Index: speechd-el/speechd-el.cs.texi =================================================================== --- speechd-el.orig/speechd-el.cs.texi 2013-08-24 22:58:29.000000001 +0200 +++ speechd-el/speechd-el.cs.texi 2013-08-24 22:58:50.000000001 +0200 @@ -1,6 +1,6 @@ \chyph \def\fontprefix{cs} -\input texinfo +\input texinfo @c -*-texinfo-*- @comment %**start of header @setfilename speechd-el.cs.info @documentlanguage cs @@ -1636,7 +1636,14 @@ @c **************************************************************************** @node Kopírování tohoto manuálu, Index, Kontaktní informace, Top -@appendix GNU Free Documentation License +@appendix Kopírování tohoto manuálu + +@menu +* GNU Free Documentation License:: +@end menu + +@node GNU Free Documentation License, , Kopírování tohoto manuálu, Kopírování tohoto manuálu +@section GNU Free Documentation License @cindex FDL, GNU Free Documentation License @center Version 1.2, November 2002 Index: speechd-el/Makefile =================================================================== --- speechd-el.orig/Makefile 2013-08-24 22:58:46.000000001 +0200 +++ speechd-el/Makefile 2013-08-24 22:59:12.000000001 +0200 @@ -45,6 +45,7 @@ mostlyclean: rm -f *.aux *.cp *.cps *.fn *.ky *.log *.pg *.toc *.tp *.vr *~ + rm -rf speechd-el.cs.tmp.* clean: mostlyclean rm -f *.dvi *.elc speechd-el.pdf *.ps @@ -61,12 +62,15 @@ doc: info pdf info: speechd-el.info dir -%.info: %.texi +speechd-el.info: speechd-el.texi makeinfo $< dir: speechd-el.info install-info $< dir info-cs: speechd-el.cs.info +speechd-el.info: speechd-el.cs.texi + sed '1,2d' $< >speechd-el.cs.tmp.texi + makeinfo speechd-el.cs.tmp.texi pdf: speechd-el.pdf %.pdf: %.texi debian/control0000644000000000000000000000263012206217340010567 0ustar Source: speechd-el Section: editors Priority: optional Maintainer: Milan Zamazal Build-Depends: debhelper (>= 7) Build-Depends-Indep: texinfo Standards-Version: 3.9.3 Homepage: http://www.freebsoft.org/speechd-el Package: speechd-el Architecture: all Depends: emacs23 (>= 23.2) | emacs24, make, base-files (>= 4.0.1), emacsen-common (>= 1.4.14), ${misc:Depends} Recommends: sharutils Suggests: speech-dispatcher, speechd-el-doc-cs, brltty (>= 3.7.2) Description: Emacs speech client using Speech Dispatcher speechd-el is an Emacs client and an Elisp library to Speech Dispatcher. It provides a complex speech interface to Emacs, focused especially on (but not limited to) the blind and visually impaired users. It allows the user to work with Emacs without looking on the screen, using the speech output produced by the synthesizers supported in Speech Dispatcher. Package: speechd-el-doc-cs Section: doc Architecture: all Depends: base-files (>= 4.0.1), ${misc:Depends} Suggests: speechd-el Description: speechd-el documentation in Czech speechd-el is an Emacs client and an Elisp library to Speech Dispatcher. It provides a complex speech interface to Emacs, focused especially on (but not limited to) the blind and visually impaired users. It allows the user to work with Emacs without looking on the screen, using the speech output produced by the synthesizers supported in Speech Dispatcher. debian/speechd-el.emacsen-remove0000755000000000000000000000057112206217340014032 0ustar #!/bin/sh set -e FLAVOR=$1 PACKAGE=speechd-el if [ "${FLAVOR}" != emacs ]; then echo "Purging $PACKAGE byte-compiled files for ${FLAVOR}..." rm -f /usr/share/${FLAVOR}/site-lisp/$PACKAGE/*.elc rm -f /usr/share/${FLAVOR}/site-lisp/$PACKAGE/*.el rmdir -p --ignore-fail-on-non-empty /usr/share/${FLAVOR}/site-lisp/$PACKAGE 2>/dev/null || true echo "Done." fi exit 0 debian/speechd-el.emacsen-install0000755000000000000000000000107712206217340014205 0ustar #!/bin/bash set -e FLAVOR=$1 PACKAGE=speechd-el BYTE_COMPILE_OPTIONS="-batch -f batch-byte-compile" EL_FILES=`echo *.el` EL_DIR=/usr/share/emacs/site-lisp/$PACKAGE ELC_DIR=/usr/share/${FLAVOR}/site-lisp/$PACKAGE if [ "${FLAVOR}" = emacs24 ] || [ "${FLAVOR}" = emacs23 ]; then echo "install/$PACKAGE: byte-compiling for ${FLAVOR}..." # Link the temp .el files if [ ! -d ${ELC_DIR} ]; then mkdir ${ELC_DIR} fi ln -sf ${EL_DIR}/Makefile ${EL_DIR}/*.el ${ELC_DIR}/ # Byte compile them cd ${ELC_DIR} make EMACS=${FLAVOR} compile rm Makefile fi exit 0 debian/copyright0000644000000000000000000000145712206217340011125 0ustar This package was debianized by Milan Zamazal . It was downloaded from http://www.freebsoft.org/pub/projects/speechd-el/ . Copyright: Copyright (C) 2004, 2005, 2006, 2007 Brailcom, o.p.s. 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 3 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 v3 in the file /usr/share/common-licenses/GPL-3. debian/changelog0000644000000000000000000001432412206217340011041 0ustar speechd-el (2.6-1) unstable; urgency=low * New upstream version; closes: #718537, #719031, #719032, #719841. -- Milan Zamazal Sat, 24 Aug 2013 22:53:15 +0200 speechd-el (2.5-6) unstable; urgency=low * Remove *.el symlinks when needed; closes: #711912. * Don't fail on removal when unsupported Emacs version is installed; closes: #711909. * Don't fail on Czech documentation processing with Texinfo 5; closes: #712353. -- Milan Zamazal Sat, 15 Jun 2013 11:36:17 +0200 speechd-el (2.5-5) unstable; urgency=low * Ensure source files can be located by Emacs; closes: #710574. * Use debian-pkg-add-load-path-item instead of modifying load-path directly; closes: #710575. -- Milan Zamazal Sat, 08 Jun 2013 21:38:42 +0200 speechd-el (2.5-4) unstable; urgency=low * Make emacs23 the first alternative in Depends to make the package suitable for wheezy. -- Milan Zamazal Tue, 04 Dec 2012 20:23:27 +0100 speechd-el (2.5-3) unstable; urgency=low * Upload to unstable as #694676 is actually release critical. -- Milan Zamazal Tue, 04 Dec 2012 10:19:16 +0100 speechd-el (2.5-2) experimental; urgency=low * Require proper Emacs versions; closes: #694676. * Upload to experimental because wheezy is frozen. -- Milan Zamazal Mon, 03 Dec 2012 22:29:03 +0100 speechd-el (2.5-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Wed, 06 Jun 2012 22:06:35 +0200 speechd-el (2.4-3) unstable; urgency=low * Prevent compilation freeze in certain environments; closes: #667538. * debian/rules: build-arch and build-indep targets added. * Remove site-lisp/speechd-el directory after purging .elc files. * Standards 3.9.3 (no real change). -- Milan Zamazal Sat, 07 Apr 2012 14:28:00 +0200 speechd-el (2.4-2) unstable; urgency=low * Upstream fix applied to make speechd-el work with Emacs >= 23.3; closes: #623565. * Standards 3.9.2 (no real change). -- Milan Zamazal Tue, 26 Apr 2011 10:44:41 +0200 speechd-el (2.4-1) unstable; urgency=low * New upstream version. * Dependency on eieio updated. -- Milan Zamazal Mon, 21 Jun 2010 12:21:27 +0200 speechd-el (2.3-3) unstable; urgency=low * Switch to dpkg-source 3.0 (quilt) format. * Switch from dpatch to quilt. * Homepage field added. * Standards 3.8.4. -- Milan Zamazal Mon, 15 Mar 2010 10:26:12 +0100 speechd-el (2.3-2) unstable; urgency=low * Update dependencies for emacs23. * Update to debhelper 7. * README.source created. * Standards 3.8.3. -- Milan Zamazal Wed, 07 Oct 2009 13:51:47 +0200 speechd-el (2.3-1) unstable; urgency=low * New upstream version. * Standards 3.8.0 (no real change). * Description added to the Debian patch. * debian/rules: Build the package in binary-indep instead of binary-arch. -- Milan Zamazal Thu, 26 Jun 2008 21:13:05 +0200 speechd-el (2.2-2) unstable; urgency=low * License information in debian/copyright fixed. * Standards-Version 3.7.3. -- Milan Zamazal Mon, 3 Dec 2007 10:50:37 +0100 speechd-el (2.2-1) unstable; urgency=low * New upstream version. * Invoke both `info' and `info-cs' build targets in debian/rules. * Use dpatch. -- Milan Zamazal Thu, 29 Nov 2007 14:07:53 +0100 speechd-el (2.1-2) unstable; urgency=low * Support for `emacs22' package added. * Set debhelper version in debian/compat, not in rules. * Don't build Info files which are already present. -- Milan Zamazal Wed, 23 May 2007 08:34:02 +0200 speechd-el (2.1-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Fri, 20 Oct 2006 20:13:11 +0200 speechd-el (2.0-2) unstable; urgency=low * Load SSIP and BrlTTY drivers by default; closes: #386578. -- Milan Zamazal Thu, 14 Sep 2006 17:31:04 +0200 speechd-el (2.0-1) unstable; urgency=low * New upstream version. * debhelper build dependency moved to Build-Depends. * Standards 3.7.2 (no real change). -- Milan Zamazal Sun, 9 Jul 2006 12:32:15 +0200 speechd-el (1.0-4) unstable; urgency=low * Install when the Emacs flavor is emacs-snapshot. * DH_COMPAT increased to 4. -- Milan Zamazal Tue, 2 May 2006 11:08:19 +0200 speechd-el (1.0-3) unstable; urgency=low * Depend on emacs-snapshot | emacs21 (>= 21.3); older emacsen not supported. * Standards 3.6.2 (no real change). -- Milan Zamazal Mon, 15 Aug 2005 14:47:55 +0200 speechd-el (1.0-2) unstable; urgency=low * Upstream bug fix. -- Milan Zamazal Sat, 9 Apr 2005 13:49:30 +0200 speechd-el (1.0-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Thu, 13 Jan 2005 15:11:29 +0100 speechd-el (0.5-1) unstable; urgency=low * New upstream version. * Standards 3.6.1 (no real change). -- Milan Zamazal Tue, 19 Oct 2004 20:22:18 +0200 speechd-el (0.4-2) unstable; urgency=low * Recommend sharutils. -- Milan Zamazal Fri, 23 Jul 2004 13:43:28 +0200 speechd-el (0.4-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Thu, 27 May 2004 12:58:15 +0200 speechd-el (0.3-1) unstable; urgency=low * New upstream version. -- Milan Zamazal Tue, 30 Mar 2004 12:18:35 +0200 speechd-el (0.2-2) unstable; urgency=low * NEWS file installed. * debian/control: Global Section added. -- Milan Zamazal Thu, 18 Mar 2004 15:07:24 +0100 speechd-el (0.2-1) unstable; urgency=low * New upstream release. * Binary packages moved to sections defined by the override file. -- Milan Zamazal Sat, 13 Dec 2003 13:06:05 +0100 speechd-el (0.1-2) unstable; urgency=low * Don't depend on emacsen-common. * Depend on `emacs21' and `make'. * Don't compile for Emacs flavors other than `emacs21'; closes: #223530. -- Milan Zamazal Wed, 10 Dec 2003 17:37:54 +0100 speechd-el (0.1-1) unstable; urgency=low * Initial packaging. -- Milan Zamazal Fri, 7 Nov 2003 13:16:18 +0100