1 |
naota 13/11/04 08:55:26 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: ibus-1.5.4.ebuild |
5 |
Log: |
6 |
Version bump. #485798 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key F8551514) |
9 |
|
10 |
Revision Changes Path |
11 |
1.133 app-i18n/ibus/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.133&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?rev=1.133&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ChangeLog?r1=1.132&r2=1.133 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v |
20 |
retrieving revision 1.132 |
21 |
retrieving revision 1.133 |
22 |
diff -u -r1.132 -r1.133 |
23 |
--- ChangeLog 5 Sep 2013 18:22:03 -0000 1.132 |
24 |
+++ ChangeLog 4 Nov 2013 08:55:26 -0000 1.133 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for app-i18n/ibus |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.132 2013/09/05 18:22:03 mgorny Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/ibus/ChangeLog,v 1.133 2013/11/04 08:55:26 naota Exp $ |
30 |
+ |
31 |
+*ibus-1.5.4 (04 Nov 2013) |
32 |
+ |
33 |
+ 04 Nov 2013; Naohiro Aota <naota@g.o> +ibus-1.5.4.ebuild: |
34 |
+ Version bump. #485798 |
35 |
|
36 |
05 Sep 2013; Michał Górny <mgorny@g.o> ibus-1.5.2.ebuild, |
37 |
ibus-1.5.3.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 app-i18n/ibus/ibus-1.5.4.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.5.4.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-i18n/ibus/ibus-1.5.4.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: ibus-1.5.4.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 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.5.4.ebuild,v 1.1 2013/11/04 08:55:26 naota Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
54 |
VALA_MIN_API_VERSION="0.18" |
55 |
VALA_USE_DEPEND="vapigen" |
56 |
# Vapigen is needed for the vala binding |
57 |
# Valac is needed when building from git for the engine |
58 |
|
59 |
inherit bash-completion-r1 eutils gnome2-utils multilib python-single-r1 vala virtualx |
60 |
|
61 |
DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
62 |
HOMEPAGE="http://code.google.com/p/ibus/" |
63 |
SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz" |
64 |
|
65 |
LICENSE="LGPL-2.1" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
68 |
IUSE="dconf deprecated +gconf gtk +gtk3 +introspection nls +python test vala wayland +X" |
69 |
REQUIRED_USE="|| ( gtk gtk3 X ) |
70 |
deprecated? ( python ) |
71 |
python? ( |
72 |
${PYTHON_REQUIRED_USE} |
73 |
|| ( deprecated ( gtk3 introspection ) ) )" #342903 |
74 |
|
75 |
COMMON_DEPEND=" |
76 |
>=dev-libs/glib-2.26:2 |
77 |
gnome-base/librsvg:2 |
78 |
sys-apps/dbus[X?] |
79 |
app-text/iso-codes |
80 |
|
81 |
dconf? ( >=gnome-base/dconf-0.13.4 ) |
82 |
gconf? ( >=gnome-base/gconf-2.12:2 ) |
83 |
gtk? ( x11-libs/gtk+:2 ) |
84 |
gtk3? ( x11-libs/gtk+:3 ) |
85 |
python? ( ${PYTHON_DEPS} ) |
86 |
X? ( |
87 |
x11-libs/libX11 |
88 |
x11-libs/gtk+:2 ) |
89 |
introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
90 |
nls? ( virtual/libintl ) |
91 |
wayland? ( dev-libs/wayland )" |
92 |
RDEPEND="${COMMON_DEPEND} |
93 |
x11-apps/setxkbmap |
94 |
python? ( |
95 |
dev-python/pyxdg |
96 |
deprecated? ( |
97 |
>=dev-python/dbus-python-0.83 |
98 |
dev-python/pygobject:2 |
99 |
dev-python/pygtk:2 ) |
100 |
gtk3? ( |
101 |
dev-python/pygobject:3 |
102 |
x11-libs/gdk-pixbuf:2[introspection] |
103 |
x11-libs/pango[introspection] |
104 |
x11-libs/gtk+:3[introspection] ) |
105 |
)" |
106 |
DEPEND="${COMMON_DEPEND} |
107 |
>=dev-lang/perl-5.8.1 |
108 |
dev-util/gtk-doc-am |
109 |
dev-util/intltool |
110 |
virtual/pkgconfig |
111 |
nls? ( >=sys-devel/gettext-0.16.1 ) |
112 |
vala? ( $(vala_depend) ) |
113 |
gnome-base/gconf" |
114 |
|
115 |
# stress test in bus/ fails |
116 |
# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
117 |
RESTRICT="test" |
118 |
|
119 |
DOCS="AUTHORS ChangeLog NEWS README" |
120 |
|
121 |
pkg_setup() { |
122 |
use python && python-single-r1_pkg_setup |
123 |
} |
124 |
|
125 |
src_prepare() { |
126 |
# We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
127 |
sed -e 's/dconf update/$(NULL)/' \ |
128 |
-i data/dconf/Makefile.{am,in} || die |
129 |
use vala && vala_src_prepare |
130 |
cp "${S}"/client/gtk2/ibusimcontext.c "${S}"/client/gtk3/ibusimcontext.c || die |
131 |
} |
132 |
|
133 |
src_configure() { |
134 |
local python_conf |
135 |
if use python; then |
136 |
python_conf="PYTHON=${PYTHON} |
137 |
$(use_enable deprecated python-library) |
138 |
$(use_enable gtk3 setup)" |
139 |
else |
140 |
python_conf="--disable-python-library --disable-setup" |
141 |
fi |
142 |
econf \ |
143 |
$(use_enable dconf) \ |
144 |
$(use_enable introspection) \ |
145 |
$(use_enable gconf) \ |
146 |
$(use_enable gtk gtk2) \ |
147 |
$(use_enable gtk xim) \ |
148 |
$(use_enable gtk3) \ |
149 |
$(use_enable gtk3 ui) \ |
150 |
$(use_enable nls) \ |
151 |
$(use_enable test tests) \ |
152 |
$(use_enable X xim) \ |
153 |
$(use_enable vala) \ |
154 |
$(use_enable wayland) \ |
155 |
${python_conf} |
156 |
} |
157 |
|
158 |
src_test() { |
159 |
unset DBUS_SESSION_BUS_ADDRESS |
160 |
Xemake check || die |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
default |
165 |
|
166 |
prune_libtool_files --all |
167 |
|
168 |
mv "${ED}"/usr/share/bash-completion/completions/ibus.bash ${T} |
169 |
rm -rf "${ED}"/usr/share/bash-completion || die |
170 |
newbashcomp "${T}"/ibus.bash ${PN} |
171 |
insinto /etc/X11/xinit/xinput.d |
172 |
newins xinput-ibus ibus.conf |
173 |
|
174 |
keepdir /usr/share/ibus/{engine,icons} #289547 |
175 |
|
176 |
use deprecated && python_optimize |
177 |
use python && use gtk3 && python_optimize |
178 |
} |
179 |
|
180 |
pkg_preinst() { |
181 |
use gconf && gnome2_gconf_savelist |
182 |
gnome2_icon_savelist |
183 |
} |
184 |
|
185 |
pkg_postinst() { |
186 |
if use dconf; then |
187 |
ebegin "Updating dconf system databases" |
188 |
dconf update |
189 |
eend $? |
190 |
fi |
191 |
use gconf && gnome2_gconf_install |
192 |
use gtk && gnome2_query_immodules_gtk2 |
193 |
use gtk3 && gnome2_query_immodules_gtk3 |
194 |
gnome2_icon_cache_update |
195 |
|
196 |
elog "To use ibus, you should:" |
197 |
elog "1. Get input engines from sunrise overlay." |
198 |
elog " Run \"emerge -s ibus-\" in your favorite terminal" |
199 |
elog " for a list of packages we already have." |
200 |
elog |
201 |
elog "2. Setup ibus:" |
202 |
elog |
203 |
elog " $ ibus-setup" |
204 |
elog |
205 |
elog "3. Set the following in your user startup scripts" |
206 |
elog " such as .xinitrc, .xsession or .xprofile:" |
207 |
elog |
208 |
elog " export XMODIFIERS=\"@im=ibus\"" |
209 |
elog " export GTK_IM_MODULE=\"ibus\"" |
210 |
elog " export QT_IM_MODULE=\"xim\"" |
211 |
elog " ibus-daemon -d -x" |
212 |
} |
213 |
|
214 |
pkg_postrm() { |
215 |
if use dconf; then |
216 |
ebegin "Updating dconf system databases" |
217 |
dconf update |
218 |
eend $? |
219 |
fi |
220 |
use gtk && gnome2_query_immodules_gtk2 |
221 |
use gtk3 && gnome2_query_immodules_gtk3 |
222 |
gnome2_icon_cache_update |
223 |
} |