1 |
matsuu 09/06/28 14:36:09 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: uim-1.5.6-r1.ebuild |
5 |
Log: |
6 |
Fixed libedit related issue, bug #275420. |
7 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.197 app-i18n/uim/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?rev=1.197&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?rev=1.197&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/ChangeLog?r1=1.196&r2=1.197 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v |
19 |
retrieving revision 1.196 |
20 |
retrieving revision 1.197 |
21 |
diff -u -r1.196 -r1.197 |
22 |
--- ChangeLog 25 Jun 2009 14:54:39 -0000 1.196 |
23 |
+++ ChangeLog 28 Jun 2009 14:36:09 -0000 1.197 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for app-i18n/uim |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.196 2009/06/25 14:54:39 matsuu Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-i18n/uim/ChangeLog,v 1.197 2009/06/28 14:36:09 matsuu Exp $ |
29 |
+ |
30 |
+*uim-1.5.6-r1 (28 Jun 2009) |
31 |
+ |
32 |
+ 28 Jun 2009; MATSUU Takuto <matsuu@g.o> +uim-1.5.6-r1.ebuild: |
33 |
+ Fixed libedit related issue, bug #275420. |
34 |
|
35 |
*uim-1.5.6 (25 Jun 2009) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.1 app-i18n/uim/uim-1.5.6-r1.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/uim-1.5.6-r1.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-i18n/uim/uim-1.5.6-r1.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: uim-1.5.6-r1.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.6-r1.ebuild,v 1.1 2009/06/28 14:36:09 matsuu Exp $ |
50 |
|
51 |
EAPI="2" |
52 |
inherit autotools 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 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 |
# bug 275420 |
136 |
sed -i -e "s:\$libedit_path/lib:/$(get_libdir):g" configure.ac || die |
137 |
eautoconf |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local myconf |
142 |
|
143 |
if use gtk && (use anthy || use canna) ; then |
144 |
myconf="${myconf} --enable-dict" |
145 |
else |
146 |
myconf="${myconf} --disable-dict" |
147 |
fi |
148 |
|
149 |
if use qt3 ; then |
150 |
append-flags -DQT_THREAD_SUPPORT |
151 |
fi |
152 |
|
153 |
if use gtk || use qt3 ; then |
154 |
myconf="${myconf} --enable-pref" |
155 |
else |
156 |
myconf="${myconf} --disable-pref" |
157 |
fi |
158 |
|
159 |
if use anthy ; then |
160 |
if use unicode ; then |
161 |
myconf="${myconf} --with-anthy-utf8" |
162 |
else |
163 |
myconf="${myconf} --with-anthy" |
164 |
fi |
165 |
else |
166 |
myconf="${myconf} --without-anthy" |
167 |
fi |
168 |
|
169 |
if use qt3 && use kde ; then |
170 |
myconf="${myconf} --enable-notify=knotify3" |
171 |
elif use libnotify ; then |
172 |
myconf="${myconf} --enable-notify=libnotify" |
173 |
fi |
174 |
|
175 |
econf $(use_with X x) \ |
176 |
$(use_with canna) \ |
177 |
$(use_with eb) \ |
178 |
$(use_enable emacs) \ |
179 |
$(use_with emacs lispdir "${SITELISP}") \ |
180 |
$(use_enable gnome gnome-applet) \ |
181 |
$(use_with gtk gtk2) \ |
182 |
$(use_with libedit) \ |
183 |
$(use_enable kde kde-applet) \ |
184 |
$(use_with m17n-lib m17nlib) \ |
185 |
$(use_enable ncurses fep) \ |
186 |
$(use_enable nls) \ |
187 |
$(use_with prime) \ |
188 |
$(use_with qt3 qt) \ |
189 |
$(use_with qt3 qt-immodule) \ |
190 |
$(use_with qt4 qt4-immodule) \ |
191 |
$(use_with xft) \ |
192 |
${myconf} || die "econf failed" |
193 |
} |
194 |
|
195 |
src_compile() { |
196 |
emake || die "emake failed" |
197 |
|
198 |
if use emacs; then |
199 |
cd emacs |
200 |
elisp-compile *.el || die "elisp-compile failed" |
201 |
fi |
202 |
} |
203 |
|
204 |
src_install() { |
205 |
# parallel make install b0rked, bug #222677 |
206 |
emake -j1 INSTALL_ROOT="${D}" DESTDIR="${D}" install || die "make install failed" |
207 |
|
208 |
dodoc AUTHORS ChangeLog* NEWS README RELNOTE |
209 |
if use emacs; then |
210 |
elisp-install uim-el emacs/*.elc || die "elisp-install failed" |
211 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" uim-el \ |
212 |
|| die "elisp-site-file-install failed" |
213 |
fi |
214 |
} |
215 |
|
216 |
pkg_postinst() { |
217 |
elog |
218 |
elog "To use uim-skk you should emerge app-i18n/skk-jisyo." |
219 |
elog |
220 |
elog "New input method switcher has been introduced. You need to set" |
221 |
elog |
222 |
elog "% GTK_IM_MODULE=uim ; export GTK_IM_MODULE" |
223 |
elog "% QT_IM_MODULE=uim ; export QT_IM_MODULE" |
224 |
elog "% XMODIFIERS=@im=uim ; export XMODIFIERS" |
225 |
elog |
226 |
elog "If you would like to use uim-anthy as default input method, put" |
227 |
elog "(define default-im-name 'anthy)" |
228 |
elog "to your ~/.uim." |
229 |
elog |
230 |
elog "All input methods can be found by running uim-im-switcher-gtk" |
231 |
elog "or uim-im-switcher-qt." |
232 |
elog |
233 |
elog "If you upgrade from a version of uim older than 1.4.0," |
234 |
elog "you should run revdep-rebuild." |
235 |
|
236 |
use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
237 |
if use emacs; then |
238 |
elisp-site-regen |
239 |
echo |
240 |
elog "uim is autoloaded with Emacs with a minimal set of features:" |
241 |
elog "There is no keybinding defined to call it directly, so please" |
242 |
elog "create one yourself and choose an input method." |
243 |
elog "Integration with LEIM is not done with this ebuild, please have" |
244 |
elog "a look at the documentation how to achieve this." |
245 |
fi |
246 |
} |
247 |
|
248 |
pkg_postrm() { |
249 |
use gtk && gtk-query-immodules-2.0 > "${ROOT}/${GTK2_CONFDIR}/gtk.immodules" |
250 |
use emacs && elisp-site-regen |
251 |
} |