diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-07-25 17:06:12 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-07-25 17:09:25 -0700 |
| commit | 1685684e334698b11651c286aa3c224bc4c4e587 (patch) | |
| tree | 56c5f561fc73dc92b8c792fe885f94c40c378fdb /meta-oe/recipes-support/uim/uim_1.9.6.bb | |
| parent | dc8cae714dc7bd54c495f473438c3fb330fc5ce7 (diff) | |
| download | meta-openembedded-1685684e334698b11651c286aa3c224bc4c4e587.tar.gz | |
uim: Upgrade to 1.9.6
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>
Diffstat (limited to 'meta-oe/recipes-support/uim/uim_1.9.6.bb')
| -rw-r--r-- | meta-oe/recipes-support/uim/uim_1.9.6.bb | 154 |
1 files changed, 154 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/uim/uim_1.9.6.bb b/meta-oe/recipes-support/uim/uim_1.9.6.bb new file mode 100644 index 0000000000..6e6ed522d8 --- /dev/null +++ b/meta-oe/recipes-support/uim/uim_1.9.6.bb | |||
| @@ -0,0 +1,154 @@ | |||
| 1 | DESCRIPTION = "A multilingual user input method library" | ||
| 2 | HOMEPAGE = "http://uim.freedesktop.org/" | ||
| 3 | LICENSE = "BSD-3-Clause & LGPL-2.0-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ab2826b41ca0ff4030d38cc39791d1c8" | ||
| 5 | SECTION = "inputmethods" | ||
| 6 | |||
| 7 | SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2" | ||
| 8 | SRC_URI:append:class-target = "\ | ||
| 9 | file://uim-module-manager.patch \ | ||
| 10 | " | ||
| 11 | SRC_URI[sha256sum] = "67f0e5fa4292a533edc6f98b842df60c531a89cf82d0336a4e1ab72202ab8c83" | ||
| 12 | |||
| 13 | UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases" | ||
| 14 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
| 15 | |||
| 16 | DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool libedit autoconf-archive-native" | ||
| 17 | DEPENDS:append:class-target = " intltool-native gtk+ gtk+3 uim-native" | ||
| 18 | |||
| 19 | RDEPENDS:uim = "libuim0 libedit" | ||
| 20 | RDEPENDS:uim-anthy = "anthy libanthy0" | ||
| 21 | RDEPENDS:uim-anthy:append:libc-glibc = " glibc-utils glibc-gconv-euc-jp" | ||
| 22 | |||
| 23 | LEAD_SONAME = "libuim.so.1" | ||
| 24 | |||
| 25 | COMPATIBLE_HOST:riscv64 = "null" | ||
| 26 | COMPATIBLE_HOST:riscv32 = "null" | ||
| 27 | |||
| 28 | inherit features_check autotools pkgconfig gettext qemu gtk-immodules-cache | ||
| 29 | |||
| 30 | REQUIRED_DISTRO_FEATURES = "x11" | ||
| 31 | |||
| 32 | GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3" | ||
| 33 | |||
| 34 | EXTRA_OECONF += "--disable-emacs \ | ||
| 35 | --with-libedit=${STAGING_EXECPREFIXDIR} \ | ||
| 36 | --without-scim \ | ||
| 37 | --without-m17nlib \ | ||
| 38 | --without-prime \ | ||
| 39 | --without-canna \ | ||
| 40 | --without-mana \ | ||
| 41 | --without-eb \ | ||
| 42 | " | ||
| 43 | |||
| 44 | CONFIGUREOPTS:remove:class-target = "--disable-silent-rules" | ||
| 45 | |||
| 46 | # https://github.com/uim/uim/issues/44 | ||
| 47 | PARALLEL_MAKE = "" | ||
| 48 | |||
| 49 | #Because m4 file's find maxdepth=2, so copy the m4 files of the deep depth. | ||
| 50 | do_configure:prepend () { | ||
| 51 | rm -rf ${S}/m4.generated/lt*.m4 ${S}/m4.generated/libtool.m4 | ||
| 52 | rm -rf ${S}/sigscheme/libgcroots/m4/lt*.m4 ${S}/sigscheme/libgcroots/m4/libtool.m4 | ||
| 53 | rm -rf ${S}/sigscheme/m4/lt*.m4 ${S}/sigscheme/m4/libtool.m4 | ||
| 54 | cp ${S}/sigscheme/m4/* ${S}/m4/ | ||
| 55 | } | ||
| 56 | |||
| 57 | do_install:append() { | ||
| 58 | rm -rf ${D}${datadir}/applications | ||
| 59 | } | ||
| 60 | |||
| 61 | PACKAGES =+ "uim-xim uim-utils uim-skk uim-gtk2.0 uim-gtk3 uim-fep uim-anthy uim-common libuim0 libuim-dev" | ||
| 62 | |||
| 63 | FILES:${PN} = "${bindir}/uim-help \ | ||
| 64 | ${libdir}/uim/plugin/libuim-* \ | ||
| 65 | ${libdir}/libuim-scm* \ | ||
| 66 | ${libdir}/libgcroots* \ | ||
| 67 | ${libdir}/uim/plugin/libuim-* \ | ||
| 68 | " | ||
| 69 | |||
| 70 | FILES:libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \ | ||
| 71 | ${libdir}/libuim-custom.so.* \ | ||
| 72 | ${datadir}/locale/ja/LC_MESSAGES/uim.mo \ | ||
| 73 | ${datadir}/locale/fr/LC_MESSAGES/uim.mo \ | ||
| 74 | ${datadir}/locale/ko/LC_MESSAGES/uim.mo \ | ||
| 75 | ${libdir}/libuim.so.* \ | ||
| 76 | " | ||
| 77 | FILES:libuim-dev = "${libdir}/libuim*.a \ | ||
| 78 | ${libdir}/libuim*.la \ | ||
| 79 | ${libdir}/libuim*.so \ | ||
| 80 | ${includedir}/uim \ | ||
| 81 | ${libdir}/pkgconfig/uim.pc \ | ||
| 82 | " | ||
| 83 | FILES:uim-anthy = "${libdir}/uim/plugin/libuim-anthy.* \ | ||
| 84 | ${datadir}/uim/anthy*.scm \ | ||
| 85 | " | ||
| 86 | FILES:${PN}-dbg += "${libdir}/*/*/*/.debug ${libdir}/*/*/.debug" | ||
| 87 | FILES:${PN}-dev += "${libdir}/uim/plugin/*.la" | ||
| 88 | |||
| 89 | FILES:uim-utils = "${bindir}/uim-sh \ | ||
| 90 | ${bindir}/uim-module-manager \ | ||
| 91 | ${libexecdir}/uim-helper-server \ | ||
| 92 | " | ||
| 93 | FILES:uim-xim = "${bindir}/uim-xim \ | ||
| 94 | ${libexecdir}/uim-candwin-*gtk \ | ||
| 95 | ${libexecdir}/uim-candwin-*gtk3 \ | ||
| 96 | ${datadir}/man/man1/uim-xim.1 \ | ||
| 97 | ${sysconfdir}/X11/xinit/xinput.d/uim* \ | ||
| 98 | " | ||
| 99 | FILES:uim-common = "${datadir}/uim/pixmaps/*.png \ | ||
| 100 | ${datadir}/uim \ | ||
| 101 | " | ||
| 102 | FILES:uim-fep = "${bindir}/uim-fep*" | ||
| 103 | |||
| 104 | FILES:uim-gtk2.0 = "${libdir}/gtk-2.0 \ | ||
| 105 | ${bindir}/uim-toolbar-gtk \ | ||
| 106 | ${bindir}/uim-toolbar-gtk-systray \ | ||
| 107 | ${bindir}/uim-*-gtk \ | ||
| 108 | ${bindir}/uim-input-pad-ja \ | ||
| 109 | ${libdir}/uim/uim-*-gtk \ | ||
| 110 | " | ||
| 111 | FILES:uim-gtk3 = "${libdir}/gtk-3.0 \ | ||
| 112 | ${bindir}/uim-toolbar-gtk3 \ | ||
| 113 | ${bindir}/uim-toolbar-gtk3-systray \ | ||
| 114 | ${bindir}/uim-*-gtk3 \ | ||
| 115 | ${libdir}/uim/uim-*-gtk3 \ | ||
| 116 | " | ||
| 117 | FILES:uim-skk = "${libdir}/uim/plugin/libuim-skk.* \ | ||
| 118 | ${datadir}/uim/skk*.scm \ | ||
| 119 | " | ||
| 120 | |||
| 121 | PACKAGE_WRITE_DEPS += "qemu-native" | ||
| 122 | pkg_postinst:uim-anthy() { | ||
| 123 | if test -n "$D"; then | ||
| 124 | ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register anthy --path $D${datadir}/uim | ||
| 125 | else | ||
| 126 | uim-module-manager --register anthy --path ${datadir}/uim | ||
| 127 | fi | ||
| 128 | } | ||
| 129 | |||
| 130 | pkg_prerm:uim-anthy() { | ||
| 131 | if test -n "$D"; then | ||
| 132 | ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister anthy | ||
| 133 | else | ||
| 134 | uim-module-manager --path ${datadir}/uim --unregister anthy | ||
| 135 | fi | ||
| 136 | } | ||
| 137 | |||
| 138 | pkg_postinst:uim-skk() { | ||
| 139 | if test -n "$D"; then | ||
| 140 | ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --register skk --path $D${datadir}/uim | ||
| 141 | else | ||
| 142 | uim-module-manager --register skk --path ${datadir}/uim | ||
| 143 | fi | ||
| 144 | } | ||
| 145 | |||
| 146 | pkg_postrm:uim-skk() { | ||
| 147 | if test -n "$D"; then | ||
| 148 | ${@qemu_run_binary(d, '$D', '${bindir}/uim-module-manager')} --path $D${datadir}/uim --unregister skk | ||
| 149 | else | ||
| 150 | uim-module-manager --path ${datadir}/uim --unregister skk | ||
| 151 | fi | ||
| 152 | } | ||
| 153 | |||
| 154 | BBCLASSEXTEND = "native" | ||
