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