Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/ibus: ibus-1.3.8.ebuild ibus-1.2.0.20100111.ebuild ChangeLog metadata.xml ibus-1.3.7.ebuild ibus-1.3.99.20101028.ebuild
Date: Fri, 05 Nov 2010 14:11:31
Message-Id: 20101105141127.AC93F20051@flycatcher.gentoo.org
1 matsuu 10/11/05 14:11:27
2
3 Modified: ibus-1.3.8.ebuild ibus-1.2.0.20100111.ebuild
4 ChangeLog metadata.xml ibus-1.3.7.ebuild
5 Added: ibus-1.3.99.20101028.ebuild
6 Log:
7 Version bumped. Added introspection USE flag. Fixed X and gtk USE flags issue, bug #342903.
8
9 (Portage version: 2.1.9.22/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.2 app-i18n/ibus/ibus-1.3.8.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild?rev=1.2&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild?rev=1.2&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild?r1=1.1&r2=1.2
17
18 Index: ibus-1.3.8.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild,v
21 retrieving revision 1.1
22 retrieving revision 1.2
23 diff -u -r1.1 -r1.2
24 --- ibus-1.3.8.ebuild 25 Oct 2010 16:13:55 -0000 1.1
25 +++ ibus-1.3.8.ebuild 5 Nov 2010 14:11:27 -0000 1.2
26 @@ -1,10 +1,10 @@
27 # Copyright 1999-2010 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild,v 1.1 2010/10/25 16:13:55 matsuu Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.8.ebuild,v 1.2 2010/11/05 14:11:27 matsuu Exp $
31
32 EAPI="2"
33 PYTHON_DEPEND="python? 2:2.5"
34 -inherit eutils gnome2-utils multilib python
35 +inherit confutils eutils gnome2-utils multilib python
36
37 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
38 HOMEPAGE="http://code.google.com/p/ibus/"
39 @@ -13,7 +13,7 @@
40 LICENSE="LGPL-2.1"
41 SLOT="0"
42 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
43 -IUSE="doc +gconf gtk nls +python vala X"
44 +IUSE="doc +gconf gtk introspection nls +python vala X"
45
46 RDEPEND=">=dev-libs/glib-2.18
47 gconf? ( >=gnome-base/gconf-2.12 )
48 @@ -27,6 +27,7 @@
49 x11-libs/libX11
50 x11-libs/gtk+:2
51 )
52 + introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
53 python? (
54 dev-python/notify-python
55 >=dev-python/dbus-python-0.83
56 @@ -60,6 +61,8 @@
57 }
58
59 pkg_setup() {
60 + # bug #342903
61 + confutils_require_any X gtk
62 python_set_active_version 2
63 }
64
65 @@ -74,6 +77,7 @@
66 econf \
67 $(use_enable doc gtk-doc) \
68 $(use_enable doc gtk-doc-html) \
69 + $(use_enable introspection) \
70 $(use_enable gconf) \
71 $(use_enable gtk gtk2) \
72 $(use_enable gtk xim) \
73
74
75
76 1.6 app-i18n/ibus/ibus-1.2.0.20100111.ebuild
77
78 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild?rev=1.6&view=markup
79 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild?rev=1.6&content-type=text/plain
80 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild?r1=1.5&r2=1.6
81
82 Index: ibus-1.2.0.20100111.ebuild
83 ===================================================================
84 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild,v
85 retrieving revision 1.5
86 retrieving revision 1.6
87 diff -u -r1.5 -r1.6
88 --- ibus-1.2.0.20100111.ebuild 11 Aug 2010 18:15:25 -0000 1.5
89 +++ ibus-1.2.0.20100111.ebuild 5 Nov 2010 14:11:27 -0000 1.6
90 @@ -1,9 +1,9 @@
91 # Copyright 1999-2010 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild,v 1.5 2010/08/11 18:15:25 josejx Exp $
94 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.2.0.20100111.ebuild,v 1.6 2010/11/05 14:11:27 matsuu Exp $
95
96 EAPI="1"
97 -inherit eutils gnome2-utils multilib python
98 +inherit confutils eutils gnome2-utils multilib python
99
100 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
101 HOMEPAGE="http://code.google.com/p/ibus/"
102 @@ -39,6 +39,8 @@
103 RESTRICT="test"
104
105 pkg_setup() {
106 + # bug #342903
107 + confutils_require_any X gtk
108 # An arch specific config directory is used on multilib systems
109 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
110 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
111
112
113
114 1.71 app-i18n/ibus/ChangeLog
115
116 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.71&view=markup
117 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.71&content-type=text/plain
118 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.70&r2=1.71
119
120 Index: ChangeLog
121 ===================================================================
122 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
123 retrieving revision 1.70
124 retrieving revision 1.71
125 diff -u -r1.70 -r1.71
126 --- ChangeLog 25 Oct 2010 16:13:55 -0000 1.70
127 +++ ChangeLog 5 Nov 2010 14:11:27 -0000 1.71
128 @@ -1,6 +1,14 @@
129 # ChangeLog for app-i18n/ibus
130 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
131 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.70 2010/10/25 16:13:55 matsuu Exp $
132 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.71 2010/11/05 14:11:27 matsuu Exp $
133 +
134 +*ibus-1.3.99.20101028 (05 Nov 2010)
135 +
136 + 05 Nov 2010; MATSUU Takuto <matsuu@g.o> ibus-1.2.0.20100111.ebuild,
137 + ibus-1.3.7.ebuild, ibus-1.3.8.ebuild, +ibus-1.3.99.20101028.ebuild,
138 + metadata.xml:
139 + Version bumped. Added introspection USE flag. Fixed X and gtk USE flags
140 + issue, bug #342903.
141
142 *ibus-1.3.8 (25 Oct 2010)
143
144
145
146
147 1.5 app-i18n/ibus/metadata.xml
148
149 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/metadata.xml?rev=1.5&view=markup
150 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/metadata.xml?rev=1.5&content-type=text/plain
151 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/metadata.xml?r1=1.4&r2=1.5
152
153 Index: metadata.xml
154 ===================================================================
155 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/metadata.xml,v
156 retrieving revision 1.4
157 retrieving revision 1.5
158 diff -u -r1.4 -r1.5
159 --- metadata.xml 15 Jun 2010 17:58:35 -0000 1.4
160 +++ metadata.xml 5 Nov 2010 14:11:27 -0000 1.5
161 @@ -10,5 +10,6 @@
162 <use>
163 <flag name='gconf'>Enable support for <pkg>gnome-base/gconf</pkg></flag>
164 <flag name='vala'>Enable support for <pkg>dev-lang/vala</pkg></flag>
165 + <flag name='introspection'>Use <pkg>dev-libs/gobject-introspection</pkg> for introspection</flag>
166 </use>
167 </pkgmetadata>
168
169
170
171 1.4 app-i18n/ibus/ibus-1.3.7.ebuild
172
173 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild?rev=1.4&view=markup
174 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild?rev=1.4&content-type=text/plain
175 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild?r1=1.3&r2=1.4
176
177 Index: ibus-1.3.7.ebuild
178 ===================================================================
179 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild,v
180 retrieving revision 1.3
181 retrieving revision 1.4
182 diff -u -r1.3 -r1.4
183 --- ibus-1.3.7.ebuild 18 Sep 2010 17:43:44 -0000 1.3
184 +++ ibus-1.3.7.ebuild 5 Nov 2010 14:11:27 -0000 1.4
185 @@ -1,10 +1,10 @@
186 # Copyright 1999-2010 Gentoo Foundation
187 # Distributed under the terms of the GNU General Public License v2
188 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild,v 1.3 2010/09/18 17:43:44 armin76 Exp $
189 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.7.ebuild,v 1.4 2010/11/05 14:11:27 matsuu Exp $
190
191 EAPI="2"
192 PYTHON_DEPEND="python? 2:2.5"
193 -inherit eutils gnome2-utils multilib python
194 +inherit confutils eutils gnome2-utils multilib python
195
196 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
197 HOMEPAGE="http://code.google.com/p/ibus/"
198 @@ -13,7 +13,7 @@
199 LICENSE="LGPL-2.1"
200 SLOT="0"
201 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
202 -IUSE="doc +gconf gtk nls +python vala X"
203 +IUSE="doc +gconf gtk introspection nls +python vala X"
204
205 RDEPEND=">=dev-libs/glib-2.18
206 gconf? ( >=gnome-base/gconf-2.12 )
207 @@ -27,6 +27,7 @@
208 x11-libs/libX11
209 x11-libs/gtk+:2
210 )
211 + introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
212 python? (
213 dev-python/notify-python
214 >=dev-python/dbus-python-0.83
215 @@ -60,6 +61,8 @@
216 }
217
218 pkg_setup() {
219 + # bug #342903
220 + confutils_require_any X gtk
221 python_set_active_version 2
222 }
223
224 @@ -74,6 +77,7 @@
225 econf \
226 $(use_enable doc gtk-doc) \
227 $(use_enable doc gtk-doc-html) \
228 + $(use_enable introspection) \
229 $(use_enable gconf) \
230 $(use_enable gtk gtk2) \
231 $(use_enable gtk xim) \
232
233
234
235 1.1 app-i18n/ibus/ibus-1.3.99.20101028.ebuild
236
237 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.99.20101028.ebuild?rev=1.1&view=markup
238 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.99.20101028.ebuild?rev=1.1&content-type=text/plain
239
240 Index: ibus-1.3.99.20101028.ebuild
241 ===================================================================
242 # Copyright 1999-2010 Gentoo Foundation
243 # Distributed under the terms of the GNU General Public License v2
244 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.99.20101028.ebuild,v 1.1 2010/11/05 14:11:27 matsuu Exp $
245
246 EAPI="2"
247 PYTHON_DEPEND="python? 2:2.5"
248 inherit confutils eutils gnome2-utils multilib python
249
250 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
251 HOMEPAGE="http://code.google.com/p/ibus/"
252 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
253
254 LICENSE="LGPL-2.1"
255 SLOT="0"
256 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
257 IUSE="doc +gconf gtk introspection nls +python vala X"
258
259 RDEPEND=">=dev-libs/glib-2.18
260 gconf? ( >=gnome-base/gconf-2.12 )
261 >=gnome-base/librsvg-2
262 sys-apps/dbus
263 app-text/iso-codes
264 gtk? (
265 x11-libs/gtk+:2
266 )
267 X? (
268 x11-libs/libX11
269 x11-libs/gtk+:2
270 )
271 introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
272 python? (
273 dev-python/notify-python
274 >=dev-python/dbus-python-0.83
275 )
276 nls? ( virtual/libintl )
277 vala? ( dev-lang/vala )"
278 # X? ( x11-libs/libX11 )
279 # gtk? ( x11-libs/gtk+:2 x11-libs/gtk+:3 )
280 DEPEND="${RDEPEND}
281 >=dev-lang/perl-5.8.1
282 dev-perl/XML-Parser
283 dev-util/pkgconfig
284 doc? ( >=dev-util/gtk-doc-1.9 )
285 nls? ( >=sys-devel/gettext-0.16.1 )"
286 RDEPEND="${RDEPEND}
287 python? (
288 dev-python/pygtk
289 dev-python/pyxdg
290 )"
291
292 RESTRICT="test"
293
294 update_gtk_immodules() {
295 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
296 GTK2_CONFDIR="/etc/gtk-2.0"
297 # An arch specific config directory is used on multilib systems
298 has_multilib_profile && GTK2_CONFDIR="${GTK2_CONFDIR}/${CHOST}"
299 mkdir -p "${ROOT}${GTK2_CONFDIR}"
300 gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules"
301 fi
302 }
303
304 pkg_setup() {
305 # bug #342903
306 confutils_require_any X gtk
307 python_set_active_version 2
308 }
309
310 src_prepare() {
311 mv py-compile py-compile.orig || die
312 ln -s "$(type -P true)" py-compile || die
313 echo "ibus/_config.py" >> po/POTFILES.skip || die
314 sed -i -e "s/python/python2/" setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in || die
315 }
316
317 src_configure() {
318 econf \
319 $(use_enable doc gtk-doc) \
320 $(use_enable doc gtk-doc-html) \
321 $(use_enable introspection) \
322 $(use_enable gconf) \
323 $(use_enable gtk gtk2) \
324 $(use_enable gtk xim) \
325 $(use_enable nls) \
326 $(use_enable python) \
327 $(use_enable vala) \
328 $(use_enable X xim) || die
329 #$(use_enable gtk gtk3) \
330 }
331
332 src_install() {
333 emake DESTDIR="${D}" install || die
334
335 # bug 289547
336 keepdir /usr/share/ibus/{engine,icons} || die
337
338 dodoc AUTHORS ChangeLog NEWS README || die
339 }
340
341 pkg_postinst() {
342
343 elog "To use ibus, you should:"
344 elog "1. Get input engines from sunrise overlay."
345 elog " Run \"emerge -s ibus-\" in your favorite terminal"
346 elog " for a list of packages we already have."
347 elog
348 elog "2. Setup ibus:"
349 elog
350 elog " $ ibus-setup"
351 elog
352 elog "3. Set the following in your user startup scripts"
353 elog " such as .xinitrc, .xsession or .xprofile:"
354 elog
355 elog " export XMODIFIERS=\"@im=ibus\""
356 elog " export GTK_IM_MODULE=\"ibus\""
357 elog " export QT_IM_MODULE=\"xim\""
358 elog " ibus-daemon -d -x"
359
360 use gtk && update_gtk_immodules
361
362 use python && python_mod_optimize /usr/share/${PN}
363 gnome2_icon_cache_update
364 }
365
366 pkg_postrm() {
367 use gtk && update_gtk_immodules
368
369 use python && python_mod_cleanup /usr/share/${PN}
370 gnome2_icon_cache_update
371 }