summaryrefslogtreecommitdiff
path: root/app-emacs/yc
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/yc
reinit the tree, so we can have metadata
Diffstat (limited to 'app-emacs/yc')
-rw-r--r--app-emacs/yc/Manifest10
-rw-r--r--app-emacs/yc/files/50yc-gentoo.el1
-rw-r--r--app-emacs/yc/files/sample.dot.emacs12
-rw-r--r--app-emacs/yc/files/sample.hosts.canna2
-rw-r--r--app-emacs/yc/metadata.xml12
-rw-r--r--app-emacs/yc/yc-4.0.13.ebuild53
-rw-r--r--app-emacs/yc/yc-5.2.1.ebuild42
7 files changed, 132 insertions, 0 deletions
diff --git a/app-emacs/yc/Manifest b/app-emacs/yc/Manifest
new file mode 100644
index 000000000000..05fb279917b3
--- /dev/null
+++ b/app-emacs/yc/Manifest
@@ -0,0 +1,10 @@
+AUX 50yc-gentoo.el 38 SHA256 f34ea07a3270a25cce3430e4781df47d9903052c9f3a4ea24efb64b1e63bd115 SHA512 5c00bcabe2d7cc03013dc7a54b2c653940c08098ca5646d7c73624cb1ca04376ae9dcf88a7166b1925c69f0c5d192d90f6bd790fdef8ed8c3b0f9d163c987da5 WHIRLPOOL cc5e2fd5081f5fb0018e1fa461c0802c7c90891accc55c02c2935dd3d413c5f8941e918af9341040526b037be4c34dab26008dfca91c153c11fca41338f77c14
+AUX sample.dot.emacs 357 SHA256 fbe164afdde927dd7204e656750b55ec3d7b4d70257a9e5707290e43e02e78bf SHA512 c7b40a8d25c3e8d58b8003637e1352fefdfd1f1ed30e9408f9c43bc3a653212fe12a943316900a6ce8fe7b5ab2f7ac7ddc5c749e24326322f2dddbaa07a4a1ca WHIRLPOOL 28efd8164a4577ff3c1c0d0d77fe3f65f23205414ba6bd2db3d99a8c922dc0c1085a53bd230e65e3b350184e1d24ebd9abee1562a9142719a67cd3c577831183
+AUX sample.hosts.canna 15 SHA256 a179c82d954ef932b5dcb82c7ede15a12475748855e85be3e80a7ad257b0e096 SHA512 2b9e6a582e38b11ef99f4530160b476d87d48aed6ab068122bc1f4edd1ece95cbc24eb6e304d0fce9b97b5c2c3e7dce00fe4ab42e386c7971f7a71dd0430a3df WHIRLPOOL 563d10b6994eac8f9c8a5dc63fd16c5613e848f72a2a575590d81db4bd59c25c344a82089df6c31c54b32e3e9ffed6ca42ac156d1e5ba4148065621321aefda7
+DIST yc-4.0.13.tar.gz 43916 SHA256 5afd06ea819bbf20f5cbfbcd3c60eb58a50b2ef093defc4c93bfdf8ab69444f3 SHA512 2b5430766bbdbc77a0ec3aba6d51478ff91186a257e75a2a3af25a885bbddbf7180fbdf3b0876c1a65c149060bb754a44f77bb399c43cc666bd0add40226ca32 WHIRLPOOL fcd0fbb6729f42cf752a4d590357202ea54763c243e5e29d9f6a9676e420e1b501c1579e0230b0e59d88c15cc7f106c8c1d32effd7411e708bada5f68f3dd380
+DIST yc-5.2.1.el.gz 33305 SHA256 45854b3f51cf74b97c4ed0dd11b0f4bd2a96b78f59b7614d43fea85f9884fd84 SHA512 11c8d63a9f6cb94118a00976518949ab50496f8b8f994a8e1c352be5deefc549540935e0727b036c2b3c493366cfb8c47f040fcc425174b6668ec9f5e8d499dc WHIRLPOOL 00ef278c83e209ecd0a7940a26a105d8dfbd868e6eeb9b1525fcd0f5e8bae8aa0aafd1ba1dc8012facc83347fa8b059d36e9c5c45c26c3013bd80abb958ebcc3
+EBUILD yc-4.0.13.ebuild 1275 SHA256 1b0113a2328bda11fcbece8f7d3e9db78a716ae996c8c4d595149d5bb3a27a13 SHA512 ede2389ff8b7def3eb9024133f27d72718333f8407c8d2c7837fd03c6338010041e70ba9587a0c5748c92449cb9f419732118d928c84465cdf7ea1489ecd4ad1 WHIRLPOOL dd03e08c8549928e4658f8e7262276702880c595faf02a9c8de9313575c6f967f28bcb219f9687971327e75bda28bb4ee8265a5248fcc7126d0e03ae0448d9ab
+EBUILD yc-5.2.1.ebuild 1115 SHA256 5c13a8a38087f7227445ebd2b23b375f6aa99f90b195a520cca35fa27c855377 SHA512 45d7e80fed4d9f3bbdbc0713afe2c19f63a53dfc64571c4b2d0d70df3c97519868a8d79c7c8642a3d3010fa543731acf10002f28aa0ebe68c909fce5f73a1d3d WHIRLPOOL f5ca8d21bd0f924c9a74291c195ca88044359aafe48e2f421facf5493a1321aa3704cd075c41a914bf89d8d415a606fbb167f924a742a6796b02aade9b576675
+MISC ChangeLog 2632 SHA256 33ee4f4121785874e42a2e4f08f067826706b11bb5c0753c82f463c3a81bdd22 SHA512 05f356bf340448a694dcd00819e9f9121d6ee55df6d4252781ba7649c21586410312bd41cef88c50c695e6c67ee9c1622958b1969c6b6aa8a622118b622b3ec2 WHIRLPOOL 7ed5e4f3dea4b4ebc7db6ece0d72f36fdc22aee29f13b829c8058b73ec436aa92c09ae3adf8a76153a3c82ee731768334f452b062d3fc54730fcc643687a4dd6
+MISC ChangeLog-2015 4178 SHA256 2856634925cdc79635e7fbf1bd899b1a93f2a179d55062963cbb9a26b6b4a6a9 SHA512 24f2aa40966abbc95cdd54a52f3b015ee72d20fe009b10fd11cf4fed1dbf75fa4501d5a45fb2f1619d95b2a98a7ccd117309aad201b853b0fa1535f174f94762 WHIRLPOOL 8d6135ce2bbc4124e24cf2701d4df7a00047b775c68de4dab4f3e9c39e4594ebc38920d8570c0205a5c8b51a0f9ff2f170cb99f78359516545331a6b8d85aecf
+MISC metadata.xml 368 SHA256 01e58fb11e5b967fef2a6414c994e5197b71986068f83dc9d3b0978b7b1a5246 SHA512 d3f3a96a154b437e75f3f7417d009c16b9b7c18e391ed6b9c82503abcb81dca6141e14b531e90411afdc768d7020bdafd44d4865ef68e7a36ac5d6448a940f60 WHIRLPOOL ada75ed4a77e9bc6db167cd5a8b0c4ecbe3c7547e04ae68dcbb72681b9e5551ec312331c5a1eba6d0f02e13c475ac62e1a02b00f38444dd3d508c3272962e293
diff --git a/app-emacs/yc/files/50yc-gentoo.el b/app-emacs/yc/files/50yc-gentoo.el
new file mode 100644
index 000000000000..431f7e90ae73
--- /dev/null
+++ b/app-emacs/yc/files/50yc-gentoo.el
@@ -0,0 +1 @@
+(add-to-list 'load-path "@SITELISP@")
diff --git a/app-emacs/yc/files/sample.dot.emacs b/app-emacs/yc/files/sample.dot.emacs
new file mode 100644
index 000000000000..101532e704a6
--- /dev/null
+++ b/app-emacs/yc/files/sample.dot.emacs
@@ -0,0 +1,12 @@
+;;;; -*- mode: lisp-interaction; syntax: elisp; coding: iso-2022-7bit -*-
+
+;;;; Configuration for yc
+(setq yc-server-host "unix")
+;If you use inet socket service, enable the following line.
+;(setq yc-server-host "localhost")
+(setq yc-use-color t)
+(if (eq window-system 'x)
+ (setq yc-use-fence nil)
+ (setq yc-use-fence t))
+(load "yc")
+(global-yc-mode 1)
diff --git a/app-emacs/yc/files/sample.hosts.canna b/app-emacs/yc/files/sample.hosts.canna
new file mode 100644
index 000000000000..960d75f5266c
--- /dev/null
+++ b/app-emacs/yc/files/sample.hosts.canna
@@ -0,0 +1,2 @@
+localhost
+unix
diff --git a/app-emacs/yc/metadata.xml b/app-emacs/yc/metadata.xml
new file mode 100644
index 000000000000..2c9ca3c416d2
--- /dev/null
+++ b/app-emacs/yc/metadata.xml
@@ -0,0 +1,12 @@
+<?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>
+</pkgmetadata>
diff --git a/app-emacs/yc/yc-4.0.13.ebuild b/app-emacs/yc/yc-4.0.13.ebuild
new file mode 100644
index 000000000000..a8179e6426bb
--- /dev/null
+++ b/app-emacs/yc/yc-4.0.13.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit elisp toolchain-funcs
+
+DESCRIPTION="Yet another Canna client on Emacsen"
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ppc x86"
+IUSE=""
+
+RDEPEND="app-i18n/canna"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -i '/$(CC)/s/ -o / $(CFLAGS) $(LDFLAGS) -o /' Makefile
+
+ default
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)"
+}
+
+src_install() {
+ elisp_src_install
+
+ dobin icanna
+ dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
+}
+
+pkg_postinst() {
+ elisp_pkg_postinst
+
+ elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
+ elog
+ elog "And If you use unix domain socket for connecting the canna server,"
+ elog "please confirm that there's *no* following line in your ~/.emacs:"
+ elog ' (setq yc-server-host "localhost")'
+ elog
+ elog "If you use inet domain socket for connecting the canna server,"
+ elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
+ elog ' CANNASERVER_OPTS="-inet"'
+ elog
+ elog "And create ${EPREFIX}/etc/hosts.canna."
+ elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."
+}
diff --git a/app-emacs/yc/yc-5.2.1.ebuild b/app-emacs/yc/yc-5.2.1.ebuild
new file mode 100644
index 000000000000..eb6992a1aa20
--- /dev/null
+++ b/app-emacs/yc/yc-5.2.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit elisp
+
+DESCRIPTION="Yet another Canna client on Emacsen"
+HOMEPAGE="http://www.ceres.dti.ne.jp/~knak/yc.html"
+SRC_URI="http://www.ceres.dti.ne.jp/~knak/${P}.el.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="app-i18n/canna"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+ elisp_src_install
+
+ dodoc "${FILESDIR}"/sample.{dot.emacs,hosts.canna}
+}
+
+pkg_postinst() {
+ elisp_pkg_postinst
+
+ elog "See the sample.dot.emacs in ${EPREFIX}/usr/share/doc/${PF}."
+ elog
+ elog "And If you use unix domain socket for connecting the canna server,"
+ elog "please confirm that there's *no* following line in your ~/.emacs:"
+ elog ' (setq yc-server-host "localhost")'
+ elog
+ elog "If you use inet domain socket for connecting the canna server,"
+ elog "please modify as following in ${EPREFIX}/etc/conf.d/canna:"
+ elog ' CANNASERVER_OPTS="-inet"'
+ elog
+ elog "And create ${EPREFIX}/etc/hosts.canna."
+ elog "See the sample.hosts.canna in ${EPREFIX}/usr/share/doc/${PF}."
+}