- 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:
Takashi Iwai 2011-06-16 05:38:59 +00:00 committed by Git OBS Bridge
parent fe7c78048e
commit f24130803f
2 changed files with 18 additions and 8 deletions

View File

@ -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

View File

@ -127,11 +127,15 @@ 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
sed -i 1i"SYS_LIB=%{_lib}" $RPM_BUILD_ROOT/etc/X11/xim.d/ibus
PRIORITY=40
pushd $RPM_BUILD_ROOT/etc/X11/xim.d/
for lang in en zh_TW zh_HK zh_CN zh_SG ko_KR ja_JP ; do
for lang in am ar as bn el fa gu he hi hr ja ka kk kn ko lo ml my \
pa ru sk vi zh_TW zh_CN zh_HK zh_SG \
de fr it es nl cs pl da nn nb fi en sv
do
mkdir $lang
pushd $lang
ln -s ../ibus 40-ibus
ln -s ../ibus $PRIORITY-ibus
popd
done
popd