Gentoo Archives: gentoo-commits

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