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.20081006-r1.ebuild
Date: Wed, 15 Oct 2008 15:58:44
Message-Id: E1Kq8lk-00065L-Hl@stork.gentoo.org
1 matsuu 08/10/15 15:58:40
2
3 Modified: ChangeLog
4 Added: ibus-0.1.1.20081006-r1.ebuild
5 Log:
6 Fixed dependency and QA issue. Cleanup.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.26-gentoo-r1 x86_64)
8
9 Revision Changes Path
10 1.12 app-i18n/ibus/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.12&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.12&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.11&r2=1.12
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v
19 retrieving revision 1.11
20 retrieving revision 1.12
21 diff -u -r1.11 -r1.12
22 --- ChangeLog 7 Oct 2008 16:09:16 -0000 1.11
23 +++ ChangeLog 15 Oct 2008 15:58:40 -0000 1.12
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.11 2008/10/07 16:09:16 matsuu Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.12 2008/10/15 15:58:40 matsuu Exp $
29 +
30 +*ibus-0.1.1.20081006-r1 (15 Oct 2008)
31 +
32 + 15 Oct 2008; MATSUU Takuto <matsuu@g.o>
33 + +ibus-0.1.1.20081006-r1.ebuild:
34 + Fixed dependency and QA issue. Cleanup.
35
36 07 Oct 2008; MATSUU Takuto <matsuu@g.o>
37 -ibus-0.1.1.20081005.ebuild, ibus-0.1.1.20081006.ebuild:
38
39
40
41 1.1 app-i18n/ibus/ibus-0.1.1.20081006-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081006-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-0.1.1.20081006-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ibus-0.1.1.20081006-r1.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.20081006-r1.ebuild,v 1.1 2008/10/15 15:58:40 matsuu Exp $
51
52 EAPI="1"
53 inherit autotools eutils 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="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 x11-misc/notification-daemon
86 || (
87 dev-python/gconf-python
88 dev-python/gnome-python
89 )"
90
91 pkg_setup() {
92 # An arch specific config directory is used on multilib systems
93 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
94 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
95 }
96
97 src_unpack() {
98 unpack ${A}
99 cd "${S}"
100 mv py-compile py-compile.orig || die
101 ln -s "$(type -P true)" py-compile || die
102 sed -i -e '/QMAKE/s/$/ "CONFIG+=nostrip"/' client/qt4/Makefile.am || die
103 eautoreconf
104 }
105
106 src_compile() {
107 econf \
108 $(use_enable nls) \
109 $(use_enable qt4 qt4-immodule) || die
110 emake || die
111 }
112
113 src_install() {
114 emake DESTDIR="${D}" install || die
115
116 dodoc AUTHORS ChangeLog NEWS README
117 }
118
119 pkg_postinst() {
120 local qt_im_module="xim"
121 use qt4 && qt_im_module="ibus"
122
123 elog "To use ibus, you should:"
124 elog "1. Get input engines from sunrise overlay."
125 elog " Run \"emerge -s ibus-\" in your favorite terminal"
126 elog " for a list of packages we already have."
127 elog "2. Set the following in your"
128 elog " user startup scripts such as .xinitrc or .bashrc"
129 elog
130 elog " export XMODIFIERS=\"@im=ibus\""
131 elog " export GTK_IM_MODULE=\"ibus\""
132 elog " export QT_IM_MODULE=\"${qt_im_module}\""
133 elog " ibus &"
134
135 [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \
136 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
137
138 python_mod_optimize /usr/share/${PN}
139 }
140
141 pkg_postrm() {
142 [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \
143 gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
144
145 python_mod_cleanup /usr/share/${PN}
146 }