Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-i18n/uim: uim-1.5.6.ebuild ChangeLog uim-1.5.4-r2.ebuild uim-1.5.5.ebuild
Date: Thu, 25 Jun 2009 14:54:42
Message-Id: E1MJqLX-00056g-Vq@stork.gentoo.org
1 matsuu 09/06/25 14:54:39
2
3 Modified: ChangeLog
4 Added: uim-1.5.6.ebuild
5 Removed: uim-1.5.4-r2.ebuild uim-1.5.5.ebuild
6 Log:
7 Version bumped.
8 (Portage version: 2.1.6.13/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.196 app-i18n/uim/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?rev=1.196&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?rev=1.196&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?r1=1.195&r2=1.196
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v
20 retrieving revision 1.195
21 retrieving revision 1.196
22 diff -u -r1.195 -r1.196
23 --- ChangeLog 24 Jun 2009 05:35:38 -0000 1.195
24 +++ ChangeLog 25 Jun 2009 14:54:39 -0000 1.196
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-i18n/uim
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.195 2009/06/24 05:35:38 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.196 2009/06/25 14:54:39 matsuu Exp $
30 +
31 +*uim-1.5.6 (25 Jun 2009)
32 +
33 + 25 Jun 2009; MATSUU Takuto <matsuu@g.o> -uim-1.5.4-r2.ebuild,
34 + -uim-1.5.5.ebuild, +uim-1.5.6.ebuild:
35 + Version bumped. Removed old versions.
36
37 24 Jun 2009; Jeroen Roovers <jer@g.o> uim-1.5.4-r2.ebuild,
38 uim-1.5.5.ebuild:
39
40
41
42 1.1 app-i18n/uim/uim-1.5.6.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/uim-1.5.6.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/uim-1.5.6.ebuild?rev=1.1&content-type=text/plain
46
47 Index: uim-1.5.6.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/uim-1.5.6.ebuild,v 1.1 2009/06/25 14:54:39 matsuu Exp $
52
53 EAPI="2"
54 inherit eutils qt3 multilib elisp-common flag-o-matic
55
56 DESCRIPTION="Simple, secure and flexible input method library"
57 HOMEPAGE="http://code.google.com/p/uim/"
58 SRC_URI="http://uim.googlecode.com/files/${P}.tar.bz2"
59
60 LICENSE="BSD GPL-2 LGPL-2.1"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="+anthy canna eb emacs gnome gtk kde libedit libnotify m17n-lib ncurses nls prime qt3 qt4 unicode X xft linguas_zh_CN linguas_zh_TW linguas_ja linguas_ko"
64
65 RDEPEND="X? (
66 x11-libs/libX11
67 x11-libs/libXft
68 x11-libs/libXt
69 x11-libs/libICE
70 x11-libs/libSM
71 x11-libs/libXext
72 x11-libs/libXrender
73 )
74 anthy? (
75 unicode? ( >=app-i18n/anthy-8622 )
76 !unicode? ( app-i18n/anthy )
77 )
78 canna? ( app-i18n/canna )
79 eb? ( dev-libs/eb )
80 emacs? ( virtual/emacs )
81 gnome? ( >=gnome-base/gnome-panel-2.14 )
82 gtk? ( >=x11-libs/gtk+-2.4 )
83 kde? ( kde-base/kdelibs:3.5 )
84 libedit? ( dev-libs/libedit )
85 libnotify? ( >=x11-libs/libnotify-0.4 )
86 m17n-lib? ( >=dev-libs/m17n-lib-1.3.1 )
87 ncurses? ( sys-libs/ncurses )
88 nls? ( virtual/libintl )
89 prime? ( app-i18n/prime )
90 qt3? ( || ( >=x11-libs/qt-3.2.0:3[immqt-bc] >=x11-libs/qt-3.2.0:3[immqt] ) )
91 qt4? ( || ( x11-libs/qt-core:4 =x11-libs/qt-4.3*:4 ) )
92 !app-i18n/uim-svn
93 !<app-i18n/prime-0.9.4"
94 # mana? ( app-i18n/mana )
95 # scim? ( >=app-i18n/scim-1.3.0 ) # broken
96 # sj3? ( >=app-i18n/sj3-2.0.1.21 )
97 # wnn? ( app-i18n/wnn )
98
99 DEPEND="${RDEPEND}
100 dev-util/pkgconfig
101 >=sys-devel/gettext-0.15
102 X? (
103 x11-proto/xextproto
104 x11-proto/xproto
105 )"
106
107 RDEPEND="${RDEPEND}
108 X? (
109 media-fonts/font-sony-misc
110 linguas_zh_CN? (
111 || ( media-fonts/font-isas-misc media-fonts/intlfonts )
112 )
113 linguas_zh_TW? (
114 media-fonts/intlfonts
115 )
116 linguas_ja? (
117 || ( media-fonts/font-jis-misc media-fonts/intlfonts )
118 )
119 linguas_ko? (
120 || ( media-fonts/font-daewoo-misc media-fonts/intlfonts )
121 )
122 )"
123
124 SITEFILE=50${PN}-gentoo.el
125
126 pkg_setup() {
127 # An arch specific config directory is used on multilib systems
128 has_multilib_profile && GTK2_CONFDIR="/etc/gtk-2.0/${CHOST}"
129 GTK2_CONFDIR=${GTK2_CONFDIR:=/etc/gtk-2.0/}
130 }
131
132 src_prepare() {
133 epatch "${FILESDIR}/${PN}-1.5.4-gentoo.patch"
134 epatch "${FILESDIR}/${PN}-1.5.4-gcc43.patch"
135 epatch "${FILESDIR}/${PN}-1.5.4-zhTW.patch"
136 }
137
138 src_configure() {
139 local myconf
140
141 if use gtk && (use anthy || use canna) ; then
142 myconf="${myconf} --enable-dict"
143 else
144 myconf="${myconf} --disable-dict"
145 fi
146
147 if use qt3 ; then
148 append-flags -DQT_THREAD_SUPPORT
149 fi
150
151 if use gtk || use qt3 ; then
152 myconf="${myconf} --enable-pref"
153 else
154 myconf="${myconf} --disable-pref"
155 fi
156
157 if use anthy ; then
158 if use unicode ; then
159 myconf="${myconf} --with-anthy-utf8"
160 else
161 myconf="${myconf} --with-anthy"
162 fi
163 else
164 myconf="${myconf} --without-anthy"
165 fi
166
167 if use qt3 && use kde ; then
168 myconf="${myconf} --enable-notify=knotify3"
169 elif use libnotify ; then
170 myconf="${myconf} --enable-notify=libnotify"
171 fi
172
173 econf $(use_with X x) \
174 $(use_with canna) \
175 $(use_with eb) \
176 $(use_enable emacs) \
177 $(use_with emacs lispdir "${SITELISP}") \
178 $(use_enable gnome gnome-applet) \
179 $(use_with gtk gtk2) \
180 $(use_with libedit) \
181 $(use_enable kde kde-applet) \
182 $(use_with m17n-lib m17nlib) \
183 $(use_enable ncurses fep) \
184 $(use_enable nls) \
185 $(use_with prime) \
186 $(use_with qt3 qt) \
187 $(use_with qt3 qt-immodule) \
188 $(use_with qt4 qt4-immodule) \
189 $(use_with xft) \
190 ${myconf} || die "econf failed"
191 }
192
193 src_compile() {
194 emake || die "emake failed"
195
196 if use emacs; then
197 cd emacs
198 elisp-compile *.el || die "elisp-compile failed"
199 fi
200 }
201
202 src_install() {
203 # parallel make install b0rked, bug #222677
204 emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed"
205
206 dodoc AUTHORS ChangeLog* NEWS README RELNOTE
207 if use emacs; then
208 elisp-install uim-el emacs/*.elc || die "elisp-install failed"
209 elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \
210 || die "elisp-site-file-install failed"
211 fi
212 }
213
214 pkg_postinst() {
215 elog
216 elog "To use uim-skk you should emerge app-i18n/skk-jisyo."
217 elog
218 elog "New input method switcher has been introduced. You need to set"
219 elog
220 elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE"
221 elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE"
222 elog "% XMODIFIERS=@im=uim ; export XMODIFIERS"
223 elog
224 elog "If you would like to use uim-anthy as default input method, put"
225 elog "(define default-im-name 'anthy)"
226 elog "to your ~/.uim."
227 elog
228 elog "All input methods can be found by running uim-im-switcher-gtk"
229 elog "or uim-im-switcher-qt."
230 elog
231 elog "If you upgrade from a version of uim older than 1.4.0,"
232 elog "you should run revdep-rebuild."
233
234 use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
235 if use emacs; then
236 elisp-site-regen
237 echo
238 elog "uim is autoloaded with Emacs with a minimal set of features:"
239 elog "There is no keybinding defined to call it directly, so please"
240 elog "create one yourself and choose an input method."
241 elog "Integration with LEIM is not done with this ebuild, please have"
242 elog "a look at the documentation how to achieve this."
243 fi
244 }
245
246 pkg_postrm() {
247 use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules"
248 use emacs && elisp-site-regen
249 }