1 |
commit: fc2312eb82aa6d3eefae83e14e2bedde5f6a3322 |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 10 12:10:48 2017 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 10 12:11:54 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc2312eb |
7 |
|
8 |
app-i18n/ibus: drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
app-i18n/ibus/Manifest | 6 -- |
13 |
app-i18n/ibus/ibus-1.5.10.ebuild | 189 ------------------------------------- |
14 |
app-i18n/ibus/ibus-1.5.11.ebuild | 189 ------------------------------------- |
15 |
app-i18n/ibus/ibus-1.5.13.ebuild | 188 ------------------------------------ |
16 |
app-i18n/ibus/ibus-1.5.8-r1.ebuild | 173 --------------------------------- |
17 |
app-i18n/ibus/ibus-1.5.9-r1.ebuild | 189 ------------------------------------- |
18 |
6 files changed, 934 deletions(-) |
19 |
|
20 |
diff --git a/app-i18n/ibus/Manifest b/app-i18n/ibus/Manifest |
21 |
index 228c9d87414..3fe725d638f 100644 |
22 |
--- a/app-i18n/ibus/Manifest |
23 |
+++ b/app-i18n/ibus/Manifest |
24 |
@@ -1,10 +1,4 @@ |
25 |
-DIST ibus-1.5.10.tar.gz 2169299 SHA256 1d01b7806602875a1f3004f32e1000a39be01f59731d6baf36446498e26f5594 SHA512 2f7f07c20cac5f934f24c3bc99b29efe30aa5ced501ac442a9da16454cb889d946fa262b3495c1778f200c8f62a1fd8d67f47f43ae6ee214d3d392feb6e413c9 WHIRLPOOL 575d5bba84ed8afb608030260b5fbbd47bdfc4ff1368590e0c34b2fed1cf2878e71bdb7b6da286d0b0d5a27f7fcc9e2a02675a86bbc9417c1d060246b7a6acbd |
26 |
-DIST ibus-1.5.11.tar.gz 2177026 SHA256 49995a298a39a137e65c6ee77811b030850ff344b875f29d4ed088f623a546bc SHA512 7745a06a4dc9502a957bdfa7faba3e6ff857ee102f34acfbc5d1c8ca5935eaf5660ebe6d837ee7bae584818c08a1769cf8a9daa012f87d43a1f10917c04615c2 WHIRLPOOL ae724b6609323e22f6fdff767484ec1259a6e3e4465b1a539cdfaa9178920d23d062d4eb6627fd3b45416d7fa9170a5bf467d6cddd4b1e80ae568a31e851be24 |
27 |
DIST ibus-1.5.12.tar.gz 2190284 SHA256 e24da95995f4aca5b96359eaba709487dc5ad4c732e9b01b9bcf9fb34be2442c SHA512 a443bf0d1b71a52c18e7d13a0c69f38c48f6924cfb1669912880b87be1bf41bcb7d8d6252aafd6799e43d41c081fd94cf334fd836a0505c93a4e5c5b68241c81 WHIRLPOOL 82354fc5006a0abe4cb431dda90a67dc1b775f0bac521b481eaeb7acd167ba6179cad14045c5141c57618845589094613bc489357ee8bf550f131ecfb1bf8293 |
28 |
-DIST ibus-1.5.13.tar.gz 2194054 SHA256 ed73d80542dfdcca190b7958431048cd6830c2ce25c467384630b6a7e957a5f1 SHA512 bffb3cecf984ec6e383a111b4e62506390f083476f59404e2e9b90251e6e06853d7f1dc06194456ab5064b5d375820510be1ab12ebd29b966d6a7f5b8aca07ab WHIRLPOOL bf28cc0f20942e7e253b2ae49d3112acad313c15bbaf5697f8319c13c90fa17c569b5bdd2bf8d83895361ec99f06a05317ef752d4e5fa0e1de06267e1347c463 |
29 |
DIST ibus-1.5.14.tar.gz 2214350 SHA256 a42b40fe4642f36bf2a6f0b4649f54f4043812d6bfee4faca38117799a009d3c SHA512 2e86bc4e282265cfec6882fd132b36521bc2b64796e3d473668512d82ab8059c409ca1226d6b15d64ff4d46754cafa1585eddcc3aa89d58f9e9fdab0a825de0d WHIRLPOOL d2f7da33c73dded936ecf1c7f3edf1f5cdc70a8db70caec774246b1062d659fbb17495a1228cc7e126f99f52c068bc068d5ffb67d032dd6022c1f210eed0f230 |
30 |
DIST ibus-1.5.15.tar.gz 2259352 SHA256 41f7baad6f3aac0cdfaebef674a8731ae47950f140edfbeefebaeed78c93e385 SHA512 4e588acf2ca0172b365630dcfe2d9062e7583e50a44d435ec05c8e3976c6caf54c4708733f1f7dce5ef7724254469ee5c7ab3b086f0cbea18775c894863b0c3e WHIRLPOOL ba40cfe9f398963ce6122d4beabdccaa94c6ac7a7463fe3cea3dc967b19a4702996fd132372a167a02956e1340b4278c61ea19ed781203db33a4651ddd3824b1 |
31 |
DIST ibus-1.5.5.tar.gz 2063794 SHA256 02ab36af6048399fedbe8d85074b161219b89df5020932df33cf8829764f8aec SHA512 8249d6ee4918b0e0fe030af736eed2260e1376b2fdaf0d819f289e0bd880a5e3874f1fb3d097fc74b9f359822ce16f4dae52a263aa28c2e2ce7bdf671cb2fea9 WHIRLPOOL 33ba90e5cdd54ecd7a03af8c5d2c1d2e8cfc88bfc53b65e5240eb4c60d6138007b754a60e8b1e79c98ce92e299d14f1a0cce445ad40b04e862adf3919401d77d |
32 |
-DIST ibus-1.5.8.tar.gz 2120220 SHA256 cfc562ae73de753dc8cb9ae30fe117286ddd94cd109002108f2eeb47e8101a29 SHA512 428e40be7ebea57832295e76b5c4350351c6d40c5178c57c61c8d6f31e524a315184c3d533ad88592e53ae7c6cb4beed67796ad61910f99f260fc9c243b2fc98 WHIRLPOOL 2fc0059a75b3f4b253770303a8c9c8ae02947153eaf7b9c220e2e10657275293a556b068ba4cad0d27f315b7374ffaedb53b20cd13f8408a3729cfaaea869d78 |
33 |
-DIST ibus-1.5.9-upstream-patches-0.tar.xz 30380 SHA256 9efe631008cfad1d59db01a83ae093149b2c827d480705836f0bf8a29706f1e0 SHA512 98c323de9793938d8c0bd646071d0ea7860212e3ae826e97ed0e0a092ec715084529b3a3cee3def63958dd3d56357b2e33e4e3d3946cca90bec3409469cf14d4 WHIRLPOOL 0aaf7aaba36de96525f0339a16df2c435e2f2c5cc6168c9b2da25bd7003af88f6d55ca53ae692c9c611b563ddfcb48a0e19e915f8361ba51a4aac813edc45f41 |
34 |
-DIST ibus-1.5.9.tar.gz 2128459 SHA256 ad41014aa3cb961854ee0aa392a5abd7452fab2c6b77d8ff2d736b7405b48ac6 SHA512 8a21303abceb38f1e5903342590c229a243db1497503fa08d547e1029bc25b90a2031f0386e57ddfcb897a14819d202289fcac1e3c8bad059698b04501a7ede9 WHIRLPOOL 88135818669cb3c189ce02a7caba3ec262bd95ffa6d139e8f76113ca91fc778f5f7703cfbfb1f5d5dd3cbb6948ba14d9c326f318b0286381caec45db3b453221 |
35 |
|
36 |
diff --git a/app-i18n/ibus/ibus-1.5.10.ebuild b/app-i18n/ibus/ibus-1.5.10.ebuild |
37 |
deleted file mode 100644 |
38 |
index d51a6d44031..00000000000 |
39 |
--- a/app-i18n/ibus/ibus-1.5.10.ebuild |
40 |
+++ /dev/null |
41 |
@@ -1,189 +0,0 @@ |
42 |
-# Copyright 1999-2015 Gentoo Foundation |
43 |
-# Distributed under the terms of the GNU General Public License v2 |
44 |
- |
45 |
-EAPI=5 |
46 |
- |
47 |
-PYTHON_COMPAT=( python2_7 ) |
48 |
-VALA_MIN_API_VERSION="0.20" |
49 |
-VALA_USE_DEPEND="vapigen" |
50 |
-# Vapigen is needed for the vala binding |
51 |
-# Valac is needed when building from git for the engine |
52 |
-UPSTREAM_VER= |
53 |
- |
54 |
-inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx |
55 |
- |
56 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
57 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
58 |
- |
59 |
-LICENSE="LGPL-2.1" |
60 |
-SLOT="0" |
61 |
-KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" |
62 |
-IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X" |
63 |
-REQUIRED_USE=" |
64 |
- || ( gtk gtk3 X ) |
65 |
- deprecated? ( python ) |
66 |
- vala? ( introspection ) |
67 |
- python? ( |
68 |
- ${PYTHON_REQUIRED_USE} |
69 |
- || ( deprecated ( gtk3 introspection ) ) )" #342903 |
70 |
- |
71 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
72 |
- UPSTRAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
73 |
- |
74 |
-SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz |
75 |
- ${UPSTRAM_PATCHSET_URI}" |
76 |
- |
77 |
-COMMON_DEPEND=" |
78 |
- >=dev-libs/glib-2.26:2 |
79 |
- gnome-base/librsvg:2 |
80 |
- sys-apps/dbus[X?] |
81 |
- app-text/iso-codes |
82 |
- >=gnome-base/dconf-0.13.4 |
83 |
- x11-libs/libnotify |
84 |
- gconf? ( >=gnome-base/gconf-2.12:2 ) |
85 |
- gtk? ( x11-libs/gtk+:2 ) |
86 |
- gtk3? ( x11-libs/gtk+:3 ) |
87 |
- python? ( ${PYTHON_DEPS} ) |
88 |
- X? ( |
89 |
- x11-libs/libX11 |
90 |
- x11-libs/gtk+:2 ) |
91 |
- introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
92 |
- nls? ( virtual/libintl ) |
93 |
- wayland? ( dev-libs/wayland )" |
94 |
-RDEPEND="${COMMON_DEPEND} |
95 |
- x11-apps/setxkbmap |
96 |
- python? ( |
97 |
- dev-python/pyxdg |
98 |
- deprecated? ( |
99 |
- >=dev-python/dbus-python-0.83 |
100 |
- dev-python/pygobject:2 |
101 |
- dev-python/pygtk:2 ) |
102 |
- gtk3? ( |
103 |
- dev-python/pygobject:3 |
104 |
- x11-libs/gdk-pixbuf:2[introspection] |
105 |
- x11-libs/pango[introspection] |
106 |
- x11-libs/gtk+:3[introspection] ) |
107 |
- )" |
108 |
-DEPEND="${COMMON_DEPEND} |
109 |
- >=dev-lang/perl-5.8.1 |
110 |
- dev-util/gtk-doc-am |
111 |
- dev-util/intltool |
112 |
- virtual/pkgconfig |
113 |
- nls? ( >=sys-devel/gettext-0.16.1 ) |
114 |
- vala? ( $(vala_depend) )" |
115 |
- |
116 |
-# stress test in bus/ fails |
117 |
-# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
118 |
-RESTRICT="test" |
119 |
- |
120 |
-DOCS="AUTHORS ChangeLog NEWS README" |
121 |
- |
122 |
-DISABLE_AUTOFORMATTING="yes" |
123 |
-DOC_CONTENTS="To use ibus, you should: |
124 |
-1. Get input engines from sunrise overlay. |
125 |
-Run \"emerge -s ibus-\" in your favorite terminal |
126 |
-for a list of packages we already have. |
127 |
- |
128 |
-2. Setup ibus: |
129 |
-$ ibus-setup |
130 |
- |
131 |
-3. Set the following in your user startup scripts |
132 |
-such as .xinitrc, .xsession or .xprofile: |
133 |
- |
134 |
-export XMODIFIERS=\"@im=ibus\" |
135 |
-export GTK_IM_MODULE=\"ibus\" |
136 |
-export QT_IM_MODULE=\"xim\" |
137 |
-ibus-daemon -d -x |
138 |
-" |
139 |
- |
140 |
-pkg_setup() { |
141 |
- use python && python-single-r1_pkg_setup |
142 |
-} |
143 |
- |
144 |
-src_prepare() { |
145 |
- # Upstream's patchset |
146 |
- if [[ -n ${UPSTREAM_VER} ]]; then |
147 |
- EPATCH_SUFFIX="patch" \ |
148 |
- EPATCH_FORCE="yes" \ |
149 |
- EPATCH_OPTS="-p1" \ |
150 |
- epatch "${WORKDIR}"/patches-upstream |
151 |
- fi |
152 |
- |
153 |
- # We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
154 |
- sed -e 's/dconf update/:/' \ |
155 |
- -i data/dconf/Makefile.{am,in} || die |
156 |
- use vala && vala_src_prepare |
157 |
- |
158 |
- eautoreconf |
159 |
-} |
160 |
- |
161 |
-src_configure() { |
162 |
- local python_conf |
163 |
- if use python; then |
164 |
- python_conf="PYTHON=${PYTHON} |
165 |
- $(use_enable deprecated python-library) |
166 |
- $(use_enable gtk3 setup)" |
167 |
- else |
168 |
- python_conf="--disable-python-library --disable-setup" |
169 |
- fi |
170 |
- econf \ |
171 |
- --enable-dconf \ |
172 |
- $(use_enable introspection) \ |
173 |
- $(use_enable gconf) \ |
174 |
- $(use_enable gtk gtk2) \ |
175 |
- $(use_enable gtk xim) \ |
176 |
- $(use_enable gtk3) \ |
177 |
- $(use_enable gtk3 ui) \ |
178 |
- $(use_enable nls) \ |
179 |
- $(use_enable test tests) \ |
180 |
- $(use_enable X xim) \ |
181 |
- $(use_enable vala) \ |
182 |
- $(use_enable wayland) \ |
183 |
- ${python_conf} |
184 |
-} |
185 |
- |
186 |
-src_test() { |
187 |
- unset DBUS_SESSION_BUS_ADDRESS |
188 |
- Xemake check || die |
189 |
-} |
190 |
- |
191 |
-src_install() { |
192 |
- default |
193 |
- |
194 |
- prune_libtool_files --all |
195 |
- |
196 |
- mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}" |
197 |
- rm -rf "${ED}"/usr/share/bash-completion || die |
198 |
- newbashcomp "${T}"/ibus.bash ${PN} |
199 |
- insinto /etc/X11/xinit/xinput.d |
200 |
- newins xinput-ibus ibus.conf |
201 |
- |
202 |
- keepdir /usr/share/ibus/{engine,icons} #289547 |
203 |
- |
204 |
- use deprecated && python_optimize |
205 |
- use python && use gtk3 && python_optimize |
206 |
- |
207 |
- readme.gentoo_create_doc |
208 |
-} |
209 |
- |
210 |
-pkg_preinst() { |
211 |
- use gconf && gnome2_gconf_savelist |
212 |
- gnome2_schemas_savelist |
213 |
- gnome2_icon_savelist |
214 |
-} |
215 |
- |
216 |
-pkg_postinst() { |
217 |
- use gconf && gnome2_gconf_install |
218 |
- use gtk && gnome2_query_immodules_gtk2 |
219 |
- use gtk3 && gnome2_query_immodules_gtk3 |
220 |
- gnome2_schemas_update |
221 |
- gnome2_icon_cache_update |
222 |
- readme.gentoo_print_elog |
223 |
-} |
224 |
- |
225 |
-pkg_postrm() { |
226 |
- use gtk && gnome2_query_immodules_gtk2 |
227 |
- use gtk3 && gnome2_query_immodules_gtk3 |
228 |
- use gconf && gnome2_schemas_update |
229 |
- gnome2_icon_cache_update |
230 |
-} |
231 |
|
232 |
diff --git a/app-i18n/ibus/ibus-1.5.11.ebuild b/app-i18n/ibus/ibus-1.5.11.ebuild |
233 |
deleted file mode 100644 |
234 |
index a1cea6b4d9f..00000000000 |
235 |
--- a/app-i18n/ibus/ibus-1.5.11.ebuild |
236 |
+++ /dev/null |
237 |
@@ -1,189 +0,0 @@ |
238 |
-# Copyright 1999-2015 Gentoo Foundation |
239 |
-# Distributed under the terms of the GNU General Public License v2 |
240 |
- |
241 |
-EAPI=5 |
242 |
- |
243 |
-PYTHON_COMPAT=( python2_7 ) |
244 |
-VALA_MIN_API_VERSION="0.20" |
245 |
-VALA_USE_DEPEND="vapigen" |
246 |
-# Vapigen is needed for the vala binding |
247 |
-# Valac is needed when building from git for the engine |
248 |
-UPSTREAM_VER= |
249 |
- |
250 |
-inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx |
251 |
- |
252 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
253 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
254 |
- |
255 |
-LICENSE="LGPL-2.1" |
256 |
-SLOT="0" |
257 |
-KEYWORDS="~alpha amd64 arm ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" |
258 |
-IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X" |
259 |
-REQUIRED_USE=" |
260 |
- || ( gtk gtk3 X ) |
261 |
- deprecated? ( python ) |
262 |
- vala? ( introspection ) |
263 |
- python? ( |
264 |
- ${PYTHON_REQUIRED_USE} |
265 |
- || ( deprecated ( gtk3 introspection ) ) )" #342903 |
266 |
- |
267 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
268 |
- UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
269 |
- |
270 |
-SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz |
271 |
- ${UPSTRAM_PATCHSET_URI}" |
272 |
- |
273 |
-COMMON_DEPEND=" |
274 |
- >=dev-libs/glib-2.26:2 |
275 |
- gnome-base/librsvg:2 |
276 |
- sys-apps/dbus[X?] |
277 |
- app-text/iso-codes |
278 |
- >=gnome-base/dconf-0.13.4 |
279 |
- x11-libs/libnotify |
280 |
- gconf? ( >=gnome-base/gconf-2.12:2 ) |
281 |
- gtk? ( x11-libs/gtk+:2 ) |
282 |
- gtk3? ( x11-libs/gtk+:3 ) |
283 |
- python? ( ${PYTHON_DEPS} ) |
284 |
- X? ( |
285 |
- x11-libs/libX11 |
286 |
- x11-libs/gtk+:2 ) |
287 |
- introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
288 |
- nls? ( virtual/libintl ) |
289 |
- wayland? ( dev-libs/wayland )" |
290 |
-RDEPEND="${COMMON_DEPEND} |
291 |
- x11-apps/setxkbmap |
292 |
- python? ( |
293 |
- dev-python/pyxdg |
294 |
- deprecated? ( |
295 |
- >=dev-python/dbus-python-0.83 |
296 |
- dev-python/pygobject:2 |
297 |
- dev-python/pygtk:2 ) |
298 |
- gtk3? ( |
299 |
- dev-python/pygobject:3 |
300 |
- x11-libs/gdk-pixbuf:2[introspection] |
301 |
- x11-libs/pango[introspection] |
302 |
- x11-libs/gtk+:3[introspection] ) |
303 |
- )" |
304 |
-DEPEND="${COMMON_DEPEND} |
305 |
- >=dev-lang/perl-5.8.1 |
306 |
- dev-util/gtk-doc-am |
307 |
- dev-util/intltool |
308 |
- virtual/pkgconfig |
309 |
- nls? ( >=sys-devel/gettext-0.16.1 ) |
310 |
- vala? ( $(vala_depend) )" |
311 |
- |
312 |
-# stress test in bus/ fails |
313 |
-# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
314 |
-RESTRICT="test" |
315 |
- |
316 |
-DOCS="AUTHORS ChangeLog NEWS README" |
317 |
- |
318 |
-DISABLE_AUTOFORMATTING="yes" |
319 |
-DOC_CONTENTS="To use ibus, you should: |
320 |
-1. Get input engines from sunrise overlay. |
321 |
-Run \"emerge -s ibus-\" in your favorite terminal |
322 |
-for a list of packages we already have. |
323 |
- |
324 |
-2. Setup ibus: |
325 |
-$ ibus-setup |
326 |
- |
327 |
-3. Set the following in your user startup scripts |
328 |
-such as .xinitrc, .xsession or .xprofile: |
329 |
- |
330 |
-export XMODIFIERS=\"@im=ibus\" |
331 |
-export GTK_IM_MODULE=\"ibus\" |
332 |
-export QT_IM_MODULE=\"xim\" |
333 |
-ibus-daemon -d -x |
334 |
-" |
335 |
- |
336 |
-pkg_setup() { |
337 |
- use python && python-single-r1_pkg_setup |
338 |
-} |
339 |
- |
340 |
-src_prepare() { |
341 |
- # Upstream's patchset |
342 |
- if [[ -n ${UPSTREAM_VER} ]]; then |
343 |
- EPATCH_SUFFIX="patch" \ |
344 |
- EPATCH_FORCE="yes" \ |
345 |
- EPATCH_OPTS="-p1" \ |
346 |
- epatch "${WORKDIR}"/patches-upstream |
347 |
- fi |
348 |
- |
349 |
- # We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
350 |
- sed -e 's/dconf update/:/' \ |
351 |
- -i data/dconf/Makefile.{am,in} || die |
352 |
- use vala && vala_src_prepare |
353 |
- |
354 |
- eautoreconf |
355 |
-} |
356 |
- |
357 |
-src_configure() { |
358 |
- local python_conf |
359 |
- if use python; then |
360 |
- python_conf="PYTHON=${PYTHON} |
361 |
- $(use_enable deprecated python-library) |
362 |
- $(use_enable gtk3 setup)" |
363 |
- else |
364 |
- python_conf="--disable-python-library --disable-setup" |
365 |
- fi |
366 |
- econf \ |
367 |
- --enable-dconf \ |
368 |
- $(use_enable introspection) \ |
369 |
- $(use_enable gconf) \ |
370 |
- $(use_enable gtk gtk2) \ |
371 |
- $(use_enable gtk xim) \ |
372 |
- $(use_enable gtk3) \ |
373 |
- $(use_enable gtk3 ui) \ |
374 |
- $(use_enable nls) \ |
375 |
- $(use_enable test tests) \ |
376 |
- $(use_enable X xim) \ |
377 |
- $(use_enable vala) \ |
378 |
- $(use_enable wayland) \ |
379 |
- ${python_conf} |
380 |
-} |
381 |
- |
382 |
-src_test() { |
383 |
- unset DBUS_SESSION_BUS_ADDRESS |
384 |
- Xemake check || die |
385 |
-} |
386 |
- |
387 |
-src_install() { |
388 |
- default |
389 |
- |
390 |
- prune_libtool_files --all |
391 |
- |
392 |
- mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}" |
393 |
- rm -rf "${ED}"/usr/share/bash-completion || die |
394 |
- newbashcomp "${T}"/ibus.bash ${PN} |
395 |
- insinto /etc/X11/xinit/xinput.d |
396 |
- newins xinput-ibus ibus.conf |
397 |
- |
398 |
- keepdir /usr/share/ibus/{engine,icons} #289547 |
399 |
- |
400 |
- use deprecated && python_optimize |
401 |
- use python && use gtk3 && python_optimize |
402 |
- |
403 |
- readme.gentoo_create_doc |
404 |
-} |
405 |
- |
406 |
-pkg_preinst() { |
407 |
- use gconf && gnome2_gconf_savelist |
408 |
- gnome2_schemas_savelist |
409 |
- gnome2_icon_savelist |
410 |
-} |
411 |
- |
412 |
-pkg_postinst() { |
413 |
- use gconf && gnome2_gconf_install |
414 |
- use gtk && gnome2_query_immodules_gtk2 |
415 |
- use gtk3 && gnome2_query_immodules_gtk3 |
416 |
- gnome2_schemas_update |
417 |
- gnome2_icon_cache_update |
418 |
- readme.gentoo_print_elog |
419 |
-} |
420 |
- |
421 |
-pkg_postrm() { |
422 |
- use gtk && gnome2_query_immodules_gtk2 |
423 |
- use gtk3 && gnome2_query_immodules_gtk3 |
424 |
- use gconf && gnome2_schemas_update |
425 |
- gnome2_icon_cache_update |
426 |
-} |
427 |
|
428 |
diff --git a/app-i18n/ibus/ibus-1.5.13.ebuild b/app-i18n/ibus/ibus-1.5.13.ebuild |
429 |
deleted file mode 100644 |
430 |
index 0310a653b44..00000000000 |
431 |
--- a/app-i18n/ibus/ibus-1.5.13.ebuild |
432 |
+++ /dev/null |
433 |
@@ -1,188 +0,0 @@ |
434 |
-# Copyright 1999-2016 Gentoo Foundation |
435 |
-# Distributed under the terms of the GNU General Public License v2 |
436 |
- |
437 |
-EAPI=5 |
438 |
- |
439 |
-PYTHON_COMPAT=( python2_7 ) |
440 |
-VALA_USE_DEPEND="vapigen" |
441 |
-# Vapigen is needed for the vala binding |
442 |
-# Valac is needed when building from git for the engine |
443 |
-UPSTREAM_VER= |
444 |
- |
445 |
-inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo-r1 vala virtualx |
446 |
- |
447 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
448 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
449 |
- |
450 |
-LICENSE="LGPL-2.1" |
451 |
-SLOT="0" |
452 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
453 |
-IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X" |
454 |
-REQUIRED_USE=" |
455 |
- || ( gtk gtk3 X ) |
456 |
- deprecated? ( python ) |
457 |
- vala? ( introspection ) |
458 |
- python? ( |
459 |
- ${PYTHON_REQUIRED_USE} |
460 |
- || ( deprecated ( gtk3 introspection ) ) )" #342903 |
461 |
- |
462 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
463 |
- UPSTRAM_PATCHSET_URI="http://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
464 |
- |
465 |
-SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz |
466 |
- ${UPSTRAM_PATCHSET_URI}" |
467 |
- |
468 |
-COMMON_DEPEND=" |
469 |
- >=dev-libs/glib-2.26:2 |
470 |
- gnome-base/librsvg:2 |
471 |
- sys-apps/dbus[X?] |
472 |
- app-text/iso-codes |
473 |
- >=gnome-base/dconf-0.13.4 |
474 |
- x11-libs/libnotify |
475 |
- gconf? ( >=gnome-base/gconf-2.12:2 ) |
476 |
- gtk? ( x11-libs/gtk+:2 ) |
477 |
- gtk3? ( x11-libs/gtk+:3 ) |
478 |
- python? ( ${PYTHON_DEPS} ) |
479 |
- X? ( |
480 |
- x11-libs/libX11 |
481 |
- x11-libs/gtk+:2 ) |
482 |
- introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
483 |
- nls? ( virtual/libintl ) |
484 |
- wayland? ( dev-libs/wayland )" |
485 |
-RDEPEND="${COMMON_DEPEND} |
486 |
- x11-apps/setxkbmap |
487 |
- python? ( |
488 |
- dev-python/pyxdg |
489 |
- deprecated? ( |
490 |
- >=dev-python/dbus-python-0.83 |
491 |
- dev-python/pygobject:2 |
492 |
- dev-python/pygtk:2 ) |
493 |
- gtk3? ( |
494 |
- dev-python/pygobject:3 |
495 |
- x11-libs/gdk-pixbuf:2[introspection] |
496 |
- x11-libs/pango[introspection] |
497 |
- x11-libs/gtk+:3[introspection] ) |
498 |
- )" |
499 |
-DEPEND="${COMMON_DEPEND} |
500 |
- >=dev-lang/perl-5.8.1 |
501 |
- dev-util/gtk-doc-am |
502 |
- dev-util/intltool |
503 |
- virtual/pkgconfig |
504 |
- nls? ( >=sys-devel/gettext-0.16.1 ) |
505 |
- vala? ( $(vala_depend) )" |
506 |
- |
507 |
-# stress test in bus/ fails |
508 |
-# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
509 |
-RESTRICT="test" |
510 |
- |
511 |
-DOCS="AUTHORS ChangeLog NEWS README" |
512 |
- |
513 |
-DISABLE_AUTOFORMATTING="yes" |
514 |
-DOC_CONTENTS="To use ibus, you should: |
515 |
-1. Get input engines from sunrise overlay. |
516 |
-Run \"emerge -s ibus-\" in your favorite terminal |
517 |
-for a list of packages we already have. |
518 |
- |
519 |
-2. Setup ibus: |
520 |
-$ ibus-setup |
521 |
- |
522 |
-3. Set the following in your user startup scripts |
523 |
-such as .xinitrc, .xsession or .xprofile: |
524 |
- |
525 |
-export XMODIFIERS=\"@im=ibus\" |
526 |
-export GTK_IM_MODULE=\"ibus\" |
527 |
-export QT_IM_MODULE=\"xim\" |
528 |
-ibus-daemon -d -x |
529 |
-" |
530 |
- |
531 |
-pkg_setup() { |
532 |
- use python && python-single-r1_pkg_setup |
533 |
-} |
534 |
- |
535 |
-src_prepare() { |
536 |
- # Upstream's patchset |
537 |
- if [[ -n ${UPSTREAM_VER} ]]; then |
538 |
- EPATCH_SUFFIX="patch" \ |
539 |
- EPATCH_FORCE="yes" \ |
540 |
- EPATCH_OPTS="-p1" \ |
541 |
- epatch "${WORKDIR}"/patches-upstream |
542 |
- fi |
543 |
- |
544 |
- # We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
545 |
- sed -e 's/dconf update/:/' \ |
546 |
- -i data/dconf/Makefile.{am,in} || die |
547 |
- use vala && vala_src_prepare |
548 |
- |
549 |
- eautoreconf |
550 |
-} |
551 |
- |
552 |
-src_configure() { |
553 |
- local python_conf |
554 |
- if use python; then |
555 |
- python_conf="PYTHON=${PYTHON} |
556 |
- $(use_enable deprecated python-library) |
557 |
- $(use_enable gtk3 setup)" |
558 |
- else |
559 |
- python_conf="--disable-python-library --disable-setup" |
560 |
- fi |
561 |
- econf \ |
562 |
- --enable-dconf \ |
563 |
- $(use_enable introspection) \ |
564 |
- $(use_enable gconf) \ |
565 |
- $(use_enable gtk gtk2) \ |
566 |
- $(use_enable gtk xim) \ |
567 |
- $(use_enable gtk3) \ |
568 |
- $(use_enable gtk3 ui) \ |
569 |
- $(use_enable nls) \ |
570 |
- $(use_enable test tests) \ |
571 |
- $(use_enable X xim) \ |
572 |
- $(use_enable vala) \ |
573 |
- $(use_enable wayland) \ |
574 |
- ${python_conf} |
575 |
-} |
576 |
- |
577 |
-src_test() { |
578 |
- unset DBUS_SESSION_BUS_ADDRESS |
579 |
- Xemake check || die |
580 |
-} |
581 |
- |
582 |
-src_install() { |
583 |
- default |
584 |
- |
585 |
- prune_libtool_files --all |
586 |
- |
587 |
- mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}" |
588 |
- rm -rf "${ED}"/usr/share/bash-completion || die |
589 |
- newbashcomp "${T}"/ibus.bash ${PN} |
590 |
- insinto /etc/X11/xinit/xinput.d |
591 |
- newins xinput-ibus ibus.conf |
592 |
- |
593 |
- keepdir /usr/share/ibus/{engine,icons} #289547 |
594 |
- |
595 |
- use deprecated && python_optimize |
596 |
- use python && use gtk3 && python_optimize |
597 |
- |
598 |
- readme.gentoo_create_doc |
599 |
-} |
600 |
- |
601 |
-pkg_preinst() { |
602 |
- use gconf && gnome2_gconf_savelist |
603 |
- gnome2_schemas_savelist |
604 |
- gnome2_icon_savelist |
605 |
-} |
606 |
- |
607 |
-pkg_postinst() { |
608 |
- use gconf && gnome2_gconf_install |
609 |
- use gtk && gnome2_query_immodules_gtk2 |
610 |
- use gtk3 && gnome2_query_immodules_gtk3 |
611 |
- gnome2_schemas_update |
612 |
- gnome2_icon_cache_update |
613 |
- readme.gentoo_print_elog |
614 |
-} |
615 |
- |
616 |
-pkg_postrm() { |
617 |
- use gtk && gnome2_query_immodules_gtk2 |
618 |
- use gtk3 && gnome2_query_immodules_gtk3 |
619 |
- use gconf && gnome2_schemas_update |
620 |
- gnome2_icon_cache_update |
621 |
-} |
622 |
|
623 |
diff --git a/app-i18n/ibus/ibus-1.5.8-r1.ebuild b/app-i18n/ibus/ibus-1.5.8-r1.ebuild |
624 |
deleted file mode 100644 |
625 |
index b641c88de64..00000000000 |
626 |
--- a/app-i18n/ibus/ibus-1.5.8-r1.ebuild |
627 |
+++ /dev/null |
628 |
@@ -1,173 +0,0 @@ |
629 |
-# Copyright 1999-2016 Gentoo Foundation |
630 |
-# Distributed under the terms of the GNU General Public License v2 |
631 |
- |
632 |
-EAPI=5 |
633 |
- |
634 |
-PYTHON_COMPAT=( python2_7 ) |
635 |
-VALA_MIN_API_VERSION="0.20" |
636 |
-VALA_USE_DEPEND="vapigen" |
637 |
-# Vapigen is needed for the vala binding |
638 |
-# Valac is needed when building from git for the engine |
639 |
- |
640 |
-inherit bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx |
641 |
- |
642 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
643 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
644 |
-SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz" |
645 |
- |
646 |
-LICENSE="LGPL-2.1" |
647 |
-SLOT="0" |
648 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
649 |
-IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test vala wayland +X" |
650 |
-REQUIRED_USE="|| ( gtk gtk3 X ) |
651 |
- deprecated? ( python ) |
652 |
- python? ( |
653 |
- ${PYTHON_REQUIRED_USE} |
654 |
- || ( deprecated ( gtk3 introspection ) ) )" #342903 |
655 |
- |
656 |
-COMMON_DEPEND=" |
657 |
- >=dev-libs/glib-2.26:2 |
658 |
- gnome-base/librsvg:2 |
659 |
- sys-apps/dbus[X?] |
660 |
- app-text/iso-codes |
661 |
- >=gnome-base/dconf-0.13.4 |
662 |
- x11-libs/libnotify |
663 |
- |
664 |
- gconf? ( >=gnome-base/gconf-2.12:2 ) |
665 |
- gtk? ( x11-libs/gtk+:2 ) |
666 |
- gtk3? ( x11-libs/gtk+:3 ) |
667 |
- python? ( ${PYTHON_DEPS} ) |
668 |
- X? ( |
669 |
- x11-libs/libX11 |
670 |
- x11-libs/gtk+:2 ) |
671 |
- introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
672 |
- nls? ( virtual/libintl ) |
673 |
- wayland? ( dev-libs/wayland )" |
674 |
-RDEPEND="${COMMON_DEPEND} |
675 |
- x11-apps/setxkbmap |
676 |
- python? ( |
677 |
- dev-python/pyxdg |
678 |
- deprecated? ( |
679 |
- >=dev-python/dbus-python-0.83 |
680 |
- dev-python/pygobject:2 |
681 |
- dev-python/pygtk:2 ) |
682 |
- gtk3? ( |
683 |
- dev-python/pygobject:3 |
684 |
- x11-libs/gdk-pixbuf:2[introspection] |
685 |
- x11-libs/pango[introspection] |
686 |
- x11-libs/gtk+:3[introspection] ) |
687 |
- )" |
688 |
-DEPEND="${COMMON_DEPEND} |
689 |
- >=dev-lang/perl-5.8.1 |
690 |
- dev-util/gtk-doc-am |
691 |
- dev-util/intltool |
692 |
- virtual/pkgconfig |
693 |
- nls? ( >=sys-devel/gettext-0.16.1 ) |
694 |
- vala? ( $(vala_depend) ) |
695 |
- gnome-base/gconf" |
696 |
- |
697 |
-# stress test in bus/ fails |
698 |
-# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
699 |
-RESTRICT="test" |
700 |
- |
701 |
-DOCS="AUTHORS ChangeLog NEWS README" |
702 |
- |
703 |
-DISABLE_AUTOFORMATTING="yes" |
704 |
-DOC_CONTENTS="To use ibus, you should: |
705 |
-1. Get input engines from sunrise overlay. |
706 |
-Run \"emerge -s ibus-\" in your favorite terminal |
707 |
-for a list of packages we already have. |
708 |
- |
709 |
-2. Setup ibus: |
710 |
-$ ibus-setup |
711 |
- |
712 |
-3. Set the following in your user startup scripts |
713 |
-such as .xinitrc, .xsession or .xprofile: |
714 |
- |
715 |
-export XMODIFIERS=\"@im=ibus\" |
716 |
-export GTK_IM_MODULE=\"ibus\" |
717 |
-export QT_IM_MODULE=\"xim\" |
718 |
-ibus-daemon -d -x |
719 |
-" |
720 |
- |
721 |
-pkg_setup() { |
722 |
- use python && python-single-r1_pkg_setup |
723 |
-} |
724 |
- |
725 |
-src_prepare() { |
726 |
- # We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
727 |
- sed -e 's/dconf update/:/' \ |
728 |
- -i data/dconf/Makefile.{am,in} || die |
729 |
- use vala && vala_src_prepare |
730 |
-} |
731 |
- |
732 |
-src_configure() { |
733 |
- local python_conf |
734 |
- if use python; then |
735 |
- python_conf="PYTHON=${PYTHON} |
736 |
- $(use_enable deprecated python-library) |
737 |
- $(use_enable gtk3 setup)" |
738 |
- else |
739 |
- python_conf="--disable-python-library --disable-setup" |
740 |
- fi |
741 |
- econf \ |
742 |
- --enable-dconf \ |
743 |
- $(use_enable introspection) \ |
744 |
- $(use_enable gconf) \ |
745 |
- $(use_enable gtk gtk2) \ |
746 |
- $(use_enable gtk xim) \ |
747 |
- $(use_enable gtk3) \ |
748 |
- $(use_enable gtk3 ui) \ |
749 |
- $(use_enable nls) \ |
750 |
- $(use_enable test tests) \ |
751 |
- $(use_enable X xim) \ |
752 |
- $(use_enable vala) \ |
753 |
- $(use_enable wayland) \ |
754 |
- ${python_conf} |
755 |
-} |
756 |
- |
757 |
-src_test() { |
758 |
- unset DBUS_SESSION_BUS_ADDRESS |
759 |
- Xemake check || die |
760 |
-} |
761 |
- |
762 |
-src_install() { |
763 |
- default |
764 |
- |
765 |
- prune_libtool_files --all |
766 |
- |
767 |
- mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}" |
768 |
- rm -rf "${ED}"/usr/share/bash-completion || die |
769 |
- newbashcomp "${T}"/ibus.bash ${PN} |
770 |
- insinto /etc/X11/xinit/xinput.d |
771 |
- newins xinput-ibus ibus.conf |
772 |
- |
773 |
- keepdir /usr/share/ibus/{engine,icons} #289547 |
774 |
- |
775 |
- use deprecated && python_optimize |
776 |
- use python && use gtk3 && python_optimize |
777 |
- |
778 |
- readme.gentoo_create_doc |
779 |
-} |
780 |
- |
781 |
-pkg_preinst() { |
782 |
- use gconf && gnome2_gconf_savelist |
783 |
- gnome2_schemas_savelist |
784 |
- gnome2_icon_savelist |
785 |
-} |
786 |
- |
787 |
-pkg_postinst() { |
788 |
- use gconf && gnome2_gconf_install |
789 |
- use gtk && gnome2_query_immodules_gtk2 |
790 |
- use gtk3 && gnome2_query_immodules_gtk3 |
791 |
- gnome2_schemas_update |
792 |
- gnome2_icon_cache_update |
793 |
- readme.gentoo_print_elog |
794 |
-} |
795 |
- |
796 |
-pkg_postrm() { |
797 |
- use gtk && gnome2_query_immodules_gtk2 |
798 |
- use gtk3 && gnome2_query_immodules_gtk3 |
799 |
- use gconf && gnome2_schemas_update |
800 |
- gnome2_icon_cache_update |
801 |
-} |
802 |
|
803 |
diff --git a/app-i18n/ibus/ibus-1.5.9-r1.ebuild b/app-i18n/ibus/ibus-1.5.9-r1.ebuild |
804 |
deleted file mode 100644 |
805 |
index b21c62faf23..00000000000 |
806 |
--- a/app-i18n/ibus/ibus-1.5.9-r1.ebuild |
807 |
+++ /dev/null |
808 |
@@ -1,189 +0,0 @@ |
809 |
-# Copyright 1999-2016 Gentoo Foundation |
810 |
-# Distributed under the terms of the GNU General Public License v2 |
811 |
- |
812 |
-EAPI=5 |
813 |
- |
814 |
-PYTHON_COMPAT=( python2_7 ) |
815 |
-VALA_MIN_API_VERSION="0.20" |
816 |
-VALA_USE_DEPEND="vapigen" |
817 |
-# Vapigen is needed for the vala binding |
818 |
-# Valac is needed when building from git for the engine |
819 |
-UPSTREAM_VER=0 |
820 |
- |
821 |
-inherit autotools bash-completion-r1 eutils gnome2-utils multilib python-single-r1 readme.gentoo vala virtualx |
822 |
- |
823 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
824 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
825 |
- |
826 |
-LICENSE="LGPL-2.1" |
827 |
-SLOT="0" |
828 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
829 |
-IUSE="deprecated gconf gtk +gtk3 +introspection nls +python test +vala wayland +X" |
830 |
-REQUIRED_USE=" |
831 |
- || ( gtk gtk3 X ) |
832 |
- deprecated? ( python ) |
833 |
- vala? ( introspection ) |
834 |
- python? ( |
835 |
- ${PYTHON_REQUIRED_USE} |
836 |
- || ( deprecated ( gtk3 introspection ) ) )" #342903 |
837 |
- |
838 |
-[[ -n ${UPSTREAM_VER} ]] && \ |
839 |
- UPSTRAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" |
840 |
- |
841 |
-SRC_URI="https://github.com/ibus/ibus/releases/download/${PV}/${P}.tar.gz |
842 |
- ${UPSTRAM_PATCHSET_URI}" |
843 |
- |
844 |
-COMMON_DEPEND=" |
845 |
- >=dev-libs/glib-2.26:2 |
846 |
- gnome-base/librsvg:2 |
847 |
- sys-apps/dbus[X?] |
848 |
- app-text/iso-codes |
849 |
- >=gnome-base/dconf-0.13.4 |
850 |
- x11-libs/libnotify |
851 |
- gconf? ( >=gnome-base/gconf-2.12:2 ) |
852 |
- gtk? ( x11-libs/gtk+:2 ) |
853 |
- gtk3? ( x11-libs/gtk+:3 ) |
854 |
- python? ( ${PYTHON_DEPS} ) |
855 |
- X? ( |
856 |
- x11-libs/libX11 |
857 |
- x11-libs/gtk+:2 ) |
858 |
- introspection? ( >=dev-libs/gobject-introspection-0.6.8 ) |
859 |
- nls? ( virtual/libintl ) |
860 |
- wayland? ( dev-libs/wayland )" |
861 |
-RDEPEND="${COMMON_DEPEND} |
862 |
- x11-apps/setxkbmap |
863 |
- python? ( |
864 |
- dev-python/pyxdg |
865 |
- deprecated? ( |
866 |
- >=dev-python/dbus-python-0.83 |
867 |
- dev-python/pygobject:2 |
868 |
- dev-python/pygtk:2 ) |
869 |
- gtk3? ( |
870 |
- dev-python/pygobject:3 |
871 |
- x11-libs/gdk-pixbuf:2[introspection] |
872 |
- x11-libs/pango[introspection] |
873 |
- x11-libs/gtk+:3[introspection] ) |
874 |
- )" |
875 |
-DEPEND="${COMMON_DEPEND} |
876 |
- >=dev-lang/perl-5.8.1 |
877 |
- dev-util/gtk-doc-am |
878 |
- dev-util/intltool |
879 |
- virtual/pkgconfig |
880 |
- nls? ( >=sys-devel/gettext-0.16.1 ) |
881 |
- vala? ( $(vala_depend) )" |
882 |
- |
883 |
-# stress test in bus/ fails |
884 |
-# IBUS-CRITICAL **: bus_test_client_init: assertion `ibus_bus_is_connected (_bus)' failed |
885 |
-RESTRICT="test" |
886 |
- |
887 |
-DOCS="AUTHORS ChangeLog NEWS README" |
888 |
- |
889 |
-DISABLE_AUTOFORMATTING="yes" |
890 |
-DOC_CONTENTS="To use ibus, you should: |
891 |
-1. Get input engines from sunrise overlay. |
892 |
-Run \"emerge -s ibus-\" in your favorite terminal |
893 |
-for a list of packages we already have. |
894 |
- |
895 |
-2. Setup ibus: |
896 |
-$ ibus-setup |
897 |
- |
898 |
-3. Set the following in your user startup scripts |
899 |
-such as .xinitrc, .xsession or .xprofile: |
900 |
- |
901 |
-export XMODIFIERS=\"@im=ibus\" |
902 |
-export GTK_IM_MODULE=\"ibus\" |
903 |
-export QT_IM_MODULE=\"xim\" |
904 |
-ibus-daemon -d -x |
905 |
-" |
906 |
- |
907 |
-pkg_setup() { |
908 |
- use python && python-single-r1_pkg_setup |
909 |
-} |
910 |
- |
911 |
-src_prepare() { |
912 |
- # Upstream's patchset |
913 |
- if [[ -n ${UPSTREAM_VER} ]]; then |
914 |
- EPATCH_SUFFIX="patch" \ |
915 |
- EPATCH_FORCE="yes" \ |
916 |
- EPATCH_OPTS="-p1" \ |
917 |
- epatch "${WORKDIR}"/patches-upstream |
918 |
- fi |
919 |
- |
920 |
- # We run "dconf update" in pkg_postinst/postrm to avoid sandbox violations |
921 |
- sed -e 's/dconf update/:/' \ |
922 |
- -i data/dconf/Makefile.{am,in} || die |
923 |
- use vala && vala_src_prepare |
924 |
- |
925 |
- eautoreconf |
926 |
-} |
927 |
- |
928 |
-src_configure() { |
929 |
- local python_conf |
930 |
- if use python; then |
931 |
- python_conf="PYTHON=${PYTHON} |
932 |
- $(use_enable deprecated python-library) |
933 |
- $(use_enable gtk3 setup)" |
934 |
- else |
935 |
- python_conf="--disable-python-library --disable-setup" |
936 |
- fi |
937 |
- econf \ |
938 |
- --enable-dconf \ |
939 |
- $(use_enable introspection) \ |
940 |
- $(use_enable gconf) \ |
941 |
- $(use_enable gtk gtk2) \ |
942 |
- $(use_enable gtk xim) \ |
943 |
- $(use_enable gtk3) \ |
944 |
- $(use_enable gtk3 ui) \ |
945 |
- $(use_enable nls) \ |
946 |
- $(use_enable test tests) \ |
947 |
- $(use_enable X xim) \ |
948 |
- $(use_enable vala) \ |
949 |
- $(use_enable wayland) \ |
950 |
- ${python_conf} |
951 |
-} |
952 |
- |
953 |
-src_test() { |
954 |
- unset DBUS_SESSION_BUS_ADDRESS |
955 |
- Xemake check || die |
956 |
-} |
957 |
- |
958 |
-src_install() { |
959 |
- default |
960 |
- |
961 |
- prune_libtool_files --all |
962 |
- |
963 |
- mv "${ED}"/usr/share/bash-completion/completions/ibus.bash "${T}" |
964 |
- rm -rf "${ED}"/usr/share/bash-completion || die |
965 |
- newbashcomp "${T}"/ibus.bash ${PN} |
966 |
- insinto /etc/X11/xinit/xinput.d |
967 |
- newins xinput-ibus ibus.conf |
968 |
- |
969 |
- keepdir /usr/share/ibus/{engine,icons} #289547 |
970 |
- |
971 |
- use deprecated && python_optimize |
972 |
- use python && use gtk3 && python_optimize |
973 |
- |
974 |
- readme.gentoo_create_doc |
975 |
-} |
976 |
- |
977 |
-pkg_preinst() { |
978 |
- use gconf && gnome2_gconf_savelist |
979 |
- gnome2_schemas_savelist |
980 |
- gnome2_icon_savelist |
981 |
-} |
982 |
- |
983 |
-pkg_postinst() { |
984 |
- use gconf && gnome2_gconf_install |
985 |
- use gtk && gnome2_query_immodules_gtk2 |
986 |
- use gtk3 && gnome2_query_immodules_gtk3 |
987 |
- gnome2_schemas_update |
988 |
- gnome2_icon_cache_update |
989 |
- readme.gentoo_print_elog |
990 |
-} |
991 |
- |
992 |
-pkg_postrm() { |
993 |
- use gtk && gnome2_query_immodules_gtk2 |
994 |
- use gtk3 && gnome2_query_immodules_gtk3 |
995 |
- use gconf && gnome2_schemas_update |
996 |
- gnome2_icon_cache_update |
997 |
-} |