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>
The target build runs uim-module-manager (from uim-native, via PATH) to
generate scm/installed-modules.scm. Module registration makes the tool
uim_init() and dlopen the uim C plugins found in LIBUIM_PLUGIN_LIB_DIR,
which scm/Makefile hardcodes to the target build's uim/.libs. The native
uim-module-manager therefore loads target objects (and, transitively, the
target libuim) into the native process, which crashes do_compile when the
build host ABI differs from the target:
make[1]: *** [Makefile:869: installed-modules.scm] Segmentation fault
seen building for x86-64-v3-poky-linux on an x86-64 host.
Make LIBUIM_PLUGIN_LIB_DIR overridable in scm/Makefile.am and point it at
the native plugin directory (${STAGING_LIBDIR_NATIVE}/uim/plugin) for the
target build, so the native tool loads compatible native plugins. The
generated installed-modules.scm is architecture independent, so the result
is unchanged. The native build is unaffected (the patch and override are
class-target only).
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
uim 1.9.6 (May 16, 2025)
Improvements:
Changed the default value of --enable-default-toolkit to automatically detect the default toolkit
GTK+ 3: Simplified implementation
GTK+ 2: Added support again (after being dropped in 1.9.4)
Fixes:
sqlite3: Added missing libuim-scm.la dependency
uim 1.9.5 (May 6, 2025)
Fixes:
GTK+ 3: Fixed a build problem
uim 1.9.4 (May 6, 2025)
Improvements:
Suppressed incompatible-pointer-types warnings
Updated bundled SigScheme to 0.9.3
Dropped support for GTK+ 2 (later restored in 1.9.6)
uim 1.9.3
Improvements:
Updated bundled SigScheme 0.9.2 that is C23 ready (to support GCC 15's default C23 mode)
uim 1.9.2
Improvements:
Qt: Changed to use metadata.json from metadata.desktop because metadata.desktop is deprecated
Qt: Specified cmake_minimum_required() explicitly for CMake 4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This reverts commit 24ff52ba3b.
The original patch was my bad. The patches for oe-core were re-worked,
but I forgot the recall this patch.
In fact, inheriting qemu is needed because it sets a clear barriar
for people to use qemu user mode. And the QEMU_OPTIONS settings
are also in qemu.bbclass.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Avoid inheriting qemu.bbclass and use oe.qemu.xxx instead.
Also, the 'qemu-native' dep is replaced by 'qemuwrapper-cross' for
PACKAGE_WRITE_DEPS. qemuwrapper-cross is the one that is actually
used by postints and it has 'qemu-native' in DEPENDS.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
There is new patch-status QA check in oe-core:
https://git.openembedded.org/openembedded-core/commit/?id=76a685bfcf927593eac67157762a53259089ea8a
This is temporary work around just to hide _many_ warnings from
optional patch-status (if you add it to WARN_QA).
This just added
Upstream-Status: Pending
everywhere without actually investigating what's the proper status.
This is just to hide current QA warnings and to catch new .patch files being
added without Upstream-Status, but the number of Pending patches is now terrible:
5 (26%) meta-xfce
6 (50%) meta-perl
15 (42%) meta-webserver
21 (36%) meta-gnome
25 (57%) meta-filesystems
26 (43%) meta-initramfs
45 (45%) meta-python
47 (55%) meta-multimedia
312 (63%) meta-networking
756 (61%) meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Delete old m4 macros, so autoreconf can repopulate it.
Fixes
libtool: Version mismatch error. This is libtool 2.4.7, but the
libtool: definition of this LT_INIT comes from libtool 2.4.6.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4.7
libtool: and run autoconf again.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This is the result of automated script (0.9.1) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of "_".
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This is unearthed by gcc10 like below
| /mnt/b/yoe/master/build/tmp/hosttools/ld: .libs/gcroots.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here
| /mnt/b/yoe/master/build/tmp/hosttools/ld: .libs/mach_dep.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here
| collect2: error: ld returned 1 exit status
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Fixes:
INFO: Skip package uim (status = UNKNOWN_BROKEN, current version = 1.8.8, next version = N/A)
After this commit:
INFO: Skip package uim (status = MATCH, current version = 1.8.8, next version = 1.8.8)
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
WARNING:
Some of the context lines in patches were ignored. This can lead to incorrectly applied patches.
The context lines in the patches can be updated with devtool:
devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>
Then the updated patches and the source tree (in devtool's workspace)
should be reviewed to make sure the patches apply in the correct place
and don't introduce duplicate lines (which can, and does happen
when some of the context is ignored). Further information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.htmlhttps://bugzilla.yoctoproject.org/show_bug.cgi?id=10450
Details:
checking file scm/Makefile.am
Hunk #1 succeeded at 119 with fuzz 2 (offset 61 lines).
Signed-off-by: Armin Kuster <akuster808@gmail.com>
* musl doesn't provide these
* I'm not using uim, but this is breaking signatures test in world builds
for many months and nobody seems to care
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
pkg_postinst_uim-gtk2.0 is not worked. Plus, uim-gtk3 is not supported.
oe-core has gtk-immodule-cache class for update the immodule.cache.
Modified to use the this class instead of pkg_post_uim-gtk2.0 and added support to uim-gtk3.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
pkg_postinst*/pkg_prerm_* functions are not worked correctly.
Because uim-module-manager executes on the host machine.
It needs executed via qemu.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
These functions are not worked correctly.
However default im is installed. thus we determined it not need.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
To uim-anthy is working correctly needs register by uim-module-manager.
However 'uim-module-manager --register anthy' is failed.
Because uim-module-manager uses iconv(EUCJP to UTF8) internally.
iconv needs glibc-utils and EUCJP conversion needs glibc-gconv-euc-jp.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
anthy.h could not found at confiugre of uim.
class-target override was used incorrectly with +=,
but instead of expected append to DEPENDS set above
it overrided whole DEPENDS for target builds so anthy
was missing.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
The uim-anthy package is created that empty.
To avoid this problem by defining a packages with a rough PATH list after the uim-anthy package.
Signed-off-by: Yusuke Mitsuki <mickey.happygolucky@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* I'm not sure if these belong to uim-xim or rather uim-gtk2.0/uim-gtk3
but original author obviously doesn't care so I'll follow the
uim-candwin-gtk example and put them all in uim-xim
* fixes:
uim-1.8.6: uim: Files/directories were installed but not shipped in any package:
/usr/libexec/uim-candwin-horizontal-gtk
/usr/libexec/uim-candwin-gtk3
/usr/libexec/uim-candwin-tbl-gtk3
/usr/libexec/uim-candwin-tbl-gtk
/usr/libexec/uim-candwin-horizontal-gtk3
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
uim: 5 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
uim-1.8.6: uim: Files/directories were installed but not shipped in any
package:
/usr/lib/gtk-3.0/3.0.0/immodules/im-uim.so
/usr/lib/gtk-3.0/3.0.0/immodules/im-uim.la
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
- deleted 0001-fix-bug-about-stdlib.patch that not be needed.
- modified license
Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>