- Fix xim.d locale directories of ja and ko
- Add xim.d selections for more locales to replace with SCIM OBS-URL: https://build.opensuse.org/package/show/M17N/ibus?expand=0&rev=16
This commit is contained in:
parent
fe7c78048e
commit
f24130803f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 16 07:37:21 CEST 2011 - tiwai@suse.de
|
||||||
|
|
||||||
|
- Fix xim.d locale directories of ja and ko
|
||||||
|
- Add xim.d selections for more locales to replace with SCIM
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 15 11:50:47 CEST 2011 - tiwai@suse.de
|
Wed Jun 15 11:50:47 CEST 2011 - tiwai@suse.de
|
||||||
|
|
||||||
|
20
ibus.spec
20
ibus.spec
@ -127,14 +127,18 @@ mkdir -p $RPM_BUILD_ROOT/etc/X11/xim.d/
|
|||||||
install -m 644 $RPM_SOURCE_DIR/xim.d-ibus $RPM_BUILD_ROOT/etc/X11/xim.d/ibus
|
install -m 644 $RPM_SOURCE_DIR/xim.d-ibus $RPM_BUILD_ROOT/etc/X11/xim.d/ibus
|
||||||
sed -i 1i"SYS_LIB=%{_lib}" $RPM_BUILD_ROOT/etc/X11/xim.d/ibus
|
sed -i 1i"SYS_LIB=%{_lib}" $RPM_BUILD_ROOT/etc/X11/xim.d/ibus
|
||||||
|
|
||||||
pushd $RPM_BUILD_ROOT/etc/X11/xim.d/
|
PRIORITY=40
|
||||||
for lang in en zh_TW zh_HK zh_CN zh_SG ko_KR ja_JP ; do
|
pushd $RPM_BUILD_ROOT/etc/X11/xim.d/
|
||||||
mkdir $lang
|
for lang in am ar as bn el fa gu he hi hr ja ka kk kn ko lo ml my \
|
||||||
pushd $lang
|
pa ru sk vi zh_TW zh_CN zh_HK zh_SG \
|
||||||
ln -s ../ibus 40-ibus
|
de fr it es nl cs pl da nn nb fi en sv
|
||||||
popd
|
do
|
||||||
done
|
mkdir $lang
|
||||||
popd
|
pushd $lang
|
||||||
|
ln -s ../ibus $PRIORITY-ibus
|
||||||
|
popd
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/gtk-2.0/%{gtk_binary_version}/immodules/im-ibus.*a
|
||||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus.*a
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libibus.*a
|
||||||
|
Loading…
Reference in New Issue
Block a user