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