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 /app-i18n/skkfep | |
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 'app-i18n/skkfep')
-rw-r--r-- | app-i18n/skkfep/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/skkfep/files/skkfep-0.87-LDFLAGS.patch | 21 | ||||
-rw-r--r-- | app-i18n/skkfep/files/skkfep-0.87-gentoo.patch | 131 | ||||
-rw-r--r-- | app-i18n/skkfep/metadata.xml | 5 | ||||
-rw-r--r-- | app-i18n/skkfep/skkfep-0.87-r1.ebuild | 38 |
5 files changed, 196 insertions, 0 deletions
diff --git a/app-i18n/skkfep/Manifest b/app-i18n/skkfep/Manifest new file mode 100644 index 000000000000..7a44a556c05a --- /dev/null +++ b/app-i18n/skkfep/Manifest @@ -0,0 +1 @@ +DIST skkfep-0.87.tar.gz 45711 SHA256 f5eb6a23a7bf9b8a5493e8104c346ac053c2545bab1a3b82054cd1a09cef0e61 SHA512 3dc842559640b56b967679042c31bfa889e66cd6b7d0347ec17ddc606b85f2a4bb49dc995b3b38c30e71f500031714e2083bfc028ad4ff76ac4f07476a3f2469 WHIRLPOOL 32e985317e55b546e1d8822f0c2a5cf2322623282f89c73e9a7fc098c710f7b88121cf20223904e115bf7d61ec9e5fedab0053f36ff5e3789e84ae7ff1adf090 diff --git a/app-i18n/skkfep/files/skkfep-0.87-LDFLAGS.patch b/app-i18n/skkfep/files/skkfep-0.87-LDFLAGS.patch new file mode 100644 index 000000000000..6532d000770e --- /dev/null +++ b/app-i18n/skkfep/files/skkfep-0.87-LDFLAGS.patch @@ -0,0 +1,21 @@ +http://bugs.gentoo.org/334653 + +--- protoMakefile ++++ protoMakefile +@@ -13,13 +13,13 @@ + ./jc -`./jc -c romkan-org.c`P romkan-org.c > romkan.c + + jc: jc.o +- $(CC) $(CFLAGS) -o jc jc.o ++ $(CC) $(LDFLAGS) $(CFLAGS) -o jc jc.o + + $(SKKFEP): $(OBJS) $(SKKOBJS) +- $(CC) $(CFLAGS) -o $(SKKFEP) $(OBJS) $(SKKOBJS) $(LIBS) ++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(SKKFEP) $(OBJS) $(SKKOBJS) $(LIBS) + + simpledic: $(SDICOBJS) $(SKKOBJS) +- $(CC) $(CFLAGS) -o simpledic $(SDICOBJS) $(SKKOBJS) $(LIBS) ++ $(CC) $(LDFLAGS) $(CFLAGS) -o simpledic $(SDICOBJS) $(SKKOBJS) $(LIBS) + + clean: + -rm -rf $(OBJS) $(SKKOBJS) $(SDICOBJS) romkan.c diff --git a/app-i18n/skkfep/files/skkfep-0.87-gentoo.patch b/app-i18n/skkfep/files/skkfep-0.87-gentoo.patch new file mode 100644 index 000000000000..bd1b507580bc --- /dev/null +++ b/app-i18n/skkfep/files/skkfep-0.87-gentoo.patch @@ -0,0 +1,131 @@ +diff -Naur skkfep-0.87.orig/config.h skkfep-0.87/config.h +--- skkfep-0.87.orig/config.h 2003-09-03 08:50:18.000000000 +0900 ++++ skkfep-0.87/config.h 2008-11-01 09:53:22.000000000 +0900 +@@ -24,8 +24,8 @@ + /* SKK server */ + + #define USER_DIC_NAME ".skk-jisyo" +-/* #define SYSTEM_DIC_NAME "/usr/local/emacs/etc/SKK-JISYO.L" */ ++#define SYSTEM_DIC_NAME "/usr/share/skk/SKK-JISYO.L" + + #define NATIVECODE euc /* EUC Kanji code */ + +-#define SKK_SERVER_HOST "ei5nazha" /* SKK server host */ ++#define SKK_SERVER_HOST "localhost" /* SKK server host */ +diff -Naur skkfep-0.87.orig/connserv.c skkfep-0.87/connserv.c +--- skkfep-0.87.orig/connserv.c 2003-09-03 08:49:30.000000000 +0900 ++++ skkfep-0.87/connserv.c 2008-11-01 09:59:19.000000000 +0900 +@@ -5,6 +5,7 @@ + */ + #include "config.h" + #include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include "skklib.h" + +diff -Naur skkfep-0.87.orig/connsh.c skkfep-0.87/connsh.c +--- skkfep-0.87.orig/connsh.c 2003-09-03 08:49:30.000000000 +0900 ++++ skkfep-0.87/connsh.c 2008-11-01 10:03:01.000000000 +0900 +@@ -1,5 +1,8 @@ + #include "config.h" + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> ++#include <unistd.h> + #include <sys/types.h> + #include <sys/file.h> + #include <fcntl.h> +diff -Naur skkfep-0.87.orig/fep.c skkfep-0.87/fep.c +--- skkfep-0.87.orig/fep.c 2003-09-03 08:49:31.000000000 +0900 ++++ skkfep-0.87/fep.c 2008-11-01 09:55:15.000000000 +0900 +@@ -1,6 +1,7 @@ + #include "config.h" + #include "fep.h" + #include <stdlib.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/time.h> + #include "kanjicode.h" +diff -Naur skkfep-0.87.orig/jc.c skkfep-0.87/jc.c +--- skkfep-0.87.orig/jc.c 2003-09-03 08:49:31.000000000 +0900 ++++ skkfep-0.87/jc.c 2008-11-01 09:54:57.000000000 +0900 +@@ -33,6 +33,8 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include <ctype.h> + + #include "config.h" +diff -Naur skkfep-0.87.orig/kkconv.c skkfep-0.87/kkconv.c +--- skkfep-0.87.orig/kkconv.c 2003-09-03 08:49:31.000000000 +0900 ++++ skkfep-0.87/kkconv.c 2008-11-01 09:58:26.000000000 +0900 +@@ -1,6 +1,7 @@ + #include "config.h" + #include "fep.h" + #include "functions.h" ++#include <string.h> + #include <ctype.h> + + #ifdef USE_SERVER +diff -Naur skkfep-0.87.orig/protoMakefile skkfep-0.87/protoMakefile +--- skkfep-0.87.orig/protoMakefile 2003-09-03 08:49:31.000000000 +0900 ++++ skkfep-0.87/protoMakefile 2008-11-01 09:51:59.000000000 +0900 +@@ -1,5 +1,5 @@ + CFLAGS=$(SYSINCLUDE) $(SYSDEFINE) $(DEFINE) $(OPTIMIZE) +-LIBS =$(SYSLIBS) $(EXTRALIBS) -ltermcap ++LIBS =$(SYSLIBS) $(EXTRALIBS) -lncurses + + OBJS=fep.o connsh.o readwrite.o terms.o stty.o keybind.o romkan.o etc.o\ + kkconv.o keymap.o version.o +diff -Naur skkfep-0.87.orig/readwrite.c skkfep-0.87/readwrite.c +--- skkfep-0.87.orig/readwrite.c 2003-09-03 08:49:31.000000000 +0900 ++++ skkfep-0.87/readwrite.c 2008-11-01 09:56:19.000000000 +0900 +@@ -1,5 +1,6 @@ + #include "config.h" + #include "fep.h" ++#include <string.h> + #include <ctype.h> + #include "kanjicode.h" + #include "ctrlcode.h" +diff -Naur skkfep-0.87.orig/romkan-org.c skkfep-0.87/romkan-org.c +--- skkfep-0.87.orig/romkan-org.c 2003-09-03 08:49:32.000000000 +0900 ++++ skkfep-0.87/romkan-org.c 2008-11-01 09:58:10.000000000 +0900 +@@ -1,5 +1,6 @@ + #include "config.h" + #include "fep.h" ++#include <string.h> + #include <ctype.h> + #include "functions.h" + +diff -Naur skkfep-0.87.orig/skklib.c skkfep-0.87/skklib.c +--- skkfep-0.87.orig/skklib.c 2003-09-03 08:49:32.000000000 +0900 ++++ skkfep-0.87/skklib.c 2008-11-01 09:58:48.000000000 +0900 +@@ -6,6 +6,7 @@ + + #include "config.h" + #include <stdio.h> ++#include <string.h> + #include <sys/types.h> + #include <sys/stat.h> + #include "skklib.h" +diff -Naur skkfep-0.87.orig/stty.c skkfep-0.87/stty.c +--- skkfep-0.87.orig/stty.c 2003-09-03 08:49:32.000000000 +0900 ++++ skkfep-0.87/stty.c 2008-11-01 09:57:30.000000000 +0900 +@@ -1,5 +1,6 @@ + #include "config.h" + #include <stdio.h> ++#include <stdlib.h> + #include <signal.h> + #include <fcntl.h> + #include "fep.h" +diff -Naur skkfep-0.87.orig/terms.c skkfep-0.87/terms.c +--- skkfep-0.87.orig/terms.c 2003-09-03 08:49:32.000000000 +0900 ++++ skkfep-0.87/terms.c 2008-11-01 09:56:59.000000000 +0900 +@@ -1,4 +1,5 @@ + #include "config.h" ++#include <string.h> + #include "fep.h" + + /*#define SHOW_ESCSEQ /* show escape sequences for debugging */ diff --git a/app-i18n/skkfep/metadata.xml b/app-i18n/skkfep/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-i18n/skkfep/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/app-i18n/skkfep/skkfep-0.87-r1.ebuild b/app-i18n/skkfep/skkfep-0.87-r1.ebuild new file mode 100644 index 000000000000..86af3f3d2a88 --- /dev/null +++ b/app-i18n/skkfep/skkfep-0.87-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 +inherit eutils toolchain-funcs + +DESCRIPTION="A SKK-like Japanese input method for console" +HOMEPAGE="http://homepage2.nifty.com/aito/soft.html" +SRC_URI="http://homepage2.nifty.com/aito/skkfep/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ppc x86" +IUSE="" + +RDEPEND=">=sys-libs/ncurses-5.7-r7" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 + virtual/awk" +RDEPEND="${RDEPEND} + app-i18n/skk-jisyo" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-LDFLAGS.patch +} + +src_compile() { + emake CC="$(tc-getCC)" OPTIMIZE="${CFLAGS}" +} + +src_install() { + dobin skkfep escmode + doman skkfep.1 + dodoc README HISTORY TODO +} |