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: ChangeLog ibus-1.3.9.ebuild
Date: Thu, 25 Nov 2010 16:48:42
Message-Id: 20101125164836.E785A20051@flycatcher.gentoo.org
1 matsuu 10/11/25 16:48:36
2
3 Modified: ChangeLog
4 Added: ibus-1.3.9.ebuild
5 Log:
6 Version bumped.
7
8 (Portage version: 2.1.9.24/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.74 app-i18n/ibus/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.74&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.74&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.73&r2=1.74
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
20 retrieving revision 1.73
21 retrieving revision 1.74
22 diff -u -r1.73 -r1.74
23 --- ChangeLog 20 Nov 2010 15:21:55 -0000 1.73
24 +++ ChangeLog 25 Nov 2010 16:48:36 -0000 1.74
25 @@ -1,6 +1,11 @@
26 # ChangeLog for app-i18n/ibus
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.73 2010/11/20 15:21:55 matsuu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.74 2010/11/25 16:48:36 matsuu Exp $
30 +
31 +*ibus-1.3.9 (25 Nov 2010)
32 +
33 + 25 Nov 2010; MATSUU Takuto <matsuu@g.o> +ibus-1.3.9.ebuild:
34 + Version bumped.
35
36 *ibus-1.3.99.20101118 (20 Nov 2010)
37
38
39
40
41 1.1 app-i18n/ibus/ibus-1.3.9.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.9.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.9.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ibus-1.3.9.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.3.9.ebuild,v 1.1 2010/11/25 16:48:36 matsuu Exp $
51
52 EAPI="2"
53 PYTHON_DEPEND="python? 2:2.5"
54 inherit confutils eutils gnome2-utils multilib python
55
56 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
57 HOMEPAGE="http://code.google.com/p/ibus/"
58 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
59
60 LICENSE="LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="doc +gconf gtk introspection nls +python vala X"
64
65 RDEPEND=">=dev-libs/glib-2.18
66 gconf? ( >=gnome-base/gconf-2.12 )
67 >=gnome-base/librsvg-2
68 sys-apps/dbus
69 app-text/iso-codes
70 gtk? (
71 x11-libs/gtk+:2
72 )
73 X? (
74 x11-libs/libX11
75 x11-libs/gtk+:2
76 )
77 introspection? ( >=dev-libs/gobject-introspection-0.6.8 )
78 python? (
79 dev-python/notify-python
80 >=dev-python/dbus-python-0.83
81 )
82 nls? ( virtual/libintl )
83 vala? ( dev-lang/vala )"
84 # X? ( x11-libs/libX11 )
85 # gtk? ( x11-libs/gtk+:2 x11-libs/gtk+:3 )
86 DEPEND="${RDEPEND}
87 >=dev-lang/perl-5.8.1
88 dev-perl/XML-Parser
89 dev-util/pkgconfig
90 doc? ( >=dev-util/gtk-doc-1.9 )
91 nls? ( >=sys-devel/gettext-0.16.1 )"
92 RDEPEND="${RDEPEND}
93 python? (
94 dev-python/pygtk
95 dev-python/pyxdg
96 )"
97
98 RESTRICT="test"
99
100 update_gtk_immodules() {
101 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
102 GTK2_CONFDIR="/etc/gtk-2.0"
103 # An arch specific config directory is used on multilib systems
104 has_multilib_profile && GTK2_CONFDIR="${GTK2_CONFDIR}/${CHOST}"
105 mkdir -p "${ROOT}${GTK2_CONFDIR}"
106 gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules"
107 fi
108 }
109
110 pkg_setup() {
111 # bug #342903
112 confutils_require_any X gtk
113 python_set_active_version 2
114 }
115
116 src_prepare() {
117 mv py-compile py-compile.orig || die
118 ln -s "$(type -P true)" py-compile || die
119 echo "ibus/_config.py" >> po/POTFILES.skip || die
120 sed -i -e "s/python/python2/" setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in || die
121 }
122
123 src_configure() {
124 econf \
125 $(use_enable doc gtk-doc) \
126 $(use_enable doc gtk-doc-html) \
127 $(use_enable introspection) \
128 $(use_enable gconf) \
129 $(use_enable gtk gtk2) \
130 $(use_enable gtk xim) \
131 $(use_enable nls) \
132 $(use_enable python) \
133 $(use_enable vala) \
134 $(use_enable X xim) || die
135 #$(use_enable gtk gtk3) \
136 }
137
138 src_install() {
139 emake DESTDIR="${D}" install || die
140
141 # bug 289547
142 keepdir /usr/share/ibus/{engine,icons} || die
143
144 dodoc AUTHORS ChangeLog NEWS README || die
145 }
146
147 pkg_postinst() {
148
149 elog "To use ibus, you should:"
150 elog "1. Get input engines from sunrise overlay."
151 elog " Run \"emerge -s ibus-\" in your favorite terminal"
152 elog " for a list of packages we already have."
153 elog
154 elog "2. Setup ibus:"
155 elog
156 elog " $ ibus-setup"
157 elog
158 elog "3. Set the following in your user startup scripts"
159 elog " such as .xinitrc, .xsession or .xprofile:"
160 elog
161 elog " export XMODIFIERS=\"@im=ibus\""
162 elog " export GTK_IM_MODULE=\"ibus\""
163 elog " export QT_IM_MODULE=\"xim\""
164 elog " ibus-daemon -d -x"
165
166 use gtk && update_gtk_immodules
167
168 use python && python_mod_optimize /usr/share/${PN}
169 gnome2_icon_cache_update
170 }
171
172 pkg_postrm() {
173 use gtk && update_gtk_immodules
174
175 use python && python_mod_cleanup /usr/share/${PN}
176 gnome2_icon_cache_update
177 }