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