mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-02 02:25:42 +00:00
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>
This commit is contained in:
parent
5a8bbda588
commit
f2a8309af7
@ -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
|
|
||||||
|
|
||||||
@ -1,28 +1,28 @@
|
|||||||
From 2e87c39ae3a00b8231ee21a54c47361c1bf502f7 Mon Sep 17 00:00:00 2001
|
From 2918196ba782dfa4401bdca917ad4de1910505e0 Mon Sep 17 00:00:00 2001
|
||||||
From: Leimaohui <leimaohui@cn.fujitsu.com>
|
From: Lei Maohui <leimaohui@cn.fujitsu.com>
|
||||||
Date: Fri, 25 Oct 2013 18:23:12 +0900
|
Date: Fri, 21 Aug 2015 15:58:42 +0900
|
||||||
Subject: [PATCH] fix bug for cross compile
|
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 ++--
|
configure.ac | 4 ++--
|
||||||
1 files changed, 2 insertions(+), 2 deletions(-)
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index 3b64593..57395d4 100644
|
index 9be879c..9249bfd 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -601,8 +601,8 @@ AC_HELP_STRING([--with-libedit[=DIR], Enable libedit support
|
@@ -1208,8 +1208,8 @@ AC_HELP_STRING([--with-libedit[=DIR], Enable libedit support
|
||||||
if test "x$use_libedit" != "xno"; then
|
if test "x$use_libedit" != "xno"; then
|
||||||
saved_CPPFLAGS=$CPPFLAGS
|
saved_CPPFLAGS=$CPPFLAGS
|
||||||
saved_LDFLAGS=$LDFLAGS
|
saved_LDFLAGS=$LDFLAGS
|
||||||
- CPPFLAGS="${CPPFLAGS} -I$libedit_path/include"
|
- CPPFLAGS="${CPPFLAGS} -I$libedit_path/include"
|
||||||
- LDFLAGS="${LDFLAGS} -L$libedit_path/lib"
|
- LDFLAGS="${LDFLAGS} -L$libedit_path/lib"
|
||||||
+ CPPFLAGS="${CPPFLAGS} "
|
+ CPPFLAGS="${CPPFLAGS} "
|
||||||
+ LDFLAGS="${LDFLAGS} "
|
+ LDFLAGS="${LDFLAGS} "
|
||||||
AC_CHECK_LIB(edit, el_init,
|
AC_CHECK_LIB(curses, tgetent, LIBEDIT_LIBS="-lcurses",
|
||||||
[
|
[AC_CHECK_LIB(ncurses, tgetent, LIBEDIT_LIBS="-lncurses",
|
||||||
LIBEDIT_LIBS="-ledit -lcurses -l$libedit_path/lib"
|
AC_MSG_WARN("libedit needs libcurses or libncurses. disabled...")
|
||||||
--
|
--
|
||||||
1.7.1
|
1.8.4.2
|
||||||
|
|
||||||
|
|||||||
@ -1,17 +1,17 @@
|
|||||||
DESCRIPTION = "A multilingual user input method library"
|
DESCRIPTION = "A multilingual user input method library"
|
||||||
HOMEPAGE = "http://uim.freedesktop.org/"
|
HOMEPAGE = "http://uim.freedesktop.org/"
|
||||||
LICENSE = "BSD"
|
LICENSE = "BSD-3-Clause & LGPLv2+"
|
||||||
SECTION = "inputmethods"
|
SECTION = "inputmethods"
|
||||||
|
|
||||||
SRC_URI = "http://uim.googlecode.com/files/uim-${PV}.tar.bz2 \
|
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 \
|
SRC_URI_append_class-target = "file://uim-module-manager.patch \
|
||||||
file://0001-fix-bug-for-cross-compile.patch"
|
file://0001-fix-bug-for-cross-compile.patch"
|
||||||
|
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=9c372efbeca58ce22017a29c1ebf8bf0"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=32463fd29aa303fb2360faeeae17256b"
|
||||||
SRC_URI[md5sum] = "2832e23d4778bbacbfa4b49bf642d667"
|
SRC_URI[md5sum] = "ecea4c597bab1fd4ba98ea84edcece59"
|
||||||
SRC_URI[sha256sum] = "ed2cfa15018a4fd2557e875f66fcb3f0b9dabe12fa0700aa2f11cca69c2cb256"
|
SRC_URI[sha256sum] = "7b1ea803c73f3478917166f04f67cce6e45ad7ea5ab6df99b948c17eb1cb235f"
|
||||||
|
|
||||||
DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool"
|
DEPENDS = "anthy fontconfig libxft libxt glib-2.0 ncurses intltool"
|
||||||
DEPENDS_class-target += "gtk+ uim-native takao-fonts"
|
DEPENDS_class-target += "gtk+ uim-native takao-fonts"
|
||||||
@ -33,6 +33,11 @@ EXTRA_OECONF += "--disable-emacs \
|
|||||||
|
|
||||||
CONFIGUREOPTS_remove_class-target = "--disable-silent-rules"
|
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"
|
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.* \
|
FILES_libuim0 = "${libdir}/uim/plugin/libuim-custom-enabler.* \
|
||||||
Loading…
x
Reference in New Issue
Block a user