Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/speech-dispatcher: ChangeLog speech-dispatcher-0.6.7-r1.ebuild speech-dispatcher-0.6.7.ebuild
Date: Fri, 04 Sep 2009 03:46:38
Message-Id: E1MjUZY-0007p7-Js@stork.gentoo.org
1 ssuominen 09/09/04 08:55:08
2
3 Modified: ChangeLog speech-dispatcher-0.6.7.ebuild
4 Added: speech-dispatcher-0.6.7-r1.ebuild
5 Log:
6 Fix building with GLIBC 2.10+ wrt #281130 by Christoph Brill.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.42 app-accessibility/speech-dispatcher/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.42&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?rev=1.42&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog?r1=1.41&r2=1.42
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v
19 retrieving revision 1.41
20 retrieving revision 1.42
21 diff -u -r1.41 -r1.42
22 --- ChangeLog 1 Apr 2009 17:18:16 -0000 1.41
23 +++ ChangeLog 4 Sep 2009 08:55:08 -0000 1.42
24 @@ -1,6 +1,13 @@
25 # ChangeLog for app-accessibility/speech-dispatcher
26 -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.41 2009/04/01 17:18:16 williamh Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/ChangeLog,v 1.42 2009/09/04 08:55:08 ssuominen Exp $
30 +
31 +*speech-dispatcher-0.6.7-r1 (04 Sep 2009)
32 +
33 + 04 Sep 2009; Samuli Suominen <ssuominen@g.o>
34 + +speech-dispatcher-0.6.7-r1.ebuild,
35 + +files/speech-dispatcher-0.6.7-glibc-2.10.patch:
36 + Fix building with GLIBC 2.10+ wrt #281130 by Christoph Brill.
37
38 01 Apr 2009; William Hubbs <williamh@g.o>
39 speech-dispatcher-0.6.7.ebuild:
40
41
42
43 1.3 app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?rev=1.3&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?rev=1.3&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild?r1=1.2&r2=1.3
48
49 Index: speech-dispatcher-0.6.7.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v
52 retrieving revision 1.2
53 retrieving revision 1.3
54 diff -u -r1.2 -r1.3
55 --- speech-dispatcher-0.6.7.ebuild 1 Apr 2009 17:18:16 -0000 1.2
56 +++ speech-dispatcher-0.6.7.ebuild 4 Sep 2009 08:55:08 -0000 1.3
57 @@ -1,6 +1,6 @@
58 # Copyright 1999-2009 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v 1.2 2009/04/01 17:18:16 williamh Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7.ebuild,v 1.3 2009/09/04 08:55:08 ssuominen Exp $
62
63 inherit eutils
64
65 @@ -26,7 +26,8 @@
66
67 src_unpack() {
68 unpack ${A}
69 - sed -i -e 's/\(SUBDIRS.*\)python/\1/' "${S}"/src/Makefile.in
70 + cd "${S}"
71 + sed -i -e 's/\(SUBDIRS.*\)python/\1/' src/Makefile.in || die
72 }
73
74 src_compile() {
75
76
77
78 1.1 app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7-r1.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7-r1.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7-r1.ebuild?rev=1.1&content-type=text/plain
82
83 Index: speech-dispatcher-0.6.7-r1.ebuild
84 ===================================================================
85 # Copyright 1999-2009 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/app-accessibility/speech-dispatcher/speech-dispatcher-0.6.7-r1.ebuild,v 1.1 2009/09/04 08:55:08 ssuominen Exp $
88
89 inherit eutils
90
91 DESCRIPTION="speech-dispatcher speech synthesis interface"
92 HOMEPAGE="http://www.freebsoft.org/speechd"
93 SRC_URI="http://www.freebsoft.org/pub/projects/speechd/${P}.tar.gz"
94
95 LICENSE="GPL-2"
96 SLOT="0"
97 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86"
98 IUSE="alsa flite nas pulseaudio python"
99
100 RDEPEND="dev-libs/dotconf
101 >=dev-libs/glib-2
102 alsa? ( media-libs/alsa-lib )
103 flite? ( app-accessibility/flite )
104 nas? ( media-libs/nas )
105 pulseaudio? ( media-sound/pulseaudio )
106 python? ( dev-lang/python )
107 app-accessibility/espeak"
108 DEPEND="${RDEPEND}
109 dev-util/pkgconfig"
110
111 src_unpack() {
112 unpack ${A}
113 cd "${S}"
114 epatch "${FILESDIR}"/${P}-glibc-2.10.patch
115 sed -i -e 's/\(SUBDIRS.*\)python/\1/' src/Makefile.in || die
116 }
117
118 src_compile() {
119 econf \
120 $(use_with alsa) \
121 $(use_with flite) \
122 $(use_with pulseaudio pulse) \
123 $(use_with nas) || die "configure failed"
124 make all || die "make failed"
125 }
126
127 src_install() {
128 make DESTDIR="${D}" install || die
129
130 if use python; then
131 cd "${S}"/src/python
132 ./setup.py install --root="${D}" --no-compile
133 cd "${S}"
134 fi
135
136 insinto /usr/include
137 doins "${S}"/src/c/api/libspeechd.h
138
139 dodoc AUTHORS ChangeLog NEWS TODO
140 newinitd "${FILESDIR}"/speech-dispatcher speech-dispatcher
141 }
142
143 pkg_postinst() {
144 elog "To enable Festival support, you must install app-accessibility/festival-freebsoft-utils."
145 }