Debian Patches

Status for espeak-ng/1.50+dfsg-7+deb11u1

Patch Description Author Forwarded Bugs Origin Last update
path Drop looking for voices in /usr/share/mbrola/voices: our Debian packages
never put voices there, and letting espeak look there would show a
warning to the user that suggests that voices should be put there, which
is not the case in Debian.
no
bufsize Apparently 60ms is too much for some cards.

===================================================================
no
fix-cancel https://github.com/espeak-ng/espeak-ng/issues/172

Upstream pcaudiolib made audio_object_flush actually do the
close/reopen, but this is not released yet (will be in 1.1). This
however poses threading issues with ALSA: audio_object_flush is
currently called in the application thread while it must be done in
the say_thread for proper safety.

espeak-ng 1.49.2 added a cancel_audio() function which calls
audio_object_flush and is called from close_stream(). That is however
not enough for the stream to get interrupted on cancel (and we don't
want to use upstream's current fix mentioned above this it poses
threading issues).
no
privacy no
ESPEAK_DATA_PATH commit 3ee609f554297e852c3a7deee6b54eb19764c9cd

Use $(CURDIR) instead of $(PWD)

$(CURDIR) is set by make, while $(PWD) would have to come from the
shell, which may not define it.

diff --git a/Makefile.am b/Makefile.am
index f59ca2cc..8c755024 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2019-12-03
greek-rules https://github.com/espeak-ng/espeak-ng/issues/690

commit 00c37d667f58e5a36853eb9ac08b09567a150704

grc: add Greek variant letter form support; fixes pronunciation of the test

diff --git a/dictsource/grc_rules b/dictsource/grc_rules
index 94b0c6ca..cd1f3054 100644
Reece H. Dunn <msclrhd@gmail.com> no 2019-12-04
fix-tests-bash https://github.com/espeak-ng/espeak-ng/pull/698

commit 171e8a4e09588b123e1707b100733436dd7577c9

Fix testsuite with /bin/sh being bash

With bash, echo "a\nb" will not interpret \n, while with dash, echo will
interpret \n. bash's echo would need -e, but dash does not know that
option and just prints it.

We can however just put \n litteraly in the script, both bash and dash
will understand it.

diff --git a/tests/language-pronunciation.test b/tests/language-pronunciation.test
index b46df44d..825917a9 100755
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2020-01-04
no-common commit e11cd42b03d1628f7a0cf45c9406123282e25c63

fix #699: avoid samplerate clashing with LTO in gcc 10.

diff --git a/src/espeak-ng.c b/src/espeak-ng.c
index 10b8a887..3a7838cf 100644
Reece H. Dunn <msclrhd@gmail.com> no 2020-01-09
event-delay https://github.com/espeak-ng/espeak-ng/pull/1077

commit 977bff9a061fbd6b44835a6ce45ad887634ae068

event_notify: Remove spurious 50ms delay

event_notify currently introduces an arbitrary 50ms delay between speech
requests. This is usually unnoticed since it's small. But when
cancelling a long series of events, they add up to potentially seconds
of delays, while the user was precisely requesting to just cancel
everything as fast as possible.

This 50ms delay was probably meant to work around some issues elsewhere.
If they are still there, they should be fixed, not worked around.

diff --git a/src/libespeak-ng/event.c b/src/libespeak-ng/event.c
index acf3a39e..5561fdbc 100644
Samuel Thibault <samuel.thibault@ens-lyon.org> no 2022-02-13

All known versions for source package 'espeak-ng'

Links