[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687793: unblock: espeakup/1:0.71-11



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package espeakup

unblock espeakup/1:0.71-11

We have noticed that the speech synthesis in the Debian installer
is bogus at each end of line: when text is spread on several lines,
the synthesis would consider the end of line as a phrase separator,
which makes it quite harder to understand, since the phrases are thus
erroneously broken. The fix is simply to pass '\n' to the espeak
synthesizer, which will behave appropriately.

Samuel

diff -u espeakup-0.71/debian/changelog espeakup-0.71/debian/changelog
--- espeakup-0.71/debian/changelog
+++ espeakup-0.71/debian/changelog
@@ -1,3 +1,10 @@
+espeakup (1:0.71-11) unstable; urgency=low
+
+  * softsynth.c: Cherry-pick fix from upstream: pass '\n' to espeak too for e.g.
+  proper pause.
+
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 15 Sep 2012 22:19:04 +0200
+
 espeakup (1:0.71-10) unstable; urgency=low
 
   * espeakup-udeb.restart: Fix voice path according to multiarch switch.
only in patch2:
unchanged:
--- espeakup-0.71.orig/softsynth.c
+++ espeakup-0.71/softsynth.c
@@ -110,7 +110,7 @@
 	start = 0;
 	end = 0;
 	while (start < length) {
-		while ((buf[end] < 0 || buf[end] >= ' ') && end < length)
+		while ((buf[end] < 0 || buf[end] >= ' ' || buf[end] == '\n') && end < length)
 			end++;
 		if (end != start) {
 			txtLen = end - start;

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.0.4 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
Samuel
Linux, c'est simple : ça s'adresse à une machine qui est parfois un peu
maraboutée mais qui d'habitude n'a pas d'états d'âme. Sur Usenet y'a
plein d'humains et de primates, et ça devient vraiment gore par moment.
-+- TP in : Guide du linuxien pervers - "Le linuxien a-t-il une âme ?" -+-
diff -u espeakup-0.71/debian/changelog espeakup-0.71/debian/changelog
--- espeakup-0.71/debian/changelog
+++ espeakup-0.71/debian/changelog
@@ -1,3 +1,10 @@
+espeakup (1:0.71-11) unstable; urgency=low
+
+  * softsynth.c: Cherry-pick fix from upstream: pass '\n' to espeak too for e.g.
+  proper pause.
+
+ -- Samuel Thibault <sthibault@debian.org>  Sat, 15 Sep 2012 22:19:04 +0200
+
 espeakup (1:0.71-10) unstable; urgency=low
 
   * espeakup-udeb.restart: Fix voice path according to multiarch switch.
only in patch2:
unchanged:
--- espeakup-0.71.orig/softsynth.c
+++ espeakup-0.71/softsynth.c
@@ -110,7 +110,7 @@
 	start = 0;
 	end = 0;
 	while (start < length) {
-		while ((buf[end] < 0 || buf[end] >= ' ') && end < length)
+		while ((buf[end] < 0 || buf[end] >= ' ' || buf[end] == '\n') && end < length)
 			end++;
 		if (end != start) {
 			txtLen = end - start;

Reply to: