]> git.pld-linux.org Git - packages/flite.git/blob - flite-doc.patch
- add patch6 (fixes lib64 issues)
[packages/flite.git] / flite-doc.patch
1 --- flite-1.2-release.orig/doc/Makefile
2 +++ flite-1.2-release/doc/Makefile
3 @@ -52,7 +52,8 @@
4  flite.html: flite.texi
5         @ if [ ! -d html ] ; \
6            then mkdir -p html ; fi
7 -       (cd html; texi2html -number -split_chapter ../flite.texi)
8 +       (cd html; texi2html -number -split_chapter ../flite.texi; \
9 +        mv flite/*.html .; rm -rf flite)
10         @ for i in html/*.html ; \
11           do \
12             sed 's/<BODY>/<BODY bgcolor="#ffffff">/' $$i >ttt.html; \
13 --- flite-1.2-release.orig/doc/flite.texi
14 +++ flite-1.2-release/doc/flite.texi
15 @@ -16,6 +16,11 @@
16  @set UPDATED 19th February 2003
17  
18  @ifinfo
19 +@dircategory Miscellaneous
20 +@direntry
21 +* Festival Lite: (flite).     Lightweight Speech synthesis engine.
22 +@end direntry
23 +
24  This file documents @code{Flite}, a small, fast run-time speech
25  synthesis engine.
26  
27 @@ -510,7 +515,7 @@
28  distribution, the example diphone voice is @code{cmu_us_kal}.
29  
30  Here is a simple C program that uses the flite library
31 -@example
32 +@verbatim
33  #include "flite.h"
34  
35  cst_voice *register_cmu_us_kal();
36 @@ -532,7 +537,7 @@
37      flite_file_to_speech(argv[1],v,"play");
38  
39  }
40 -@end example
41 +@end verbatim
42  Assuming the shell variable FLITEDIR is set to the flite directory
43  the following will compile the system (with appropriate changes for
44  your platform if necessary).
45 --- flite-1.2-release.orig/debian/flite.1
46 +++ flite-1.2-release/debian/flite.1
47 @@ -0,0 +1,65 @@
48 +.TH FLITE 1 "February 25, 2003"
49 +.SH NAME
50 +flite \- A small simple speech synthesizer 
51 +.SH SYNOPSIS
52 +.B flite
53 +[\fIOPTION\fR]... \fITEXTFILE\fR [\fIWAVEFILE\fR]
54 +.SH DESCRIPTION
55 +This manual page documents briefly the
56 +.B flite
57 +command.
58 +This manual page was written for the Debian distribution
59 +because the original program does not have a manual page.
60 +Instead, it has documentation in /usr/share/doc/flite/
61 +.PP
62 +Converts text in TEXTFILE to a waveform in WAVEFILE.
63 +If text contains a space, it is treated as a literal
64 +textstring and spoken, and not as a file name.
65 +if WAVEFILE is unspecified or "play" the result is
66 +played on the current systems audio device.  If WAVEFILE
67 +is "none" the waveform is discarded (good for benchmarking)
68 +.SH OPTIONS
69 +.TP
70 +\fB\-\-version\fR
71 +Output \fBflite\fP version number.
72 +.TP
73 +\fB\-?\fR, \fB\-\-help\fR
74 +Output usage information.
75 +.TP
76 +\fB\-o\fR WAVEFILE
77 +Explicitly set output filename.
78 +.TP
79 +\fB\-f\fR TEXTFILE
80 +Explicitly set input filename.
81 +.TP
82 +\fB\-t\fR TEXT
83 +Explicitly set input text string.
84 +.TP
85 +\fB\-p\fR PHONES
86 +Explicitly set input text string and synthesize as phones.
87 +.TP
88 +\fB\-s\fR, \fB\-\-set\fR FEATURE=VALUE
89 +Set feature (guesses type).
90 +.TP
91 +\fB\-\-seti\fR FEATURE=VALUE
92 +Set int feature.
93 +.TP
94 +\fB\-\-setf\fR FEATURE=VALUE
95 +Set float feature.
96 +.TP
97 +\fB\-\-sets\fR FEATURE=VALUE
98 +Set string feature.
99 +.TP
100 +\fB\-b\fR
101 +Benchmark mode.
102 +.TP
103 +\fB\-l\fR
104 +Loop endlessly.
105 +.TP
106 +\fB\-v\fR
107 +Verbose output.
108 +.SH SEE ALSO
109 +.BR flite_time (1), " " t2p (1), " " festival (1)
110 +.SH AUTHOR
111 +This manual page was written by Mario Lang <mlang@debian.org>,
112 +for the Debian GNU/Linux system (but may be used by others).
113 --- flite-1.2-release.orig/debian/t2p.1
114 +++ flite-1.2-release/debian/t2p.1
115 @@ -0,0 +1,19 @@
116 +.TH T2P 1 "February 25, 2003"
117 +.SH NAME
118 +t2p \- A text to phoneme converter
119 +.SH SYNOPSIS
120 +.B t2p
121 +"word word word"
122 +.SH DESCRIPTION
123 +.B t2p
124 +converts text specified on the command-line into US english phonemes.
125 +Output is given to STDOUT.
126 +
127 +.SH OPTIONS
128 +No options.
129 +
130 +.SH SEE ALSO
131 +.BR flite (1), " " flite_time (1), " " festival (1)
132 +.SH AUTHOR
133 +This manual page was written by Mario Lang <mlang@debian.org>,
134 +for the Debian GNU/Linux system (but may be used by others).
135 --- flite-1.2-release.orig/debian/flite_time.1
136 +++ flite-1.2-release/debian/flite_time.1
137 @@ -0,0 +1,24 @@
138 +.TH FLITE_TIME 1 "February 25, 2003"
139 +.SH NAME
140 +flite_time \- A talking clock based on a limited-domain voice
141 +.SH SYNOPSIS
142 +.B flite_time
143 +.I HH:MM
144 +.SH DESCRIPTION
145 +.B flite_time
146 +is a example talking clock based on a limited domain
147 +voice from Festival Lite.
148 +
149 +.SH OPTIONS
150 +Specify the time you want to have announced at the
151 +command-line using the format HH:MM.
152 +
153 +.SH EXAMPLES
154 +.IP "flite_time `date +%H:%M`" 4
155 +Announce the current time.
156 +
157 +.SH SEE ALSO
158 +.BR flite (1), " " festival (1)
159 +.SH AUTHOR
160 +This manual page was written by Mario Lang <mlang@debian.org>,
161 +for the Debian GNU/Linux system (but may be used by others).
This page took 0.077301 seconds and 3 git commands to generate.