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