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