Gentoo Archives: gentoo-commits

From: "William Hubbs (williamh)" <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-accessibility/espeakup: ChangeLog espeakup-9999.ebuild espeakup-0.71.ebuild
Date: Wed, 27 Apr 2011 18:30:43
Message-Id: 20110427183033.3837820054@flycatcher.gentoo.org
1 williamh 11/04/27 18:30:33
2
3 Modified: ChangeLog espeakup-9999.ebuild espeakup-0.71.ebuild
4 Log:
5 Check for CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT for bug #365105.
6
7 (Portage version: 2.2.0_alpha30/cvs/Linux i686)
8
9 Revision Changes Path
10 1.20 app-accessibility/espeakup/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 12 Jan 2011 23:56:02 -0000 1.19
23 +++ ChangeLog 27 Apr 2011 18:30:32 -0000 1.20
24 @@ -1,6 +1,10 @@
25 # ChangeLog for app-accessibility/espeakup
26 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/ChangeLog,v 1.19 2011/01/12 23:56:02 williamh Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/ChangeLog,v 1.20 2011/04/27 18:30:32 williamh Exp $
29 +
30 + 27 Apr 2011; William Hubbs <williamh@g.o> espeakup-0.71.ebuild,
31 + espeakup-9999.ebuild:
32 + Check for CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT for bug #365105.
33
34 12 Jan 2011; William Hubbs <williamh@g.o> espeakup-0.71.ebuild,
35 espeakup-9999.ebuild:
36
37
38
39 1.7 app-accessibility/espeakup/espeakup-9999.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild?rev=1.7&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild?rev=1.7&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild?r1=1.6&r2=1.7
44
45 Index: espeakup-9999.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild,v
48 retrieving revision 1.6
49 retrieving revision 1.7
50 diff -u -r1.6 -r1.7
51 --- espeakup-9999.ebuild 12 Jan 2011 23:56:02 -0000 1.6
52 +++ espeakup-9999.ebuild 27 Apr 2011 18:30:32 -0000 1.7
53 @@ -1,9 +1,9 @@
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild,v 1.6 2011/01/12 23:56:02 williamh Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-9999.ebuild,v 1.7 2011/04/27 18:30:32 williamh Exp $
58
59 EGIT_REPO_URI="git://github.com/williamh/espeakup.git"
60 -inherit git
61 +inherit git linux-info
62
63 DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
64 HOMEPAGE="http://www.github.com/williamh/espeakup"
65 @@ -15,8 +15,22 @@
66 IUSE=""
67
68 DEPEND="app-accessibility/espeak"
69 -RDEPEND="${DEPEND}
70 - || ( >=virtual/linux-sources-2.6.37 app-accessibility/speakup )"
71 +RDEPEND="${DEPEND}"
72 +
73 +pkg_setup() {
74 + if kernel_is -ge 2 6 37; then
75 + CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
76 + ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
77 + ERROR_SPEAKUP_SYNTH_SOFT=\
78 + "CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
79 + check_extra_config
80 + elif ! has_version app-accessibility/speakup; then
81 + ewarn "Cannot find speakup on your system."
82 + ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
83 + ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
84 + ewarn "or install app-accessibility/speakup."
85 + fi
86 +}
87
88 src_compile() {
89 emake || die "Compile failed."
90
91
92
93 1.8 app-accessibility/espeakup/espeakup-0.71.ebuild
94
95 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild?rev=1.8&view=markup
96 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild?rev=1.8&content-type=text/plain
97 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild?r1=1.7&r2=1.8
98
99 Index: espeakup-0.71.ebuild
100 ===================================================================
101 RCS file: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild,v
102 retrieving revision 1.7
103 retrieving revision 1.8
104 diff -u -r1.7 -r1.8
105 --- espeakup-0.71.ebuild 12 Jan 2011 23:56:02 -0000 1.7
106 +++ espeakup-0.71.ebuild 27 Apr 2011 18:30:32 -0000 1.8
107 @@ -1,6 +1,8 @@
108 # Copyright 1999-2011 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 -# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild,v 1.7 2011/01/12 23:56:02 williamh Exp $
111 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/espeakup/espeakup-0.71.ebuild,v 1.8 2011/04/27 18:30:32 williamh Exp $
112 +
113 +inherit linux-info
114
115 DESCRIPTION="espeakup is a small lightweight connector for espeak and speakup"
116 HOMEPAGE="http://www.linux-speakup.org"
117 @@ -12,8 +14,22 @@
118 IUSE=""
119
120 DEPEND="app-accessibility/espeak"
121 -RDEPEND="${DEPEND}
122 - || ( >=virtual/linux-sources-2.6.37 app-accessibility/speakup )"
123 +RDEPEND="${DEPEND}"
124 +
125 +pkg_setup() {
126 + if kernel_is -ge 2 6 37; then
127 + CONFIG_CHECK="~SPEAKUP ~SPEAKUP_SYNTH_SOFT"
128 + ERROR_SPEAKUP="CONFIG_SPEAKUP is not enabled in this kernel!"
129 + ERROR_SPEAKUP_SYNTH_SOFT=\
130 + "CONFIG_SPEAKUP_SYNTH_SOFT is not enabled in this kernel!"
131 + check_extra_config
132 + elif ! has_version app-accessibility/speakup; then
133 + ewarn "Cannot find speakup on your system."
134 + ewarn "Please upgrade your kernel to 2.6.37 or later and enable the"
135 + ewarn "CONFIG_SPEAKUP and CONFIG_SPEAKUP_SYNTH_SOFT options"
136 + ewarn "or install app-accessibility/speakup."
137 + fi
138 +}
139
140 src_compile() {
141 emake || die "Compile failed."