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