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.4.ebuild ChangeLog
Date: Sat, 29 May 2010 08:06:25
Message-Id: 20100529080621.A2D862CF37@corvid.gentoo.org
1 matsuu 10/05/29 08:06:21
2
3 Modified: ChangeLog
4 Added: ibus-1.3.4.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.62 app-i18n/ibus/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.62&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.62&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.61&r2=1.62
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
19 retrieving revision 1.61
20 retrieving revision 1.62
21 diff -u -r1.61 -r1.62
22 --- ChangeLog 14 May 2010 16:43:36 -0000 1.61
23 +++ ChangeLog 29 May 2010 08:06:21 -0000 1.62
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.61 2010/05/14 16:43:36 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.62 2010/05/29 08:06:21 matsuu Exp $
29 +
30 +*ibus-1.3.4 (29 May 2010)
31 +
32 + 29 May 2010; MATSUU Takuto <matsuu@g.o> +ibus-1.3.4.ebuild:
33 + Version bumped.
34
35 *ibus-1.3.3-r2 (14 May 2010)
36
37
38
39
40 1.1 app-i18n/ibus/ibus-1.3.4.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.3.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ibus-1.3.4.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.4.ebuild,v 1.1 2010/05/29 08:06:21 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 nls +python"
63
64 RDEPEND=">=dev-libs/glib-2.18
65 >=x11-libs/gtk+-2
66 gconf? ( >=gnome-base/gconf-2.12 )
67 >=gnome-base/librsvg-2
68 sys-apps/dbus
69 app-text/iso-codes
70 x11-libs/libX11
71 python? (
72 dev-python/notify-python
73 >=dev-python/dbus-python-0.83
74 )
75 nls? ( virtual/libintl )"
76 DEPEND="${RDEPEND}
77 >=dev-lang/perl-5.8.1
78 dev-perl/XML-Parser
79 dev-util/pkgconfig
80 doc? ( >=dev-util/gtk-doc-1.9 )
81 nls? ( >=sys-devel/gettext-0.16.1 )"
82 RDEPEND="${RDEPEND}
83 python? (
84 dev-python/pygtk
85 dev-python/pyxdg
86 )"
87
88 RESTRICT="test"
89
90 update_gtk_immodules() {
91 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
92 GTK2_CONFDIR="/etc/gtk-2.0"
93 # An arch specific config directory is used on multilib systems
94 has_multilib_profile && GTK2_CONFDIR="${GTK2_CONFDIR}/${CHOST}"
95 mkdir -p "${ROOT}${GTK2_CONFDIR}"
96 gtk-query-immodules-2.0 > "${ROOT}${GTK2_CONFDIR}/gtk.immodules"
97 fi
98 }
99
100 pkg_setup() {
101 python_set_active_version 2
102 }
103
104 src_prepare() {
105 mv py-compile py-compile.orig || die
106 ln -s "$(type -P true)" py-compile || die
107 echo "ibus/_config.py" >> po/POTFILES.skip || die
108 sed -i -e "s/python/python2/" setup/ibus-setup.in ui/gtk/ibus-ui-gtk.in || die
109 }
110
111 src_configure() {
112 econf \
113 $(use_enable doc gtk-doc) \
114 $(use_enable gconf) \
115 $(use_enable nls) \
116 $(use_enable python) || die
117 }
118
119 src_install() {
120 emake DESTDIR="${D}" install || die
121
122 # bug 289547
123 keepdir /usr/share/ibus/{engine,icons} || die
124
125 dodoc AUTHORS ChangeLog NEWS README || die
126 }
127
128 pkg_postinst() {
129
130 elog "To use ibus, you should:"
131 elog "1. Get input engines from sunrise overlay."
132 elog " Run \"emerge -s ibus-\" in your favorite terminal"
133 elog " for a list of packages we already have."
134 elog
135 elog "2. Setup ibus:"
136 elog
137 elog " $ ibus-setup"
138 elog
139 elog "3. Set the following in your user startup scripts"
140 elog " such as .xinitrc, .xsession or .xprofile:"
141 elog
142 elog " export XMODIFIERS=\"@im=ibus\""
143 elog " export GTK_IM_MODULE=\"ibus\""
144 elog " export QT_IM_MODULE=\"xim\""
145 elog " ibus-daemon -d -x"
146
147 update_gtk_immodules
148
149 use python && python_mod_optimize /usr/share/${PN}
150 gnome2_icon_cache_update
151 }
152
153 pkg_postrm() {
154 update_gtk_immodules
155
156 use python && python_mod_cleanup /usr/share/${PN}
157 gnome2_icon_cache_update
158 }