Skip to contentSkip to conversation

uim: add new recipe and dependence

PATCH New Bian Naimeng 1 participant 3 messages Jun 26, 2015

lore
Share & tools
lore
#0 lore raw

cover uim: add new recipe and dependence

UIM(Universal Input Method) is a multilingual user input method library, which is provided by lots of linux distro, such as Debian, Ubuntu, Fedora.

Bian Naimeng (2):
anthy: add new recipe
uim: add new recipe

 meta-oe/recipes-support/anthy/anthy/2ch_t.patch    | 5062 ++++++++++++++++++++
 .../anthy/anthy/native-helpers.patch               |   50 +
 .../anthy/anthy/not_build_elc.patch                |   16 +
 .../anthy/anthy/target-helpers.patch               |  111 +
 meta-oe/recipes-support/anthy/anthy_9100h.bb       |   42 +
 .../uim/uim/0001-fix-bug-about-stdlib.patch        |   40 +
 .../uim/uim/0001-fix-bug-for-cross-compile.patch   |   28 +
 .../uim/uim/uim-module-manager.patch               |   11 +
 meta-oe/recipes-support/uim/uim_1.3.1.bb           |  128 +
 9 files changed, 5488 insertions(+)
 create mode 100644 meta-oe/recipes-support/anthy/anthy/2ch_t.patch
 create mode 100644 meta-oe/recipes-support/anthy/anthy/native-helpers.patch
 create mode 100644 meta-oe/recipes-support/anthy/anthy/not_build_elc.patch
 create mode 100644 meta-oe/recipes-support/anthy/anthy/target-helpers.patch
 create mode 100644 meta-oe/recipes-support/anthy/anthy_9100h.bb
 create mode 100644 meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch
 create mode 100644 meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch
 create mode 100644 meta-oe/recipes-support/uim/uim/uim-module-manager.patch
 create mode 100644 meta-oe/recipes-support/uim/uim_1.3.1.bb
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 uim: add new recipe

In reply to Bian Naimeng

UIM(Universal Input Method) is a multilingual user input method library.

---
 .../uim/uim/0001-fix-bug-about-stdlib.patch        |  40 +++++++
 .../uim/uim/0001-fix-bug-for-cross-compile.patch   |  28 +++++
 .../uim/uim/uim-module-manager.patch               |  11 ++
 meta-oe/recipes-support/uim/uim_1.3.1.bb           | 128 +++++++++++++++++++++
 4 files changed, 207 insertions(+)
 create mode 100644 meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch
 create mode 100644 meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch
 create mode 100644 meta-oe/recipes-support/uim/uim/uim-module-manager.patch
 create mode 100644 meta-oe/recipes-support/uim/uim_1.3.1.bb
meta-oe/recipes-support/uim/uim/0001-fix-bug-about-stdlib.patch new file +40 -0
new file mode 100644
index 0000000..9e63683
@@ -0,0 +1,40 @@
+From e0e3f82bd2918fdcc722918c108bc33647a4805f Mon Sep 17 00:00:00 2001
+From: Leimaohui <[email protected]>
+Date: Fri, 25 Oct 2013 18:31:22 +0900
+Subject: [PATCH] fix bug about stdlib
+
+Signed-off-by: leimaohui <[email protected]>
+---
+ 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
+
meta-oe/recipes-support/uim/uim/0001-fix-bug-for-cross-compile.patch new file +28 -0
new file mode 100644
index 0000000..61392c9
@@ -0,0 +1,28 @@
+From 2e87c39ae3a00b8231ee21a54c47361c1bf502f7 Mon Sep 17 00:00:00 2001
+From: Leimaohui <[email protected]>
+Date: Fri, 25 Oct 2013 18:23:12 +0900
+Subject: [PATCH] fix bug for cross compile
+
+Signed-off-by: leimaohui <[email protected]>
+---
+ configure.ac |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 3b64593..57395d4 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"
+-- 
+1.7.1
+
meta-oe/recipes-support/uim/uim/uim-module-manager.patch new file +11 -0
new file mode 100644
index 0000000..8569bf3
@@ -0,0 +1,11 @@
+--- uim-1.1.0/scm/Makefile.am~	2006-06-09 10:46:12.000000000 +0900
++++ uim-1.1.0/scm/Makefile.am	2006-06-19 23:00:15.620000000 +0900
+@@ -58,7 +58,7 @@
+   module_names += "scim"
+ endif
+ 
+-UIM_MODULE_MANAGER = $(top_builddir)/uim/uim-module-manager
++UIM_MODULE_MANAGER = uim-module-manager
+ UIM_MODULE_MANAGER_ENV = \
+         LIBUIM_SCM_FILES=$(abs_srcdir) \
+         LIBUIM_PLUGIN_LIB_DIR=$(abs_top_builddir)/uim/.libs
meta-oe/recipes-support/uim/uim_1.3.1.bb new file +128 -0

128 lines not on this page · raw message

Signature · 1 line
1.9.1