diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/wnn7sdk | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/wnn7sdk')
-rw-r--r-- | dev-libs/wnn7sdk/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch | 30 | ||||
-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/files/wnn7sdk-qa.patch | 52 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/wnn7sdk-20011017-r1.ebuild | 52 | ||||
-rw-r--r-- | dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild | 45 |
8 files changed, 272 insertions, 0 deletions
diff --git a/dev-libs/wnn7sdk/Manifest b/dev-libs/wnn7sdk/Manifest new file mode 100644 index 000000000000..fb84533a7813 --- /dev/null +++ b/dev-libs/wnn7sdk/Manifest @@ -0,0 +1 @@ +DIST Wnn7SDK.tgz 178403 SHA256 725d2900707076a0aeb6f793e01e2deade45c28daf4a6a37049b48bb6a6e561a SHA512 d6e24357c0071eb29e3a91cd3484c8fe7901a5e1537bff6632fa04eef21d0e56d7a5f3d7d899599401f607eee259cab36026321f09eea45590d00425d1963f52 WHIRLPOOL 8b4c51bba7253e736249ed699d6be8cc78537dcfe6a6907e74ca8d58355ac7e68f0bb92856ed28ed16cdda7b1c2b5906e37815f506ee908e184900b16ff8787f diff --git a/dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch b/dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch new file mode 100644 index 000000000000..f97845f449f1 --- /dev/null +++ b/dev-libs/wnn7sdk/files/wnn7sdk-gcc4.patch @@ -0,0 +1,30 @@ +diff -urN Wnn/etc/bdic.c Wnn-gcc4/etc/bdic.c +--- Wnn/etc/bdic.c 2001-10-17 10:37:17.000000000 +0900 ++++ Wnn-gcc4/etc/bdic.c 2006-11-06 01:31:31.000000000 +0900 +@@ -177,6 +177,14 @@ + #define max(a, b) ((a < b)? b:a) + #endif + ++#ifdef WNN_CHECK_INODE ++static int change_file_uniq1(); ++#else ++#ifdef JS ++static int change_file_uniq1(); ++#endif ++#endif ++ + /*:::DOC_START + * + * Function Name: dic_fopen +diff -urN Wnn/jlib/jl.c Wnn-gcc4/jlib/jl.c +--- Wnn/jlib/jl.c 2001-10-17 10:37:17.000000000 +0900 ++++ Wnn-gcc4/jlib/jl.c 2006-11-06 01:33:13.000000000 +0900 +@@ -297,6 +297,8 @@ + static int insert_dai_or_ikeiji(); + static int jl_dic_save_all_e_body(); + ++static void jl_disconnect_if_server_dead_body_by_jsid(); ++ + static struct wnn_buf *jl_open_lang_core(); + static struct wnn_env *jl_connect_lang_core(); + 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/files/wnn7sdk-qa.patch b/dev-libs/wnn7sdk/files/wnn7sdk-qa.patch new file mode 100644 index 000000000000..a41223af8e6f --- /dev/null +++ b/dev-libs/wnn7sdk/files/wnn7sdk-qa.patch @@ -0,0 +1,52 @@ +diff -Naur src.orig/Wnn/etc/msg.c src/Wnn/etc/msg.c +--- src.orig/Wnn/etc/msg.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/etc/msg.c 2008-11-22 10:38:22.000000000 +0900 +@@ -148,6 +148,8 @@ + <message id>\t<message> + */ + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include "commonhd.h" + #include "config.h" + #include "dslib.h" +@@ -156,7 +158,7 @@ + + + static char * +-bsearch(ky, bs, nel, width, compar) ++a_bsearch(ky, bs, nel, width, compar) + char *ky; + char *bs; + unsigned long nel; +@@ -244,7 +246,7 @@ + return(NULL); + if (cd->msg_bd == 0 || cd->msg_cnt == 0) + return(NULL); +- bd = (struct msg_bd *)bsearch(id, cd->msg_bd, cd->msg_cnt, ++ bd = (struct msg_bd *)a_bsearch(id, cd->msg_bd, cd->msg_cnt, + sizeof(struct msg_bd), _search); + if (bd == NULL) + return(NULL); +diff -Naur src.orig/Wnn/jlib/jl.c src/Wnn/jlib/jl.c +--- src.orig/Wnn/jlib/jl.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/jlib/jl.c 2008-11-22 10:18:36.000000000 +0900 +@@ -143,6 +143,7 @@ + #include "commonhd.h" + #include "config.h" + #include <stdio.h> ++#include <stdlib.h> + #include <sys/types.h> + #ifdef SYSVR2 + # include <string.h> +diff -Naur src.orig/Wnn/jlib/js.c src/Wnn/jlib/js.c +--- src.orig/Wnn/jlib/js.c 2001-10-17 10:37:17.000000000 +0900 ++++ src/Wnn/jlib/js.c 2008-11-22 10:27:04.000000000 +0900 +@@ -162,6 +162,7 @@ + extern char *malloc(); + + #include <stdio.h> ++#include <stdlib.h> + #include <ctype.h> + #ifdef UX386 + #include <X11/Xos.h> 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-r1.ebuild b/dev-libs/wnn7sdk/wnn7sdk-20011017-r1.ebuild new file mode 100644 index 000000000000..496d30fa530f --- /dev/null +++ b/dev-libs/wnn7sdk/wnn7sdk-20011017-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="Library and headers for Wnn7 client" +HOMEPAGE="http://www.omronsoft.co.jp/SP/pcunix/sdk/index.html" +SRC_URI="ftp://ftp.omronsoft.co.jp/pub/Wnn7/sdk_source/Wnn7SDK.tgz" + +LICENSE="freedist" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# x11 is required for imake +DEPEND="x11-misc/imake" +RDEPEND="" + +S="${WORKDIR}/src" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${PN}-malloc.patch" + epatch "${FILESDIR}/${PN}-gentoo.patch" + epatch "${FILESDIR}/${PN}-gcc4.patch" + epatch "${FILESDIR}/${PN}-qa.patch" + + # Fix path to point to Xorg directory + sed -e "s:X11R6/::g" -i config/X11.tmpl || sed "sed 1 failed" + + sed -i -e "/CONFIGSRC =/s:=.*:= /usr/$(get_libdir)/X11/config:" Makefile.ini || die "sed 2 failed" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" \ + SHLIBGLOBALSFLAGS="${LDFLAGS}" \ + World -f Makefile.ini || die "make World failed" +} + +src_install() { + dolib.so Wnn/jlib/*.so* || die "dolib.so failed" + dolib.a Wnn/jlib/*.a || die "dolib.a failed" + + insinto /usr/include/${PN}/wnn + doins Wnn/include/*.h || die "doins failed" + + dodoc README +} diff --git a/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild b/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild new file mode 100644 index 000000000000..82c397d2f0b3 --- /dev/null +++ b/dev-libs/wnn7sdk/wnn7sdk-20011017.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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="~amd64 x86" +IUSE="" + +# x11 is required for imake +DEPEND="x11-misc/imake" +RDEPEND="" + +S="${WORKDIR}/src" + +src_unpack() { + unpack ${A} + cd ${S} + epatch "${FILESDIR}/${PN}-malloc.patch" + epatch "${FILESDIR}/${PN}-gentoo.patch" + epatch "${FILESDIR}/${PN}-gcc4.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 +} |