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-0.1.1.20081023.ebuild ibus-0.1.1.20081006.ebuild ibus-0.1.1.20081006-r1.ebuild
Date: Thu, 23 Oct 2008 22:57:32
Message-Id: E1Kt97S-0003vV-HH@stork.gentoo.org
1 matsuu 08/10/23 22:57:30
2
3 Modified: ChangeLog
4 Added: ibus-0.1.1.20081023.ebuild
5 Removed: ibus-0.1.1.20081006.ebuild
6 ibus-0.1.1.20081006-r1.ebuild
7 Log:
8 Version bumped.
9 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
10
11 Revision Changes Path
12 1.14 app-i18n/ibus/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.14&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.14&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.13&r2=1.14
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
21 retrieving revision 1.13
22 retrieving revision 1.14
23 diff -u -r1.13 -r1.14
24 --- ChangeLog 19 Oct 2008 14:11:20 -0000 1.13
25 +++ ChangeLog 23 Oct 2008 22:57:30 -0000 1.14
26 @@ -1,6 +1,13 @@
27 # ChangeLog for app-i18n/ibus
28 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.13 2008/10/19 14:11:20 matsuu Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.14 2008/10/23 22:57:30 matsuu Exp $
31 +
32 +*ibus-0.1.1.20081023 (23 Oct 2008)
33 +
34 + 23 Oct 2008; MATSUU Takuto <matsuu@g.o>
35 + -ibus-0.1.1.20081006.ebuild, -ibus-0.1.1.20081006-r1.ebuild,
36 + +ibus-0.1.1.20081023.ebuild:
37 + Version bumped. Removed old versions.
38
39 *ibus-0.1.1.20081016 (19 Oct 2008)
40
41
42
43
44 1.1 app-i18n/ibus/ibus-0.1.1.20081023.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081023.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081023.ebuild?rev=1.1&content-type=text/plain
48
49 Index: ibus-0.1.1.20081023.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081023.ebuild,v 1.1 2008/10/23 22:57:30 matsuu Exp $
54
55 EAPI="1"
56 inherit autotools eutils multilib python
57
58 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
59 HOMEPAGE="http://code.google.com/p/ibus/"
60 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="nls qt4"
66
67 RDEPEND=">=dev-libs/glib-2
68 >=x11-libs/gtk+-2
69 dev-libs/dbus-glib
70 qt4? ( || (
71 (
72 >=x11-libs/qt-core-4.4:4
73 >=x11-libs/qt-dbus-4.4:4
74 )
75 >=x11-libs/qt-4.4:4
76 ) )
77 app-text/iso-codes
78 x11-libs/libX11
79 >=dev-lang/python-2.5
80 nls? ( virtual/libintl )"
81 DEPEND="${RDEPEND}
82 dev-util/pkgconfig
83 nls? ( >=sys-devel/gettext-0.16.1 )"
84 RDEPEND="${RDEPEND}
85 dev-python/pygtk
86 >=dev-python/dbus-python-0.83
87 dev-python/pyxdg
88 x11-misc/notification-daemon
89 || (
90 dev-python/gconf-python
91 dev-python/gnome-python
92 )"
93
94 pkg_setup() {
95 # An arch specific config directory is used on multilib systems
96 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
97 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
98 }
99
100 src_unpack() {
101 unpack ${A}
102 cd "${S}"
103 mv py-compile py-compile.orig || die
104 ln -s "$(type -P true)" py-compile || die
105 sed -i -e '/QMAKE/s/$/ "CONFIG+=nostrip"/' client/qt4/Makefile.am || die
106 eautoreconf
107 }
108
109 src_compile() {
110 econf \
111 $(use_enable nls) \
112 $(use_enable qt4 qt4-immodule) || die
113 emake || die
114 }
115
116 src_install() {
117 emake DESTDIR="${D}" install || die
118
119 dodoc AUTHORS ChangeLog NEWS README
120 }
121
122 pkg_postinst() {
123 local qt_im_module="xim"
124 use qt4 && qt_im_module="ibus"
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 "2. Set the following in your"
131 elog " user startup scripts such as .xinitrc or .bashrc"
132 elog
133 elog " export XMODIFIERS=\"@im=ibus\""
134 elog " export GTK_IM_MODULE=\"ibus\""
135 elog " export QT_IM_MODULE=\"${qt_im_module}\""
136 elog " ibus &"
137
138 [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \
139 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
140
141 python_mod_optimize /usr/share/${PN}
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 }