Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 152652 - app-accessibility/festival franfest module
Summary: app-accessibility/festival franfest module
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
: 118615 180661 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-24 05:18 UTC by Jimmy.Jazz
Modified: 2008-01-13 18:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
festival-1.95_beta-r2.ebuild (festival-1.95_beta-r2.ebuild,7.73 KB, text/plain)
2006-10-24 05:19 UTC, Jimmy.Jazz
Details
festival.rc (festival.rc,621 bytes, text/plain)
2006-10-24 05:26 UTC, Jimmy.Jazz
Details
festival-1.95_beta-asterisk.patch (festival-1.95_beta-asterisk.patch,739 bytes, patch)
2006-10-24 05:27 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-franfest.patch (festival-1.95_beta-franfest.patch,769 bytes, patch)
2006-10-24 05:27 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-franfest_m4.patch (festival-1.95_beta-franfest_m4.patch,468 bytes, patch)
2006-10-24 05:27 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-gcc41.patch (festival-1.95_beta-gcc41.patch,991 bytes, patch)
2006-10-24 05:28 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-gcc41-amd64.patch (festival-1.95_beta-gcc41-amd64.patch,419 bytes, patch)
2006-10-24 05:29 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-gcc41-amd64-int-pointer.patch (festival-1.95_beta-gcc41-amd64-int-pointer.patch,10.99 KB, patch)
2006-10-24 05:29 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-init-scm.patch (festival-1.95_beta-init-scm.patch,856 bytes, patch)
2006-10-24 05:29 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-languages.patch (festival-1.95_beta-languages.patch,840 bytes, patch)
2006-10-24 05:30 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-system.patch (festival-1.95_beta-system.patch,349 bytes, patch)
2006-10-24 05:30 UTC, Jimmy.Jazz
Details | Diff
festival-1.95_beta-UniSyn_phonology.patch (festival-1.95_beta-UniSyn_phonology.patch,581 bytes, patch)
2006-10-24 05:30 UTC, Jimmy.Jazz
Details | Diff
franfest.mak (franfest.mak,3.02 KB, text/plain)
2006-10-24 05:31 UTC, Jimmy.Jazz
Details
GentooLinux.mak (GentooLinux.mak,2.96 KB, text/plain)
2006-10-24 05:32 UTC, Jimmy.Jazz
Details
server.scm (server.scm,838 bytes, text/plain)
2006-10-24 05:32 UTC, Jimmy.Jazz
Details
x86_64_GentooLinux2.6.mak (x86_64_GentooLinux2.6.mak,2.94 KB, text/plain)
2006-10-24 05:32 UTC, Jimmy.Jazz
Details
speech-tools-1.2.95_beta-r2.ebuild (speech-tools-1.2.95_beta-r2.ebuild,4.89 KB, text/plain)
2006-10-24 05:35 UTC, Jimmy.Jazz
Details
speech-tools files directory (files-speech-tools-patches.tar.bz2,5.19 KB, application/octet-stream)
2006-10-24 05:38 UTC, Jimmy.Jazz
Details
festival+speech-tools with franfest (festival+speech-tools.tar.bz2,23.41 KB, application/octet-stream)
2006-12-06 13:03 UTC, Jimmy.Jazz
Details
security patch for festival (see bug 170477) (festival-1.95_beta-r5.ebuild,12.43 KB, text/plain)
2007-06-09 14:22 UTC, Jimmy.Jazz
Details
patches for ebuild festival-1.95_beta-r5.ebuild (festival.patch.tar.bz2,10.46 KB, patch)
2007-06-09 14:24 UTC, Jimmy.Jazz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2006-10-24 05:18:35 UTC
Hi,

i finally managed to integrate franfest module into festival. 

Franfest is a french synthesizer module for festival. It needs festival, mbrola and speech-tools.
Mbrola is the native gentoo ebuild but i suggest you to try the speech-tools ebuild provided.

I hope that could help gentoo to speak more easily french. French female (default) and male voices are available.

Every options are not available for instance java and python wrappers (I'm sure it won't be difficult for you devs to make it working :).

The ebuild was tested on x86 an x86_64 platforms.

You will find more informations about the project at https://gna.org/projects/lliaphon and http://www.pollock-nageoire.net/festival/franfest.html

LLiaPhon is also a text-to-speech application and they released a new version of franfest for festival 1.96

Feel free to improve franfest integration into gentoo environment. Visually impaired persons will for sure appreciate and certainly people learning french too.

