summaryrefslogtreecommitdiff
path: root/app-emacs/ddskk
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-emacs/ddskk
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/ddskk')
-rw-r--r--app-emacs/ddskk/Manifest9
-rw-r--r--app-emacs/ddskk/ddskk-16.1.ebuild69
-rw-r--r--app-emacs/ddskk/ddskk-16.2.ebuild68
-rw-r--r--app-emacs/ddskk/files/50ddskk-gentoo.el4
-rw-r--r--app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch12
-rw-r--r--app-emacs/ddskk/metadata.xml15
6 files changed, 177 insertions, 0 deletions
diff --git a/app-emacs/ddskk/Manifest b/app-emacs/ddskk/Manifest
new file mode 100644
index 000000000000..959af4f5e397
--- /dev/null
+++ b/app-emacs/ddskk/Manifest
@@ -0,0 +1,9 @@
+AUX 50ddskk-gentoo.el 112 SHA256 82872e005adfad26ec067f442970346b22ad5a56c1548ecd04e67245ba8aeac1 SHA512 7d7212bb6da992a3bad619d4def98acbe31c4b7226de59c223825e49dbd202d378eb04e386d6087ba5608e4bf1ede8847e2d73d068a6fe147322da7b5329fe09 WHIRLPOOL 141b1f0592d5654851d0df402fe8d16325eb9dd19318ff0646ef31059623b1f7e675c119ce3a9fda4014299fbfc5de55c3be07f99619e92d26a97f3efcf03bb0
+AUX ddskk-15.1-skk-mk.patch 396 SHA256 f3ef1f082810f14058d6722f06b70c54eb1affa9c840a438ac715ce375308e6e SHA512 a87ff98ec05158d85878b36932d6399c38494fdca96dd71152ad4de825512e4e2ad85f21c17a5237a9c70629662fcb3929236a0dc5631a4a6b1d06c822401cae WHIRLPOOL f47d1c796ca3e49b52eaf8e1135857eef235a8f71d673e501b04b5fb5ed16c22760bb973b4f388ea0ee636ff7160118b209e887b5d2cffd7c1ef3f82de6fa9e2
+DIST ddskk-16.1.tar.gz 878564 SHA256 fe7229d8ec76e955527878f8bb8a55767a8901069392b403dcc4a9402298803c SHA512 68875f7ad89ce847103bbe4644db3800c84cc5907a4769c37f7aab5bc64577e1ea5f49de41c5708daf3f5f2bb7176237dcec5ea05e52a61f7c78cfb2670ced7b WHIRLPOOL 85ede848eb5d788238d2aadbb81f06b143f5039b8df6952dfe0fa6df00332aa70889f95db449b80e7920d26ef7987a7af394ed40efce40b12ca7432858dedc8c
+DIST ddskk-16.2.tar.gz 886618 SHA256 76d13486d7615a75d71107782684e7100cae32f21cec6a44731c192010a7a108 SHA512 591d66e2d217a289ce8273ed7da10c0ed72029e961efde0537044f7ad3f5f46943cf5c71ec1d97a27743fcea91a9fab81c86e2772047892f53e2852bf58ef45c WHIRLPOOL 9041bb4669bd61adc3207286aa16c48d0edd3223350a97f428a9badd4cbcbdfc97b0fb69a3a343798c64a48579bb90ed9594351acf3e0b1747a0bd01fd95b51c
+EBUILD ddskk-16.1.ebuild 1530 SHA256 bfa476a30b6242c503a999ef159fe6eeb35ebee5ce8243fdaf157aa91bd6fc9d SHA512 554ecbfad8b0a35090c4c5a66ca6eff2f4dcdc665504f77e72fa614c45c7ef7922a293a7436dc63811effd858a28c96335323e98f5747374b5c4039bc264c493 WHIRLPOOL ee67db074442f55b9f8bbec502cc2860728bd5a8aa72786e4743d5f55ae8ec81242321b95fdcd670c11aa960696c91fe6ba9853303966c1ffad690df0780b6c8
+EBUILD ddskk-16.2.ebuild 1506 SHA256 fab5a3cc59d37c26c4f81801557f45f44b2d9190cc7b53c6c788bed3fd3bbfd5 SHA512 43c7cb4952d3c0ea7529f3873af268efb67b4aac8984ba24bcde8d0436532230e5c58e33ab0a292e0623586317d0d82cb9aa7a1fdedeccf543a90ba9cb6754a2 WHIRLPOOL 2ebcc826333daf648456703ad96b450579b2e897ee3332e6c5463113b591317430140db6941fcb961e35db4977eab878f1ae5b3777b9d4a568545f1f38b3ac91
+MISC ChangeLog 3075 SHA256 d43579f39ea8297ecbb366dca85e22122bc7d5972fbc2f1c58581f7bdd74c5b7 SHA512 45d3a0bb5b86d862f2d97adaac1dc790f3224b359d52ba687d698e68491ac3d4b01f2321190d327dcc261e03bae800ad78813ddeb11a1e92d23b5c55084f7c59 WHIRLPOOL 006aaafd8ad547842e70b3119b4d797a9828d0898c27c48569185ddcad96a57ab0e426fc03c606e5968231479ec997453b6e1e31acb3d8374e1f699e8761cedf
+MISC ChangeLog-2015 6342 SHA256 e2f2e5ab03edc0d51b0869876c14f6f84a085e9fb9ba4b33e6d4ce50461e5c2a SHA512 85281ed6e3642fa86cd70cc339b14bcc6e20c7e0d44573b40c8caef9f16718959b517a1698fe4388720b023d47ab7c10f139f0bc17e82adddc34eb55654a06d9 WHIRLPOOL bc7e098f0b74e05782e7611476214cfe4ef45f7ad1894aa765299188afdc02979105d305a371e3a562c01b16170fb3269e7f6f0765fd565de11f74609f6a1e3f
+MISC metadata.xml 450 SHA256 ff249a08dc02073a0ab60216b8118130f5ad8ad4754ab7b10c4cb7e330dece7a SHA512 8a7b366ada5366e2713e3850421729b395862f662476225f3a7ae24dcc0067ff51c4a8ce8408c2ce2082722f0649b0ad8c047230a0223c03e2ef8b416c7e65fe WHIRLPOOL a01aa8f7d61755a776a1bc4efe26dda7805b49656d527d87a460298802cd89bf69bfa4bae1798627f6e8b70d565458f04fdf03112d4af296e0686edbc6546547
diff --git a/app-emacs/ddskk/ddskk-16.1.ebuild b/app-emacs/ddskk/ddskk-16.1.ebuild
new file mode 100644
index 000000000000..34e4e7c32c86
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-16.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+USE_RUBY="ruby21 ruby22 ruby23"
+NEED_EMACS="24"
+
+inherit elisp ruby-single
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+
+DEPEND=""
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+S="${WORKDIR}/${PN}-${P}_Futamata"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG
+ echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG
+
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG
+
+ default
+
+ rm -f skk-lookup.el
+ mv {bayesian,tut-code}/*.el .
+}
+
+src_compile() {
+ emake elc info
+
+ emake -C nicola
+}
+
+src_install () {
+ local lispdir=${SITELISP}/${PN}
+ emake install-elc
+ elisp-compile "${ED}"/${lispdir}/skk-setup.el
+ rm -f "${ED}"/${lispdir}/leim-list.el
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+ doinfo doc/skk.info
+
+ local exts=( nicola tut-code ) d f
+ elisp-install ${PN} nicola/*.{el,elc}
+ if use ruby; then
+ dobin bayesian/bskk
+ exts+=( bayesian )
+ fi
+ for d in ${exts[@]}; do
+ docinto ${d}
+ for f in ${d}/{ChangeLog,README}*; do
+ [[ -s ${f} ]] && dodoc ${f}
+ done
+ done
+}
diff --git a/app-emacs/ddskk/ddskk-16.2.ebuild b/app-emacs/ddskk/ddskk-16.2.ebuild
new file mode 100644
index 000000000000..7493aff21240
--- /dev/null
+++ b/app-emacs/ddskk/ddskk-16.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+NEED_EMACS="24"
+
+inherit elisp ruby-single
+
+DESCRIPTION="One Japanese input methods on Emacs"
+HOMEPAGE="http://openlab.ring.gr.jp/skk/"
+SRC_URI="http://openlab.ring.gr.jp/skk/maintrunk/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="ruby"
+
+DEPEND=""
+RDEPEND="|| (
+ app-i18n/skk-jisyo
+ virtual/skkserv
+ )
+ ruby? ( ${RUBY_DEPS} )"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ echo "(setq PREFIX \"${ED}/usr\")" >>SKK-CFG
+ echo "(setq SKK_LISPDIR \"${ED}/${SITELISP}/${PN}\")" >>SKK-CFG
+
+ echo "(add-to-list 'load-path (expand-file-name \"..\"))" >> nicola/NICOLA-DDSKK-CFG
+
+ default
+
+ rm -f skk-lookup.el
+ mv {bayesian,tut-code}/*.el .
+}
+
+src_compile() {
+ emake elc info
+
+ emake -C nicola
+}
+
+src_install () {
+ local lispdir=${SITELISP}/${PN}
+ emake install-elc
+ elisp-compile "${ED}"/${lispdir}/skk-setup.el
+ rm -f "${ED}"/${lispdir}/leim-list.el
+ elisp-site-file-install "${FILESDIR}"/${SITEFILE}
+
+ dodoc ChangeLog* README.md READMEs/{AUTHORS,CODENAME,Contributors,FAQ,NEWS,PROPOSAL,TODO}*
+ doinfo doc/skk.info
+
+ local exts=( nicola tut-code ) d f
+ elisp-install ${PN} nicola/*.{el,elc}
+ if use ruby; then
+ dobin bayesian/bskk
+ exts+=( bayesian )
+ fi
+ for d in ${exts[@]}; do
+ docinto ${d}
+ for f in ${d}/{ChangeLog,README}*; do
+ [[ -s ${f} ]] && dodoc ${f}
+ done
+ done
+}
diff --git a/app-emacs/ddskk/files/50ddskk-gentoo.el b/app-emacs/ddskk/files/50ddskk-gentoo.el
new file mode 100644
index 000000000000..66b1e15fa86b
--- /dev/null
+++ b/app-emacs/ddskk/files/50ddskk-gentoo.el
@@ -0,0 +1,4 @@
+(add-to-list 'load-path "@SITELISP@")
+(require 'skk-setup)
+
+(setq skk-large-jisyo "/usr/share/skk/SKK-JISYO.L")
diff --git a/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch b/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch
new file mode 100644
index 000000000000..3876f0f49434
--- /dev/null
+++ b/app-emacs/ddskk/files/ddskk-15.1-skk-mk.patch
@@ -0,0 +1,12 @@
+# Generate skk-autoloads.el with coding cookie.
+--- a/SKK-MK
++++ b/SKK-MK
+@@ -884,7 +884,7 @@ SKK tutorials:
+ (set-buffer buf)
+ (erase-buffer)
+ (insert "\
+-;;; skk-autoloads.el --- autoload settings for SKK.
++;;; skk-autoloads.el --- autoload settings for SKK. -*- coding: iso-2022-jp -*-
+
+ ;; This file was generated automatically by SKK-MK at "
+ (current-time-string)
diff --git a/app-emacs/ddskk/metadata.xml b/app-emacs/ddskk/metadata.xml
new file mode 100644
index 000000000000..686eb3809d5c
--- /dev/null
+++ b/app-emacs/ddskk/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">skk-dev/ddskk</remote-id>
+ </upstream>
+</pkgmetadata>