diff options
3 files changed, 36 insertions, 27 deletions
diff --git a/meta-oe/recipes-support/uim/uim/0001-Fix-to-set-libedit-path-from-configure-option-proper.patch b/meta-oe/recipes-support/uim/uim/0001-Fix-to-set-libedit-path-from-configure-option-proper.patch new file mode 100644 index 0000000000..34a1ea0fa2 --- /dev/null +++ b/meta-oe/recipes-support/uim/uim/0001-Fix-to-set-libedit-path-from-configure-option-proper.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From f828a89cc1e956d56498422ec158d284fc97de3f Mon Sep 17 00:00:00 2001 | ||
| 2 | From: OBATA Akio <obache@outlook.com> | ||
| 3 | Date: Fri, 10 Aug 2018 18:38:18 +0900 | ||
| 4 | Subject: [PATCH] Fix to set libedit path from configure option properly | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://github.com/uim/uim/pull/134] | ||
| 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 8 | |||
| 9 | --- | ||
| 10 | configure.ac | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/configure.ac b/configure.ac | ||
| 14 | index 00d1b02..9c0a5ec 100644 | ||
| 15 | --- a/configure.ac | ||
| 16 | +++ b/configure.ac | ||
| 17 | @@ -1311,8 +1311,8 @@ if test "x$with_libedit" != xno; then | ||
| 18 | if test "x$with_libedit" = xyes; then | ||
| 19 | libedit_path=/usr | ||
| 20 | else | ||
| 21 | - with_libedit=yes | ||
| 22 | libedit_path="$with_libedit" | ||
| 23 | + with_libedit=yes | ||
| 24 | fi | ||
| 25 | |||
| 26 | saved_CPPFLAGS=$CPPFLAGS | ||
| 27 | -- | ||
| 28 | 2.23.0 | ||
| 29 | |||
diff --git a/meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch b/meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch deleted file mode 100644 index 510a8c8407..0000000000 --- a/meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | From 08b5e51224ed95b1e76e99873b5f9f59840b0a74 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 3 | Date: Fri, 21 Aug 2015 15:58:42 +0900 | ||
| 4 | Subject: [PATCH] fix bug for cross compile | ||
| 5 | |||
| 6 | Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> | ||
| 7 | |||
| 8 | --- | ||
| 9 | configure.ac | 4 ++-- | ||
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 11 | |||
| 12 | --- a/configure.ac | ||
| 13 | +++ b/configure.ac | ||
| 14 | @@ -1317,8 +1317,8 @@ if test "x$with_libedit" != xno; then | ||
| 15 | |||
| 16 | saved_CPPFLAGS=$CPPFLAGS | ||
| 17 | saved_LDFLAGS=$LDFLAGS | ||
| 18 | - CPPFLAGS="${CPPFLAGS} -I$libedit_path/include" | ||
| 19 | - LDFLAGS="${LDFLAGS} -L$libedit_path/lib" | ||
| 20 | + CPPFLAGS="${CPPFLAGS}" | ||
| 21 | + LDFLAGS="${LDFLAGS}" | ||
| 22 | AC_CHECK_LIB(curses, tgetent, LIBEDIT_LIBS="-lcurses", | ||
| 23 | [AC_CHECK_LIB(ncurses, tgetent, LIBEDIT_LIBS="-lncurses", | ||
| 24 | AC_MSG_WARN("libedit needs libcurses or libncurses. disabled...") | ||
diff --git a/meta-oe/recipes-support/uim/uim_1.8.8.bb b/meta-oe/recipes-support/uim/uim_1.8.8.bb index cc28e6e8fd..8948ebf30f 100644 --- a/meta-oe/recipes-support/uim/uim_1.8.8.bb +++ b/meta-oe/recipes-support/uim/uim_1.8.8.bb | |||
| @@ -4,11 +4,11 @@ LICENSE = "BSD-3-Clause & LGPLv2+" | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ab2826b41ca0ff4030d38cc39791d1c8" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=ab2826b41ca0ff4030d38cc39791d1c8" |
| 5 | SECTION = "inputmethods" | 5 | SECTION = "inputmethods" |
| 6 | 6 | ||
| 7 | SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2" | 7 | SRC_URI = "https://github.com/uim/uim/releases/download/${PV}/uim-${PV}.tar.bz2 \ |
| 8 | 8 | file://0001-Fix-to-set-libedit-path-from-configure-option-proper.patch \ | |
| 9 | " | ||
| 9 | SRC_URI_append_class-target = "\ | 10 | SRC_URI_append_class-target = "\ |
| 10 | file://uim-module-manager.patch \ | 11 | file://uim-module-manager.patch \ |
| 11 | file://0001-fix-bug-for-cross-compile.patch \ | ||
| 12 | " | 12 | " |
| 13 | SRC_URI[md5sum] = "01c7bd5d0d4f3a9f6f5befe6f57a470b" | 13 | SRC_URI[md5sum] = "01c7bd5d0d4f3a9f6f5befe6f57a470b" |
| 14 | SRC_URI[sha256sum] = "34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc" | 14 | SRC_URI[sha256sum] = "34599bbcc4e5ab87832370763e38be5100984a64237555e9234a1ea225a0fadc" |
| @@ -22,6 +22,9 @@ RDEPENDS_uim-anthy_append_libc-glibc = " glibc-utils glibc-gconv-euc-jp" | |||
| 22 | 22 | ||
| 23 | LEAD_SONAME = "libuim.so.1" | 23 | LEAD_SONAME = "libuim.so.1" |
| 24 | 24 | ||
| 25 | COMPATIBLE_HOST_riscv64 = "null" | ||
| 26 | COMPATIBLE_HOST_riscv32 = "null" | ||
| 27 | |||
| 25 | inherit distro_features_check autotools pkgconfig gettext qemu gtk-immodules-cache | 28 | inherit distro_features_check autotools pkgconfig gettext qemu gtk-immodules-cache |
| 26 | 29 | ||
| 27 | REQUIRED_DISTRO_FEATURES = "x11" | 30 | REQUIRED_DISTRO_FEATURES = "x11" |
| @@ -29,6 +32,7 @@ REQUIRED_DISTRO_FEATURES = "x11" | |||
| 29 | GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3" | 32 | GTKIMMODULES_PACKAGES = "uim-gtk2.0 uim-gtk3" |
| 30 | 33 | ||
| 31 | EXTRA_OECONF += "--disable-emacs \ | 34 | EXTRA_OECONF += "--disable-emacs \ |
| 35 | --with-libedit=${STAGING_EXECPREFIXDIR} \ | ||
| 32 | --without-scim \ | 36 | --without-scim \ |
| 33 | --without-m17nlib \ | 37 | --without-m17nlib \ |
| 34 | --without-prime \ | 38 | --without-prime \ |
