festival-vl.spec 47 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260
  1. %define festivalversion 1.96
  2. # we ship the 1.4.2 docs for now.
  3. %define docversion 1.4.2
  4. %define speechtoolsversion 1.2.96
  5. Name: festival
  6. Summary: Speech synthesis and text-to-speech system
  7. Version: %{festivalversion}
  8. Release: 1%{?_dist_release}
  9. URL: http://www.cstr.ed.ac.uk/projects/festival/
  10. Group: Applications/Multimedia
  11. # the emacs file is GPL+, there is one TCL licensed source file
  12. License: MIT and GPL+ and TCL
  13. # Files needed for everything...
  14. %define baseURL http://festvox.org/packed/festival/%{festivalversion}
  15. Source0: %{baseURL}/festival-%{festivalversion}-beta.tar.gz
  16. Source1: %{baseURL}/speech_tools-%{speechtoolsversion}-beta.tar.gz
  17. # Docs haven't been updated yet; here's the old ones
  18. Source2: http://festvox.org/packed/festival/%{docversion}/festdoc-%{docversion}.tar.gz
  19. # Our local site config files.
  20. Source50: festival-1.96-0.7-fedora-siteinit.scm
  21. Source51: festival-1.96-0.7-fedora-sitevars.scm
  22. ### DICTIONARIES
  23. # Generic English dictionary
  24. Source100: %{baseURL}/festlex_POSLEX.tar.gz
  25. # American English dictionary
  26. Source101: %{baseURL}/festlex_CMU.tar.gz
  27. # OALD isn't included because it's got a more restrictive (non-commercial
  28. # only) license. OALD voices not included for same reason.
  29. # Note on voice versions: I'm simply using the file date of the newest file
  30. # in each set of tarballs. It happens that the dates for all files from each
  31. # source (diphone, cmu_arctic, etc.) match, which is handy.
  32. ### DIPHONE VOICES
  33. %define diphoneversion 0.19990610
  34. Source200: %{baseURL}/festvox_kallpc16k.tar.gz
  35. Source202: %{baseURL}/festvox_kedlpc16k.tar.gz
  36. ### HTS VOICES (use Nagoya Institute of Technology's HTS based synthesizer)
  37. # The Festvox site packages older versions of these as cmu_us_*_hts.
  38. # These are from <http://hts.sp.nitech.ac.jp/>.
  39. # And, ugh, the files seem to be only served via a script, not directly.
  40. %define nitechbaseURL http://hts.sp.nitech.ac.jp/?plugin=attach&refer=Download&openfile=
  41. %define nitechhtsversion 0.20061229
  42. Source220: %{nitechbaseURL}/festvox_nitech_us_awb_arctic_hts.tar.bz2
  43. Source221: %{nitechbaseURL}/festvox_nitech_us_bdl_arctic_hts.tar.bz2
  44. Source222: %{nitechbaseURL}/festvox_nitech_us_clb_arctic_hts.tar.bz2
  45. Source223: %{nitechbaseURL}/festvox_nitech_us_jmk_arctic_hts.tar.bz2
  46. Source224: %{nitechbaseURL}/festvox_nitech_us_rms_arctic_hts.tar.bz2
  47. Source225: %{nitechbaseURL}/festvox_nitech_us_slt_arctic_hts.tar.bz2
  48. ### Hispavoces Spanish voices http://forja.guadalinex.org/repositorio/projects/hispavoces/
  49. %define hispavocesversion 1.0.0
  50. Source300: http://v4.guadalinex.org/guadalinex-toro/pool-test/main/f/festival-spanish-voices/festival-spanish-voices_1.0.0.orig.tar.gz
  51. Source301: COPYING.hispavoces
  52. ### Multisyn voices left out because they're ~ 100MB each.
  53. ### MBROLA voices left out, because they require MBROLA, which ain't free.
  54. # Set defaults to American English instead of British English - the OALD
  55. # dictionary (free for non-commercial use only) is needed for BE support
  56. # Additionally, prefer the smaller (and I think nicer sounding) nitech hts
  57. # voices.
  58. Patch1: festival-1.96-nitech-american.patch
  59. # Whack some buildroot references
  60. Patch2: festival_buildroot.patch
  61. # Use shared libraries
  62. Patch3: festival-1.96-speechtools-shared-build.patch
  63. # Fix a coding error (see bug #162137). Need to upstream.
  64. Patch5: festival-1.96-speechtools-rateconvtrivialbug.patch
  65. # Link libs with libm, libtermcap (see bug #198190).
  66. # Need to upstream this.
  67. Patch6: festival-1.96-speechtools-linklibswithotherlibs.patch
  68. # For some reason, CXX is set to gcc on everything but Mac OS Darwin,
  69. # where it's set to g++. Yeah, well. We need it to be right too.
  70. Patch7: festival-1.96-speechtools-ohjeezcxxisnotgcc.patch
  71. # Look for siteinit and sitevars in /etc/festival
  72. Patch8: festival-1.96-etcsiteinit.patch
  73. # Alias old cmu names to new nitech ones
  74. Patch9: festival-1.96-alias_cmu_to_nitech.patch
  75. # Look for speech tools here, not back there.
  76. Patch10: festival-1.96-findspeechtools.patch
  77. # Build main library as shared, not just speech-tools
  78. Patch11: festival-1.96-main-shared-build.patch
  79. # This is a hack to make the shared libraries build with actual
  80. # sonames. Should pretty much do the right thing, although note
  81. # of course that the sonames aren't official upstream.
  82. Patch12: festival-1.96-bettersonamehack.patch
  83. # this updates speech_tools to a development version which fixes
  84. # a 64-bit cleanliness issue (among other changes).
  85. Patch20: festival-1.96-speechtools-1.2.96-beta+awb.patch
  86. # This makes festival use /usr/lib[arch]/festival/etc for its
  87. # arch-specific "etc-path", rather than /usr/share/festival/etc/system_type.
  88. # Then I use sed to replace the token with actual arch-specific libdir.
  89. # A better way would be to actually make this a flexible makefile parameter,
  90. # but that's something to take up with upstream.
  91. Patch31: festival-1.96-kludge-etcpath-into-libarch.patch
  92. # For some reason, the Nitech voices (and the previous CMU versions) fail to
  93. # define proclaim_voice, which makes them not show up in the voice
  94. # descriptions, which makes gnome-speech not show them.
  95. Patch90: festival-1.96-nitech-proclaimvoice.patch
  96. # Cure "SIOD ERROR: unbound variable : f2b_f0_lr_start"
  97. Patch91: festival-1.96-nitech-fixmissingrequire.patch
  98. # An apparent copy-paste error in these voices -- slt is referenced
  99. # in all of them.
  100. Patch92: festival-1.96-nitech-sltreferences.patch
  101. Patch93: gcc43.patch
  102. # Native pulseaudio support, https://bugzilla.redhat.com/show_bug.cgi?id=471047
  103. Patch94: festival-speech-tools-pulse.patch
  104. Patch95: gcc44.patch
  105. BuildRequires: pulseaudio-libs-devel
  106. BuildRequires: texlive
  107. BuildRequires: ncurses-devel
  108. # Requires: festival-voice
  109. # The hard dep below provides a festival-voice, no need to require it here.
  110. # This is hard-coded as a requirement because it's the smallest voice (and,
  111. # subjectively I think the most pleasant to listen to and so a good
  112. # default).
  113. #
  114. # Ideally, this would be a "suggests" instead of a hard requirement.
  115. #
  116. # Update: with the new nitech versions of the voices, slt-arctic is no
  117. # longer the smallest. But... AWB has a strong scottish accent, and JMK a
  118. # kind of odd canadian one, so they're not great candidates for inclusion.
  119. # And I find RMS a bit hard to understand. BDL isn't much smaller than SLT,
  120. # and since I like it better, I think I'm going to keep it as the default
  121. # for a price 12k. So, in case anyone later questions why this is the
  122. # default, there's the answer. :)
  123. Requires: festvox-slt-arctic-hts
  124. BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{festivalversion}-%{release}-XXXXXX)
  125. %package lib
  126. Summary: Library for the Festival speech synthesis system
  127. # this is here to make sure upgrades go cleanly. In other cases,
  128. # the auto-deps should handle this just fine.
  129. Requires: festival-speechtools-libs
  130. Group: System Environment/Libraries
  131. Requires(post): /sbin/ldconfig
  132. Requires(postun): /sbin/ldconfig
  133. %package docs
  134. Summary: Documentation for the Festival speech synthesis system
  135. Group: Applications/Multimedia
  136. Version: %{docversion}
  137. Requires(post): /sbin/install-info
  138. Requires(postun): /sbin/install-info
  139. BuildArch: noarch
  140. %package speechtools-libs
  141. Summary: The Edinburgh Speech Tools libraries
  142. Group: System Environment/Libraries
  143. Version: %{speechtoolsversion}
  144. Requires(post): /sbin/ldconfig
  145. Requires(postun): /sbin/ldconfig
  146. %package speechtools-utils
  147. Summary: Miscellaneous utilities from the Edinburgh Speech Tools
  148. Group: Applications/Multimedia
  149. Version: %{speechtoolsversion}
  150. %package speechtools-devel
  151. Summary: Development files for Edinburgh Speech Tools libraries
  152. Version: %{speechtoolsversion}
  153. Group: Development/Libraries
  154. # Note: rpmlint complains incorrectly about
  155. # "no-dependency-on festival-speechtools".
  156. Requires: festival-speechtools-libs = %{speechtoolsversion}
  157. %package -n festvox-kal-diphone
  158. Group: Applications/Multimedia
  159. Summary: American English male speaker "Kevin" for Festival
  160. Version: %{diphoneversion}
  161. Provides: festival-voice
  162. Provides: festvox-kallpc16k
  163. BuildArch: noarch
  164. %package -n festvox-ked-diphone
  165. Group: Applications/Multimedia
  166. Summary: American English male speaker "Kurt" for Festival
  167. Version: %{diphoneversion}
  168. Requires: festival
  169. Provides: festival-voice
  170. Provides: festvox-kedlpc16k
  171. BuildArch: noarch
  172. %package -n festvox-awb-arctic-hts
  173. Group: Applications/Multimedia
  174. Summary: Scottish-accent US English male speaker "AWB" for Festival
  175. Version: %{nitechhtsversion}
  176. Requires: festival
  177. Provides: festival-voice
  178. BuildArch: noarch
  179. %package -n festvox-bdl-arctic-hts
  180. Group: Applications/Multimedia
  181. Summary: US English male speaker "BDL" for Festival
  182. Version: %{nitechhtsversion}
  183. Requires: festival
  184. Provides: festival-voice
  185. BuildArch: noarch
  186. %package -n festvox-clb-arctic-hts
  187. Group: Applications/Multimedia
  188. Summary: US English female speaker "CLB" for Festival
  189. Version: %{nitechhtsversion}
  190. Requires: festival
  191. Provides: festival-voice
  192. BuildArch: noarch
  193. %package -n festvox-jmk-arctic-hts
  194. Group: Applications/Multimedia
  195. Summary: Canadian-accent US English male speaker "JMK" for Festival
  196. Version: %{nitechhtsversion}
  197. Requires: festival
  198. Provides: festival-voice
  199. BuildArch: noarch
  200. %package -n festvox-rms-arctic-hts
  201. Group: Applications/Multimedia
  202. Summary: US English male speaker "RMS" for Festival
  203. Version: %{nitechhtsversion}
  204. Requires: festival
  205. Provides: festival-voice
  206. BuildArch: noarch
  207. %package -n festvox-slt-arctic-hts
  208. Group: Applications/Multimedia
  209. Summary: US English female speaker "SLT" for Festival
  210. Version: %{nitechhtsversion}
  211. Requires: festival
  212. Provides: festival-voice
  213. BuildArch: noarch
  214. %package -n hispavoces-pal-diphone
  215. Group: Applications/Multimedia
  216. Summary: Male Spanish voice «PAL» for Festival
  217. Version: %{hispavocesversion}
  218. Requires: festival
  219. Provides: festival-voice
  220. BuildArch: noarch
  221. %package -n hispavoces-sfl-diphone
  222. Group: Applications/Multimedia
  223. Summary: Female Spanish voice «SFL» for Festival
  224. Version: %{hispavocesversion}
  225. Requires: festival
  226. Provides: festival-voice
  227. BuildArch: noarch
  228. # This is last as a lovely hack to make sure Version gets set back
  229. # to what it should be. Grr.
  230. %package devel
  231. Summary: Development files for the Festival speech synthesis system
  232. Version: %{festivalversion}
  233. Group: Development/Libraries
  234. # Note: rpmlint complains incorrectly about
  235. # "no-dependency-on festival"
  236. Requires: festival-speechtools-devel = %{speechtoolsversion}
  237. Requires: festival-lib
  238. %description
  239. Festival is a general multi-lingual speech synthesis system developed
  240. at CSTR. It offers a full text to speech system with various APIs, as
  241. well as an environment for development and research of speech synthesis
  242. techniques. It is written in C++ with a Scheme-based command interpreter
  243. for general control.
  244. %description lib
  245. The shared library used by the Festival text-to-speech and speech synthesis
  246. system.
  247. %description docs
  248. HTML, Postscript, and Texinfo documentation for the Festival text-to-speech
  249. and speech synthesis system.
  250. %description speechtools-libs
  251. The Edinburgh Speech Tools libraries, used by the Festival text-to-speech
  252. and speech synthesis system.
  253. %description speechtools-utils
  254. Miscellaneous utilities from the Edinburgh Speech Tools. Unless you have a
  255. specific need for one of these programs, you probably don't need to install
  256. this.
  257. %description speechtools-devel
  258. Development files for the Edinburgh Speech Tools Library, used by the
  259. Festival speech synthesis system.
  260. %description -n festvox-kal-diphone
  261. American English male speaker ("Kevin") for Festival.
  262. This voice provides an American English male voice using a residual excited
  263. LPC diphone synthesis method. It uses the CMU Lexicon pronunciations.
  264. Prosodic phrasing is provided by a statistically trained model using part of
  265. speech and local distribution of breaks. Intonation is provided by a CART
  266. tree predicting ToBI accents and an F0 contour generated from a model
  267. trained from natural speech. The duration model is also trained from data
  268. using a CART tree.
  269. %description -n festvox-ked-diphone
  270. American English male speaker ("Kurt") for Festival.
  271. This voice provides an American English male voice using a residual excited
  272. LPC diphone synthesis method. It uses the CMU Lexicon for pronunciations.
  273. Prosodic phrasing is provided by a statistically trained model using part of
  274. speech and local distribution of breaks. Intonation is provided by a CART
  275. tree predicting ToBI accents and an F0 contour generated from a model
  276. trained from natural speech. The duration model is also trained from data
  277. using a CART tree.
  278. %description -n festvox-awb-arctic-hts
  279. US English male speaker ("AWB") for Festival. AWB is a native Scottish
  280. English speaker, but the voice uses the US English front end.
  281. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  282. Institute of Technology, trained using the CMU ARCTIC database. This voice
  283. is based on 1138 utterances spoken by a Scottish English male speaker. The
  284. speaker is very experienced in building synthetic voices and matched
  285. prompted US English, though his vowels are very different from US English
  286. vowels. Scottish English speakers will probably find synthesizers based on
  287. this voice strange. Unlike the other CMU_ARCTIC databases this was recorded
  288. in 16 bit 16KHz mono without EGG, on a Dell Laptop in a quiet office. The
  289. database was automatically labelled using CMU Sphinx using the FestVox
  290. labelling scripts. No hand correction has been made.
  291. %description -n festvox-bdl-arctic-hts
  292. US English male speaker ("BDL") for Festival.
  293. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  294. Institute of Technology, trained using the CMU ARCTIC database. This voice
  295. is based on 1132 utterances spoken by a US English male speaker. The speaker
  296. is experienced in building synthetic voices. This was recorded at 16bit
  297. 32KHz, in a sound proof room, in stereo, one channel was the waveform, the
  298. other EGG. The database was automatically labelled using CMU Sphinx using
  299. the FestVox labelling scripts. No hand correction has been made.
  300. %description -n festvox-clb-arctic-hts
  301. US English female speaker ("CLB") for Festival.
  302. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  303. Institute of Technology, trained using the CMU ARCTIC database. This voice
  304. is based on 1132 utterances spoken by a US English female speaker. The
  305. speaker is experienced in building synthetic voices. This was recorded at
  306. 16bit 32KHz, in a sound proof room, in stereo, one channel was the waveform,
  307. the other EGG. The database was automatically labelled using CMU Sphinx
  308. using the FestVox labelling scripts. No hand correction has been made.
  309. %description -n festvox-jmk-arctic-hts
  310. US English male speaker ("JMK") voice for Festival. JMK is a native Canadian
  311. English speaker, but the voice uses the US English front end.
  312. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  313. Institute of Technology, trained using the CMU ARCTIC database. This voice
  314. is based on 1138 utterances spoken by a US English male speaker. The speaker
  315. is experienced in building synthetic voices. This was recorded at 16bit
  316. 32KHz, in a sound proof room, in stereo, one channel was the waveform, the
  317. other EGG. The database was automatically labelled using CMU Sphinx using
  318. the FestVox labelling scripts. No hand correction has been made.
  319. %description -n festvox-rms-arctic-hts
  320. US English male speaker ("RMS") voice for Festival.
  321. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  322. Institute of Technology, trained using the CMU ARCTIC database. This voice
  323. is based on 1132 utterances spoken by a US English male speaker. The speaker
  324. is experienced in building synthetic voices. This was recorded at 16bit
  325. 32KHz, in a sound proof room, in stereo, one channel was the waveform, the
  326. other EGG. The database was automatically labelled using EHMM an HMM labeler
  327. that is included in the FestVox distribution. No hand correction has been
  328. made.
  329. %description -n festvox-slt-arctic-hts
  330. US English female speaker ("SLT") voice for Festival.
  331. This is a HMM-based Speech Synthesis System (HTS) voice from the Nagoya
  332. Institute of Technology, trained using the CMU ARCTIC database. This voice
  333. is based on 1132 utterances spoken by a US English female speaker. The
  334. speaker is experienced in building synthetic voices. This was recorded at
  335. 16bit 32KHz, in a sound proof room, in stereo, one channel was the waveform,
  336. the other EGG. The database was automatically labelled using CMU Sphinx
  337. using the FestVox labelling scripts. No hand correction has been made.
  338. %description -n hispavoces-sfl-diphone
  339. Female Castillian-Spanish (es_ES) voice «SFL» for Festival.
  340. This is a diphone-based male Spanish voice for the Festival speech synthesis
  341. system. These original audio files were recorded by a professional voice
  342. talent in a recording studio.
  343. This voice was developed by the Consejeria de Innovacion, Ciencia y Empresa
  344. of the Junta de Andalucia on a project awarded to MP Sistemas in
  345. collaboration with Intelligent Dialogue Systems (INDISYS).
  346. The primary objective was to integrate a higher-quality diphone-based
  347. Spanish voice in Guadalinex v4.0, an Ubuntu-based Linux distribution
  348. promoted by the Government of Andalusia (Spain). See
  349. http://www.guadalinex.org for more information.
  350. %description -n hispavoces-pal-diphone
  351. Male Castillian-Spanish (es_ES) voice «PAL» for Festival.
  352. This is a diphone-based male Spanish voice for the Festival speech synthesis
  353. system. These original audio files were recorded by a professional voice
  354. talent in a recording studio.
  355. This voice was developed by the Consejeria de Innovacion, Ciencia y Empresa
  356. of the Junta de Andalucia on a project awarded to MP Sistemas in
  357. collaboration with Intelligent Dialogue Systems (INDISYS).
  358. The primary objective was to integrate a higher-quality diphone-based
  359. Spanish voice in Guadalinex v4.0, an Ubuntu-based Linux distribution
  360. promoted by the Government of Andalusia (Spain). See
  361. http://www.guadalinex.org for more information.
  362. %description devel
  363. Development files for the Festival speech synthesis system. Install
  364. festival-devel if you want to use Festival's capabilities from within your
  365. own programs, or if you intend to compile other programs using it. Note that
  366. you can also interface with Festival in via the shell or with BSD sockets.
  367. %prep
  368. %setup -q -n festival -a 1
  369. # speech tools
  370. %setup -q -n festival -D -T -a 2
  371. # exit out if they've fixed this, so we can remove this hack.
  372. [ -x speech_tools/base_class/string/EST_strcasecmp.c ] || exit 1
  373. chmod -x speech_tools/base_class/string/EST_strcasecmp.c
  374. # dictionaries
  375. %setup -q -n festival -D -T -b 100
  376. %setup -q -n festival -D -T -b 101
  377. # voices
  378. %setup -q -n festival -D -T -b 200
  379. %setup -q -n festival -D -T -b 202
  380. %setup -q -n festival -D -T -b 220
  381. %setup -q -n festival -D -T -b 221
  382. %setup -q -n festival -D -T -b 222
  383. %setup -q -n festival -D -T -b 223
  384. %setup -q -n festival -D -T -b 224
  385. %setup -q -n festival -D -T -b 225
  386. %setup -c -q -n festival -D -T -b 300
  387. %patch1 -p1 -b .nitech
  388. %patch2 -p1 -b .buildrootrefs
  389. %patch3 -p1 -b .shared
  390. %patch5 -p1 -b .bugfix
  391. %patch6 -p1 -b .liblinking
  392. %patch7 -p1 -b .cxx
  393. %patch8 -p1 -b .etc
  394. %patch9 -p1 -b .cmu2nitech
  395. # patch9 creates a new file; patch helpfully makes a "backup" of the
  396. # non-existent "original", which then has bad permissions. zap.
  397. rm -f lib/alias_cmu_to_nitech.scm.cmu2nitech
  398. %patch10 -p1 -b .findspeechtools
  399. %patch11 -p1 -b .shared
  400. %patch12 -p1 -b .soname
  401. %patch20 -p1 -b .awb
  402. %patch31 -p1 -b .libarch
  403. # finish the kludge for arch-specific "etc" (misc. binaries)
  404. for f in speech_tools/main/siod_main.cc src/arch/festival/festival.cc; do
  405. sed -i -e 's,{{HORRIBLELIBARCHKLUDGE}},"%{_libdir}",' $f
  406. done
  407. # no backups for these patches because
  408. # the voice directories are copied wholesale
  409. %patch90 -p1
  410. %patch91 -p1
  411. %patch92 -p1
  412. %patch93 -p1 -b .gcc43
  413. %patch94 -p1 -b .pulse
  414. %patch95 -p1 -b .gcc44
  415. # zero length
  416. rm festdoc-%{docversion}/speech_tools/doc/index_html.jade
  417. rm festdoc-%{docversion}/speech_tools/doc/examples_gen/error_example_section.sgml
  418. rm festdoc-%{docversion}/speech_tools/doc/tex_stuff.jade
  419. %build
  420. # build speech tools (and libraries)
  421. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/speech_tools/lib
  422. pushd speech_tools
  423. %configure
  424. # -fPIC 'cause we're building shared libraries and it doesn't hurt
  425. # -fno-strict-aliasing because of a couple of warnings about code
  426. # problems; if $RPM_OPT_FLAGS contains -O2 or above, this puts
  427. # it back. Once that problem is gone upstream, remove this for
  428. # better optimization.
  429. make \
  430. CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing" \
  431. CXXFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing"
  432. popd
  433. # build the main program
  434. export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$(pwd)/src/lib
  435. # instead of doing this, maybe we should patch the make process
  436. # so it looks in the right place explicitly:
  437. export PATH=$(pwd)/bin:$PATH
  438. %configure
  439. make \
  440. FTLIBDIR="%{_datadir}/festival/lib" \
  441. CFLAGS="$RPM_OPT_FLAGS -fPIC" \
  442. CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
  443. # build the patched CMU dictionary
  444. pushd lib/dicts/cmu
  445. make
  446. popd
  447. %install
  448. # "make install" for this package is, um, "interesting". It seems geared for
  449. # local user-level builds. So, rather than doing that and then patching it
  450. # up, do the right parts by hand as necessary.
  451. # install speech tools libs, binaries, and include files
  452. pushd speech_tools
  453. make INSTALLED_LIB=$RPM_BUILD_ROOT%{_libdir} make_installed_lib_shared
  454. # no thanks, static libs.
  455. rm $RPM_BUILD_ROOT%{_libdir}/*.a
  456. make INSTALLED_BIN=$RPM_BUILD_ROOT%{_libexecdir}/speech-tools make_installed_bin_static
  457. # this list of the useful programs in speech_tools comes from
  458. # upstream developer Alan W. Black; the other stuff is to be removed.
  459. pushd $RPM_BUILD_ROOT%{_libexecdir}/speech-tools
  460. ls |
  461. grep -Evw "ch_wave|ch_track|na_play|na_record|wagon|wagon_test" |
  462. grep -Evw "make_wagon_desc|pitchmark|pm|sig2fv|wfst_build" |
  463. grep -Evw "wfst_run|wfst_run" |
  464. xargs rm
  465. popd
  466. pushd include
  467. for d in $( find . -type d | grep -v win32 ); do
  468. make -w -C $d INCDIR=$RPM_BUILD_ROOT%{_includedir}/speech_tools/$d install_incs
  469. done
  470. # Um, yeah, so, "EST" is not a very meaningful name for the include dir.
  471. # The Red Hat / Fedora package has traditionally put this stuff under
  472. # "speech_tools", and that's what we're gonna do here too.
  473. mv $RPM_BUILD_ROOT%{_includedir}/speech_tools/EST/*.h \
  474. $RPM_BUILD_ROOT%{_includedir}/speech_tools/
  475. rmdir $RPM_BUILD_ROOT%{_includedir}/speech_tools/EST
  476. popd
  477. cp README ../README.speechtools
  478. popd
  479. # install the dictionaries
  480. TOPDIR=$( pwd )
  481. pushd lib/dicts
  482. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts
  483. # we want to put the licenses in the docs...
  484. cp COPYING.poslex $OLDPWD/COPYING.poslex
  485. cp cmu/COPYING $OLDPWD/COPYING.cmudict
  486. for f in wsj.wp39.poslexR wsj.wp39.tri.ngrambin ; do
  487. install -m 644 $f $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts/
  488. done
  489. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts/cmu
  490. pushd cmu
  491. # note I'm keeping cmudict-0.4.diff and cmudict_extensions.scm to
  492. # satisfy the "all changes clearly marked" part of the license -- these
  493. # are the changes. And yes, the ".out" file is the one actually used.
  494. # Sigh.
  495. for f in allowables.scm cmudict-0.4.diff cmudict-0.4.out \
  496. cmudict_extensions.scm cmulex.scm cmu_lts_rules.scm; do
  497. install -m 644 $f $RPM_BUILD_ROOT%{_datadir}/festival/lib/dicts/cmu/
  498. done
  499. popd
  500. popd
  501. # install the voices
  502. pushd lib/voices
  503. # get the licenses. This is probably too clever by half, but oh well.
  504. for f in $( find . -name COPYING ); do
  505. n=$( echo $f | sed 's/.*\/\(.*\)\/COPYING/COPYING.\1/' )
  506. mv $f $OLDPWD/$n
  507. done
  508. # ditch the readme files -- these aren't very useful.
  509. # Except keep a README.htsvoice, because it contains license information.
  510. cp us/nitech_us_awb_arctic_hts/hts/README.htsvoice $OLDPWD/README.htsvoice
  511. find . -name 'README*' -exec rm {} \;
  512. popd
  513. # kludge! nitech_us_awb_arctic_hts is missing its COPYING file. It should
  514. # be the same as the other nitech files, though, so just copy one.
  515. cp COPYING.nitech_us_bdl_arctic_hts COPYING.nitech_us_awb_arctic_hts
  516. cp -a lib/voices $RPM_BUILD_ROOT%{_datadir}/festival/lib
  517. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/voices/es/
  518. cp -a festival-spanish-voices-1.0.0/* $RPM_BUILD_ROOT%{_datadir}/festival/lib/voices/es/
  519. cp %{SOURCE301} .
  520. # okay, now install the main festival program.
  521. # binaries:
  522. make INSTALLED_BIN=$RPM_BUILD_ROOT%{_bindir} make_installed_bin_static
  523. install -m 755 bin/text2wave $RPM_BUILD_ROOT%{_bindir}
  524. # install the shared library
  525. cp -a src/lib/libFestival.so* $RPM_BUILD_ROOT%{_libdir}
  526. # this is just nifty. and it's small.
  527. install -m 755 examples/saytime $RPM_BUILD_ROOT%{_bindir}
  528. # man pages
  529. mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
  530. cp -a doc/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
  531. # lib: the bulk of the program -- the scheme stuff and so on
  532. pushd lib
  533. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib
  534. for f in *.scm festival.el *.ent *.gram *.dtd *.ngrambin speech.properties ; do
  535. install -m 644 $f $RPM_BUILD_ROOT%{_datadir}/festival/lib/
  536. done
  537. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/multisyn/
  538. install -m 644 multisyn/*.scm $RPM_BUILD_ROOT%{_datadir}/festival/lib/multisyn/
  539. popd
  540. # "etc" -- not in the configuration sense, but in the sense of "extra helper
  541. # binaries".
  542. pushd lib/etc
  543. # not arch-specific
  544. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/lib/etc
  545. install -m 755 email_filter $RPM_BUILD_ROOT%{_datadir}/festival/lib/etc
  546. # arch-specific
  547. mkdir -p $RPM_BUILD_ROOT%{_libdir}/festival/etc
  548. install -m 755 */audsp $RPM_BUILD_ROOT%{_libdir}/festival/etc
  549. popd
  550. # the actual /etc. :)
  551. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/festival
  552. # use our version of this file
  553. rm $RPM_BUILD_ROOT%{_datadir}/festival/lib/siteinit.scm
  554. install -m 644 %{SOURCE50} $RPM_BUILD_ROOT%{_sysconfdir}/festival/siteinit.scm
  555. install -m 644 %{SOURCE51} $RPM_BUILD_ROOT%{_sysconfdir}/festival/sitevars.scm
  556. # copy in the intro.text. It's small and makes (intro) work. in the future,
  557. # we may want include more examples in an examples subpackage
  558. mkdir -p $RPM_BUILD_ROOT%{_datadir}/festival/examples/
  559. install -m 644 examples/intro.text $RPM_BUILD_ROOT%{_datadir}/festival/examples
  560. # header files
  561. mkdir -p $RPM_BUILD_ROOT%{_includedir}/festival
  562. cp -a src/include/* $RPM_BUILD_ROOT%{_includedir}/festival
  563. # Clean up some junk from the docs tarball.
  564. pushd festdoc-%{docversion}/speech_tools/doc
  565. rm -fr CVS arch_doc/CVS man/CVS speechtools/arch_doc/CVS
  566. rm -f .*_made .speechtools_html .tex_done
  567. popd
  568. # info pages
  569. mkdir -p $RPM_BUILD_ROOT%{_infodir}
  570. cp -p festdoc-%{docversion}/festival/info/* $RPM_BUILD_ROOT%{_infodir}
  571. %clean
  572. rm -rf $RPM_BUILD_ROOT
  573. %post docs
  574. /sbin/install-info %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1
  575. :
  576. %post lib -p /sbin/ldconfig
  577. %post speechtools-libs -p /sbin/ldconfig
  578. %postun docs
  579. if [ "$1" = 0 ]; then
  580. /sbin/install-info --delete %{_infodir}/festival.info.gz %{_infodir}/dir --section "Accessibility" > /dev/null 2>&1
  581. fi
  582. :
  583. %postun lib -p /sbin/ldconfig
  584. %postun speechtools-libs -p /sbin/ldconfig
  585. %files
  586. %defattr(-,root,root)
  587. %doc ACKNOWLEDGMENTS COPYING NEWS README
  588. %doc COPYING.poslex COPYING.cmudict
  589. %dir %{_sysconfdir}/festival
  590. %config(noreplace) %{_sysconfdir}/festival/siteinit.scm
  591. %config(noreplace) %{_sysconfdir}/festival/sitevars.scm
  592. %{_bindir}/festival
  593. %{_bindir}/festival_client
  594. %{_bindir}/festival_server
  595. %{_bindir}/festival_server_control
  596. %{_bindir}/text2wave
  597. %{_bindir}/saytime
  598. %dir %{_datadir}/festival
  599. %dir %{_datadir}/festival/lib
  600. %{_datadir}/festival/lib/*.scm
  601. %{_datadir}/festival/lib/festival.el
  602. %{_datadir}/festival/lib/*.ent
  603. %{_datadir}/festival/lib/*.gram
  604. %{_datadir}/festival/lib/*.dtd
  605. %{_datadir}/festival/lib/*.ngrambin
  606. %{_datadir}/festival/lib/speech.properties
  607. %{_datadir}/festival/lib/dicts
  608. %{_datadir}/festival/lib/etc
  609. %dir %{_datadir}/festival/lib/multisyn
  610. %{_datadir}/festival/lib/multisyn/*.scm
  611. %dir %{_datadir}/festival/examples
  612. %{_datadir}/festival/examples/intro.text
  613. %dir %{_libdir}/festival
  614. %dir %{_libdir}/festival/etc
  615. %{_libdir}/festival/etc/*
  616. %{_mandir}/man1/*
  617. %files lib
  618. %defattr(-,root,root)
  619. %doc COPYING
  620. %{_libdir}/libFestival.so.*
  621. %files docs
  622. %defattr(-,root,root)
  623. %doc festdoc-%{docversion}/festival/html/*html
  624. %{_infodir}/*
  625. %files speechtools-libs
  626. %defattr(-,root,root)
  627. %doc README.speechtools
  628. %{_libdir}/libestbase.so.*
  629. %{_libdir}/libestools.so.*
  630. %{_libdir}/libeststring.so.*
  631. %files speechtools-utils
  632. %defattr(-,root,root)
  633. %doc README.speechtools
  634. %dir %{_libexecdir}/speech-tools
  635. %{_libexecdir}/speech-tools/*
  636. %files speechtools-devel
  637. %defattr(-,root,root)
  638. %doc festdoc-%{docversion}/speech_tools
  639. %{_libdir}/libestbase.so
  640. %{_libdir}/libestools.so
  641. %{_libdir}/libeststring.so
  642. %dir %{_includedir}/speech_tools
  643. %{_includedir}/speech_tools/*
  644. %files -n festvox-kal-diphone
  645. %defattr(-,root,root)
  646. %doc COPYING.kal_diphone
  647. %dir %{_datadir}/festival/lib/voices
  648. %dir %{_datadir}/festival/lib/voices/english
  649. %{_datadir}/festival/lib/voices/english/kal_diphone
  650. %files -n festvox-ked-diphone
  651. %defattr(-,root,root)
  652. %doc COPYING.ked_diphone
  653. %dir %{_datadir}/festival/lib/voices
  654. %dir %{_datadir}/festival/lib/voices/english
  655. %{_datadir}/festival/lib/voices/english/ked_diphone
  656. %files -n festvox-awb-arctic-hts
  657. %defattr(-,root,root)
  658. %doc COPYING.nitech_us_awb_arctic_hts COPYING.hts README.htsvoice
  659. %dir %{_datadir}/festival/lib/voices
  660. %dir %{_datadir}/festival/lib/voices/us
  661. %{_datadir}/festival/lib/voices/us/nitech_us_awb_arctic_hts
  662. %files -n festvox-bdl-arctic-hts
  663. %defattr(-,root,root)
  664. %doc COPYING.nitech_us_bdl_arctic_hts COPYING.hts README.htsvoice
  665. %dir %{_datadir}/festival/lib/voices
  666. %dir %{_datadir}/festival/lib/voices/us
  667. %{_datadir}/festival/lib/voices/us/nitech_us_bdl_arctic_hts
  668. %files -n festvox-clb-arctic-hts
  669. %defattr(-,root,root)
  670. %doc COPYING.nitech_us_clb_arctic_hts COPYING.hts README.htsvoice
  671. %dir %{_datadir}/festival/lib/voices
  672. %dir %{_datadir}/festival/lib/voices/us
  673. %{_datadir}/festival/lib/voices/us/nitech_us_clb_arctic_hts
  674. %files -n festvox-jmk-arctic-hts
  675. %defattr(-,root,root)
  676. %doc COPYING.nitech_us_jmk_arctic_hts COPYING.hts README.htsvoice
  677. %dir %{_datadir}/festival/lib/voices
  678. %dir %{_datadir}/festival/lib/voices/us
  679. %{_datadir}/festival/lib/voices/us/nitech_us_jmk_arctic_hts
  680. %files -n festvox-rms-arctic-hts
  681. %defattr(-,root,root)
  682. %doc COPYING.nitech_us_rms_arctic_hts COPYING.hts README.htsvoice
  683. %dir %{_datadir}/festival/lib/voices
  684. %dir %{_datadir}/festival/lib/voices/us
  685. %{_datadir}/festival/lib/voices/us/nitech_us_rms_arctic_hts
  686. %files -n festvox-slt-arctic-hts
  687. %defattr(-,root,root)
  688. %doc COPYING.nitech_us_slt_arctic_hts COPYING.hts README.htsvoice
  689. %dir %{_datadir}/festival/lib/voices
  690. %dir %{_datadir}/festival/lib/voices/us
  691. %{_datadir}/festival/lib/voices/us/nitech_us_slt_arctic_hts
  692. %files -n hispavoces-pal-diphone
  693. %defattr(-,root,root)
  694. %doc COPYING.hispavoces
  695. %dir %{_datadir}/festival/lib/voices/es/JuntaDeAndalucia_es_pa_diphone/
  696. %{_datadir}/festival/lib/voices/es/JuntaDeAndalucia_es_pa_diphone/*
  697. %files -n hispavoces-sfl-diphone
  698. %defattr(-,root,root)
  699. %doc COPYING.hispavoces
  700. %dir %{_datadir}/festival/lib/voices/es/JuntaDeAndalucia_es_sf_diphone/
  701. %{_datadir}/festival/lib/voices/es/JuntaDeAndalucia_es_sf_diphone/*
  702. %files devel
  703. %defattr(-,root,root)
  704. %doc COPYING
  705. %{_libdir}/libFestival.so
  706. %dir %{_includedir}/festival
  707. %{_includedir}/festival/*
  708. %changelog
  709. * Sun Dec 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.96-1
  710. - initial build for Vine Linux
  711. * Tue Sep 29 2009 Matthias Clasen <mclasen@redhat.com> - 1.96-16
  712. - Add native pulseaudio support (#471047)
  713. * Thu Sep 10 2009 Bernie Innocenti <bernie@codewiz.org> - 1.96-15
  714. - Disable esd support (resolves: rhbz#492982)
  715. * Wed Jul 29 2009 Matthias Clasen <mclasen@redhat.com> - 1.96-14
  716. - Rebuild
  717. * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-13
  718. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  719. * Sat Apr 18 2009 Matthias Clasen <mclasen@redhat.com> - 1.96-12
  720. - Add Spanish voices from the guadalinex project, in the
  721. hispavoces-pal-diphone and hispavoces-sfl-diphone subpackages
  722. (#496011)
  723. * Tue Mar 24 2009 Jesse Keating <jkeating@redhat.com> - 1.96-11
  724. - Drop the explicit dep on festival-voice, as it is redundant and
  725. causes problems with multiple providers
  726. * Thu Feb 26 2009 Matthias Clasen <mclasen@redhat.com> 1.96-10
  727. - Fix build with gcc 4.4
  728. * Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> 1.96-9
  729. - Make -docs and all the festvox subpackages noarch
  730. * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.96-8
  731. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  732. * Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> - 1.96-7
  733. - Tweak summaries
  734. * Mon Oct 27 2008 Ray Strode <rstrode@redhat.com> - 1.96-6
  735. - interoperate with other apps by using pacat for audio output
  736. (bug 467531)
  737. * Fri Jul 18 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.96-5
  738. - fix license tag
  739. * Fri Feb 22 2008 Matthias Clasen <mclasen@redhat.com> - 1.96-4
  740. - Fix the build with gcc 4.3
  741. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.96-3
  742. - Autorebuild for GCC 4.3
  743. * Wed Nov 7 2007 Stepan Kasal <skasal@redhat.com>1.96-2
  744. - fix a typo in a summary and in festival-1.96-nitech-proclaimvoice.patch
  745. - Resolves: #239216
  746. * Tue Mar 20 2007 Ray Strode <rstrode@redhat.com> 1.96-1
  747. - rebuild
  748. * Mon Mar 19 2007 David Zeuthen <davidz@redhat.com> 1.96-0.11
  749. - Forgot to add the .scm files
  750. * Mon Mar 19 2007 David Zeuthen <davidz@redhat.com> 1.96-0.10
  751. - Update to Matthew Miller's much improved package (#232105)
  752. - Move the buildroot patch around
  753. * Sun Mar 18 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.9
  754. - fix the library link patch to use -lncurses instead of -ltinfo --
  755. the later is all that's really needed, but the former works on older
  756. distros too.
  757. * Fri Mar 16 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.8
  758. - festival-devel depends on the libraries package, not base festival. this
  759. raises an multilib question: need to obsolete festival.i386 on x86_64.
  760. Right now, there's no mechanism for doing that. Fortunately, all the
  761. changes in packaging happen to make it so that the current version doesn't
  762. conflict with the old release, so one will get unused cruft but not
  763. breakage when upgrading.
  764. - Bite teh proverbial bullet and make libFestival build shared.
  765. - update speech-tools soname patch to work in the more general case needed
  766. by the festival main build
  767. - make said shared-lib a subpackage to avoid multiarching the whole thing
  768. - split festival-devel and speechutils-devel in anticipation of future
  769. plan of actually decoupling these packages.
  770. - note that rpmlint complains about "missing" deps on the devel packages. it
  771. should be fixed to recognize requiring a -lib/libs package is sufficent or
  772. better.
  773. - add saytime script. Because, really, what else is this package *for*?
  774. - add the intro.text so (intro) works. 196 more bytes won't kill us. :)
  775. - remove $PATH from LD_LIBRARY_PATH used in build. (What the heck?)
  776. - add defattr to all subpackages. I don't think it's strictly necessary
  777. since putting it in the first package seems sufficient, but that's
  778. probably not behavior to count on.
  779. - make descriptions and summaries use more consistant language
  780. * Thu Mar 15 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.7
  781. - Upstream baseurl now includes version. (Thanks Alan Black @ cmu)
  782. - Update siteinit patch to also incorporate sitevars
  783. - Add sitevars as a config file
  784. - Ship our own siteinit and sitevars as sources
  785. - In default sitevars, reference /usr/local/share/festival/lib as another
  786. place to look for voices (it's okay if that doesn't exist). Hopefully,
  787. this will encourage people who want to install non-RPM-packaged voices to
  788. keep from doing it in /usr/share.
  789. - Fix wrong references to slt voice in other nitech voices
  790. - Fix wrongly commented-out (require 'f2bf0lr) in awb, clb, and rms voices.
  791. - Stop untarring source files and use the setup macro properly.
  792. - Get rid of silly DATA.TMP directories for installing voices and
  793. dictionaries.
  794. - Stop making ../speechtools link. Currently solved by patching to look
  795. in the current directory; could also do this by moving everything up
  796. a directory.
  797. - TODO: festival-buildroot.patch could stand to be updated. May not
  798. even be needed anymore.
  799. - Drop the 8k versions of the diphone voices, since there's not really
  800. any point. If you want smaller, use one of the arctic_hts voices
  801. instead. And overall, this saves us about 4.5M.
  802. * Wed Mar 14 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.6
  803. - Fix copy-paste error in JMK description (thanks Matthias Clasen)
  804. - Remove "nitech-us-" from the names of those voice packages to make the
  805. package names shorter. (This will also be more convenient if we switch to
  806. the cmu versions in the future.)
  807. - made aliases so old cmu_us_*_arctic_hts voice names still work.
  808. - Look for /etc/festival/siteinit.scm (and move siteinit.scm there!)
  809. - Mark siteinit.scm as a config file
  810. - Remove some non-useful stuff from speech-tools-utils.
  811. - Move main dir from /usr/share/festival to /usr/share/festival/lib at
  812. request of upstream. Also, we can drop the FHS (well, "fsstnd" -- it's
  813. old) patch and just pass FTLIBDIR to make. Which, hey, we were already
  814. doing. Yay redundancy.
  815. - clean up CFLAGS and CXXFLAGS. "-fpermissive" was hiding bad stuff.
  816. - update speech tools with patch from AWB to fix 64-bit build issue
  817. with EST_DProbDist
  818. - there's still some compiler warnings which should be addressed upstream.
  819. - The nitech hts voices don't properly proclaim_voice, making them not
  820. show up for gnome-speech and thus making orca crash. See details in the
  821. comments in bug #232105.
  822. * Tue Mar 13 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.5
  823. - use festvox- instead of festival-voice for voice packages -- matches
  824. upstream tarballs, and is shorter. Also, use shorter form of
  825. the date-based version.
  826. - get the README.htsvoice from the nitech voices -- it contains
  827. license info.
  828. - build (but don't enable by default) ESD support in speech-tools (bug
  829. #198908)
  830. - fix coding error noted in bug #162137 -- need to push this upstream.
  831. - link speech tools libraries with -lm, -ltermcap, -lesd and with themselves
  832. (bug #198190, partially)
  833. - holy sheesh. Use g++ for CXX, not gcc. Fixes bug #198190 completely.
  834. * Tue Mar 13 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.4
  835. - subpackages! Split out speech-tools, docs, voices.
  836. - long descriptions for the individual voices, carefully gathered from
  837. readmes and web sites.
  838. - ooh. replace cmu_hts voices with the updated versions from upstream
  839. <http://hts.sp.nitech.ac.jp/>. Two new voices, and updated versions of
  840. the others. (The voices packaged at festvox.org are apparently based on
  841. older versions of these, which in turn are from the CMU upstream.)
  842. - TODO: make aliases for the cmu voices.
  843. - arguably, voices should be made in to their own src.rpms. They don't need
  844. anything from here to build. That's for a future version. (At that time,
  845. the gigantic multisyn voices could be added.) The CMU dict needs festival
  846. installed to build, but I don't think it needs the source, so dicts could
  847. be subpackages too. And the docs are also a good candidate for separation.
  848. speech-tools, though, is incestuously used in the festival build process
  849. and I think it makes sense to keep that bundled.
  850. - TODO: check through the speechtools-utils for what should actually be
  851. packaged; fix the include path for siod (and anything else that needs it).
  852. - TODO: package festival.el so it just works with emacs.
  853. - TODO: reinvent festival_server_control as a proper init script
  854. - TODO: put the festival server in sbin, maybe?
  855. - Another question: should we drop the 8k diphone voices? Any point?
  856. - Changed "X11-like" to "MIT-style" (which is what X11 is) to make rpmlint
  857. happy.
  858. - make %{festivalversion} macro to deal with all of the changes to version
  859. in subpackages. Kludgy, but there's RPM for you.
  860. * Tue Mar 13 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.3
  861. - oh! The "etc-path" is important after all. Map that into
  862. /usr/lib[arch]/festival via a kludge.
  863. - make cmu_us_slt_arctic_hts the default voice, in preparation for
  864. splitting the voice packages. (thankfully, there's already a fallback
  865. mechanism -- cool!)
  866. * Mon Mar 12 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.2
  867. - clean up accidental backup file left in updated awb_arctic_hts
  868. tarball
  869. - remove /usr/share/festival/etc (see bug #228315)
  870. - move unpackage voices to the prep section where it belongs
  871. - other minor spec file readability changes
  872. - "make install" for this package is, um, "interesting". It seems
  873. geared for local user-level builds. So, rather than doing that and
  874. then patching it up, do the right parts by hand as necessary. (The
  875. previous version of the spec file did a convoluted mix of both.)
  876. - don't install static libs.
  877. - took out the massive hack that munges EST_*.h to speech_tools/EST_*.h in
  878. the installed header files -- programs should instead use
  879. -I/usr/include/speech_tools, shouldn't they? Put this back if I'm wrong.
  880. - TODO -- autogenerated speech_tools docs
  881. - festvox_ellpc11k.tar.gz, the spanish voice, wasn't getting installed anyway
  882. due to a license question. Since it's also gone upstream, removing.
  883. * Fri Mar 09 2007 Matthew Miller <mattdm@mattdm.org> 1.96-0.1
  884. - Preliminary update to 1.96
  885. - Update to new cmu_us_*_arctic files -- they're changed upstream,
  886. although they don't appear to be versioned. Awesome. The current
  887. versions are those found in the same directory with the 1.96 files.
  888. - ditto festlex_CMU.tar.gz
  889. - add macro for speechtoolsversion
  890. - minor update to festival-1.96-american.patch.
  891. - update shared build patch and rename to make more obvious that
  892. it applies to the speechtools portion of the package.
  893. - gcc 4 build patches now upstream.
  894. - localhost-connections patch now upstream.
  895. - note that festvox_ellpc11k.tar.gz and festvox_kallpc8k.tar.gz are no longer
  896. in the directory tree upstream; drop?
  897. * Fri Jan 19 2007 Miroslav Lichvar <mlichvar@redhat.com> - 1.95-6
  898. - link with ncurses
  899. - add dist tag
  900. - make scriptlets safer
  901. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.95-5.2.1
  902. - rebuild
  903. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.95-5.2
  904. - bump again for double-long bug on ppc(64)
  905. * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.95-5.1
  906. - rebuilt for new gcc4.1 snapshot and glibc changes
  907. * Sun Jan 22 2006 Ray Strode <rstrode@redhat.com> - 1.95-5
  908. - get gnopernicus working again. Patch from
  909. Fernando Herrera <fherrera@gmail.com> (bug 178312)
  910. - add a lot of compiler flags and random cruft to get
  911. festival to build with gcc 4.1
  912. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  913. - rebuilt
  914. * Mon Oct 10 2005 Florian La Roche <laroche@redhat.com>
  915. - another try to get it to compile again
  916. * Tue Apr 28 2005 <johnp@redhat.com> - 1.95-3
  917. - require info packages so the post does not fail
  918. - remove /usr/bin/VCLocalRule from buildroot since it is
  919. an extranious file that does not need to be installed
  920. * Wed Apr 27 2005 Miloslav Trmac <mitr@redhat.com> - 1.95-2
  921. - Fix build with gcc 4 (#156132)
  922. - Require /sbin/install-info for scriptlets (#155698)
  923. - Don't ship %{_bindir}/VCLocalRules (#75645)
  924. * Fri Feb 25 2005 <jrb@redhat.com> - 1.95-1
  925. - patch from Matthew Miller to update to 1.95. Full changelog below
  926. * Mon Feb 7 2005 Matthew Miller <mattdm@mattdm.org> 1.95-0.mattdm8
  927. - put speech-tools binaries in /usr/libexec/speech-tools so as to not
  928. clutter /usr/bin. Another approach would be to make speech-tools a
  929. separate package and to make these utilities a subpackage of that.
  930. - macro-ize /usr/bin, /usr/lib, /usr/include
  931. * Sun Feb 6 2005 Matthew Miller <mattdm@mattdm.org> 1.95-0.mattdm6
  932. - worked on this some more
  933. - made actually work -- put back rest of fsstnd patch which I had broken
  934. - made kludge for lack of sonames in shared libraries -- I think I did the
  935. right thing
  936. - put back american as the default -- british dicts are non-free.
  937. * Wed Jan 5 2005 Matthew Miller <mattdm@mattdm.org> 1.95-0.mattdm1
  938. - preliminary update to 1.95 beta
  939. - add really nice CMU_ARCTIC HTS voices, which is the whole point of wanting
  940. to do this. (They have a free license.)
  941. - switch to festvox.org north american upstream urls
  942. - keep old doc files -- there's no new ones yet.
  943. - add comment to specfile about reason for lack of OALD (British) voices --
  944. they've got a more restrictive license.
  945. - change license to "X11-style", because that's how they describe it.
  946. - remove exclusivearch. I dunno if this builds on other archs, but I
  947. also don't know why it wouldn't.
  948. - fancier buildroot string, 'cause hey, why not.
  949. - more "datadir" macros
  950. - remove most of Patch0 (fsstnd) -- can be done by setting variables instead.
  951. there's some bits in speechtools still, though
  952. - update Patch3 (shared-build)
  953. - don't apply patches 20 and 21 -- no longer needed.
  954. - disable adding "FreeBSD" and "OpenBSD" to the dictionary for now. Probably
  955. a whole list of geek words should be added. Also, the patch was applied
  956. in an icky kludgy way.
  957. * Thu Jul 29 2004 Miloslav Trmac <mitr@redhat.com> - 1.4.2-25
  958. - Update for gcc 3.4
  959. * Wed Jul 28 2004 Miloslav Trmac <mitr@redhat.com> - 1.4.2-24
  960. - Use shared libraries to reduce package size
  961. - Don't ship patch backup files
  962. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  963. - rebuilt
  964. * Tue May 4 2004 Jonathan Blandford <jrb@redhat.com> 1.4.2-21
  965. - Remove the spanish voices until we get clarification on the license
  966. * Sat Apr 10 2004 Warren Togami <wtogami@redhat.com>
  967. - BR libtermcap-devel #104722
  968. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  969. - rebuilt
  970. * Mon Aug 25 2003 Bill Nottingham <notting@redhat.com> 1.4.2-19
  971. - clean up buildroot references (#75643, #77908, #102985)
  972. - remove some extraneous scripts
  973. - fix build with gcc-3.3
  974. * Thu Jun 12 2003 Elliot Lee <sopwith@redhat.com> 1.4.2-17
  975. - Rebuild
  976. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  977. - rebuilt
  978. * Thu Jan 9 2003 Tim Powers <timp@redhat.com> 1.4.2-15
  979. - redirect install-info spewage
  980. * Tue Jan 7 2003 Jens Petersen <petersen@redhat.com> 1.4.2-14
  981. - put info files in infodir
  982. - add post and postun script to install and uninstall info dir file entry
  983. - drop postscript and info files from docs
  984. * Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.4.2-13
  985. - rebuild
  986. * Thu Aug 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.4.2-12
  987. - Adapt to current libstdc++
  988. * Tue Jul 23 2002 Tim Powers <timp@redhat.com> 1.4.2-10
  989. - build using gcc-3.2-0.1
  990. * Wed Jul 3 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.4.2-9
  991. - Add some missing helpprograms (# 67698)
  992. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  993. - automated rebuild
  994. * Mon Jun 10 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.4.2-7
  995. - Fix some rpmlint errors
  996. * Mon Jun 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.4.2-6
  997. - Fix ISO C++ compliance
  998. * Mon Mar 18 2002 Tim Powers <timp@redhat.com>
  999. - rebuilt
  1000. * Thu Mar 14 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.4.2-2
  1001. - Get rid of CVS directiories in doc dir
  1002. - Fix broken symlinks for components from speech_tools
  1003. * Wed Mar 6 2002 Trond Eivind Glomsrød <teg@redhat.com>
  1004. - 1.4.2
  1005. - Lots of fixes to make it build, more needed
  1006. - Cleanups
  1007. - Update URL
  1008. - Fix docs inclusion
  1009. - Drop prefix
  1010. - Use %%{_tmppath}
  1011. * Wed Aug 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1012. - Add defattr (Bug #15033)
  1013. * Tue Jul 25 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1014. - fix build on current 7.0
  1015. * Mon Jul 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1016. - fix build on current 7.0
  1017. * Thu Jul 6 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1018. - FHSify
  1019. * Mon Jun 19 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1020. - Fix build on non-x86
  1021. * Sun Apr 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1022. - initial packaging