diff options
Diffstat (limited to 'app-i18n/multiskkserv')
-rw-r--r-- | app-i18n/multiskkserv/Manifest | 8 | ||||
-rw-r--r-- | app-i18n/multiskkserv/files/multiskkserv-cdb.patch | 52 | ||||
-rw-r--r-- | app-i18n/multiskkserv/files/multiskkserv.confd | 10 | ||||
-rw-r--r-- | app-i18n/multiskkserv/files/multiskkserv.initd | 12 | ||||
-rw-r--r-- | app-i18n/multiskkserv/metadata.xml | 8 | ||||
-rw-r--r-- | app-i18n/multiskkserv/multiskkserv-20100128.ebuild | 41 |
6 files changed, 131 insertions, 0 deletions
diff --git a/app-i18n/multiskkserv/Manifest b/app-i18n/multiskkserv/Manifest new file mode 100644 index 000000000000..de39c6443669 --- /dev/null +++ b/app-i18n/multiskkserv/Manifest @@ -0,0 +1,8 @@ +AUX multiskkserv-cdb.patch 1525 SHA256 0bfb5dc836329c1d6fc099bc4b66d7f1e6a9a8eee825b6ac3b585a3a233803cd SHA512 d063be9d8eaa44caf15dce002effde12119d32799974db3ce82a293bd5264bb594865863a26f3f498c7d532f6b48b02db832526a1f277578def7e82cee0594dd WHIRLPOOL eff12886564d1922d3735e261c76317f6477f0c448115a2c060b37d68aa8b2a42d08b495be6ea2bee7067e5030425902baffbc7262bc5ebd70475b4ffd000f58 +AUX multiskkserv.confd 230 SHA256 2829e893c3b4a1d80cb027f2d8090ffadf0a2017e83de10635fe750a8d667b90 SHA512 3751257be6a4ee994b7dff2293b0c724cdfef7006db18b970f5a0e23fb1620d0fd76ebce80bd6ac6c2623bf2f8759f99e26b4087b7ecc83f1b3fdd1de877ce13 WHIRLPOOL 931373919f1d7234d543d5585872d922c71a11cad746e9503f9ca4f5a41ea0e0701524941febe161b455d5912de7d215f4e9193b6fde32adfc9754a17190156a +AUX multiskkserv.initd 305 SHA256 95f6cd560c5fae083bc48cb3fbee7885250761a8d912af4b7c8c18dc72834099 SHA512 eae9fcbfe18baec133ad0ee624a758cec1ceeb0134e11a4fe2b10099877b0f5bf96032704683521e5c874442595212950ab5164dc689ea523cec9213b7c2bec2 WHIRLPOOL 48f234afeef7da52069e2a670333e3af2247387a33bc31d7dede32d91d4c431e02081553dd82f1d451e271aafa18283a9ba0d3061b03a841599100d230832b92 +DIST multiskkserv-20100128.tar.xz 250004 SHA256 e216026891af86b5ce17d5103bdce25d7aac923e53306728fafa7ed7863681bc SHA512 27409600f549317dd2e2fcd0f0a35406a5d445c74e0ba266ed3c19cec849b6d508a30edd65bf72931b0222f003d934a802e5c3c979d5b52ab30da473cabbf5a5 WHIRLPOOL 8cc5ffb53b143b936462bac7b1d2a4021744199f3b151127fb22c1706ca22f25bcd8ccdb4a2b0f7b4208d488c475e8661daff4b16c3fef65b7d7519e224ca327 +EBUILD multiskkserv-20100128.ebuild 761 SHA256 da6f093b7a28016fdc7f1085c5fdfa28599e859dacdc4449cb53d189a5dc34fb SHA512 aa89987538dfb61cd328c8a1c880bdb4876a0b567c41050de5fa6450036dd954c996c9ba88fb30b9d82269c2a09174f9b31501a42a4c66abd01ac305a1578269 WHIRLPOOL f8e96f808bed58815846b4bbff9845faa717efba88592684c622cb52191cec4e43bc44f8d0470df9cc2f2dd167853e18d870e11323f3dfe7aed0543b1b56ee8f +MISC ChangeLog 2680 SHA256 afebc727124f7a48be8ae511785aa4c5295a3aef714b3520f2cbb24d8d7158da SHA512 fdb27b069599065012ee51a876d74285d156d6321b675ba63f350bb861880540cdcfb7bbfa1b4aaeb4c5b36c99d3052bb6dde7d0ec3ea498e0f62fe6d104d4d6 WHIRLPOOL ccd2dbbb103b08eeb5b3c00c6db48b85d000f438723e563afaf91eeaf7a24c71e025611a16785130a5aa2fcae3d2cc01ec31844f089645bd1735a210b145c0c5 +MISC ChangeLog-2015 3309 SHA256 7ef02c57122ddc915325ef6a6b58da9961f8d85d5b3d7ba4e1292920cf89d3a8 SHA512 7a3b84b4d0444c74e96cb01f7e87d4c6e1e63a230e12158fcf10a1d0252e5e9a2a0c31cd404973962e020147dda61d8b473d2b88b9b4b376337e3746016ad279 WHIRLPOOL 1af6f7c5e98544e700fb56d264c4b6bb54f84e7d3ec4da6dc404f9bd35f7cac3036ec3522a75362247bb9ba33b4b7c734d55ceedea90fd7dfd854c45c129d1f8 +MISC metadata.xml 240 SHA256 4351b96b5a18595fae67161f1207f22bbf99e9a2235b95b68975cfc9f5baff54 SHA512 12aaa73d9b690de68a5c7b20e214ceb099efa87884b784eafd994f26032b44dcb66e7feac8a5b1df7f349ac05c5a198a7593dff2cc686de158cb21e4c54f38dd WHIRLPOOL d279940dd88c4b1caa478907576d5732c8376e3f99830950c6c18c63dca78c7d0ec1983660e5cbd4da0133b961ef38dc8460650cb48467298542e04005cffc2c diff --git a/app-i18n/multiskkserv/files/multiskkserv-cdb.patch b/app-i18n/multiskkserv/files/multiskkserv-cdb.patch new file mode 100644 index 000000000000..c6f0da50309e --- /dev/null +++ b/app-i18n/multiskkserv/files/multiskkserv-cdb.patch @@ -0,0 +1,52 @@ +--- a/configure.in ++++ b/configure.in +@@ -126,19 +126,38 @@ + fi + done + else +- if test -d "$with_cdb" -a -f "$with_cdb/cdb.h"; then +- CDB_DIR="$with_cdb" +- CDB_INCLUDES="-I$with_cdb" +- available_cdb="yes" +- for j in cdb.a buffer.a unix.a byte.a alloc.a; do +- if test -f "$with_cdb/$j"; then +- LIBADD_CDB="$LIBADD_CDB $with_cdb/$j" ++ for i in include include/cdb; do ++ if test -f "$with_cdb/$i/cdb.h"; then ++ CDB_DIR="$with_cdb" ++ CDB_INCLUDES="-I$with_cdb/$i" ++ available_cdb="yes" ++ if test -f "$with_cdb/$i/uint32.h"; then ++ for l in lib64 lib32 lib; do ++ for a in cdb.a alloc.a buffer.a byte.a unix.a; do ++ if test -f "$with_cdb/$l/$a"; then ++ LIBADD_CDB="$LIBADD_CDB $with_cdb/$l/$a" ++ else ++ LIBADD_CDB="" ++ available_cdb="no" ++ break ++ fi ++ done ++ if test "$available_cdb" = "yes"; then ++ break ++ fi ++ done + else +- available_cdb="no" +- break ++ save_LIBS="$LIBS" ++ AC_CHECK_LIB(cdb, cdb_init) ++ LIBS="$save_LIBS" ++ LIBADD_CDB="-lcdb" ++ AC_DEFINE(USE_TINYCDB, 1, [Use tinycdb]) + fi +- done +- fi ++ fi ++ if test "$available_cdb" = "yes"; then ++ break ++ fi ++ done + fi + if test "$available_cdb" = "yes"; then + AC_MSG_RESULT([cdb found, path: $CDB_DIR]) diff --git a/app-i18n/multiskkserv/files/multiskkserv.confd b/app-i18n/multiskkserv/files/multiskkserv.confd new file mode 100644 index 000000000000..eaaa90def3f8 --- /dev/null +++ b/app-i18n/multiskkserv/files/multiskkserv.confd @@ -0,0 +1,10 @@ +# Config file for /etc/init.d/multiskkserv + +# define which SKK-JISYO to use (you may define multiple files) +# +# Example: +# +# SKKJISYO_CDB="SKK-JISYO.L.cdb SKK-JISYO.JIS2.cdb SKK-JISYO.jinmei.cdb" +# + +SKKJISYO_CDB="SKK-JISYO.L.cdb" diff --git a/app-i18n/multiskkserv/files/multiskkserv.initd b/app-i18n/multiskkserv/files/multiskkserv.initd new file mode 100644 index 000000000000..31c447da9d5d --- /dev/null +++ b/app-i18n/multiskkserv/files/multiskkserv.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/sbin/${RC_SVCNAME}" +command_args="-r /usr/share/skk ${SKKJISYO_CDB}" +command_background="true" +pidfile="${pidfile:-/run/${RC_SVCNAME}.pid}" + +depend() { + need net +} diff --git a/app-i18n/multiskkserv/metadata.xml b/app-i18n/multiskkserv/metadata.xml new file mode 100644 index 000000000000..e1a49f498885 --- /dev/null +++ b/app-i18n/multiskkserv/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>cjk@gentoo.org</email> + <name>Cjk</name> + </maintainer> +</pkgmetadata> diff --git a/app-i18n/multiskkserv/multiskkserv-20100128.ebuild b/app-i18n/multiskkserv/multiskkserv-20100128.ebuild new file mode 100644 index 000000000000..7ffc4e22f888 --- /dev/null +++ b/app-i18n/multiskkserv/multiskkserv-20100128.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit autotools + +DESCRIPTION="SKK server that handles multiple dictionaries" +HOMEPAGE="http://www3.big.or.jp/~sian/linux/products/" +SRC_URI="http://www3.big.or.jp/~sian/linux/products/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="test" + +DEPEND="|| ( + dev-db/tinycdb + dev-db/cdb + ) + test? ( app-i18n/nkf )" +RDEPEND="app-i18n/skk-jisyo[cdb]" + +PATCHES=( "${FILESDIR}"/${PN}-cdb.patch ) + +src_prepare() { + default + mv configure.{in,ac} + eautoreconf +} + +src_configure() { + econf --with-cdb="${EPREFIX}"/usr +} + +src_install() { + default + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} |