1 |
commit: 7c5a82a4a81990f8fbf6d208caa6552b6e473a3e |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 31 01:11:14 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 31 01:23:23 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5a82a4 |
7 |
|
8 |
app-i18n/ibus: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
12 |
|
13 |
app-i18n/ibus/Manifest | 4 - |
14 |
app-i18n/ibus/ibus-1.5.22.ebuild | 180 ------------------------------------ |
15 |
app-i18n/ibus/ibus-1.5.23.ebuild | 189 -------------------------------------- |
16 |
app-i18n/ibus/ibus-1.5.24.ebuild | 190 -------------------------------------- |
17 |
app-i18n/ibus/ibus-1.5.25.ebuild | 192 --------------------------------------- |
18 |
5 files changed, 755 deletions(-) |
19 |
|
20 |
diff --git a/app-i18n/ibus/Manifest b/app-i18n/ibus/Manifest |
21 |
index f7c931369932..5f3a9b60195a 100644 |
22 |
--- a/app-i18n/ibus/Manifest |
23 |
+++ b/app-i18n/ibus/Manifest |
24 |
@@ -1,5 +1 @@ |
25 |
-DIST ibus-1.5.22.tar.gz 3578251 BLAKE2B 08ad72bd455d2841700b11a4ade88e2b9768433f86bac4baf20db882580b10a4705f545a845a03d3b4196a75c43d33c51ffd31a3516d71030f891ce48dce69c2 SHA512 0abe89acc6da8cea484a6b9f807c08e94869072f374f9e8f4541a426636f818f1c3cb8b9237f97245771f9e4bf19184983d8ac924177dc4824ca6e8b5304425d |
26 |
-DIST ibus-1.5.23-gentoo-patches-1.tar.xz 1596 BLAKE2B 5a2c084cb25cb35d16eba8e6953c1ffc249875ab11485a675497f04a4366ea3fe216bab3407f390a0330f4f17cf5a70a43547160cc9c29a6b14890fcb7867456 SHA512 a1c2a77dbc4185c3658c36b998c9d925fff2bbeb9bc5fde5c74c62081056f134875d557ba0b4af7b06d56f004975889f453adea623541d3bfff2c391912efa05 |
27 |
-DIST ibus-1.5.23.tar.gz 3557661 BLAKE2B 4cfb3287c80d46e55090d4f361dd977f4be5988a8b7ffc24755954090dc25021ea6cbb6798769494e6cd70267aac6daa238fdc7cf4156296d93f79f325a18ac4 SHA512 4ea66d0a7203d665fb5c90e59ddf294614feeafc4f06b10e35989671a9bf39d5977e9061b9be224cd5a9439ac2f697a4326ff221ae868f5ebed46cbb09e9a205 |
28 |
-DIST ibus-1.5.24.tar.gz 3614372 BLAKE2B 4b851ed9dc8283bf58957adfd5dd4bf7da8b019f95055dbbf7fa157502b3dcc11d561881ff6afa5db0b83b4e7d82f3bd228cd0e21ff77cb81b1eaca246deb135 SHA512 25f34a51a5c85352e61699ca36bf7ddb9b486b28d71e15ce3a52b78bc9db2f8cb558049e0652fdc5431215a5f826fcb5a7d5e44f0de9a2ff746aaf60672e2f22 |
29 |
DIST ibus-1.5.25.tar.gz 3669787 BLAKE2B 0a568c77d29dfbe0c2c8cdbe8c8ae86b69c7a1a5fa692cf05e9ce13894fcee200c41de91ec0ad88ae9e745e3061b9c92b7fd18641bd297f5bf4a9bc308ace983 SHA512 4b8955a20a1e5a0daf61213817a9697874439866e235e6a7905f5994b145cd5a143e6cfc41f17204a828756baeb8edab70698596731ecebf7f1eea7cc5f36aa6 |
30 |
|
31 |
diff --git a/app-i18n/ibus/ibus-1.5.22.ebuild b/app-i18n/ibus/ibus-1.5.22.ebuild |
32 |
deleted file mode 100644 |
33 |
index 27e19d610f9f..000000000000 |
34 |
--- a/app-i18n/ibus/ibus-1.5.22.ebuild |
35 |
+++ /dev/null |
36 |
@@ -1,180 +0,0 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
-# Distributed under the terms of the GNU General Public License v2 |
39 |
- |
40 |
-EAPI=7 |
41 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
42 |
-VALA_MIN_API_VERSION="0.34" |
43 |
-VALA_MAX_API_VERSION="0.48" |
44 |
-VALA_USE_DEPEND="vapigen" |
45 |
- |
46 |
-inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils |
47 |
- |
48 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
49 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
50 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz" |
51 |
- |
52 |
-LICENSE="LGPL-2.1" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86" |
55 |
-IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland" |
56 |
-RESTRICT="!test? ( test )" |
57 |
-REQUIRED_USE="emoji? ( gtk ) |
58 |
- gtk2? ( gtk ) |
59 |
- kde? ( gtk ) |
60 |
- python? ( |
61 |
- ${PYTHON_REQUIRED_USE} |
62 |
- introspection |
63 |
- ) |
64 |
- test? ( gtk ) |
65 |
- vala? ( introspection )" |
66 |
- |
67 |
-CDEPEND="app-text/iso-codes |
68 |
- dev-libs/glib:2 |
69 |
- gnome-base/dconf |
70 |
- gnome-base/librsvg:2 |
71 |
- sys-apps/dbus[X?] |
72 |
- X? ( |
73 |
- x11-libs/libX11 |
74 |
- !gtk? ( x11-libs/gtk+:2 ) |
75 |
- ) |
76 |
- gtk? ( |
77 |
- x11-libs/gtk+:3 |
78 |
- x11-libs/libX11 |
79 |
- x11-libs/libXi |
80 |
- gtk2? ( x11-libs/gtk+:2 ) |
81 |
- ) |
82 |
- introspection? ( dev-libs/gobject-introspection ) |
83 |
- kde? ( dev-qt/qtgui:5 ) |
84 |
- nls? ( virtual/libintl ) |
85 |
- python? ( |
86 |
- ${PYTHON_DEPS} |
87 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
88 |
- ) |
89 |
- wayland? ( |
90 |
- dev-libs/wayland |
91 |
- x11-libs/libxkbcommon |
92 |
- )" |
93 |
-RDEPEND="${CDEPEND} |
94 |
- python? ( |
95 |
- gtk? ( |
96 |
- x11-libs/gtk+:3[introspection] |
97 |
- ) |
98 |
- )" |
99 |
-DEPEND="${CDEPEND} |
100 |
- $(vala_depend) |
101 |
- dev-util/glib-utils |
102 |
- virtual/pkgconfig |
103 |
- emoji? ( |
104 |
- app-i18n/unicode-cldr |
105 |
- app-i18n/unicode-emoji |
106 |
- ) |
107 |
- nls? ( sys-devel/gettext ) |
108 |
- unicode? ( app-i18n/unicode-data )" |
109 |
- |
110 |
-src_prepare() { |
111 |
- vala_src_prepare --ignore-use |
112 |
- sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac |
113 |
- if ! has_version 'x11-libs/gtk+:3[wayland]'; then |
114 |
- touch ui/gtk3/panelbinding.vala |
115 |
- fi |
116 |
- if ! use emoji; then |
117 |
- touch \ |
118 |
- tools/main.vala \ |
119 |
- ui/gtk3/panel.vala |
120 |
- fi |
121 |
- if ! use kde; then |
122 |
- touch ui/gtk3/panel.vala |
123 |
- fi |
124 |
- |
125 |
- # for multiple Python implementations |
126 |
- sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am |
127 |
- # fix for parallel install |
128 |
- sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am |
129 |
- # require user interaction |
130 |
- sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am |
131 |
- |
132 |
- sed -i "/^bash_completion/d" tools/Makefile.am |
133 |
- |
134 |
- default |
135 |
- eautoreconf |
136 |
- xdg_environment_reset |
137 |
-} |
138 |
- |
139 |
-src_configure() { |
140 |
- local unicodedir="${EPREFIX}"/usr/share/unicode |
141 |
- local python_conf=() |
142 |
- if use python; then |
143 |
- python_setup |
144 |
- python_conf+=( |
145 |
- $(use_enable gtk setup) |
146 |
- --with-python=${EPYTHON} |
147 |
- ) |
148 |
- else |
149 |
- python_conf+=( --disable-setup ) |
150 |
- fi |
151 |
- |
152 |
- econf \ |
153 |
- $(use_enable X xim) \ |
154 |
- $(use_enable emoji emoji-dict) \ |
155 |
- $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \ |
156 |
- $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \ |
157 |
- $(use_enable gtk gtk3) \ |
158 |
- $(use_enable gtk ui) \ |
159 |
- $(use_enable gtk2) \ |
160 |
- $(use_enable introspection) \ |
161 |
- $(use_enable kde appindicator) \ |
162 |
- $(use_enable nls) \ |
163 |
- $(use_enable test tests) \ |
164 |
- $(use_enable unicode unicode-dict) \ |
165 |
- $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \ |
166 |
- $(use_enable vala) \ |
167 |
- $(use_enable wayland) \ |
168 |
- "${python_conf[@]}" |
169 |
-} |
170 |
- |
171 |
-src_test() { |
172 |
- unset DBUS_SESSION_BUS_ADDRESS |
173 |
- virtx emake -j1 check |
174 |
-} |
175 |
- |
176 |
-src_install() { |
177 |
- default |
178 |
- find "${ED}" -name '*.la' -delete || die |
179 |
- |
180 |
- if use python; then |
181 |
- python_install() { |
182 |
- emake -C bindings/pygobject \ |
183 |
- pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \ |
184 |
- DESTDIR="${D}" \ |
185 |
- install |
186 |
- |
187 |
- python_optimize |
188 |
- } |
189 |
- python_foreach_impl python_install |
190 |
- fi |
191 |
- |
192 |
- keepdir /usr/share/ibus/engine |
193 |
- |
194 |
- newbashcomp tools/${PN}.bash ${PN} |
195 |
- |
196 |
- insinto /etc/X11/xinit/xinput.d |
197 |
- newins xinput-${PN} ${PN}.conf |
198 |
- |
199 |
- # Undo compression of man page |
200 |
- find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die |
201 |
-} |
202 |
- |
203 |
-pkg_postinst() { |
204 |
- use gtk && gnome2_query_immodules_gtk3 |
205 |
- use gtk2 && gnome2_query_immodules_gtk2 |
206 |
- xdg_icon_cache_update |
207 |
- gnome2_schemas_update |
208 |
- dconf update |
209 |
-} |
210 |
- |
211 |
-pkg_postrm() { |
212 |
- use gtk && gnome2_query_immodules_gtk3 |
213 |
- use gtk2 && gnome2_query_immodules_gtk2 |
214 |
- xdg_icon_cache_update |
215 |
- gnome2_schemas_update |
216 |
-} |
217 |
|
218 |
diff --git a/app-i18n/ibus/ibus-1.5.23.ebuild b/app-i18n/ibus/ibus-1.5.23.ebuild |
219 |
deleted file mode 100644 |
220 |
index d53729503b59..000000000000 |
221 |
--- a/app-i18n/ibus/ibus-1.5.23.ebuild |
222 |
+++ /dev/null |
223 |
@@ -1,189 +0,0 @@ |
224 |
-# Copyright 1999-2020 Gentoo Authors |
225 |
-# Distributed under the terms of the GNU General Public License v2 |
226 |
- |
227 |
-EAPI=7 |
228 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
229 |
-VALA_MIN_API_VERSION="0.34" |
230 |
-VALA_MAX_API_VERSION="0.50" |
231 |
-VALA_USE_DEPEND="vapigen" |
232 |
- |
233 |
-inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils |
234 |
- |
235 |
-GENTOO_VER=1 |
236 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
237 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
238 |
- |
239 |
-[[ -n ${GENTOO_VER} ]] && \ |
240 |
- GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz" |
241 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz |
242 |
- ${GENTOO_PATCHSET_URI}" |
243 |
- |
244 |
-LICENSE="LGPL-2.1" |
245 |
-SLOT="0" |
246 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
247 |
-IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland" |
248 |
-RESTRICT="!test? ( test )" |
249 |
-REQUIRED_USE="emoji? ( gtk ) |
250 |
- gtk2? ( gtk ) |
251 |
- kde? ( gtk ) |
252 |
- python? ( |
253 |
- ${PYTHON_REQUIRED_USE} |
254 |
- introspection |
255 |
- ) |
256 |
- test? ( gtk ) |
257 |
- vala? ( introspection )" |
258 |
- |
259 |
-CDEPEND="app-text/iso-codes |
260 |
- dev-libs/glib:2 |
261 |
- gnome-base/dconf |
262 |
- gnome-base/librsvg:2 |
263 |
- sys-apps/dbus[X?] |
264 |
- X? ( |
265 |
- x11-libs/libX11 |
266 |
- !gtk? ( x11-libs/gtk+:2 ) |
267 |
- ) |
268 |
- gtk? ( |
269 |
- x11-libs/gtk+:3 |
270 |
- x11-libs/libX11 |
271 |
- x11-libs/libXi |
272 |
- gtk2? ( x11-libs/gtk+:2 ) |
273 |
- ) |
274 |
- introspection? ( dev-libs/gobject-introspection ) |
275 |
- kde? ( dev-qt/qtgui:5 ) |
276 |
- nls? ( virtual/libintl ) |
277 |
- python? ( |
278 |
- ${PYTHON_DEPS} |
279 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
280 |
- ) |
281 |
- wayland? ( |
282 |
- dev-libs/wayland |
283 |
- x11-libs/libxkbcommon |
284 |
- )" |
285 |
-RDEPEND="${CDEPEND} |
286 |
- python? ( |
287 |
- gtk? ( |
288 |
- x11-libs/gtk+:3[introspection] |
289 |
- ) |
290 |
- )" |
291 |
-DEPEND="${CDEPEND} |
292 |
- $(vala_depend) |
293 |
- dev-util/glib-utils |
294 |
- virtual/pkgconfig |
295 |
- emoji? ( |
296 |
- app-i18n/unicode-cldr |
297 |
- app-i18n/unicode-emoji |
298 |
- ) |
299 |
- nls? ( sys-devel/gettext ) |
300 |
- unicode? ( app-i18n/unicode-data )" |
301 |
- |
302 |
-src_prepare() { |
303 |
- vala_src_prepare --ignore-use |
304 |
- sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac |
305 |
- if ! has_version 'x11-libs/gtk+:3[wayland]'; then |
306 |
- touch ui/gtk3/panelbinding.vala |
307 |
- fi |
308 |
- if ! use emoji; then |
309 |
- touch \ |
310 |
- tools/main.vala \ |
311 |
- ui/gtk3/panel.vala |
312 |
- fi |
313 |
- if ! use kde; then |
314 |
- touch ui/gtk3/panel.vala |
315 |
- fi |
316 |
- if [[ -n ${GENTOO_VER} ]]; then |
317 |
- einfo "Try to apply Gentoo specific patch set" |
318 |
- eapply "${WORKDIR}"/patches-gentoo/*.patch |
319 |
- fi |
320 |
- |
321 |
- # for multiple Python implementations |
322 |
- sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am |
323 |
- # fix for parallel install |
324 |
- sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am |
325 |
- # require user interaction |
326 |
- sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am |
327 |
- |
328 |
- sed -i "/^bash_completion/d" tools/Makefile.am |
329 |
- |
330 |
- default |
331 |
- eautoreconf |
332 |
- xdg_environment_reset |
333 |
-} |
334 |
- |
335 |
-src_configure() { |
336 |
- local unicodedir="${EPREFIX}"/usr/share/unicode |
337 |
- local python_conf=() |
338 |
- if use python; then |
339 |
- python_setup |
340 |
- python_conf+=( |
341 |
- $(use_enable gtk setup) |
342 |
- --with-python=${EPYTHON} |
343 |
- ) |
344 |
- else |
345 |
- python_conf+=( --disable-setup ) |
346 |
- fi |
347 |
- |
348 |
- econf \ |
349 |
- $(use_enable X xim) \ |
350 |
- $(use_enable emoji emoji-dict) \ |
351 |
- $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \ |
352 |
- $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \ |
353 |
- $(use_enable gtk gtk3) \ |
354 |
- $(use_enable gtk ui) \ |
355 |
- $(use_enable gtk2) \ |
356 |
- $(use_enable introspection) \ |
357 |
- $(use_enable kde appindicator) \ |
358 |
- $(use_enable nls) \ |
359 |
- $(use_enable test tests) \ |
360 |
- $(use_enable unicode unicode-dict) \ |
361 |
- $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \ |
362 |
- $(use_enable vala) \ |
363 |
- $(use_enable wayland) \ |
364 |
- "${python_conf[@]}" |
365 |
-} |
366 |
- |
367 |
-src_test() { |
368 |
- unset DBUS_SESSION_BUS_ADDRESS |
369 |
- virtx emake -j1 check |
370 |
-} |
371 |
- |
372 |
-src_install() { |
373 |
- default |
374 |
- find "${ED}" -name '*.la' -delete || die |
375 |
- |
376 |
- if use python; then |
377 |
- python_install() { |
378 |
- emake -C bindings/pygobject \ |
379 |
- pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \ |
380 |
- DESTDIR="${D}" \ |
381 |
- install |
382 |
- |
383 |
- python_optimize |
384 |
- } |
385 |
- python_foreach_impl python_install |
386 |
- fi |
387 |
- |
388 |
- keepdir /usr/share/ibus/engine |
389 |
- |
390 |
- newbashcomp tools/${PN}.bash ${PN} |
391 |
- |
392 |
- insinto /etc/X11/xinit/xinput.d |
393 |
- newins xinput-${PN} ${PN}.conf |
394 |
- |
395 |
- # Undo compression of man page |
396 |
- find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die |
397 |
-} |
398 |
- |
399 |
-pkg_postinst() { |
400 |
- use gtk && gnome2_query_immodules_gtk3 |
401 |
- use gtk2 && gnome2_query_immodules_gtk2 |
402 |
- xdg_icon_cache_update |
403 |
- gnome2_schemas_update |
404 |
- dconf update |
405 |
-} |
406 |
- |
407 |
-pkg_postrm() { |
408 |
- use gtk && gnome2_query_immodules_gtk3 |
409 |
- use gtk2 && gnome2_query_immodules_gtk2 |
410 |
- xdg_icon_cache_update |
411 |
- gnome2_schemas_update |
412 |
-} |
413 |
|
414 |
diff --git a/app-i18n/ibus/ibus-1.5.24.ebuild b/app-i18n/ibus/ibus-1.5.24.ebuild |
415 |
deleted file mode 100644 |
416 |
index ec02e75cce09..000000000000 |
417 |
--- a/app-i18n/ibus/ibus-1.5.24.ebuild |
418 |
+++ /dev/null |
419 |
@@ -1,190 +0,0 @@ |
420 |
-# Copyright 1999-2021 Gentoo Authors |
421 |
-# Distributed under the terms of the GNU General Public License v2 |
422 |
- |
423 |
-EAPI=7 |
424 |
-PYTHON_COMPAT=( python{3_7,3_8,3_9} ) |
425 |
-VALA_MIN_API_VERSION="0.34" |
426 |
-VALA_MAX_API_VERSION="0.50" |
427 |
-VALA_USE_DEPEND="vapigen" |
428 |
- |
429 |
-inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils |
430 |
- |
431 |
-GENTOO_VER= |
432 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
433 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
434 |
- |
435 |
-[[ -n ${GENTOO_VER} ]] && \ |
436 |
- GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz" |
437 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz |
438 |
- ${GENTOO_PATCHSET_URI}" |
439 |
- |
440 |
-LICENSE="LGPL-2.1" |
441 |
-SLOT="0" |
442 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
443 |
-IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland" |
444 |
-RESTRICT="!test? ( test )" |
445 |
-REQUIRED_USE="emoji? ( gtk ) |
446 |
- gtk2? ( gtk ) |
447 |
- kde? ( gtk ) |
448 |
- python? ( |
449 |
- ${PYTHON_REQUIRED_USE} |
450 |
- introspection |
451 |
- ) |
452 |
- test? ( gtk ) |
453 |
- vala? ( introspection )" |
454 |
- |
455 |
-CDEPEND="app-text/iso-codes |
456 |
- dev-libs/glib:2 |
457 |
- gnome-base/dconf |
458 |
- gnome-base/librsvg:2 |
459 |
- sys-apps/dbus[X?] |
460 |
- X? ( |
461 |
- x11-libs/libX11 |
462 |
- !gtk? ( x11-libs/gtk+:2 ) |
463 |
- ) |
464 |
- gtk? ( |
465 |
- x11-libs/gtk+:3 |
466 |
- x11-libs/libX11 |
467 |
- x11-libs/libXi |
468 |
- gtk2? ( x11-libs/gtk+:2 ) |
469 |
- ) |
470 |
- introspection? ( dev-libs/gobject-introspection ) |
471 |
- kde? ( dev-qt/qtgui:5 ) |
472 |
- nls? ( virtual/libintl ) |
473 |
- python? ( |
474 |
- ${PYTHON_DEPS} |
475 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
476 |
- ) |
477 |
- wayland? ( |
478 |
- dev-libs/wayland |
479 |
- x11-libs/libxkbcommon |
480 |
- )" |
481 |
-RDEPEND="${CDEPEND} |
482 |
- python? ( |
483 |
- gtk? ( |
484 |
- x11-libs/gtk+:3[introspection] |
485 |
- ) |
486 |
- )" |
487 |
-DEPEND="${CDEPEND} |
488 |
- $(vala_depend) |
489 |
- dev-util/glib-utils |
490 |
- virtual/pkgconfig |
491 |
- x11-misc/xkeyboard-config |
492 |
- emoji? ( |
493 |
- app-i18n/unicode-cldr |
494 |
- app-i18n/unicode-emoji |
495 |
- ) |
496 |
- nls? ( sys-devel/gettext ) |
497 |
- unicode? ( app-i18n/unicode-data )" |
498 |
- |
499 |
-src_prepare() { |
500 |
- vala_src_prepare --ignore-use |
501 |
- sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac |
502 |
- if ! has_version 'x11-libs/gtk+:3[wayland]'; then |
503 |
- touch ui/gtk3/panelbinding.vala |
504 |
- fi |
505 |
- if ! use emoji; then |
506 |
- touch \ |
507 |
- tools/main.vala \ |
508 |
- ui/gtk3/panel.vala |
509 |
- fi |
510 |
- if ! use kde; then |
511 |
- touch ui/gtk3/panel.vala |
512 |
- fi |
513 |
- if [[ -n ${GENTOO_VER} ]]; then |
514 |
- einfo "Try to apply Gentoo specific patch set" |
515 |
- eapply "${WORKDIR}"/patches-gentoo/*.patch |
516 |
- fi |
517 |
- |
518 |
- # for multiple Python implementations |
519 |
- sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am |
520 |
- # fix for parallel install |
521 |
- sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am |
522 |
- # require user interaction |
523 |
- sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am |
524 |
- |
525 |
- sed -i "/^bash_completion/d" tools/Makefile.am |
526 |
- |
527 |
- default |
528 |
- eautoreconf |
529 |
- xdg_environment_reset |
530 |
-} |
531 |
- |
532 |
-src_configure() { |
533 |
- local unicodedir="${EPREFIX}"/usr/share/unicode |
534 |
- local python_conf=() |
535 |
- if use python; then |
536 |
- python_setup |
537 |
- python_conf+=( |
538 |
- $(use_enable gtk setup) |
539 |
- --with-python=${EPYTHON} |
540 |
- ) |
541 |
- else |
542 |
- python_conf+=( --disable-setup ) |
543 |
- fi |
544 |
- |
545 |
- econf \ |
546 |
- $(use_enable X xim) \ |
547 |
- $(use_enable emoji emoji-dict) \ |
548 |
- $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \ |
549 |
- $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \ |
550 |
- $(use_enable gtk gtk3) \ |
551 |
- $(use_enable gtk ui) \ |
552 |
- $(use_enable gtk2) \ |
553 |
- $(use_enable introspection) \ |
554 |
- $(use_enable kde appindicator) \ |
555 |
- $(use_enable nls) \ |
556 |
- $(use_enable test tests) \ |
557 |
- $(use_enable unicode unicode-dict) \ |
558 |
- $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \ |
559 |
- $(use_enable vala) \ |
560 |
- $(use_enable wayland) \ |
561 |
- "${python_conf[@]}" |
562 |
-} |
563 |
- |
564 |
-src_test() { |
565 |
- unset DBUS_SESSION_BUS_ADDRESS |
566 |
- virtx emake -j1 check |
567 |
-} |
568 |
- |
569 |
-src_install() { |
570 |
- default |
571 |
- find "${ED}" -name '*.la' -delete || die |
572 |
- |
573 |
- if use python; then |
574 |
- python_install() { |
575 |
- emake -C bindings/pygobject \ |
576 |
- pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \ |
577 |
- DESTDIR="${D}" \ |
578 |
- install |
579 |
- |
580 |
- python_optimize |
581 |
- } |
582 |
- python_foreach_impl python_install |
583 |
- fi |
584 |
- |
585 |
- keepdir /usr/share/ibus/engine |
586 |
- |
587 |
- newbashcomp tools/${PN}.bash ${PN} |
588 |
- |
589 |
- insinto /etc/X11/xinit/xinput.d |
590 |
- newins xinput-${PN} ${PN}.conf |
591 |
- |
592 |
- # Undo compression of man page |
593 |
- find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die |
594 |
-} |
595 |
- |
596 |
-pkg_postinst() { |
597 |
- use gtk && gnome2_query_immodules_gtk3 |
598 |
- use gtk2 && gnome2_query_immodules_gtk2 |
599 |
- xdg_icon_cache_update |
600 |
- gnome2_schemas_update |
601 |
- dconf update |
602 |
-} |
603 |
- |
604 |
-pkg_postrm() { |
605 |
- use gtk && gnome2_query_immodules_gtk3 |
606 |
- use gtk2 && gnome2_query_immodules_gtk2 |
607 |
- xdg_icon_cache_update |
608 |
- gnome2_schemas_update |
609 |
-} |
610 |
|
611 |
diff --git a/app-i18n/ibus/ibus-1.5.25.ebuild b/app-i18n/ibus/ibus-1.5.25.ebuild |
612 |
deleted file mode 100644 |
613 |
index 1adc299fca10..000000000000 |
614 |
--- a/app-i18n/ibus/ibus-1.5.25.ebuild |
615 |
+++ /dev/null |
616 |
@@ -1,192 +0,0 @@ |
617 |
-# Copyright 1999-2021 Gentoo Authors |
618 |
-# Distributed under the terms of the GNU General Public License v2 |
619 |
- |
620 |
-EAPI=7 |
621 |
- |
622 |
-PYTHON_COMPAT=( python3_{8..10} ) |
623 |
-VALA_MIN_API_VERSION="0.34" |
624 |
-VALA_MAX_API_VERSION="0.50" |
625 |
-VALA_USE_DEPEND="vapigen" |
626 |
- |
627 |
-inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils |
628 |
- |
629 |
-GENTOO_VER= |
630 |
-DESCRIPTION="Intelligent Input Bus for Linux / Unix OS" |
631 |
-HOMEPAGE="https://github.com/ibus/ibus/wiki" |
632 |
- |
633 |
-[[ -n ${GENTOO_VER} ]] && \ |
634 |
- GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-gentoo-patches-${GENTOO_VER}.tar.xz" |
635 |
-SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz |
636 |
- ${GENTOO_PATCHSET_URI}" |
637 |
- |
638 |
-LICENSE="LGPL-2.1" |
639 |
-SLOT="0" |
640 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" |
641 |
-IUSE="+X +emoji +gtk +gtk2 +introspection kde nls +python test +unicode vala wayland" |
642 |
-RESTRICT="!test? ( test )" |
643 |
-REQUIRED_USE="emoji? ( gtk ) |
644 |
- gtk2? ( gtk ) |
645 |
- kde? ( gtk ) |
646 |
- python? ( |
647 |
- ${PYTHON_REQUIRED_USE} |
648 |
- introspection |
649 |
- ) |
650 |
- test? ( gtk ) |
651 |
- vala? ( introspection )" |
652 |
- |
653 |
-CDEPEND="app-text/iso-codes |
654 |
- dev-libs/glib:2 |
655 |
- gnome-base/dconf |
656 |
- gnome-base/librsvg:2 |
657 |
- sys-apps/dbus[X?] |
658 |
- X? ( |
659 |
- x11-libs/libX11 |
660 |
- >=x11-libs/libXfixes-6.0.0 |
661 |
- !gtk? ( x11-libs/gtk+:2 ) |
662 |
- ) |
663 |
- gtk? ( |
664 |
- x11-libs/gtk+:3 |
665 |
- x11-libs/libX11 |
666 |
- x11-libs/libXi |
667 |
- gtk2? ( x11-libs/gtk+:2 ) |
668 |
- ) |
669 |
- introspection? ( dev-libs/gobject-introspection ) |
670 |
- kde? ( dev-qt/qtgui:5 ) |
671 |
- nls? ( virtual/libintl ) |
672 |
- python? ( |
673 |
- ${PYTHON_DEPS} |
674 |
- dev-python/pygobject:3[${PYTHON_USEDEP}] |
675 |
- ) |
676 |
- wayland? ( |
677 |
- dev-libs/wayland |
678 |
- x11-libs/libxkbcommon |
679 |
- )" |
680 |
-RDEPEND="${CDEPEND} |
681 |
- python? ( |
682 |
- gtk? ( |
683 |
- x11-libs/gtk+:3[introspection] |
684 |
- ) |
685 |
- )" |
686 |
-DEPEND="${CDEPEND} |
687 |
- $(vala_depend) |
688 |
- dev-util/glib-utils |
689 |
- virtual/pkgconfig |
690 |
- x11-misc/xkeyboard-config |
691 |
- emoji? ( |
692 |
- app-i18n/unicode-cldr |
693 |
- app-i18n/unicode-emoji |
694 |
- ) |
695 |
- nls? ( sys-devel/gettext ) |
696 |
- unicode? ( app-i18n/unicode-data )" |
697 |
- |
698 |
-src_prepare() { |
699 |
- vala_src_prepare --ignore-use |
700 |
- sed -i "/UCD_DIR=/s/\$with_emoji_annotation_dir/\$with_ucd_dir/" configure.ac |
701 |
- if ! has_version 'x11-libs/gtk+:3[wayland]'; then |
702 |
- touch ui/gtk3/panelbinding.vala |
703 |
- fi |
704 |
- if ! use emoji; then |
705 |
- touch \ |
706 |
- tools/main.vala \ |
707 |
- ui/gtk3/panel.vala |
708 |
- fi |
709 |
- if ! use kde; then |
710 |
- touch ui/gtk3/panel.vala |
711 |
- fi |
712 |
- if [[ -n ${GENTOO_VER} ]]; then |
713 |
- einfo "Try to apply Gentoo specific patch set" |
714 |
- eapply "${WORKDIR}"/patches-gentoo/*.patch |
715 |
- fi |
716 |
- |
717 |
- # for multiple Python implementations |
718 |
- sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am |
719 |
- # fix for parallel install |
720 |
- sed -i "/^if ENABLE_PYTHON2/,/^endif/d" bindings/pygobject/Makefile.am |
721 |
- # require user interaction |
722 |
- sed -i "/^TESTS += ibus-\(compose\|keypress\)/d" src/tests/Makefile.am |
723 |
- |
724 |
- sed -i "/^bash_completion/d" tools/Makefile.am |
725 |
- |
726 |
- default |
727 |
- eautoreconf |
728 |
- xdg_environment_reset |
729 |
-} |
730 |
- |
731 |
-src_configure() { |
732 |
- local unicodedir="${EPREFIX}"/usr/share/unicode |
733 |
- local python_conf=() |
734 |
- if use python; then |
735 |
- python_setup |
736 |
- python_conf+=( |
737 |
- $(use_enable gtk setup) |
738 |
- --with-python=${EPYTHON} |
739 |
- ) |
740 |
- else |
741 |
- python_conf+=( --disable-setup ) |
742 |
- fi |
743 |
- |
744 |
- econf \ |
745 |
- $(use_enable X xim) \ |
746 |
- $(use_enable emoji emoji-dict) \ |
747 |
- $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \ |
748 |
- $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \ |
749 |
- $(use_enable gtk gtk3) \ |
750 |
- $(use_enable gtk ui) \ |
751 |
- $(use_enable gtk2) \ |
752 |
- $(use_enable introspection) \ |
753 |
- $(use_enable kde appindicator) \ |
754 |
- $(use_enable nls) \ |
755 |
- $(use_enable test tests) \ |
756 |
- $(use_enable unicode unicode-dict) \ |
757 |
- $(use_with unicode ucd-dir "${EPREFIX}/usr/share/unicode-data") \ |
758 |
- $(use_enable vala) \ |
759 |
- $(use_enable wayland) \ |
760 |
- "${python_conf[@]}" |
761 |
-} |
762 |
- |
763 |
-src_test() { |
764 |
- unset DBUS_SESSION_BUS_ADDRESS |
765 |
- virtx emake -j1 check |
766 |
-} |
767 |
- |
768 |
-src_install() { |
769 |
- default |
770 |
- find "${ED}" -name '*.la' -delete || die |
771 |
- |
772 |
- if use python; then |
773 |
- python_install() { |
774 |
- emake -C bindings/pygobject \ |
775 |
- pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \ |
776 |
- DESTDIR="${D}" \ |
777 |
- install |
778 |
- |
779 |
- python_optimize |
780 |
- } |
781 |
- python_foreach_impl python_install |
782 |
- fi |
783 |
- |
784 |
- keepdir /usr/share/ibus/engine |
785 |
- |
786 |
- newbashcomp tools/${PN}.bash ${PN} |
787 |
- |
788 |
- insinto /etc/X11/xinit/xinput.d |
789 |
- newins xinput-${PN} ${PN}.conf |
790 |
- |
791 |
- # Undo compression of man page |
792 |
- find "${ED}"/usr/share/man -type f -name '*.gz' -exec gzip -d {} \; || die |
793 |
-} |
794 |
- |
795 |
-pkg_postinst() { |
796 |
- use gtk && gnome2_query_immodules_gtk3 |
797 |
- use gtk2 && gnome2_query_immodules_gtk2 |
798 |
- xdg_icon_cache_update |
799 |
- gnome2_schemas_update |
800 |
- dconf update |
801 |
-} |
802 |
- |
803 |
-pkg_postrm() { |
804 |
- use gtk && gnome2_query_immodules_gtk3 |
805 |
- use gtk2 && gnome2_query_immodules_gtk2 |
806 |
- xdg_icon_cache_update |
807 |
- gnome2_schemas_update |
808 |
-} |