1 |
williamh 08/01/12 06:59:53 |
2 |
|
3 |
Modified: festival-1.96_beta.ebuild ChangeLog |
4 |
Log: |
5 |
Fixed dependencies for bug #199886. |
6 |
Applied a gcc 4.3 patch for bug #205401 -- thanks to dirtyepic@g.o. |
7 |
(Portage version: 2.1.4_rc14) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 app-accessibility/festival/festival-1.96_beta.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: festival-1.96_beta.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- festival-1.96_beta.ebuild 28 Aug 2007 05:17:33 -0000 1.1 |
23 |
+++ festival-1.96_beta.ebuild 12 Jan 2008 06:59:52 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
-# Copyright 1999-2007 Gentoo Foundation |
26 |
+# Copyright 1999-2008 Gentoo Foundation |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.1 2007/08/28 05:17:33 williamh Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/festival-1.96_beta.ebuild,v 1.2 2008/01/12 06:59:52 williamh Exp $ |
30 |
|
31 |
inherit eutils toolchain-funcs |
32 |
|
33 |
@@ -27,10 +27,9 @@ |
34 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
35 |
IUSE="mbrola" |
36 |
|
37 |
-RDEPEND="mbrola? ( >=app-accessibility/mbrola-3.0.1h-r2 )" |
38 |
- |
39 |
-DEPEND="${RDEPEND} |
40 |
- >=app-accessibility/speech-tools-1.2.96_beta" |
41 |
+DEPEND=">=app-accessibility/speech-tools-1.2.96_beta" |
42 |
+RDEPEND="${DEPEND} |
43 |
+ mbrola? ( >=app-accessibility/mbrola-3.0.1h-r2 )" |
44 |
|
45 |
S=${WORKDIR}/festival |
46 |
|
47 |
@@ -42,20 +41,23 @@ |
48 |
unpack ${A} |
49 |
|
50 |
# tell festival to use the speech-tools we have installed. |
51 |
- sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" ${S}/config/config.in |
52 |
- sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" ${S}/config/project.mak |
53 |
+ sed -i -e "s:\(EST=\).*:\1/usr/share/speech-tools:" "${S}"/config/config.in |
54 |
+ sed -i -e "s:\$(EST)/lib:/usr/$(get_libdir):" "${S}"/config/project.mak |
55 |
|
56 |
# disable the multisyn modules |
57 |
- sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" ${S}/config/config.in |
58 |
+ sed -i -e "s:\(ALSO_INCLUDE.*=.*MultiSyn\):# \1:" "${S}"/config/config.in |
59 |
|
60 |
# fix the reference to /usr/lib/festival |
61 |
- sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" ${S}/config/project.mak |
62 |
+ sed -i -e "s:\(FTLIBDIR.*=.*\)\$.*:\1/usr/share/festival:" "${S}"/config/project.mak |
63 |
|
64 |
# Fix path for examples in festival.scm |
65 |
- sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" ${S}/lib/festival.scm |
66 |
+ sed -i -e "s:\.\./examples/:/usr/share/doc/${PF}/examples/:" "${S}"/lib/festival.scm |
67 |
|
68 |
# patch init.scm to look for siteinit.scm and sitevars.scm in /etc/festival |
69 |
- epatch ${FILESDIR}/${P}-init-scm.patch |
70 |
+ epatch "${FILESDIR}"/${P}-init-scm.patch |
71 |
+ |
72 |
+ # Apply a patch for gcc4.3. |
73 |
+ epatch "${FILESDIR}"/${P}-gcc43.patch |
74 |
} |
75 |
|
76 |
src_compile() { |
77 |
@@ -78,10 +80,10 @@ |
78 |
doins -r examples |
79 |
|
80 |
# Need to fix saytime, etc. to look for festival in the correct spot |
81 |
- for ex in ${D}/usr/share/doc/${PF}/examples/*.sh; do |
82 |
+ for ex in "${D}"/usr/share/doc/${PF}/examples/*.sh; do |
83 |
exnoext=${ex%%.sh} |
84 |
- chmod a+x ${exnoext} |
85 |
- dosed "s:${S}/bin/festival:/usr/bin/festival:" ${exnoext##$D} |
86 |
+ chmod a+x "${exnoext}" |
87 |
+ dosed "s:${S}/bin/festival:/usr/bin/festival:" "${exnoext##$D}" |
88 |
done |
89 |
|
90 |
# Install the header files |
91 |
@@ -90,15 +92,15 @@ |
92 |
|
93 |
insinto /etc/festival |
94 |
# Sample server.scm configuration for the server |
95 |
- doins ${FILESDIR}/server.scm |
96 |
+ doins "${FILESDIR}"/server.scm |
97 |
doins lib/site* |
98 |
|
99 |
# Install the init script |
100 |
- newinitd ${FILESDIR}/festival.rc festival |
101 |
+ newinitd "${FILESDIR}"/festival.rc festival |
102 |
|
103 |
# Install the docs |
104 |
- dodoc ${S}/{ACKNOWLEDGMENTS,NEWS,README} |
105 |
- doman ${S}/doc/{festival.1,festival_client.1} |
106 |
+ dodoc "${S}"/{ACKNOWLEDGMENTS,NEWS,README} |
107 |
+ doman "${S}"/doc/{festival.1,festival_client.1} |
108 |
|
109 |
# create the directory where our log file will go. |
110 |
diropts -m 0755 -o festival -g audio |
111 |
@@ -138,7 +140,7 @@ |
112 |
# This assumes all mbrola voices are named after the voices defined |
113 |
# in MBROLA, i.e. if MBROLA contains a voice fr1, then the Festival |
114 |
# counterpart should be named fr1_mbrola. |
115 |
- for language in ${S}/lib/voices/*; do |
116 |
+ for language in "${S}"/lib/voices/*; do |
117 |
for mvoice in ${language}/*_mbrola; do |
118 |
voice=${mvoice##*/} |
119 |
database=${voice%%_mbrola} |
120 |
|
121 |
|
122 |
|
123 |
1.70 app-accessibility/festival/ChangeLog |
124 |
|
125 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/ChangeLog?rev=1.70&view=markup |
126 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/ChangeLog?rev=1.70&content-type=text/plain |
127 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/festival/ChangeLog?r1=1.69&r2=1.70 |
128 |
|
129 |
Index: ChangeLog |
130 |
=================================================================== |
131 |
RCS file: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v |
132 |
retrieving revision 1.69 |
133 |
retrieving revision 1.70 |
134 |
diff -u -r1.69 -r1.70 |
135 |
--- ChangeLog 29 Aug 2007 13:57:47 -0000 1.69 |
136 |
+++ ChangeLog 12 Jan 2008 06:59:52 -0000 1.70 |
137 |
@@ -1,6 +1,11 @@ |
138 |
# ChangeLog for app-accessibility/festival |
139 |
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
140 |
-# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.69 2007/08/29 13:57:47 williamh Exp $ |
141 |
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
142 |
+# $Header: /var/cvsroot/gentoo-x86/app-accessibility/festival/ChangeLog,v 1.70 2008/01/12 06:59:52 williamh Exp $ |
143 |
+ |
144 |
+ 12 Jan 2008; William Hubbs <williamh@g.o> |
145 |
+ +files/festival-1.96_beta-gcc43.patch, festival-1.96_beta.ebuild: |
146 |
+ Fixed dependencies for bug #199886. |
147 |
+ Applied a gcc 4.3 patch for bug #205401 -- thanks to dirtyepic@g.o. |
148 |
|
149 |
29 Aug 2007; William Hubbs <williamh@g.o> |
150 |
+files/festival-1.96_beta-init-scm.patch: |
151 |
|
152 |
|
153 |
|
154 |
-- |
155 |
gentoo-commits@l.g.o mailing list |