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