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-1.1.0.20090531.ebuild |
Date: | Sun, 31 May 2009 13:24:55 |
Message-Id: | E1MAl1w-0005LK-PB@stork.gentoo.org |
1 | matsuu 09/05/31 13:24:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: ibus-1.1.0.20090531.ebuild |
5 | Log: |
6 | Version bumped. |
7 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.30 app-i18n/ibus/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.30&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.30&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.29&r2=1.30 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v |
19 | retrieving revision 1.29 |
20 | retrieving revision 1.30 |
21 | diff -u -r1.29 -r1.30 |
22 | --- ChangeLog 11 May 2009 14:44:59 -0000 1.29 |
23 | +++ ChangeLog 31 May 2009 13:24:52 -0000 1.30 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for app-i18n/ibus |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.29 2009/05/11 14:44:59 matsuu Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.30 2009/05/31 13:24:52 matsuu Exp $ |
29 | + |
30 | +*ibus-1.1.0.20090531 (31 May 2009) |
31 | + |
32 | + 31 May 2009; MATSUU Takuto <matsuu@g.o> |
33 | + +ibus-1.1.0.20090531.ebuild: |
34 | + Version bumped. |
35 | |
36 | *ibus-1.1.0.20090508 (11 May 2009) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-i18n/ibus/ibus-1.1.0.20090531.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-1.1.0.20090531.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/ibus/ibus-1.1.0.20090531.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: ibus-1.1.0.20090531.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.1.0.20090531.ebuild,v 1.1 2009/05/31 13:24:52 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="doc nls qt4" |
63 | IUSE="doc nls" |
64 | |
65 | RDEPEND=">=dev-libs/glib-2.18 |
66 | >=x11-libs/gtk+-2 |
67 | >=gnome-base/gconf-2.12 |
68 | >=gnome-base/librsvg-2 |
69 | sys-apps/dbus |
70 | app-text/iso-codes |
71 | x11-libs/libX11 |
72 | >=dev-lang/python-2.5 |
73 | >=dev-python/pygobject-2.14 |
74 | nls? ( virtual/libintl )" |
75 | DEPEND="${RDEPEND} |
76 | dev-util/pkgconfig |
77 | doc? ( >=dev-util/gtk-doc-1.9 ) |
78 | nls? ( >=sys-devel/gettext-0.16.1 )" |
79 | RDEPEND="${RDEPEND} |
80 | dev-python/pygtk |
81 | >=dev-python/dbus-python-0.83 |
82 | dev-python/pyxdg" |
83 | # qt4? ( |
84 | # >=x11-libs/qt-core-4.4:4 |
85 | # >=x11-libs/qt-dbus-4.4:4 |
86 | # ) |
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_unpack() { |
95 | unpack ${A} |
96 | cd "${S}" |
97 | mv py-compile py-compile.orig || die |
98 | ln -s "$(type -P true)" py-compile || die |
99 | sed -i -e '/QMAKE/s/$/ "CONFIG+=nostrip"/' client/qt4/Makefile.am || die |
100 | eautomake |
101 | } |
102 | |
103 | src_compile() { |
104 | # qt4-immodule won't work |
105 | # http://code.google.com/p/ibus/issues/detail?id=341 |
106 | econf \ |
107 | $(use_enable doc gtk-doc) \ |
108 | $(use_enable nls) || die |
109 | # $(use_enable qt4 qt4-immodule) |
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 |
128 | elog "2. Setup ibus:" |
129 | elog |
130 | elog " $ ibus-setup" |
131 | elog |
132 | elog "3. Set the following in your user startup scripts" |
133 | elog " such as .xinitrc, .xsession or .xprofile:" |
134 | elog |
135 | elog " export XMODIFIERS=\"@im=ibus\"" |
136 | elog " export GTK_IM_MODULE=\"ibus\"" |
137 | elog " export QT_IM_MODULE=\"${qt_im_module}\"" |
138 | elog " ibus-daemon -d -x" |
139 | |
140 | [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ |
141 | gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
142 | |
143 | python_mod_optimize /usr/share/${PN} |
144 | } |
145 | |
146 | pkg_postrm() { |
147 | [ "${ROOT}" = "/" -a -x /usr/bin/gtk-query-immodules-2.0 ] && \ |
148 | gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
149 | |
150 | python_mod_cleanup /usr/share/${PN} |
151 | } |