diff options
author | Mamoru Komachi <usata@gentoo.org> | 2005-01-21 11:10:00 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2005-01-21 11:10:00 +0000 |
commit | e0bd2c473aa3b8085cf52dd9db77c4914028689d (patch) | |
tree | 3b1efa76cf10013b24966dfd17c22365761efb87 /dev-libs/wnn7sdk | |
parent | Initial import. (diff) | |
download | historical-e0bd2c473aa3b8085cf52dd9db77c4914028689d.tar.gz historical-e0bd2c473aa3b8085cf52dd9db77c4914028689d.tar.bz2 historical-e0bd2c473aa3b8085cf52dd9db77c4914028689d.zip |
Initial import.
Diffstat (limited to 'dev-libs/wnn7sdk')
-rw-r--r-- | dev-libs/wnn7sdk/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/Manifest | 16 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/files/digest-wnn7sdk-20011017 | 1 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch | 67 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch | 20 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild | 44 |
7 files changed, 163 insertions, 0 deletions
diff --git a/dev-libs/wnn7sdk/ChangeLog b/dev-libs/wnn7sdk/ChangeLog new file mode 100644 index 000000000000..0a5142b4c043 --- /dev/null +++ b/dev-libs/wnn7sdk/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-libs/wnn7sdk +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wnn7sdk/ChangeLog,v 1.1 2005/01/21 11:10:00 usata Exp $ + +*wnn7sdk-20011017 (21 Jan 2005) + + 21 Jan 2005; Mamoru KOMACHI <usata@gentoo.org> +metadata.xml, + +wnn7sdk-20011017.ebuild: + Initial import. + diff --git a/dev-libs/wnn7sdk/Manifest b/dev-libs/wnn7sdk/Manifest new file mode 100644 index 000000000000..27923384b2d9 --- /dev/null +++ b/dev-libs/wnn7sdk/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 b34170944af0118a706dd6f1a6f2c759 wnn7sdk-20011017.ebuild 927 +MD5 e92a48548554c80cf90e18df17ff6a82 metadata.xml 156 +MD5 584f359090e243b6703b32650fa83675 ChangeLog 348 +MD5 1fd4dd7288e0c8d1f42dfd875fe119ec files/digest-wnn7sdk-20011017 56 +MD5 c9df75b0d1aadb453be3069fe5dfa76e files/wnn7sdk-gentoo.patch 2120 +MD5 52d3238ee0990e2aea9cdd862da1ce46 files/wnn7sdk-malloc.patch 366 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFB8OEUVWNWqTUmv+0RAioxAJ4h7SIz7c9t9/4+bD3fJLcCZvmUSQCfcp2W +wQ7g4lL0qCCH538jlSw0lxs= +=D2Y9 +-----END PGP SIGNATURE----- diff --git a/dev-libs/wnn7sdk/files/digest-wnn7sdk-20011017 b/dev-libs/wnn7sdk/files/digest-wnn7sdk-20011017 new file mode 100644 index 000000000000..08750f2c09f8 --- /dev/null +++ b/dev-libs/wnn7sdk/files/digest-wnn7sdk-20011017 @@ -0,0 +1 @@ +MD5 19b41bf2ef86d7f4cb889c7f689602fb Wnn7SDK.tgz 178403 diff --git a/dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch b/dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch new file mode 100644 index 000000000000..e203c8b5fa83 --- /dev/null +++ b/dev-libs/wnn7sdk/files/wnn7sdk-gentoo.patch @@ -0,0 +1,67 @@ +--- work/src/Wnn/jlib/Imakefile Wed Oct 17 10:37:17 2001 ++++ Wnn/jlib/Imakefile Sat Oct 19 17:15:25 2002 +@@ -60,9 +60,9 @@ + + LibraryObjectRule() + #if DoSharedLib +-AllTarget($(OBJS) libwnn.a libwnn.so.$(SOWNN7LIBREV)) ++AllTarget($(OBJS) libwnn7.a libwnn7.so.$(SOWNN7LIBREV)) + #else +-AllTarget($(OBJS) libwnn.a) ++AllTarget($(OBJS) libwnn7.a) + #endif + + +@@ -75,23 +75,23 @@ + SingleProgramTarget(kankana,kankana.o,$(WNNJLIB),) + + #if DoSharedLib +-SharedLibraryTarget(wnn,$(SOWNN7LIBREV),$(OBJS),.,.) ++SharedLibraryTarget(wnn7,$(SOWNN7LIBREV),$(OBJS),.,.) + #endif +-UnsharedLibraryTarget(wnn,$(UNSHAREDOBJS),unshared,..) +-LintLibraryTarget(wnn,$(SRCS)) ++UnsharedLibraryTarget(wnn7,$(UNSHAREDOBJS),unshared,..) ++LintLibraryTarget(wnn7,$(SRCS)) + + + + instlib:: install + + #if DoSharedLib +-InstallSharedLibrary(wnn,$(SOWNN7LIBREV),$(WNNLIBDIR)) ++InstallSharedLibrary(wnn7,$(SOWNN7LIBREV),$(WNNLIBDIR)) + #endif +-InstallLibrary(wnn,$(WNNLIBDIR)) ++InstallLibrary(wnn7,$(WNNLIBDIR)) + + #if ProfileLibJlib +-ProfiledLibraryTarget(wnn,$(OBJS)) +-InstallLibrary(wnn_p,$(WNNLIBDIR)) ++ProfiledLibraryTarget(wnn7,$(OBJS)) ++InstallLibrary(wnn7_p,$(WNNLIBDIR)) + #endif + + #if DoSharedLib +--- work/src/config/Project.tmpl.orig Wed Oct 17 10:37:18 2001 ++++ config/Project.tmpl Sat Oct 19 18:04:30 2002 +@@ -599,7 +599,7 @@ + XWNMOJDSRC = $(XWNMOTOP)/jd + XWNMOROMKANMSRC = $(XWNMOTOP)/romkan_m + XWNMOINCLUDES = -I$(XWNMOROMKANMSRC) -I$(WNNINCLUDESRC) +- XWNMOJLIB = $(XWNMOJLIBSRC)/libwnn_m.a ++ XWNMOJLIB = $(XWNMOJLIBSRC)/libwnn7_m.a + XWNMOLIBRARIES = $(XWNMOJLIB) + XWNMODEFS = $(XVERSION) -DUSING_BUSHU + XCOMMONDIR = $(IMTOP)/XClient/Common/src +--- work/src/config/X11.tmpl~ Wed Oct 17 10:37:18 2001 ++++ config/X11.tmpl Sat Oct 19 18:08:32 2002 +@@ -599,7 +599,7 @@ + XWNMOJDSRC = $(XWNMOTOP)/jd + XWNMOROMKANMSRC = $(XWNMOTOP)/romkan_m + XWNMOINCLUDES = -I$(XWNMOROMKANMSRC) -I$(WNNINCLUDESRC) +- XWNMOJLIB = $(XWNMOJLIBSRC)/libwnn_m.a ++ XWNMOJLIB = $(XWNMOJLIBSRC)/libwnn7_m.a + XWNMOLIBRARIES = $(XWNMOJLIB) + XWNMODEFS = $(XVERSION) -DUSING_BUSHU + XCOMMONDIR = $(IMTOP)/XClient/Common/src diff --git a/dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch b/dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch new file mode 100644 index 000000000000..0a0ce4337080 --- /dev/null +++ b/dev-libs/wnn7sdk/files/wnn7sdk-malloc.patch @@ -0,0 +1,20 @@ +--- Wnn/jlib/js.c.bak 2005-01-20 12:33:10.000000000 +0900 ++++ Wnn/jlib/js.c 2005-01-20 12:33:10.000000000 +0900 +@@ -159,7 +159,7 @@ + */ + + +-extern char *malloc(); ++extern void *malloc(); + + #include <stdio.h> + #include <ctype.h> +@@ -199,7 +199,7 @@ + #include "../etc/pwd.c" + + +-char *malloc(); ++void *malloc(); + + typedef struct _host_address { + int address_len; diff --git a/dev-libs/wnn7sdk/metadata.xml b/dev-libs/wnn7sdk/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/dev-libs/wnn7sdk/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>cjk</herd> +</pkgmetadata> diff --git a/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild b/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild new file mode 100644 index 000000000000..4e721c3a0208 --- /dev/null +++ b/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild,v 1.1 2005/01/21 11:10:00 usata Exp $ + +inherit eutils + +DESCRIPTION="Library and headers for Wnn7 client" +HOMEPAGE="http://www.omronsoft.co.jp/SP/download/pcunix/sdk.html" +SRC_URI="ftp://ftp.omronsoft.co.jp/pub/Wnn7/sdk_source/Wnn7SDK.tgz" + +LICENSE="freedist" + +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +# x11 is required for imake +DEPEND="virtual/x11 + virtual/libc" + +S="${WORKDIR}/src" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-malloc.patch + epatch ${FILESDIR}/${PN}-gentoo.patch +} + +src_compile() { + make World -f Makefile.ini || die "make World failed" +} + +src_install() { + cd ${S}/Wnn/jlib + dolib.so *.so* || die + dolib.a *.a || die + + cd ${S}/Wnn/include + insinto /usr/include/${PN}/wnn + doins *.h || die + + dodoc ${S}/README +} |