Gentoo Archives: gentoo-commits

From: "Naohiro Aota (naota)" <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/ibus: ibus-1.4.2.ebuild ChangeLog
Date: Wed, 29 Aug 2012 10:31:11
Message-Id: 20120829103059.A796520B26@flycatcher.gentoo.org
1 naota 12/08/29 10:30:59
2
3 Modified: ChangeLog
4 Added: ibus-1.4.2.ebuild
5 Log:
6 Version bump. #432580
7
8 (Portage version: 2.2.0_alpha123/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.111 app-i18n/ibus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.111&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.111&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.110&r2=1.111
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
20 retrieving revision 1.110
21 retrieving revision 1.111
22 diff -u -r1.110 -r1.111
23 --- ChangeLog 18 Jun 2012 13:39:14 -0000 1.110
24 +++ ChangeLog 29 Aug 2012 10:30:59 -0000 1.111
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/ibus
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.110 2012/06/18 13:39:14 yngwin Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.111 2012/08/29 10:30:59 naota Exp $
30 +
31 +*ibus-1.4.2 (29 Aug 2012)
32 +
33 + 29 Aug 2012; Naohiro Aota <naota@g.o> +ibus-1.4.2.ebuild:
34 + Version bump. #432580
35
36 18 Jun 2012; Ben de Groot <yngwin@g.o> ibus-1.4.1.ebuild:
37 Enable X useflag by default to fix bug #421767
38 @@ -584,4 +589,3 @@
39 05 Sep 2008; MATSUU Takuto <matsuu@g.o> +metadata.xml,
40 +ibus-0.1.1.20080901.ebuild:
41 Initial import. Submitted by Hong Hao, bug 236277.
42 -
43
44
45
46 1.1 app-i18n/ibus/ibus-1.4.2.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.4.2.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.4.2.ebuild?rev=1.1&content-type=text/plain
50
51 Index: ibus-1.4.2.ebuild
52 ===================================================================
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.4.2.ebuild,v 1.1 2012/08/29 10:30:59 naota Exp $
56
57 EAPI=4
58 PYTHON_DEPEND="python? 2:2.5"
59
60 inherit eutils gnome2-utils multilib python autotools
61
62 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
63 HOMEPAGE="http://code.google.com/p/ibus/"
64 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
65
66 LICENSE="LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
69 IUSE="dconf doc +gconf gtk gtk3 +introspection nls +python vala +X"
70 REQUIRED_USE="|| ( gtk gtk3 X )" #342903
71
72 RDEPEND=">=dev-libs/glib-2.26
73 dconf? ( >=gnome-base/dconf-0.7.5 )
74 gconf? ( >=gnome-base/gconf-2.12:2 )
75 gnome-base/librsvg
76 sys-apps/dbus[X?]
77 app-text/iso-codes
78 gtk? ( x11-libs/gtk+:2 )
79 gtk3? ( x11-libs/gtk+:3 )
80 X? (
81 x11-libs/libX11
82 x11-libs/gtk+:2
83 )
84 introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
85 python? (
86 dev-python/notify-python
87 >=dev-python/dbus-python-0.83
88 )
89 nls? ( virtual/libintl )"
90 # X? ( x11-libs/libX11 )
91 # gtk? ( x11-libs/gtk+:2 x11-libs/gtk+:3 )
92 # vala? ( dev-lang/vala )
93 DEPEND="${RDEPEND}
94 >=dev-lang/perl-5.8.1
95 dev-util/intltool
96 virtual/pkgconfig
97 doc? ( >=dev-util/gtk-doc-1.9 )
98 nls? ( >=sys-devel/gettext-0.16.1 )"
99 RDEPEND="${RDEPEND}
100 python? (
101 dev-python/pygtk
102 dev-python/pyxdg
103 )"
104
105 RESTRICT="test"
106
107 DOCS="AUTHORS ChangeLog NEWS README"
108
109 pkg_setup() {
110 if use python; then
111 python_set_active_version 2
112 python_pkg_setup
113 fi
114 }
115
116 src_prepare() {
117 >py-compile #397497
118 echo ibus/_config.py >> po/POTFILES.skip
119
120 epatch \
121 "${FILESDIR}"/${PN}-gconf-2.m4.patch
122
123 use gconf || epatch "${FILESDIR}"/${P}-no-gconf.patch
124
125 eautoreconf
126 }
127
128 src_configure() {
129 # We cannot call $(PYTHON) if we haven't called python_pkg_setup
130 use python && PYTHON=$(PYTHON) || PYTHON=
131 econf \
132 $(use_enable dconf) \
133 $(use_enable doc gtk-doc) \
134 $(use_enable doc gtk-doc-html) \
135 $(use_enable introspection) \
136 $(use_enable gconf) \
137 $(use_enable gtk gtk2) \
138 $(use_enable gtk xim) \
139 $(use_enable gtk3) \
140 $(use_enable nls) \
141 $(use_enable python) \
142 $(use_enable vala) \
143 $(use_enable X xim) \
144 PYTHON="${PYTHON}"
145 }
146
147 src_install() {
148 default
149
150 find "${ED}" -name '*.la' -exec rm -f {} +
151
152 insinto /etc/X11/xinit/xinput.d
153 newins xinput-ibus ibus.conf
154
155 keepdir /usr/share/ibus/{engine,icons} #289547
156 }
157
158 pkg_preinst() {
159 use gconf && gnome2_gconf_savelist
160 gnome2_icon_savelist
161 }
162
163 pkg_postinst() {
164 use gconf && gnome2_gconf_install
165 use gtk && update_gtk_immodules
166 use gtk3 && update_gtk3_immodules
167 use python && python_mod_optimize /usr/share/${PN}
168 gnome2_icon_cache_update
169
170 elog "To use ibus, you should:"
171 elog "1. Get input engines from sunrise overlay."
172 elog " Run \"emerge -s ibus-\" in your favorite terminal"
173 elog " for a list of packages we already have."
174 elog
175 elog "2. Setup ibus:"
176 elog
177 elog " $ ibus-setup"
178 elog
179 elog "3. Set the following in your user startup scripts"
180 elog " such as .xinitrc, .xsession or .xprofile:"
181 elog
182 elog " export XMODIFIERS=\"@im=ibus\""
183 elog " export GTK_IM_MODULE=\"ibus\""
184 elog " export QT_IM_MODULE=\"xim\""
185 elog " ibus-daemon -d -x"
186 }
187
188 pkg_postrm() {
189 use gtk && gnome2_query_immmodules_gtk2
190 use gtk3 && gnome2_query_immmodules_gtk3
191 use python && python_mod_cleanup /usr/share/${PN}
192 gnome2_icon_cache_update
193 }