From f24130803fdab1e41437261d868aeb8d7c86bfed2d778ed40e453f7650612268 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Thu, 16 Jun 2011 05:38:59 +0000 Subject: [PATCH] - 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 --- ibus.changes | 6 ++++++ ibus.spec | 20 ++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/ibus.changes b/ibus.changes index 3bcdcd8..e56ffc0 100644 --- a/ibus.changes +++ b/ibus.changes @@ -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 diff --git a/ibus.spec b/ibus.spec index f0d45a6..47e652b 100644 --- a/ibus.spec +++ b/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 sed -i 1i"SYS_LIB=%{_lib}" $RPM_BUILD_ROOT/etc/X11/xim.d/ibus - 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 - mkdir $lang - pushd $lang - ln -s ../ibus 40-ibus - popd - done - popd +PRIORITY=40 +pushd $RPM_BUILD_ROOT/etc/X11/xim.d/ + 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 $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}/libibus.*a