--- ibus-anthy-1.2.6/configure.ac.orig 2012-02-06 11:08:11.937122266 +0900 +++ ibus-anthy-1.2.6/configure.ac 2012-02-06 11:16:23.738872390 +0900 @@ -155,6 +155,20 @@ else fi AC_SUBST(SYMBOL_XML) +dnl - set ibus-anthy layout +AC_ARG_WITH(layout, + [AC_HELP_STRING([--with-layout=LAYOUT], + [Define the laoyut. the default is 'jp'. + Probably You could set 'default'.])], + [LAYOUT="$withval"], + [LAYOUT="jp"]) +if test x"$LAYOUT" = x; then + LAYOUT_XML="jp" +else + LAYOUT_XML="${LAYOUT}" +fi +AC_SUBST(LAYOUT_XML) + dnl - define GETTEXT_* variables GETTEXT_PACKAGE=ibus-anthy AC_SUBST(GETTEXT_PACKAGE) @@ -190,4 +204,5 @@ KASUMI_EXEC_FILE $KASUMI_EXEC_FI KASUMI_ICON_FILE $KASUMI_ICON_FILE HOTKEYS_XML $HOTKEYS_XML SYMBOL_XML $SYMBOL_XML +LAYOUT_XML $LAYOUT_XML " --- ibus-anthy-1.2.6/engine/anthy.xml.in.in.orig 2012-02-06 11:08:40.405570889 +0900 +++ ibus-anthy-1.2.6/engine/anthy.xml.in.in 2012-02-06 11:15:21.085885067 +0900 @@ -18,7 +18,7 @@ GPL Peng Huang <shawn.p.huang@gmail.com> ${pkgdatadir}/icons/ibus-anthy.png - jp + @LAYOUT_XML@ Anthy Anthy Input Method 99