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.20081004.ebuild
Date: Sat, 04 Oct 2008 14:46:32
Message-Id: E1Km8Or-0007rH-3j@stork.gentoo.org
1 matsuu 08/10/04 14:46:29
2
3 Modified: ChangeLog
4 Added: ibus-0.1.1.20081004.ebuild
5 Log:
6 Version bumped.
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.8 app-i18n/ibus/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.7&r2=1.8
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- ChangeLog 1 Oct 2008 16:20:57 -0000 1.7
23 +++ ChangeLog 4 Oct 2008 14:46:28 -0000 1.8
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.7 2008/10/01 16:20:57 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.8 2008/10/04 14:46:28 matsuu Exp $
29 +
30 +*ibus-0.1.1.20081004 (04 Oct 2008)
31 +
32 + 04 Oct 2008; MATSUU Takuto <matsuu@g.o>
33 + +ibus-0.1.1.20081004.ebuild:
34 + Version bumped.
35
36 *ibus-0.1.1.20081001 (01 Oct 2008)
37
38
39
40
41 1.1 app-i18n/ibus/ibus-0.1.1.20081004.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081004.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081004.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ibus-0.1.1.20081004.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.20081004.ebuild,v 1.1 2008/10/04 14:46:28 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 app-text/iso-codes
75 x11-libs/libX11
76 >=dev-lang/python-2.5
77 nls? ( virtual/libintl )"
78 DEPEND="${RDEPEND}
79 dev-util/pkgconfig
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 dev-python/gconf-python"
86
87 pkg_setup() {
88 # An arch specific config directory is used on multilib systems
89 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
90 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
91 }
92
93 src_compile() {
94 econf \
95 $(use_enable nls) \
96 $(use_enable qt4 qt4-immodule) || die
97 emake || die
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die
102
103 dodoc AUTHORS ChangeLog NEWS README
104 }
105
106 pkg_postinst() {
107 ewarn "This package is very experimental, please report your bug to"
108 ewarn "http://ibus.googlecode.com/issues/list"
109 elog
110 elog "To use ibus, you should:"
111 elog "1. Get input engines from sunrise overlay."
112 elog " Run \"emerge -s ibus-\" in your favorite terminal"
113 elog " for a list of packages we already have."
114 elog "2. Set the following in your"
115 elog " user startup scripts such as .xinitrc or .bashrc"
116 elog
117 elog " export XMODIFIERS=\"@im=ibus\""
118 elog " export GTK_IM_MODULE=\"ibus\""
119 elog " export QT_IM_MODULE=\"ibus\""
120 elog " ibus &"
121 elog
122 if ! use qt4; then
123 ewarn "Missing qt4 use flag, ibus will not work in qt4 applications."
124 ebeep 3
125 fi
126 elog
127
128 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
129 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
130 fi
131 }
132
133 pkg_postrm() {
134 if [ -x /usr/bin/gtk-query-immodules-2.0 ] ; then
135 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
136 fi
137 }