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