diff -u opendict-0.6.3/debian/control opendict-0.6.3/debian/control --- opendict-0.6.3/debian/control +++ opendict-0.6.3/debian/control @@ -12,7 +12,7 @@ Architecture: all Depends: ${python:Depends}, python-wxgtk2.6 XB-Python-Version: ${python:Versions} -Suggests: dictd, festival +Suggests: dictd, espeak | festival Description: computer dictionary for several dictionary formats OpenDict is free cross-platform dictionary program. It works with DICT, Slowo and Mova dictionaries. It also supports plug-in diff -u opendict-0.6.3/debian/changelog opendict-0.6.3/debian/changelog --- opendict-0.6.3/debian/changelog +++ opendict-0.6.3/debian/changelog @@ -1,3 +1,11 @@ +opendict (0.6.3-3ubuntu1) jaunty; urgency=low + + * Use espeak instead of festival as default TTS. Patch by Mantas Kriaučiūnas + (LP: #235237). + * Add espeak | festival to suggests. + + -- Aurimas Fischer Sun, 01 Mar 2009 23:18:59 +0200 + opendict (0.6.3-3) unstable; urgency=low * debian/patches: the patches refreshed with quilt option '-p1'. This should diff -u opendict-0.6.3/debian/patches/series opendict-0.6.3/debian/patches/series --- opendict-0.6.3/debian/patches/series +++ opendict-0.6.3/debian/patches/series @@ -5,0 +6 @@ +006_use_espeak.diff only in patch2: unchanged: --- opendict-0.6.3.orig/debian/patches/006_use_espeak.diff +++ opendict-0.6.3/debian/patches/006_use_espeak.diff @@ -0,0 +1,16 @@ +Use espeak as default TTS because espeak is in main (LP #235237) + +Patch by Mantas Kriaučiūnas +=================================================================== +--- opendict-0.6.3.orig/lib/gui/prefswin.py ++++ opendict-0.6.3/lib/gui/prefswin.py +@@ -26,7 +26,7 @@ + from lib import enc + + _ = wx.GetTranslation +-PRON_COMMAND = "echo \"(SayText \\\"%s\\\")\" | festival" ++PRON_COMMAND = 'espeak "%s"' + + class PrefsWindow(wx.Dialog): + """Preferences dialog class""" +