Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 229442 - festival package could be significantly reduced in size
Summary: festival package could be significantly reduced in size
Alias: None
Product: Fedora
Classification: Fedora
Component: festival
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Matthew Miller
QA Contact:
Depends On: festival1.96
Blocks: FC7Target
TreeView+ depends on / blocked
Reported: 2007-02-21 04:03 UTC by Matthew Miller
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 1.96-0.11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-03-20 19:01:37 UTC

Attachments (Terms of Use)

Description Matthew Miller 2007-02-21 04:03:10 UTC
Description of problem:

  Festival package is very large.

Version-Release number of selected component (if applicable):


Additional info:

In short: the festival package installs some 50MB of stuff. It would be useful
to have the base install smaller, through a combination of creating subpackages
and of not packaging some cruft that's getting included now.

The following is a repost of something I just sent to fedora-desktop list:

On Tue, Feb 20, 2007 at 06:16:35PM -0500, Jeremy Katz wrote:
> > orca too, probably even more important (not sure whether it was removed
> > for FC7t1 cuz it drags in festival which is huge).
> Yeah, the space requirement of festival makes it (and the things which
> depend on it, including gok) a lot less attractive.  :-/   Not sure what
> to do on that front

Festival could by split up so some or all of the voices are in a subpackage.

I'm not hugely versed in the technical details, but the CMU ARCTIC HTS
voices sound great to me (better than the only free alternatives, the older
and much larger kal_diphone and ked_diphone ones). We could probably get
away with just including the CMU ARCTIC SLT voice (female US English
speaker), which is the smallest at 1756k. That alone would save us half the
size of the package.

Plus, the speech-tools binaries (in libexec) probably aren't needed by
almost everyone. And that's pretty significant.

*And*, there's some stuff packaged up under /usr/share/festival/dicts that I
think maybe doesn't need to be. For example, there's a 118K *patch* in
there, plus the 3.6M file that's getting patched. (cmudict-0.4.diff and
cmudict-0.4.scm). I assume that's done to fulfill the "Any modifications
must be clearly marked as such" clause in the license for the data files in
that directory -- probably that could be done in a somewhat smaller way.

Oh, and some stuff in /usr/share/festival/etc which is "etc" in the "misc
et cetera crap" sense, not the "config files" sense.

So, doing all of that would bring the package down to 16M from 54M (on

Someone who knew the package better and/or had more than a minimal working
knowledge of Lisp could probably pare down and/or subpackage non-core
functionality even further -- I bet the minimal-but-useful set is under 10M.

Comment 1 Matthias Clasen 2007-02-23 04:20:32 UTC
David, I guess we should do some of this for FC7 to help shrink the live cd size

Comment 2 Matthew Miller 2007-03-12 18:06:56 UTC
I'm working on making an updated spec file that includes these suggestions.
Should have one RSN.

Comment 3 Matthew Miller 2007-03-13 21:09:02 UTC
Preview of work-in progress:

24M     festival-1.95-6.fc7.x86_64.rpm


1.8M    festival-1.96-0.5.fc7.mattdm.x86_64.rpm
1.1M    festival-speechtools-libs-1.2.96-0.5.fc7.mattdm.x86_64.rpm
1.7M    festvox-nitech-us-slt-arctic-hts-0.20061229-0.5.fc7.mattdm.x86_64.rpm
4.5M    total

Comment 4 Matthew Miller 2007-03-13 21:20:44 UTC
See bug #232105 for in-progress updated packages which address this issue.

Comment 5 Matthew Miller 2007-03-15 19:51:27 UTC
So, hmmm, with the new nitech versions of the voices, slt-arctic is no longer
the smallest. In fact, we've got:

1348    festvox-awb-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
1384    festvox-jmk-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
1528    festvox-rms-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
1672    festvox-bdl-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
1684    festvox-slt-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
1868    festvox-clb-arctic-hts-0.20061229-0.7.fc7.mattdm.x86_64.rpm
6392    festvox-kal-diphone-0.19990610-0.7.fc7.mattdm.x86_64.rpm
6476    festvox-ked-diphone-0.19990610-0.7.fc7.mattdm.x86_64.rpm

But... AWB has a strong scottish accent, and JMK a kind of odd canadian one, so
they're not great candidates for inclusion. And I find RMS a bit hard to
understand. BDL isn't much smaller than SLT, and since I like it better, I think
I'm going to keep it as the default for a price 12k.

So, in case anyone later questions why this is the default, there's the answer. :)

Comment 6 Matthew Miller 2007-03-16 20:07:53 UTC
Oh, also:

Currently, festival is an optional package in "System Tools", and pulled in as
default in "Gnome Desktop Environment" by orca.

Really, we should default to also installing at least the non-accented HTS
voices (giving two male and two female choices by default):


plus I'd suggest making the other voices visible somewhere in comps as optional.
Probably somewhere better than "System Tools" -- "Sound and Video", maybe?

Comment 7 Matthew Miller 2007-03-20 19:01:37 UTC
This issue should be resolved by the release of festival-1.96-0.11, now in the
development tree. (See bug #232105 for details.)

Please reopen if there's still a problem. Thanks.

Note You need to log in before you can comment on or make changes to this bug.