Jj
Comment 1 Jimmy.Jazz 2006-10-24 05:19:56 UTC
Created attachment 100361 [details]
festival-1.95_beta-r2.ebuild
Comment 2 Jimmy.Jazz 2006-10-24 05:26:26 UTC
Created attachment 100362 [details]
festival.rc
Comment 3 Jimmy.Jazz 2006-10-24 05:27:06 UTC
Created attachment 100363 [details, diff]
festival-1.95_beta-asterisk.patch
Comment 4 Jimmy.Jazz 2006-10-24 05:27:36 UTC
Created attachment 100364 [details, diff]
festival-1.95_beta-franfest.patch
Comment 5 Jimmy.Jazz 2006-10-24 05:27:56 UTC
Created attachment 100365 [details, diff]
festival-1.95_beta-franfest_m4.patch
Comment 6 Jimmy.Jazz 2006-10-24 05:28:49 UTC
Created attachment 100366 [details, diff]
festival-1.95_beta-gcc41.patch
Comment 7 Jimmy.Jazz 2006-10-24 05:29:08 UTC
Created attachment 100367 [details, diff]
festival-1.95_beta-gcc41-amd64.patch
Comment 8 Jimmy.Jazz 2006-10-24 05:29:36 UTC
Created attachment 100368 [details, diff]
festival-1.95_beta-gcc41-amd64-int-pointer.patch
Comment 9 Jimmy.Jazz 2006-10-24 05:29:56 UTC
Created attachment 100369 [details, diff]
festival-1.95_beta-init-scm.patch
Comment 10 Jimmy.Jazz 2006-10-24 05:30:16 UTC
Created attachment 100370 [details, diff]
festival-1.95_beta-languages.patch
Comment 11 Jimmy.Jazz 2006-10-24 05:30:34 UTC
Created attachment 100371 [details, diff]
festival-1.95_beta-system.patch
Comment 12 Jimmy.Jazz 2006-10-24 05:30:52 UTC
Created attachment 100372 [details, diff]
festival-1.95_beta-UniSyn_phonology.patch
Comment 13 Jimmy.Jazz 2006-10-24 05:31:42 UTC
Created attachment 100373 [details]
franfest.mak
Comment 14 Jimmy.Jazz 2006-10-24 05:32:01 UTC
Created attachment 100374 [details]
GentooLinux.mak
Comment 15 Jimmy.Jazz 2006-10-24 05:32:30 UTC
Created attachment 100375 [details]
server.scm
Comment 16 Jimmy.Jazz 2006-10-24 05:32:48 UTC
Created attachment 100376 [details]
x86_64_GentooLinux2.6.mak
Comment 17 Jimmy.Jazz 2006-10-24 05:35:16 UTC
Created attachment 100377 [details]
speech-tools-1.2.95_beta-r2.ebuild

needed for franfest
Comment 18 Jimmy.Jazz 2006-10-24 05:38:55 UTC
Created attachment 100378 [details]
 speech-tools files directory 

patches for the speech-tools ebuild
Comment 19 Jimmy.Jazz 2006-10-24 05:54:14 UTC
below this line, be careful (it isn't error free guaranteed :)
                
--------------------------------------------

install festival and speech-tools in you overlay directory

example,

mkdir -p /usr/local/portage/overlay/app-accessibility/{festival,speech-tools}/files
cd /usr/local/portage/overlay/app-accessibility

cp speech-tools-1.2.95_beta-r2.ebuild speech-tools/
tar xjvf files-speech-tools-patches.tar.bz2 speech-tools/
ebuild speech-tools/speech-tools-1.2.95_beta-r2.ebuild digest

cp festival-1.95_beta-r2.ebuild festival/
cp *.patch *.mak *.scm *.rc festival/files/
ebuild festival/festival-1.95_beta-r2.ebuild digest

add /usr/local/portage/overlay to your PORTDIR_OVERLAY in /etc/make.conf


Comment 20 Jimmy.Jazz 2006-10-24 06:54:19 UTC
    For people who have experiences about locales. 

    I didn't find a way to convert the files twith some <81> characters in it.

    When i use french symbols like 
Comment 21 Jimmy.Jazz 2006-10-24 06:54:19 UTC
    For people who have experiences about locales. 

    I didn't find a way to convert the files twith some <81> characters in it.

    When i use french symbols like ç i get that error,

    echo parlez-vous français  | festival --language french --tts
    Phone "&#65533;" not member of PhoneSet "sampa_fr"
    Phone "&#65533;" not in PhoneSet "sampa_fr"

    I someone could find a solution for this, thank in advance :)

    Jj

Comment 22 Jimmy.Jazz 2006-10-25 02:40:05 UTC
To get rid of <81> characters in frantest.scm just add in src_unpack()
       
       epatch ${FILESDIR}/${P}-franfest_m4.patch

