From 0ddc3ff982af0e139569a552f0380b0f026aae34 Mon Sep 17 00:00:00 2001 From: Junqian Gordon Xu Date: Sun, 6 Jan 2008 10:54:39 +0000 Subject: flite: change default back to oss, native alsa support package named as flite-alsa * flite does not include working ALSA support, there is a patch made by Lukas Loehrer [1]. * Problem 1, this patch is a one-way street to alsa only. oss can't be build with this patch. * Problem 2, flite becomes unmaintained, patch won't make upstream. Hence other applications * using flite shared library doesn't necessarily support flite with native ALSA. e.g. speech-dispatcher. * * revert flite packages: --with-audio=oss * add flite-alsa packages: --with-audio=ass * * flite-1.3-Makefile.patch is a patch by Francois Aucamp that makes it possible * to compile shared libraries of flite 1.3, this patch has already been included in flite-1.3 alsa patch. * * configure-with-audio.patch is a patch by Patrick Ohly which works for all versions except flite-alsa-1.2, * in which au_none.h was not seen by libflite * * fix-read-only-assignments.patch was an acknowledged patch by both the original OE flite maintainer * and Lukas Loehrer (i.e., flite-1.2 alsa patch contains this patch). However, Lukas Loehrer left this patch * out of his flite-1.3 alsa patch. Leading me to believe this was fixed internally elsewhere in the 1.3 release. * By the look of it, this seems has to be tested at runtime. * * [1] http://homepage.hispeed.ch/loehrer/flite_alsa.html --- .../flite/flite-1.3/flite-1.3-configure-with-audio.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 packages/flite/flite-1.3/flite-1.3-configure-with-audio.patch (limited to 'packages/flite/flite-1.3/flite-1.3-configure-with-audio.patch') diff --git a/packages/flite/flite-1.3/flite-1.3-configure-with-audio.patch b/packages/flite/flite-1.3/flite-1.3-configure-with-audio.patch new file mode 100644 index 0000000000..3c077530f6 --- /dev/null +++ b/packages/flite/flite-1.3/flite-1.3-configure-with-audio.patch @@ -0,0 +1,12 @@ +--- flite-1.3-release/configure.in.old 2008-01-05 10:14:57.000000000 -0600 ++++ flite-1.3-release/configure.in 2008-01-05 10:15:38.000000000 -0600 +@@ -220,7 +220,8 @@ dnl allow the user to override the one d + dnl + AC_ARG_WITH( audio, + [ --with-audio with specific audio support (none linux freebsd etc) ], +- AUDIODRIVER=$with_audio ) ++ [AUDIODRIVER=$with_audio ++ AUDIODEFS=]) + + if test "x$AUDIODEFS" = x; then + case "$AUDIODRIVER" in -- cgit v1.2.3