mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

112 lines
4.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/misc/output/speech-config.in
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. menu_begin OUTPUT_SPEECH_MENU 'Speech Output Configuration'
  23. block_begin 1
  24. comment ' '
  25. comment 'Please use the Help menu, it should answer all your questions.'
  26. comment ' '
  27. comment '- Helper programs'
  28. bool 'Use existing program we can pipe text to' \
  29. ROCKCFG_OUTPUT_SPEECH_OWNSCRIPT 0
  30. if [ $ROCKCFG_OUTPUT_SPEECH_OWNSCRIPT -eq 1 ] ; then
  31. text 'executable that accepts text on stdin' \
  32. ROCKCFG_OUTPUT_SPEECH_SAYPROG "`which say || echo '/usr/bin/say'`"
  33. else
  34. bool 'Use the Festival TTS System instead of MBROLA' \
  35. ROCKCFG_OUTPUT_SPEECH_USEFESTIVAL 1
  36. if [ $ROCKCFG_OUTPUT_SPEECH_USEFESTIVAL -eq 1 ] ; then
  37. text 'the festival executable' \
  38. ROCKCFG_OUTPUT_SPEECH_FESTIVAL "`which festival || echo '/usr/bin/festival'`"
  39. else
  40. text 'the mbrola executable' \
  41. ROCKCFG_OUTPUT_SPEECH_MBROLA "`which mbrola || echo '/usr/bin/mbrola'`"
  42. text 'the voice file to use' \
  43. ROCKCFG_OUTPUT_SPEECH_VOICEFILE "$(dirname `dirname $ROCKCFG_OUTPUT_SPEECH_MBROLA`)/lib/mbrola/us1"
  44. text 'txt to pho converter executable' \
  45. ROCKCFG_OUTPUT_SPEECH_TXT2PHO "`which txt2pho || echo '/usr/bin/txt2pho'`"
  46. text 'console wav player executable' \
  47. ROCKCFG_OUTPUT_SPEECH_PLAY "`which play || echo '/usr/bin/play'`"
  48. fi ;
  49. fi ;
  50. comment ' '
  51. comment '- What would you like to be informed about?'
  52. block_begin 2
  53. bool 'Generic header at section start' \
  54. ROCKCFG_OUTPUT_SPEECH_ENABLE_HEADER 0
  55. bool 'Generic status messages' \
  56. ROCKCFG_OUTPUT_SPEECH_ENABLE_STATUS 0
  57. bool 'Generic error messages' \
  58. ROCKCFG_OUTPUT_SPEECH_ENABLE_ERROR 1
  59. comment ' '
  60. bool 'Package build refusals' \
  61. ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_DENY 0
  62. [ $ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_DENY -eq 1 ] &&
  63. text 'Text to say when package is denied' \
  64. ROCKCFG_OUTPUT_SPEECH_TXT_PKG_DENY \
  65. 'The package \$2 has been rejected in stage \$1 because of \$3.'
  66. comment ' '
  67. bool 'Package build starting messages' \
  68. ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_START 1
  69. [ $ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_START -eq 1 ] &&
  70. text 'Text to say when package build starts' \
  71. ROCKCFG_OUTPUT_SPEECH_TXT_PKG_START \
  72. 'The build of the package \$3 from the \$2 repository is beginning for stage \$1.'
  73. comment ' '
  74. bool 'Package build finished messages' \
  75. ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_FINISH 1
  76. [ $ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_FINISH -eq 1 ] &&
  77. text 'Text to say when package build is finished' \
  78. ROCKCFG_OUTPUT_SPEECH_TXT_PKG_FINISH \
  79. 'The build of the package \$3 from the \$2 repository has finished succesfully.'
  80. comment ' '
  81. bool 'Package build aborted messages' \
  82. ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_ABORT 1
  83. [ $ROCKCFG_OUTPUT_SPEECH_ENABLE_PKG_ABORT -eq 1 ] &&
  84. text 'Text to say when package build has been aborted' \
  85. ROCKCFG_OUTPUT_SPEECH_TXT_PKG_ABORT \
  86. 'Unfortunately, the build of package \$3 from the \$2 repository had to be aborted!'
  87. comment ' '
  88. bool 'Package build errorquote messages' \
  89. ROCKCFG_OUTPUT_SPEECH_ENABLE_ERRORQUOTE 0
  90. [ $ROCKCFG_OUTPUT_SPEECH_ENABLE_ERRORQUOTE -eq 1 ] &&
  91. text 'Text to say when the logfile would be quoted' \
  92. ROCKCFG_OUTPUT_SPEECH_TXT_ERRORQUOTE \
  93. 'An Error occured. Please have a look at the logfile!'
  94. block_end
  95. block_end
  96. menu_end