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