+       einfo "Clean up some strange characters present in franfest.scm"
+        (
+            cd ${WORKDIR}/franfest/festival/lib/franfest
+            mv  franfest.scm franfest.scm.tmp
+            cat franfest.scm.tmp | tr -d '\201' > franfest.scm
+            rm franfest.scm.tmp  
+        )
Comment 23 Jimmy.Jazz 2006-10-25 06:55:31 UTC
(In reply to comment #20)
>     For people who have experiences about locales. 
> 
>     I didn't find a way to convert the files twith some <81> characters in it.
> 
>     When i use french symbols like 
Comment 24 Jimmy.Jazz 2006-10-25 06:55:31 UTC
(In reply to comment #20)
>     For people who have experiences about locales. 
> 
>     I didn't find a way to convert the files twith some <81> characters in it.
> 
>     When i use french symbols like ç i get that error,
> 
>     echo parlez-vous français  | festival --language french --tts
>     Phone "&#65533;" not member of PhoneSet "sampa_fr"
>     Phone "&#65533;" not in PhoneSet "sampa_fr"
> 
>     I someone could find a solution for this, thank in advance :)
> 
>     Jj
> 

the soluce is iconv -f UTF-8 -t ISO_8859-1

echo éèàçê  |iconv -f UTF-8 -t ISO_8859-1  | festival --language french --tts

works 
Comment 25 Jimmy.Jazz 2006-12-06 13:03:35 UTC
Created attachment 103484 [details]
festival+speech-tools with franfest

For people who don't want to be bored with all these files will certainly appreciate the tarball of the festival's tree.

the tar file contains:

app-accessibility/festival/
app-accessibility/festival/Manifest
app-accessibility/festival/files/
app-accessibility/festival/files/digest-festival-1.95
app-accessibility/festival/files/festival-1.95_beta-system.patch
app-accessibility/festival/files/festival-1.95_beta-UniSyn_phonology.patch
app-accessibility/festival/files/festival-1.95_beta-init-scm.patch
app-accessibility/festival/files/festival-1.96_beta-franfest-patch
app-accessibility/festival/files/festival-1.95_beta-asterisk.patch
app-accessibility/festival/files/festival-1.95_beta-gcc41.patch
app-accessibility/festival/files/server.scm
app-accessibility/festival/files/festival-1.95_beta-franfest_m4.patch
app-accessibility/festival/files/festival-1.95_beta-languages.patch
app-accessibility/festival/files/festival-1.95_beta-gcc41-amd64-int-pointer.patch
app-accessibility/festival/files/x86_64_GentooLinux2.6.mak
app-accessibility/festival/files/GentooLinux.mak
app-accessibility/festival/files/franfest.mak
app-accessibility/festival/files/digest-festival-1.95_beta-r2
app-accessibility/festival/files/digest-festival-1.95_beta-r3
app-accessibility/festival/files/festival-1.95_beta-franfest.patch
app-accessibility/festival/files/festival-1.95_beta-gcc41-amd64.patch
app-accessibility/festival/files/festival.rc
app-accessibility/festival/festival-1.95_beta-r3.ebuild.BUG
app-accessibility/festival/festival-1.95_beta-r2.ebuild
app-accessibility/speech-tools/
app-accessibility/speech-tools/Manifest
app-accessibility/speech-tools/files/
app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41-amd64-int-pointer.patch
app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-system.patch
app-accessibility/speech-tools/files/digest-speech-tools-1.2.95_beta-r2
app-accessibility/speech-tools/files/digest-speech-tools-1.2.95
app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41.patch
app-accessibility/speech-tools/files/speech-tools-1.2.95_beta-gcc41-amd64.patch
app-accessibility/speech-tools/files/x86_64_GentooLinux2.6.mak
app-accessibility/speech-tools/files/GentooLinux.mak
app-accessibility/speech-tools/speech-tools-1.2.95_beta-r2.ebuild
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 07:42:59 UTC
*** Bug 118615 has been marked as a duplicate of this bug. ***
Comment 27 Jakub Moc (RETIRED) gentoo-dev 2007-06-03 07:45:16 UTC
*** Bug 180661 has been marked as a duplicate of this bug. ***
Comment 28 Jimmy.Jazz 2007-06-09 14:22:23 UTC
Created attachment 121576 [details]
security patch for festival (see bug 170477)

Hello,

i just added the security fix as described in bug 170477.

Also, speech-tools ebuild isn't needed anymore. Please read duplicate 180661.

The tar file festival.patch.tar.bz2 contains all the patches for the new ebuild.

The ebuild was successfully tested on both x86 and amd64 architectures.

Jj
Comment 29 Jimmy.Jazz 2007-06-09 14:24:35 UTC
Created attachment 121578 [details, diff]
patches for ebuild festival-1.95_beta-r5.ebuild
Comment 30 William Hubbs gentoo-dev 2007-08-29 02:34:05 UTC
Hello,

Could you please submit an update for this with festival-1.96_beta and speech-tools-1.96_beta?

Instead of a tarball of your app-accessibility directory, can you please submit unified diffs for the ebuilds?  Also, for any other patches or new files, can you submit them as separate files and explain in the comments what they are?

This will make things much easier to review.

Thanks much for your help.
Comment 31 William Hubbs gentoo-dev 2008-01-13 18:34:10 UTC
I am marking this as test-request for now.  Once you have been able to test this as requested in comment #30, can you please re-open this bug?

Thanks much,


William