mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 20:07:25 +00:00
86f430b5b6
Replace the long-dead anthy 9100h (last released 2009, fetched from an old Ubuntu source tarball) with the maintained fork anthy-unicode, which is UTF-8 native and actively released on GitHub. anthy-unicode renames its libraries (libanthy-unicode, libanthydic-unicode, libanthyinput-unicode), pkg-config module file (anthy-unicode.pc), headers (includedir/anthy-unicode-1.0/anthy), config file (anthy-unicode.conf) and binaries (anthy-*-unicode). The recipe and packaging are updated accordingly: libanthy-unicode0 for the runtime libraries and the standard PN-dev for the development files. The cross-compilation strategy is carried over from the old recipe: dictionary generation runs helper programs (mkfiledic, mkworddic, mkdepgraph, calctrans, proccorpus) that cannot execute when cross compiling. native-helpers.patch promotes them to bin_PROGRAMS so anthy-unicode-native stages them into the native sysroot; target-helpers.patch makes the target dictionary rules call them from PATH instead of ./. not_build_elc.patch avoids byte-compiling the Emacs lisp (no target Emacs under cross compilation). The patches are regenerated against anthy-unicode's -unicode-suffixed libtool archives. The legacy 2ch_t.patch is dropped; anthy-unicode has no mkanthydic/2ch.t. uim is switched from the legacy EUC-JP anthy backend to the UTF-8 anthy-unicode backend it already supports: configure with --without-anthy --with-anthy-utf8, DEPENDS on anthy-unicode, and the uim-anthy package is renamed uim-anthy-utf8 (plugin libuim-anthy-utf8, anthy-utf8*.scm, module registered as anthy-utf8) with RDEPENDS on libanthy-unicode0. packagegroup-meta-oe: anthy -> anthy-unicode. Verified by building anthy-unicode-native and anthy-unicode for x86-64 (do_package_qa clean): the native helpers stage into the native sysroot, the target build generates anthy.wdic/anthy.dep/anthy.dic via those native helpers, and packaging splits into anthy-unicode, libanthy-unicode0 and anthy-unicode-dev. uim variables verified by parse (it requires the x11 DISTRO_FEATURE, which the qemux86-64 yoe distro strips, so it is not buildable in this configuration). Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>