1 |
matsuu 12/02/05 16:33:16 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ibus-1.4.1.ebuild |
5 |
Removed: ibus-1.3.99.20110817.ebuild ibus-1.4.0.ebuild |
6 |
Log: |
7 |
Version bumped. |
8 |
|
9 |
(Portage version: 2.1.10.44/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.98 app-i18n/ibus/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.98&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.98&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.97&r2=1.98 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v |
21 |
retrieving revision 1.97 |
22 |
retrieving revision 1.98 |
23 |
diff -u -r1.97 -r1.98 |
24 |
--- ChangeLog 5 Feb 2012 01:38:23 -0000 1.97 |
25 |
+++ ChangeLog 5 Feb 2012 16:33:16 -0000 1.98 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-i18n/ibus |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.97 2012/02/05 01:38:23 floppym Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.98 2012/02/05 16:33:16 matsuu Exp $ |
31 |
+ |
32 |
+*ibus-1.4.1 (05 Feb 2012) |
33 |
+ |
34 |
+ 05 Feb 2012; MATSUU Takuto <matsuu@g.o> -ibus-1.3.99.20110817.ebuild, |
35 |
+ -ibus-1.4.0.ebuild, +ibus-1.4.1.ebuild, +files/ibus-1.4.1-no-gconf.patch: |
36 |
+ Version bumped. |
37 |
|
38 |
05 Feb 2012; Mike Gilbert <floppym@g.o> ibus-1.2.0.20100111.ebuild, |
39 |
ibus-1.3.9.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-i18n/ibus/ibus-1.4.1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.4.1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.4.1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: ibus-1.4.1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ibus-1.4.1.ebuild,v 1.1 2012/02/05 16:33:16 matsuu Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
PYTHON_DEPEND="python? 2:2.5" |
56 |
inherit confutils eutils gnome2-utils multilib python autotools |
57 |
|
58 |
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
59 |
HOMEPAGE="http://code.google.com/p/ibus/" |
60 |
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" |
61 |
|
62 |
LICENSE="LGPL-2.1" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
65 |
IUSE="dconf doc +gconf gtk gtk3 introspection nls +python vala X" |
66 |
|
67 |
RDEPEND=">=dev-libs/glib-2.26:2 |
68 |
dconf? ( >=gnome-base/dconf-0.7.5 ) |
69 |
gconf? ( >=gnome-base/gconf-2.12:2 ) |
70 |
gnome-base/librsvg:2 |
71 |
sys-apps/dbus[X?] |
72 |
app-text/iso-codes |
73 |
gtk? ( x11-libs/gtk+:2 ) |
74 |
gtk3? ( x11-libs/gtk+:3 ) |
75 |
X? ( |
76 |
x11-libs/libX11 |
77 |
x11-libs/gtk+:2 |
78 |
) |
79 |
introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
80 |
python? ( |
81 |
dev-python/notify-python |
82 |
>=dev-python/dbus-python-0.83 |
83 |
) |
84 |
nls? ( virtual/libintl )" |
85 |
# X? ( x11-libs/libX11 ) |
86 |
# gtk? ( x11-libs/gtk+:2 x11-libs/gtk+:3 ) |
87 |
# vala? ( dev-lang/vala ) |
88 |
DEPEND="${RDEPEND} |
89 |
>=dev-lang/perl-5.8.1 |
90 |
dev-perl/XML-Parser |
91 |
dev-util/pkgconfig |
92 |
doc? ( >=dev-util/gtk-doc-1.9 ) |
93 |
nls? ( >=sys-devel/gettext-0.16.1 )" |
94 |
RDEPEND="${RDEPEND} |
95 |
python? ( |
96 |
dev-python/pygtk |
97 |
dev-python/pyxdg |
98 |
)" |
99 |
|
100 |
RESTRICT="test" |
101 |
|
102 |
update_gtk_immodules() { |
103 |
local GTK2_CONFDIR="/etc/gtk-2.0" |
104 |
# bug #366889 |
105 |
if has_version '>=x11-libs/gtk+-2.22.1-r1:2' || has_multilib_profile ; then |
106 |
GTK2_CONFDIR="${GTK2_CONFDIR}/$(get_abi_CHOST)" |
107 |
fi |
108 |
mkdir -p "${EPREFIX}${GTK2_CONFDIR}" |
109 |
|
110 |
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-2.0" ] ; then |
111 |
"${EPREFIX}/usr/bin/gtk-query-immodules-2.0" > "${EPREFIX}${GTK2_CONFDIR}/gtk.immodules" |
112 |
fi |
113 |
} |
114 |
|
115 |
update_gtk3_immodules() { |
116 |
if [ -x "${EPREFIX}/usr/bin/gtk-query-immodules-3.0" ] ; then |
117 |
"${EPREFIX}/usr/bin/gtk-query-immodules-3.0" --update-cache |
118 |
fi |
119 |
} |
120 |
|
121 |
pkg_setup() { |
122 |
# bug #342903 |
123 |
confutils_require_any X gtk gtk3 |
124 |
if use python; then |
125 |
python_set_active_version 2 |
126 |
python_pkg_setup |
127 |
fi |
128 |
} |
129 |
|
130 |
src_prepare() { |
131 |
>py-compile #397497 |
132 |
echo "ibus/_config.py" >> po/POTFILES.skip || die |
133 |
|
134 |
epatch \ |
135 |
"${FILESDIR}"/${PN}-1.4.0-machine-id-fallback.patch |
136 |
use gconf || epatch "${FILESDIR}/${P}-no-gconf.patch" |
137 |
|
138 |
eautoreconf |
139 |
} |
140 |
|
141 |
src_configure() { |
142 |
econf \ |
143 |
$(use_enable dconf) \ |
144 |
$(use_enable doc gtk-doc) \ |
145 |
$(use_enable doc gtk-doc-html) \ |
146 |
$(use_enable introspection) \ |
147 |
$(use_enable gconf) \ |
148 |
$(use_enable gtk gtk2) \ |
149 |
$(use_enable gtk xim) \ |
150 |
$(use_enable gtk3) \ |
151 |
$(use_enable nls) \ |
152 |
$(use_enable python) \ |
153 |
$(use_enable vala) \ |
154 |
$(use_enable X xim) \ |
155 |
PYTHON="$(PYTHON)" || die |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
emake DESTDIR="${D}" install || die |
160 |
|
161 |
find "${ED}" -name '*.la' -type f -delete || die |
162 |
|
163 |
insinto /etc/X11/xinit/xinput.d |
164 |
newins xinput-ibus ibus.conf || die |
165 |
|
166 |
# bug 289547 |
167 |
keepdir /usr/share/ibus/{engine,icons} || die |
168 |
|
169 |
dodoc AUTHORS ChangeLog NEWS README || die |
170 |
} |
171 |
|
172 |
pkg_preinst() { |
173 |
use gconf && gnome2_gconf_savelist |
174 |
gnome2_icon_savelist |
175 |
} |
176 |
|
177 |
pkg_postinst() { |
178 |
use gconf && gnome2_gconf_install |
179 |
use gtk && update_gtk_immodules |
180 |
use gtk3 && update_gtk3_immodules |
181 |
use python && python_mod_optimize /usr/share/${PN} |
182 |
gnome2_icon_cache_update |
183 |
|
184 |
elog "To use ibus, you should:" |
185 |
elog "1. Get input engines from sunrise overlay." |
186 |
elog " Run \"emerge -s ibus-\" in your favorite terminal" |
187 |
elog " for a list of packages we already have." |
188 |
elog |
189 |
elog "2. Setup ibus:" |
190 |
elog |
191 |
elog " $ ibus-setup" |
192 |
elog |
193 |
elog "3. Set the following in your user startup scripts" |
194 |
elog " such as .xinitrc, .xsession or .xprofile:" |
195 |
elog |
196 |
elog " export XMODIFIERS=\"@im=ibus\"" |
197 |
elog " export GTK_IM_MODULE=\"ibus\"" |
198 |
elog " export QT_IM_MODULE=\"xim\"" |
199 |
elog " ibus-daemon -d -x" |
200 |
} |
201 |
|
202 |
pkg_postrm() { |
203 |
use gtk && update_gtk_immodules |
204 |
use gtk3 && update_gtk3_immodules |
205 |
use python && python_mod_cleanup /usr/share/${PN} |
206 |
gnome2_icon_cache_update |
207 |
} |