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/mecab-skkserv | |
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/mecab-skkserv')
-rw-r--r-- | app-i18n/mecab-skkserv/Manifest | 1 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv | 11 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch | 15 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch | 9 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild | 41 | ||||
-rw-r--r-- | app-i18n/mecab-skkserv/metadata.xml | 5 |
6 files changed, 82 insertions, 0 deletions
diff --git a/app-i18n/mecab-skkserv/Manifest b/app-i18n/mecab-skkserv/Manifest new file mode 100644 index 000000000000..4ecaff5d6fd1 --- /dev/null +++ b/app-i18n/mecab-skkserv/Manifest @@ -0,0 +1 @@ +DIST mecab-skkserv-0.03.tar.gz 5398452 SHA256 d036402ab37170034ff8ed38b9d25f1bab75170fbda865ac297ccee77570f0da SHA512 268621035391ec780b8aa04980d668afc83410853d25f06b4578dba3d4e3803ebfea42aabde1325fd80edad7524a4658480e40a00c6bfec1f04310a8d47bb2c9 WHIRLPOOL be29e7fa5571dfdca08d8c1dc59260514dda34c29900d541f6cb216a298f3602ad4c6fcaf919af600cac4fb6e79194f0d024664ba186ab5cbc53fd996e252411 diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv b/app-i18n/mecab-skkserv/files/mecab-skkserv new file mode 100644 index 000000000000..5fa43fcd0471 --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv @@ -0,0 +1,11 @@ +service skkserv +{ + disable = yes + port = 1178 + socket_type = stream + wait = no + only_from = 127.0.0.1 + user = nobody + server = /usr/bin/mecab-skkserv + log_on_failure += USERID +} diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch new file mode 100644 index 000000000000..6144d69f2823 --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch @@ -0,0 +1,15 @@ +diff --git a/configure.in b/configure.in +index c7c00aa..a2c7a9e 100644 +--- a/configure.in ++++ b/configure.in +@@ -19,8 +19,8 @@ AC_CHECK_FUNCS(getopt) + AC_CHECK_FUNCS(getopt_long) + + if test -n "$GCC"; then +- CFLAGS="-O3 -Wno-deprecated -Wall" +- CXXFLAGS="-O3 -Wno-deprecated -Wall" ++ CFLAGS+=" -Wno-deprecated -Wall" ++ CXXFLAGS+=" -Wno-deprecated -Wall" + fi + + AC_ARG_WITH( diff --git a/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch b/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch new file mode 100644 index 000000000000..3cd8d611917f --- /dev/null +++ b/app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch @@ -0,0 +1,9 @@ +diff --git a/dicrc b/dicrc +index cb6a53e..7f06086 100644 +--- a/dicrc ++++ b/dicrc +@@ -2,3 +2,4 @@ bos-feature = BOS/EOS + node-format-ime = %H + unk-format-ime = %M + eos-format-ime = \n ++cost-factor = 700 diff --git a/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild new file mode 100644 index 000000000000..b32503b8b90f --- /dev/null +++ b/app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools-utils multilib + +DESCRIPTION="mecab-skkserv is a Kana-Kanji conversion server using MeCab" +HOMEPAGE="http://chasen.org/~taku/software/mecab-skkserv/" +SRC_URI="http://chasen.org/~taku/software/mecab-skkserv/${P}.tar.gz" + +LICENSE="GPL-2 ipadic" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=app-text/mecab-0.91" +RDEPEND="${DEPEND} + sys-apps/xinetd" + +DOCS=( README NEWS AUTHORS ) +HTML_DOCS=( index.html ) +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch + "${FILESDIR}"/${P}-dicrc.patch + ) +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 + +src_prepare() { + sed -i -e "/^dictdir/s@lib@$(get_libdir)@" Makefile.am || die + autotools-utils_src_prepare +} + +src_install() { + autotools-utils_src_install + + # for running skkserv from xinetd + insinto /etc/xinetd.d; doins "${FILESDIR}"/mecab-skkserv +} diff --git a/app-i18n/mecab-skkserv/metadata.xml b/app-i18n/mecab-skkserv/metadata.xml new file mode 100644 index 000000000000..2d5852c16c60 --- /dev/null +++ b/app-i18n/mecab-skkserv/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> |