Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-dicts/stardict: stardict-2.4.2.ebuild ChangeLog metadata.xml stardict-2.4.8-r1.ebuild stardict-3.0.1.ebuild stardict-2.4.8.ebuild
Date: Mon, 25 Feb 2008 14:46:00
Message-Id: E1JTeaa-0007Hj-NN@stork.gentoo.org
1 pva 08/02/25 14:45:56
2
3 Modified: stardict-2.4.2.ebuild ChangeLog metadata.xml
4 Added: stardict-2.4.8-r1.ebuild stardict-3.0.1.ebuild
5 Removed: stardict-2.4.8.ebuild
6 Log:
7 Version bump, finally startdict-3.0.1 is in the tree. Thank you Zhang Le, jjmmma, Pro and others for work in bug #188684! Fixed compile problem and popup window "jumping away" problem, bug #188827 and #195882, thank Ed Catmur, Evgeniy Dushistov and other people for help, fix and investigations of these bugs.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.17 app-dicts/stardict/stardict-2.4.2.ebuild
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild?r1=1.16&r2=1.17
16
17 Index: stardict-2.4.2.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- stardict-2.4.2.ebuild 11 Jul 2007 05:41:18 -0000 1.16
24 +++ stardict-2.4.2.ebuild 25 Feb 2008 14:45:56 -0000 1.17
25 @@ -1,6 +1,6 @@
26 -# Copyright 1999-2007 Gentoo Foundation
27 +# Copyright 1999-2008 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild,v 1.16 2007/07/11 05:41:18 mr_bones_ Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-2.4.2.ebuild,v 1.17 2008/02/25 14:45:56 pva Exp $
31
32 inherit gnome2 eutils
33
34 @@ -37,14 +37,14 @@
35 gnome2_omf_fix
36
37 # Fix gtk-2.4 deprecation issues
38 - epatch ${FILESDIR}/stardict-gtk24.patch
39 + epatch "${FILESDIR}"/stardict-gtk24.patch
40 }
41
42 src_install() {
43 gnome2_src_install
44 # dictionary index generation files
45 exeinto /usr/share/stardict/tools
46 - doexe ${S}/src/tools/{dictd2dic,directory2dict,olddic2newdic,oxford2dic,pydict2dict,wquick2dict,stardict_dict_update}
47 + doexe "${S}"/src/tools/{dictd2dic,directory2dict,olddic2newdic,oxford2dic,pydict2dict,wquick2dict,stardict_dict_update}
48 }
49
50 pkg_postinst() {
51
52
53
54 1.36 app-dicts/stardict/ChangeLog
55
56 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?rev=1.36&view=markup
57 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?rev=1.36&content-type=text/plain
58 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/ChangeLog?r1=1.35&r2=1.36
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v
63 retrieving revision 1.35
64 retrieving revision 1.36
65 diff -u -r1.35 -r1.36
66 --- ChangeLog 30 Aug 2007 12:22:44 -0000 1.35
67 +++ ChangeLog 25 Feb 2008 14:45:56 -0000 1.36
68 @@ -1,6 +1,20 @@
69 # ChangeLog for app-dicts/stardict
70 -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.35 2007/08/30 12:22:44 phreak Exp $
72 +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
73 +# $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/ChangeLog,v 1.36 2008/02/25 14:45:56 pva Exp $
74 +
75 +*stardict-3.0.1 (25 Feb 2008)
76 +*stardict-2.4.8-r1 (25 Feb 2008)
77 +
78 + 25 Feb 2008; <pva@g.o>
79 + +files/stardict-2.4.8-ClipboardReceivedCallback.patch,
80 + +files/stardict-2.4.8-floatwin-disappear.patch, metadata.xml,
81 + stardict-2.4.2.ebuild, -stardict-2.4.8.ebuild, +stardict-2.4.8-r1.ebuild,
82 + +stardict-3.0.1.ebuild:
83 + Version bump, finally startdict-3.0.1 is in the tree. Thank you Zhang Le,
84 + jjmmma, Pro and others for work in bug #188684! Fixed compile problem and
85 + popup window "jumping away" problem, bug #188827 and #195882, thank Ed
86 + Catmur, Evgeniy Dushistov and other people for help, fix and investigations
87 + of these bugs.
88
89 30 Aug 2007; Christian Heim <phreak@g.o> metadata.xml:
90 Removing liquidx from metadata due to his retirement (see #171155 for
91
92
93
94 1.4 app-dicts/stardict/metadata.xml
95
96 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/metadata.xml?rev=1.4&view=markup
97 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/metadata.xml?rev=1.4&content-type=text/plain
98 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/metadata.xml?r1=1.3&r2=1.4
99
100 Index: metadata.xml
101 ===================================================================
102 RCS file: /var/cvsroot/gentoo-x86/app-dicts/stardict/metadata.xml,v
103 retrieving revision 1.3
104 retrieving revision 1.4
105 diff -u -r1.3 -r1.4
106 --- metadata.xml 30 Aug 2007 12:22:44 -0000 1.3
107 +++ metadata.xml 25 Feb 2008 14:45:56 -0000 1.4
108 @@ -2,4 +2,8 @@
109 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
110 <pkgmetadata>
111 <herd>cjk</herd>
112 + <maintainer>
113 + <email>pva@g.o</email>
114 + <name>Peter Volkov</name>
115 + </maintainer>
116 </pkgmetadata>
117
118
119
120 1.1 app-dicts/stardict/stardict-2.4.8-r1.ebuild
121
122 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-2.4.8-r1.ebuild?rev=1.1&view=markup
123 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-2.4.8-r1.ebuild?rev=1.1&content-type=text/plain
124
125 Index: stardict-2.4.8-r1.ebuild
126 ===================================================================
127 # Copyright 1999-2008 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129 # $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-2.4.8-r1.ebuild,v 1.1 2008/02/25 14:45:56 pva Exp $
130
131 inherit gnome2 eutils
132
133 # NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
134 # their indexes seem to be in a different format. So we'll keep them
135 # seperate for now.
136
137 IUSE="gnome"
138 DESCRIPTION="A GNOME2 international dictionary supporting fuzzy and glob style matching"
139 HOMEPAGE="http://stardict.sourceforge.net/ http://cosoft.org.cn/projects/stardict/"
140 SRC_URI="mirror://sourceforge/stardict/${P}.tar.bz2"
141
142 RESTRICT="test"
143 LICENSE="GPL-2"
144 SLOT="0"
145 # when adding keywords, remember to add to stardict.eclass
146 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
147
148 RDEPEND="gnome? ( >=gnome-base/libbonobo-2.2.0
149 >=gnome-base/libgnome-2.2.0
150 >=gnome-base/libgnomeui-2.2.0
151 >=gnome-base/gconf-2
152 >=gnome-base/orbit-2.6
153 app-text/scrollkeeper )
154 >=sys-libs/zlib-1.1.4
155 >=dev-libs/popt-1.7
156 >=x11-libs/gtk+-2.6"
157
158 DEPEND="${RDEPEND}
159 >=dev-util/intltool-0.22
160 dev-util/pkgconfig"
161
162 src_unpack() {
163 unpack ${A}
164
165 cd "${S}"/src
166 epatch "${FILESDIR}"/${P}-ClipboardReceivedCallback.patch
167 epatch "${FILESDIR}"/${P}-floatwin-disappear.patch
168 gnome2_omf_fix
169 }
170
171 src_compile() {
172 export PKG_CONFIG=$(type -P pkg-config)
173 G2CONF="$(use_enable gnome gnome-support)"
174 gnome2_src_compile
175 }
176
177 src_install() {
178 gnome2_src_install
179 # dictionary index generation files
180 exeinto /usr/share/stardict/tools
181 doexe "${S}"/src/tools/{dictd2dic,directory2dic,olddic2newdic,oxford2dic,pydict2dic,wquick2dic,stardict_dict_update}
182 }
183
184 pkg_postinst() {
185 elog "You will now need to install stardict dictionary files. If"
186 elog "you have not, execute the below to get a list of dictionaries:"
187 elog
188 elog " emerge -s stardict-"
189 elog
190 ewarn "If you upgraded from 2.4.1 or lower and use your own dictionary"
191 ewarn "files, you'll need to run: /usr/share/stardict/tools/stardict_dict_update"
192 }
193
194
195
196 1.1 app-dicts/stardict/stardict-3.0.1.ebuild
197
198 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-3.0.1.ebuild?rev=1.1&view=markup
199 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-dicts/stardict/stardict-3.0.1.ebuild?rev=1.1&content-type=text/plain
200
201 Index: stardict-3.0.1.ebuild
202 ===================================================================
203 # Copyright 1999-2008 Gentoo Foundation
204 # Distributed under the terms of the GNU General Public License v2
205 # $Header: /var/cvsroot/gentoo-x86/app-dicts/stardict/stardict-3.0.1.ebuild,v 1.1 2008/02/25 14:45:56 pva Exp $
206
207 inherit gnome2 eutils autotools
208
209 # NOTE: Even though the *.dict.dz are the same as dictd/freedict's files,
210 # their indexes seem to be in a different format. So we'll keep them
211 # seperate for now.
212
213 IUSE="festival espeak gnome gucharmap spell"
214 DESCRIPTION="A GNOME2 international dictionary supporting fuzzy and glob style matching"
215 HOMEPAGE="http://stardict.sourceforge.net/"
216 SRC_URI="mirror://sourceforge/stardict/${P}.tar.bz2"
217
218 RESTRICT="test"
219 LICENSE="GPL-2"
220 SLOT="0"
221 # when adding keywords, remember to add to stardict.eclass
222 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
223
224 DEP="gnome? ( >=gnome-base/libbonobo-2.2.0
225 >=gnome-base/libgnome-2.2.0
226 >=gnome-base/libgnomeui-2.2.0
227 >=gnome-base/gconf-2
228 >=gnome-base/orbit-2.6
229 app-text/scrollkeeper )
230 spell? ( app-text/enchant )
231 gucharmap? ( >=gnome-extra/gucharmap-1.4.0 )
232 >=sys-libs/zlib-1.1.4
233 >=x11-libs/gtk+-2.12"
234
235 RDEPEND="${DEP}
236 espeak? ( >=app-accessibility/espeak-1.29 )
237 festival? ( =app-accessibility/festival-1.96_beta )"
238
239 DEPEND="${DEP}
240 >=dev-util/intltool-0.22
241 dev-util/pkgconfig"
242
243 src_unpack() {
244 unpack ${A}
245 cd "${S}"
246 epatch "${FILESDIR}"/${P}-configure.in-EST.diff
247 epatch "${FILESDIR}"/${P}-gconf-m4.diff
248 AT_M4DIR="m4" eautoreconf
249 gnome2_omf_fix
250 }
251
252 src_compile() {
253 export PKG_CONFIG=$(type -P pkg-config)
254 # Festival plugin crashes, bug 188684. Disable for now.
255 G2CONF="$(use_enable gnome gnome-support)
256 $(use_enable spell)
257 $(use_enable gucharmap)
258 $(use_enable espeak espeak)
259 --disable-festival
260 --disable-advertisement
261 --disable-updateinfo"
262 gnome2_src_compile
263 }
264
265 pkg_postinst() {
266 elog "Note: festival text to speach (TTS) plugin is not built. To use festival"
267 elog 'TTS plugin, please, enable "Use TTS program." at:'
268 elog '"Preferences -> Dictionary -> Sound" and fill in "Commandline" with:'
269 elog '"echo %s | festival --tts"'
270 elog
271 elog "You will now need to install stardict dictionary files. If"
272 elog "you have not, execute the below to get a list of dictionaries:"
273 elog
274 elog " emerge -s stardict-"
275 }
276
277
278
279 --
280 gentoo-commits@l.g.o mailing list