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