From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- app-i18n/mecab-skkserv/Manifest | 1 + app-i18n/mecab-skkserv/files/mecab-skkserv | 11 ++++++ .../files/mecab-skkserv-0.03-cflags.patch | 15 ++++++++ .../files/mecab-skkserv-0.03-dicrc.patch | 9 +++++ app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild | 41 ++++++++++++++++++++++ app-i18n/mecab-skkserv/metadata.xml | 5 +++ 6 files changed, 82 insertions(+) create mode 100644 app-i18n/mecab-skkserv/Manifest create mode 100644 app-i18n/mecab-skkserv/files/mecab-skkserv create mode 100644 app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-cflags.patch create mode 100644 app-i18n/mecab-skkserv/files/mecab-skkserv-0.03-dicrc.patch create mode 100644 app-i18n/mecab-skkserv/mecab-skkserv-0.03.ebuild create mode 100644 app-i18n/mecab-skkserv/metadata.xml (limited to 'app-i18n/mecab-skkserv') 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 @@ + + + +cjk + -- cgit v1.2.3-65-gdbad