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.20080930.ebuild ibus-0.1.1.20080917.ebuild
Date: Tue, 30 Sep 2008 15:02:55
Message-Id: E1KkgkV-0002xb-0F@stork.gentoo.org
1 matsuu 08/09/30 15:02:51
2
3 Modified: ChangeLog
4 Added: ibus-0.1.1.20080930.ebuild
5 Removed: ibus-0.1.1.20080917.ebuild
6 Log:
7 Version bumped.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
9
10 Revision Changes Path
11 1.6 app-i18n/ibus/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 24 Sep 2008 12:07:11 -0000 1.5
24 +++ ChangeLog 30 Sep 2008 15:02:50 -0000 1.6
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-i18n/ibus
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.5 2008/09/24 12:07:11 matsuu Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.6 2008/09/30 15:02:50 matsuu Exp $
30 +
31 +*ibus-0.1.1.20080930 (30 Sep 2008)
32 +
33 + 30 Sep 2008; MATSUU Takuto <matsuu@g.o>
34 + -ibus-0.1.1.20080917.ebuild, +ibus-0.1.1.20080930.ebuild:
35 + Version bumped.
36
37 *ibus-0.1.1.20080923 (24 Sep 2008)
38
39
40
41
42 1.1 app-i18n/ibus/ibus-0.1.1.20080930.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20080930.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20080930.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ibus-0.1.1.20080930.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20080930.ebuild,v 1.1 2008/09/30 15:02:50 matsuu Exp $
52
53 EAPI="1"
54 inherit multilib
55
56 DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
57 HOMEPAGE="http://code.google.com/p/ibus/"
58 SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
59
60 LICENSE="LGPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="nls qt4"
64
65 RDEPEND=">=dev-libs/glib-2
66 >=x11-libs/gtk+-2
67 dev-libs/dbus-glib
68 qt4? ( || (
69 (
70 >=x11-libs/qt-core-4.4:4
71 >=x11-libs/qt-dbus-4.4:4
72 )
73 >=x11-libs/qt-4.4:4
74 ) )
75 app-text/iso-codes
76 x11-libs/libX11
77 >=dev-lang/python-2.5
78 nls? ( virtual/libintl )"
79 DEPEND="${RDEPEND}
80 dev-util/pkgconfig
81 nls? ( >=sys-devel/gettext-0.16.1 )"
82 RDEPEND="${RDEPEND}
83 dev-python/pygtk
84 >=dev-python/dbus-python-0.83
85 dev-python/pyxdg
86 dev-python/gconf-python"
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_compile() {
95 econf \
96 $(use_enable nls) \
97 $(use_enable qt4 qt4-immodule) || die
98 emake || die
99 }
100
101 src_install() {
102 emake DESTDIR="${D}" install || die
103
104 dodoc AUTHORS ChangeLog NEWS README
105 }
106
107 pkg_postinst() {
108 ewarn "This package is very experimental, please report your bug to"
109 ewarn "http://ibus.googlecode.com/issues/list"
110 elog
111 elog "To use ibus, you should:"
112 elog "1. Get input engines from sunrise overlay."
113 elog " Run \"emerge -s ibus-\" in your favorite terminal"
114 elog " for a list of packages we already have."
115 elog "2. Set the following in your"
116 elog " user startup scripts such as .xinitrc or .bashrc"
117 elog
118 elog " export XMODIFIERS=\"@im=ibus\""
119 elog " export GTK_IM_MODULE=\"ibus\""
120 elog " export QT_IM_MODULE=\"ibus\""
121 elog " ibus &"
122 elog
123 if ! use qt4; then
124 ewarn "Missing qt4 use flag, ibus will not work in qt4 applications."
125 ebeep 3
126 fi
127 elog
128
129 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
130 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
131 fi
132 }
133
134 pkg_postrm() {
135 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
136 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
137 fi
138 }