Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus/
Date: Sat, 04 Aug 2018 13:58:06
Message-Id: 1533391052.28a4c22898cf61bebadcbf6d32e7d512ef0a6bc5.hattya@gentoo
1 commit: 28a4c22898cf61bebadcbf6d32e7d512ef0a6bc5
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 4 13:55:59 2018 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 4 13:57:32 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a4c228
7
8 app-i18n/ibus: drop old
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 app-i18n/ibus/Manifest | 1 -
13 app-i18n/ibus/ibus-1.5.17.ebuild | 182 ---------------------------------------
14 2 files changed, 183 deletions(-)
15
16 diff --git a/app-i18n/ibus/Manifest b/app-i18n/ibus/Manifest
17 index ede5dd9ea81..1290bc19446 100644
18 --- a/app-i18n/ibus/Manifest
19 +++ b/app-i18n/ibus/Manifest
20 @@ -1,4 +1,3 @@
21 DIST ibus-1.5.12.tar.gz 2190284 BLAKE2B 57ac7f9e8e8f0419bad1bf3aa629282ef3c0188d29e98bc872e594955f69e0863020d600c674cabed56db156a85210b5b3c1fe137b135395a27d2535e4938164 SHA512 a443bf0d1b71a52c18e7d13a0c69f38c48f6924cfb1669912880b87be1bf41bcb7d8d6252aafd6799e43d41c081fd94cf334fd836a0505c93a4e5c5b68241c81
22 DIST ibus-1.5.16.tar.gz 2375719 BLAKE2B cf4cbd4556e43403c73da3cd2cb9f6da8e0baf5f90b3bc74f6d12c1bad057198ed828053dcbb3ddfd28c37d9011b6166e834385720aa827a68f594dbd4cf9298 SHA512 494ead69cf9c0111fd25fd1de27e796d89db4f08443afa1ec469f638469b25d8b19a59ea7ab0db0f3a130b9a89b3f2819667099ba38fc973d6efc61b367ce237
23 -DIST ibus-1.5.17.tar.gz 2522960 BLAKE2B a0d19eaae809549d678b42394e76107b8869232c90932bfaa5072621598e83db0569084e931c51c15b7179d9d8e0a2ce144b726229dae81a009665a5de87afc4 SHA512 8a7e4fabbcb2096e647b1fb7487c92882bd320a4d777f2765817378abec2e60cafd63364c881fefc2805ff2baa6b28b15ee0710587662a3e65eeb60ead19496c
24 DIST ibus-1.5.18.tar.gz 2760121 BLAKE2B dfcf549362ac9ac0cb9adb9cedc3fd7146877a42e0e086ad7be18ccb6239868ed940d2c371d83c2e2706c7120702af0bcb0106da60889f0b3d5857b8929b9165 SHA512 34519c3464eaf2cac3320e1568fc76f4edb281afa70f335c015b828ff4e86b3224d77b95cdc0b2e76e42459c54b1044264ff226963fe739dd553ac7326d2f2d3
25
26 diff --git a/app-i18n/ibus/ibus-1.5.17.ebuild b/app-i18n/ibus/ibus-1.5.17.ebuild
27 deleted file mode 100644
28 index 7c3f41cfe21..00000000000
29 --- a/app-i18n/ibus/ibus-1.5.17.ebuild
30 +++ /dev/null
31 @@ -1,182 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="6"
36 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
37 -VALA_USE_DEPEND="vapigen"
38 -
39 -inherit autotools bash-completion-r1 gnome2-utils python-r1 vala virtualx xdg-utils
40 -
41 -DESCRIPTION="Intelligent Input Bus for Linux / Unix OS"
42 -HOMEPAGE="https://github.com/ibus/ibus/wiki"
43 -SRC_URI="https://github.com/${PN}/${PN}/releases/download/${PV}/${P}.tar.gz"
44 -
45 -LICENSE="LGPL-2.1"
46 -SLOT="0"
47 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
48 -IUSE="+X +emoji gconf +gtk +gtk2 +introspection kde +libnotify nls +python test vala wayland"
49 -REQUIRED_USE="emoji? ( gtk )
50 - gtk2? ( gtk )
51 - kde? ( gtk )
52 - libnotify? ( gtk )
53 - python? (
54 - ${PYTHON_REQUIRED_USE}
55 - introspection
56 - )
57 - test? ( gtk )
58 - vala? ( introspection )"
59 -
60 -CDEPEND="app-text/iso-codes
61 - dev-libs/glib:2
62 - gnome-base/dconf
63 - gnome-base/librsvg:2
64 - sys-apps/dbus[X?]
65 - X? (
66 - x11-libs/libX11
67 - !gtk? ( x11-libs/gtk+:2 )
68 - )
69 - gconf? ( gnome-base/gconf:2 )
70 - gtk? (
71 - x11-libs/gtk+:3
72 - x11-libs/libX11
73 - x11-libs/libXi
74 - gtk2? ( x11-libs/gtk+:2 )
75 - )
76 - introspection? ( dev-libs/gobject-introspection )
77 - kde? ( dev-qt/qtgui:5 )
78 - libnotify? ( x11-libs/libnotify )
79 - nls? ( virtual/libintl )
80 - python? (
81 - ${PYTHON_DEPS}
82 - dev-python/pygobject:3[${PYTHON_USEDEP}]
83 - )
84 - wayland? (
85 - dev-libs/wayland
86 - x11-libs/libxkbcommon
87 - )"
88 -RDEPEND="${CDEPEND}
89 - python? (
90 - gtk? (
91 - x11-libs/gtk+:3[introspection]
92 - )
93 - )"
94 -DEPEND="${CDEPEND}
95 - $(vala_depend)
96 - dev-util/intltool
97 - virtual/pkgconfig
98 - emoji? (
99 - app-i18n/unicode-cldr
100 - app-i18n/unicode-emoji
101 - )
102 - nls? ( sys-devel/gettext )"
103 -
104 -src_prepare() {
105 - vala_src_prepare --ignore-use
106 - if ! use emoji; then
107 - touch \
108 - tools/main.vala \
109 - ui/gtk3/panel.vala
110 - fi
111 - if ! use kde; then
112 - touch ui/gtk3/panel.vala
113 - fi
114 - if ! use libnotify; then
115 - touch ui/gtk3/panel.vala
116 - fi
117 - # for multiple Python implementations
118 - sed -i "s/^\(PYGOBJECT_DIR =\).*/\1/" bindings/Makefile.am
119 - # fix for parallel install
120 - sed -i \
121 - -e "/^py2_compile/,/^$/d" \
122 - -e "/^install-data-hook/,/^$/d" \
123 - bindings/pygobject/Makefile.am
124 - # require user interaction
125 - sed -i "/^TESTS += ibus-compose/d" src/tests/Makefile.am
126 -
127 - sed -i "/^bash_completion/d" tools/Makefile.am
128 -
129 - default
130 - eautoreconf
131 - xdg_environment_reset
132 -}
133 -
134 -src_configure() {
135 - local unicodedir="${EPREFIX}"/usr/share/unicode
136 - local python_conf=()
137 - if use python; then
138 - python_setup
139 - python_conf+=(
140 - $(use_enable gtk setup)
141 - --with-python=${EPYTHON}
142 - )
143 - else
144 - python_conf+=( --disable-setup )
145 - fi
146 -
147 - econf \
148 - $(use_enable X xim) \
149 - $(use_enable emoji emoji-dict) \
150 - $(use_with emoji unicode-emoji-dir "${unicodedir}"/emoji) \
151 - $(use_with emoji emoji-annotation-dir "${unicodedir}"/cldr/common/annotations) \
152 - $(use_enable gconf) \
153 - $(use_enable gtk gtk3) \
154 - $(use_enable gtk ui) \
155 - $(use_enable gtk2) \
156 - $(use_enable introspection) \
157 - $(use_enable kde appindicator) \
158 - $(use_enable libnotify) \
159 - $(use_enable nls) \
160 - $(use_enable test tests) \
161 - $(use_enable vala) \
162 - $(use_enable wayland) \
163 - "${python_conf[@]}"
164 -}
165 -
166 -src_test() {
167 - unset DBUS_SESSION_BUS_ADDRESS
168 - virtx emake -j1 check
169 -}
170 -
171 -src_install() {
172 - default
173 - find "${ED}" -name '*.la' -delete || die
174 -
175 - if use python; then
176 - python_install() {
177 - emake -C bindings/pygobject \
178 - pyoverridesdir="$(${EPYTHON} -c 'import gi; print(gi._overridesdir)')" \
179 - DESTDIR="${D}" \
180 - install
181 - }
182 - python_foreach_impl python_install
183 - fi
184 -
185 - keepdir /usr/share/ibus/engine
186 -
187 - newbashcomp tools/${PN}.bash ${PN}
188 -
189 - insinto /etc/X11/xinit/xinput.d
190 - newins xinput-${PN} ${PN}.conf
191 -}
192 -
193 -pkg_preinst() {
194 - use gconf && gnome2_gconf_savelist
195 - gnome2_icon_savelist
196 - gnome2_schemas_savelist
197 -}
198 -
199 -pkg_postinst() {
200 - use gconf && gnome2_gconf_install
201 - use gtk && gnome2_query_immodules_gtk3
202 - use gtk2 && gnome2_query_immodules_gtk2
203 - gnome2_icon_cache_update
204 - gnome2_schemas_update
205 - dconf update
206 -}
207 -
208 -pkg_postrm() {
209 - use gtk && gnome2_query_immodules_gtk3
210 - use gtk2 && gnome2_query_immodules_gtk2
211 - gnome2_icon_cache_update
212 - gnome2_schemas_update
213 -}