compiled on old laptop with CPU T5200
Compile Flags:
CFLAGS="-mtune=generic -Os -pipe"
CXXFLAGS="-mtune=generic -Os -pipe -fno-exceptions -fno-rtti"
LDFLAGS="-Wl,-O1"
export CFLAGS CXXFLAGS LDFLAGS
Dependencies:
anthy-dev
autogen-dev
automake
compiletc
libtool-dev
ibus-dev
ibus-gir
Commands:
tar -xf ibus-anthy-1.5.11.tar.gz
cd ibus-anthy-1.5.11
./autogen.sh --prefix='/usr/local' \
--sysconfdir='/usr/local/etc' \
--libdir='/usr/local/lib' \
--libexecdir='/usr/local/lib/ibus-anthy' \
--with-python='/usr/local/bin/python3'
# Optional: to build python site-packages, load swig.tcz
# then configure with --enable-pygtk2-anthy='yes'
make -j
# configure summary
IBus-Anthy version 1.5.11
GOBJECT2_CFLAGS -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include
GOBJECT2_LIBS -L/usr/local/lib -lgobject-2.0 -lglib-2.0
ANTHY_PC anthy
ANTHY_CFLAGS -I/usr/local/include
ANTHY_LIBS -L/usr/local/lib -lanthy -lanthydic
ANTHY_GOBJECT_LIBDIR $(libdir)
ANTHY_GOBJECT_GIRDIR $(datadir)/gir-1.0
ANTHY_GOBJECT_TYPELIBSDIR $(libdir)/girepository-1.0
LT_VERSION_INFO 5:511:0
ENV_IBUS_ENGINE
HAVE_PYGTK2_ANTHY no
python /usr/local/bin/python3
Enable python2 no
Enable python3 yes
python-config
PYTHON_CFLAGS
PYTHON_LIBS
ANTHY_ZIPCODE_FILE /usr/local/share/anthy/zipcode.t
KASUMI_EXEC_FILE ${exec_prefix}/bin/kasumi
KASUMI_ICON_FILE ${datarootdir}/pixmaps/kasumi.png
ICON_PREFERENCE preferences-desktop
ON_OFF_KEYS 'Zenkaku_Hankaku', 'Ctrl+J'
HOTKEYS_XML
SYMBOL_XML あ
ICON_PROP_KEY_XML InputMode
LAYOUT_XML jp