aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/uim
diff options
context:
space:
mode:
authorleimaohui <leimaohui@cn.fujitsu.com>2015-08-25 17:45:45 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-31 19:30:55 +0200
commitf2a8309af7ddb5586179dc6262c5673a46e74728 (patch)
tree37dc390dc7cc8420bbac7873bc1f320ec10e4884 /meta-oe/recipes-support/uim
parent5a8bbda588e36a9aba70d67c9caa565b3959cbe7 (diff)
downloadmeta-openembedded-contrib-f2a8309af7ddb5586179dc6262c5673a46e74728.tar.gz
uim: 1.3.1->1.8.6
- 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>
Diffstat (limited to 'meta-oe/recipes-support/uim')
-rw-r--r--meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch40
-rw-r--r--meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch38
-rw-r--r--meta-oe/recipes-support/uim/uim_1.8.6.bb (renamed from meta-oe/recipes-support/uim/uim_1.3.1.bb)15
3 files changed, 29 insertions, 64 deletions
diff --git a/meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch b/meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch
deleted file mode 100644
index 9e6368394cb..00000000000
--- a/meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From e0e3f82bd2918fdcc722918c108bc33647a4805f Mon Sep 17 00:00:00 2001
-From: Leimaohui <leimaohui@cn.fujitsu.com>
-Date: Fri, 25 Oct 2013 18:31:22 +0900
-Subject: [PATCH] fix bug about stdlib
-
-Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
----
- xim/locale.cpp | 3 ++-
- xim/ximserver.cpp | 1 +
- 2 files changed, 3 insertions(+), 1 deletions(-)
-
-diff --git a/xim/locale.cpp b/xim/locale.cpp
-index 380e945..edfaf03 100644
---- a/xim/locale.cpp
-+++ b/xim/locale.cpp
-@@ -35,7 +35,8 @@
- #ifdef HAVE_CONFIG_H
- # include <config.h>
- #endif
--
-+#include <string.h>
-+#include <stdlib.h>
- #include <stdio.h>
- #include <locale.h>
- #include <iconv.h>
-diff --git a/xim/ximserver.cpp b/xim/ximserver.cpp
-index 245c5f8..cde9918 100644
---- a/xim/ximserver.cpp
-+++ b/xim/ximserver.cpp
-@@ -34,6 +34,7 @@
- # include <config.h>
- #endif
-
-+#include <stdlib.h>
- #include <stdio.h>
- #include <ctype.h>
- #include <locale.h>
---
-1.7.1
-
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
index 61392c94dac..df82b07aac3 100644
--- 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
@@ -1,28 +1,28 @@
-From 2e87c39ae3a00b8231ee21a54c47361c1bf502f7 Mon Sep 17 00:00:00 2001
-From: Leimaohui <leimaohui@cn.fujitsu.com>
-Date: Fri, 25 Oct 2013 18:23:12 +0900
+From 2918196ba782dfa4401bdca917ad4de1910505e0 Mon Sep 17 00:00:00 2001
+From: Lei Maohui <leimaohui@cn.fujitsu.com>
+Date: Fri, 21 Aug 2015 15:58:42 +0900
Subject: [PATCH] fix bug for cross compile
-Signed-off-by: leimaohui <leimaohui@cn.fujitsu.com>
+Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
---
- configure.ac | 4 ++--
- 1 files changed, 2 insertions(+), 2 deletions(-)
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
-index 3b64593..57395d4 100644
+index 9be879c..9249bfd 100644
--- a/configure.ac
+++ b/configure.ac
-@@ -601,8 +601,8 @@ AC_HELP_STRING([--with-libedit[=DIR], Enable libedit support
- if test "x$use_libedit" != "xno"; then
- saved_CPPFLAGS=$CPPFLAGS
- saved_LDFLAGS=$LDFLAGS
-- CPPFLAGS="${CPPFLAGS} -I$libedit_path/include"
-- LDFLAGS="${LDFLAGS} -L$libedit_path/lib"
-+ CPPFLAGS="${CPPFLAGS} "
-+ LDFLAGS="${LDFLAGS} "
- AC_CHECK_LIB(edit, el_init,
- [
- LIBEDIT_LIBS="-ledit -lcurses -l$libedit_path/lib"
+@@ -1208,8 +1208,8 @@ AC_HELP_STRING([--with-libedit[=DIR], Enable libedit support
+ if test "x$use_libedit" != "xno"; then
+ saved_CPPFLAGS=$CPPFLAGS
+ saved_LDFLAGS=$LDFLAGS
+- CPPFLAGS="${CPPFLAGS} -I$libedit_path/include"
+- LDFLAGS="${LDFLAGS} -L$libedit_path/lib"
++ CPPFLAGS="${CPPFLAGS} "
++ LDFLAGS="${LDFLAGS} "
+ AC_CHECK_LIB(curses, tgetent, LIBEDIT_LIBS="-lcurses",
+ [AC_CHECK_LIB(ncurses, tgetent, LIBEDIT_LIBS="-lncurses",
+ AC_MSG_WARN("libedit needs libcurses or libncurses. disabled...")
--
-1.7.1
+1.8.4.2
diff --git a/meta-oe/recipes-support/uim/uim_1.3.1.bb b/meta-oe/recipes-support/uim/uim_1.8.6.bb
index 2232405bf19..8f3797f46f9 100644
--- a/meta-oe/recipes-support/uim/uim_1.3.1.bb
+++ b/meta-oe/recipes-support/uim/uim_1.8.6.bb
@@ -1,17 +1,17 @@
DESCRIPTION = "A multilingual user input method library"
HOMEPAGE = "http://uim.freedesktop.org/"
-LICENSE = "BSD"
+LICENSE = "BSD-3-Clause & LGPLv2+"
SECTION = "inputmethods"
SRC_URI = "http://uim.googlecode.com/files/uim-${PV}.tar.bz2 \
- file://0001-fix-bug-about-stdlib.patch "
+ "
SRC_URI_append_class-target = "file://uim-module-manager.patch \
file://0001-fix-bug-for-cross-compile.patch"
-LIC_FILES_CHKSUM = "file://COPYING;md5=9c372efbeca58ce22017a29c1ebf8bf0"
-SRC_URI[md5sum] = "2832e23d4778bbacbfa4b49bf642d667"
-SRC_URI[sha256sum] = "ed2cfa15018a4fd2557e875f66fcb3f0b9dabe12fa0700aa2f11cca69c2cb256"
+LIC_FILES_CHKSUM = "file://COPYING;md5=32463fd29aa303fb2360faeeae17256b"
+SRC_URI[md5sum] = "ecea4c597bab1fd4ba98ea84edcece59"
+SRC_URI[sha256sum] = "7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f"
DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool"
DEPENDS_class-target += "gtk+ uim-native takao-fonts"
@@ -33,6 +33,11 @@ EXTRA_OECONF += "--disable-emacs \
CONFIGUREOPTS_remove_class-target = "--disable-silent-rules"
+#Because m4 file's find maxdepth=2, so copy the m4 files of the deep depth.
+do_configure_prepend () {
+ cp ${S}/sigscheme/m4/* ${S}/m4/
+}
+
PACKAGES += "uim-xim uim-utils uim-skk uim-gtk2.0 uim-fep uim-common uim-anthy libuim0 libuim-dev"
FILES_libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \