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